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
1- install sysinfo :
sudo apt-get install sysinfo
and then run it -->
sysinfo
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
Hope that works ;)
-
1hardinfo is incapable of showing GPU VRAM. Where on your screenshot is total amount of VRAM displayed?? Nov 3, 2016 at 13:49
-
1None of the mentioned tools shows amount of VRAM on Asus G551JM notebook with GeForce GTX 860M. 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)
- Use command
lspci | grep VGA
to find graphics card. You will get something like this00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b)
. - Kindly focus on the
00:02.0
part, it might be different for you. Then use this commandlspci -v -s 00:02.0
. Use your own pattern in place of mine. - 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.