[H-GEN] graphics memory and agp cards

Joel Michael joel at diggy.com.au
Wed Mar 8 23:09:52 EST 2000


[ Humbug *General* list - semi-serious discussions about Humbug and ]
[ Unix-related topics.  Please observe the list's charter.          ]

----- Original Message -----
From: Darrin Mison <staeci at yahoo.com>
To: <general at lists.humbug.org.au>
Sent: Thursday, March 09, 2000 3:13 PM
Subject: [H-GEN] graphics memory and agp cards

>I'm using redhat6.1 with a 16meg agp banshee graphics card.
>
>Does anyone know how I can tell if all my available graphics
>memory is being used?

This way involves a little bit of maths (turn off now if you can't
multiply or divide ;)

take the bits per pixel you are running at (eg, 32), multiply by the
vertical resolution (including virtual), multiply by the horizontal
resolution (again, include virtual), and divide by 8, and you will have
the number of bytes of memory you are using.  divide by a further
1048576 to get that in megabytes.

for example, my setup:

i run at 32bpp at 1152 x 864 (1600 x 1200 virtual) on a 16mb G400
32 * 1600 * 1200 / 8 / 1048576 = 7.32421875mb used.

that means i'm only using a bit under half of my available video memory,
which leaves a bit over half for cool things like textures when playing
Quake III ;)

another way is to keep increasing the virtual resolution of your display
until the X server runs out of available video memory...


--
* This is list (humbug) general handled by majordomo at lists.humbug.org.au .
* Postings to this list are only accepted from subscribed addresses of
* lists 'general' or 'general-post'.



More information about the General mailing list