"assumed" graphic card memory

Molle Bestefich molle.bestefich at gmail.com
Wed Jul 12 15:26:43 CDT 2006


Christoph Frick wrote:
> within the dlls/wined3d/device.c there is a define for
> the fake size of the graphic-card memory.

Odd.  Isn't it relatively easy to figure out?

Perhaps something like:

# ls -lS /sys/class/graphics/fb0/device/resource* | head -n1 | awk '{print $5}'
134217728

or

# ls -lS "/sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/resource*"
| head -n1 | awk '{print $5}'
134217728

Does that work / is it correct for any card?
Is the AGP aperture size also needed?



More information about the wine-devel mailing list