Τρίτη 11 Αυγούστου 2015

How to see how much VRAM your GPU uses under linux.

I pretty much said everything on the title, in this article I'm going to show you how to display your GPU VRAM and other information under linux using terminal.

First you need to type in:
lspci | grep -i VGA




This will bring an output similiar to this:
*click to enlarge
all we care about is the sequence i underlined, these numbers can be analyzed like this:
01 bus number 00 device number 0 function
all together 01.00.0
Then we must give one more command in order to be able to see detailed information about our graphics card


You need to type in the following:
lspci -v -s 01:00.0
the output will be similiar to this:
*click to enlarge
all you care about here is Memory at c0000000 (32-bit, prefetchable) [size=256M]
As you see in capabilities it says access denied, that can be easily displayed by using 'sudo' on the above command
and here it is:



I hope my graphics card didn't scare you away and you found this article useful.

Δεν υπάρχουν σχόλια:

Δημοσίευση σχολίου