Linux check integrated graphics memory size

I have Intel desktop with Linux running on it. How to check integrated video memory size on Linux? May I know command for it?

Use the lshw :

sudo lshw -class display

Run the following to to check Intel integrated graphics memory size:

sudo dmesg | grep drm

Please note that Intel HD Graphics cards comes with shared memory with the main RAM of the system. Hence it is dynamic increases or decreases. Check BIOS to set size too. For more info see


Linux sysadmin blog - Linux/Unix Howtos and Tutorials - Linux bash shell scripting wiki