how to get graphics card memory info? windows and linux shows different value

46,712

Solution 1

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

enter image description here

Hope that works ;)

Solution 2

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

Share:
46,712
itagomo
Author by

itagomo

Updated on September 18, 2022

Comments

  • itagomo
    itagomo almost 2 years

    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?

  • Adam Ryczkowski
    Adam Ryczkowski over 7 years
    hardinfo is incapable of showing GPU VRAM. Where on your screenshot is total amount of VRAM displayed??
  • Adam Ryczkowski
    Adam Ryczkowski over 7 years
    None of the mentioned tools shows amount of VRAM on Asus G551JM notebook with GeForce GTX 860M.