about video memory detection in wine
the3dfxdude at gmail.com
Fri Aug 14 13:42:04 CDT 2009
On Fri, Aug 14, 2009 at 10:30 AM, Stefan Dösinger<stefandoesinger at gmx.at> wrote:
> 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.
My Radeon 9200 has 128 MB. But I've never used fglrx on it either, so
I don't know what this gains.
More information about the wine-devel