In my Windows 8, video card shows 640 MB of available memory (Screen Resolution > Advanced Settings or with dxdiag). But ubuntu (with lspci command) shows 256 MB. so who's right?


3 Answers 3


1- install sysinfo :

sudo apt-get install sysinfo

and then run it -->


2- Alternatively use :

sudo lshw -businfo | grep -i display

find your exact graphic card model and check the manufacturer website

3- there are other command as well like :

sudo apt-get install hardinfo

enter image description here

Hope that works ;)

  • 1
    hardinfo is incapable of showing GPU VRAM. Where on your screenshot is total amount of VRAM displayed?? Commented Nov 3, 2016 at 13:49
  • 1
    None of the mentioned tools shows amount of VRAM on Asus G551JM notebook with GeForce GTX 860M. Commented Nov 3, 2016 at 13:50

Step 1. lspci | grep VGA Note down the numbers at the beginning of the output line. E.g 00:02.0

Just for information: this number provides the domain, bus, slot and function parameter for your graphics card [[[[<domain>]:]<bus>]:][<slot>][.[<func>]]

Step 2. Insert the above number after -s parameter So if the number was 00:02.0 then the command will be lspci -v -s 00:02.0


The following steps worked for me:- (Ubuntu 22.04 LTS)

  1. Use command lspci | grep VGA to find graphics card. You will get something like this 00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b).
  2. Kindly focus on the 00:02.0 part, it might be different for you. Then use this command lspci -v -s 00:02.0. Use your own pattern in place of mine.
  3. Then you will get all information related to that graphics card like this My Screenshot of the result

Hope this helps. If helps then upvote please so that i can give more answers and interact more in the community.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .