[Bug 34630] Some games don't detect the correct number of display drivers (graphic cards) and their names

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Feb 8 01:03:26 CST 2014


http://bugs.winehq.org/show_bug.cgi?id=34630

--- Comment #17 from Erich Hoover <erich.e.hoover at gmail.com> ---
Created attachment 47464
  --> http://bugs.winehq.org/attachment.cgi?id=47464
ddraw: Return the appropriate identifier for GetDeviceIdentifier.

(In reply to comment #15)
> ...
> Are SURE it is fixed? Maybe it should be like that, I don't know.

Hi WineBuG, it looks like that application uses DirectDrawEnumerateA instead of
DirectDrawEnumerateExA.  I just ran some tests and this is what I see:

**DirectDrawEnumerateA**
1) Primary Display Driver
**DirectDrawEnumerateExA**
1) Primary Display Driver
2) Intel(R) HD Graphics

This matches Wine (except that we report "DirectDraw HAL" instead of "Primary
Display Driver" for compatibility reasons).  So, this is bug is pretty much
fixed.  However, downloading your application and giving it a try appears to
display:
Primary Display Driver (Intel(R) HD Graphics)
where Wine reports:
DirectDraw HAL (DirectDraw HAL)

Investigating this shows that the problem is in GetDeviceIdentifier when it is
_not_ passed the DDGDI_GETHOSTIDENTIFIER flag.  I've attached a patch that
corrects this information, if you could please give that a try (and open a new
bug to report the results) then I would really appreciate it.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list