Re: GetAdapterIdentifier

Peter Hunnisett <[email protected]> Fri, 21 Jan 2005 18:52:34 -0500
Newsgroups gmane.comp.emulators.winex.devel
Message-ID <[email protected]>
Rob Crittenden wrote:

> I've brought this up before but the video card Vendor and Device id's
> are swapped. I've attached a patch that fixes this, updates the device
> to a GeForce 4400 Ti and properly sets the driver version to
> 4.14.10.5304 (I more or less picked this version at random, it just
> happens to be the version on my Windows box at the moment).

This is an issue that we've wrestled with a fair bit. While it's 
incorrect at present, it does have the advantage of confusing games 
which check the vendor id rather than the graphics capabilities of the 
card and driver combination. When we did correct things - to fix certain 
games - it severely broke several other games to the point where it was 
obvious that these games were just checking the card and ignoring the 
caps. And the problem with the application checking the card, in case 
you don't see it, is that a GF3 in Windows/d3d is not capable of the 
same things as a GF3 in Cedega/OpenGL.

We've considered doing something that perhaps downgrades the card that 
is reported to the windows application, but I don't think that we've 
thought it through enough to understand if it'll be more trouble than 
the effort of building up a "card database" of sorts. I'm not sure that 
I even want to open the can of worms with attempting to report a correct 
driver version on top of that :)

Have you got any thoughts?

Ciao,
Peter

>
> I've also included the Windows program I tested this with and the source
> to that, based on the DX9 D3D sample Tut01_CreateDevice.
>
> rob