Video Card Memory

Asked by dartax

Hi, i want to know how i can do to know how much memory is using my video card.. Ubuntu 8.04.
(i have a eee pc and on bios the info is not present).

I saw the xorg.log but I found 2 different's things and I don't know wich is the right:
--------------------------------------------------------------------------------------------------------------
This is one part:
(II) [drm] loaded kernel module for "i915" driver.
(II) [drm] DRM interface version 1.3
(II) [drm] DRM open master succeeded.
(II) intel(0): [drm] Using the DRM lock SAREA also for drawables.
(II) intel(0): [drm] framebuffer mapped by ddx driver
(II) intel(0): [drm] added 1 reserved context for kernel
(II) intel(0): X context handle = 0x1
(II) intel(0): [drm] installed DRM signal handler
(==) intel(0): VideoRam: 262144 KB # I CAN SEE that is using 26MB of video #
--------------------------------------------------------------------------------------------------------------
But... In another line, I see it:
--------------------------------------------------------------------------------------------------------------
(II) intel(0): Monitoring connected displays enabled
(II) intel(0): detected 256 kB GTT.
(II) intel(0): detected 7932 kB stolen memory.
--------------------------------------------------------------------------------------------------------------

So.. how much memory is using my videocard?
That's what I want to know.

Thanks!

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Charles Profitt
Solved:
Last query:
Last reply:
Revision history for this message
Charles Profitt (cprofitt) said :
#1

here are some terminal commands to run:

** do the following command:

 lspci | grep VGA

** you will get a result such as:

01:00.0 VGA compatible controller: nVidia Corporation G80 [GeForce 8800 GTS] (rev a2)

** the 01:00.0 part will be needed for this next command:

lspci -v -s 01:00.0

** you should get a result as follows:

01:00.0 VGA compatible controller: nVidia Corporation G80 [GeForce 8800 GTS] (rev a2)
 Subsystem: nVidia Corporation Device 0420
 Flags: bus master, fast devsel, latency 0, IRQ 16
 Memory at e2000000 (32-bit, non-prefetchable) [size=16M]
 Memory at d0000000 (64-bit, prefetchable) [size=256M]
 Memory at e0000000 (64-bit, non-prefetchable) [size=32M]
 I/O ports at 2000 [size=128]
 Capabilities: <access denied>
 Kernel driver in use: nvidia
 Kernel modules: nvidia, nvidiafb

That should tell you what you need to know.

Revision history for this message
dartax (dartax) said :
#2

Hi Void, thanks for your help.
I made that you told me and I found this info:

dartax@dartax-laptop:~$ lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GME Express Integrated Graphics Controller (rev 03)

dartax@dartax-laptop:~$ lspci -v -s 00:02.0
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GME Express Integrated Graphics Controller (rev 03) (prog-if 00 [VGA controller])
        Subsystem: ASUSTeK Computer Inc. Unknown device 8340
        Flags: bus master, fast devsel, latency 0, IRQ 16
        Memory at f7f00000 (32-bit, non-prefetchable) [size=512K]
        I/O ports at dc00 [size=8]
        Memory at d0000000 (32-bit, prefetchable) [size=256M]
        Memory at f7ec0000 (32-bit, non-prefetchable) [size=256K]
        Capabilities: <access denied>

So, wich line indicates how much memory is using my videocard?

Revision history for this message
Best Charles Profitt (cprofitt) said :
#3

Memory at d0000000 (32-bit, prefetchable) [size=256M]

so that would be 256MB of memory

Revision history for this message
dartax (dartax) said :
#4

Thanks PrivateVoid, that solved my question.

Revision history for this message
Charles Profitt (cprofitt) said :
#5

You are welcome!