about video memory detection in wine
stefandoesinger at gmx.at
Fri Aug 14 11:30:32 CDT 2009
Am Friday 14 August 2009 18:01:07 schrieb Sun, Sunny:
> + if(gl_info->vidmem < 64 * 1024 * 1024)
> + gl_info->vidmem = 64 * 1024 * 1024;
I guess the idea is that no ATI card that was ever supported on fglrx has less
than 64 mb of memory? My old radeon 9000, which isn't supported by fglrx
since years now has 64 MB. Does this hold true for radeon 8500 cards too?
I think I'll use the guessed amount of vidmem in this case instead of
hardcoding 64 MB.
Using the undocumented value and the check for older drivers which don't
support it is a bit hacky, but its a well-isolated hack and avoids a lot of
problems, so it should be ok.
More information about the wine-devel