[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
Fri Dec 13 15:27:24 CST 2013


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

--- Comment #12 from Erich Hoover <erich.e.hoover at gmail.com> ---
(In reply to comment #11)
> Created attachment 46832 [details]
> +ddraw log (patch applied)
> 
> This is the +ddraw log with your patch applied. 
> There are 2 instances of <Directdraw HAL> display driver in the game setup
> screen, whether your patch applied or not.
> I tried the game in Virtualbox, and there's only one <Primary display
> driver> option is present there.

What that probably means is that the VirtualBox driver does not support 3D
graphics features (so only one driver should be displayed).  What we should
display is:
1) DirectDraw HAL (equivalent to "Primary display driver")
2) <3D drivers> (currently reports "DirectDraw HAL")

I can easily add a fix that reports roughly the correct driver string, but to
my knowledge there's not currently a way in Wine to detect whether a graphics
card supports 3D graphics features.  Would it be sufficient for your
application to report two display drivers ("DirectDraw HAL" and whatever is
appropriate for the graphics card)?  If the application requests
DDENUM_ATTACHEDSECONDARYDEVICES (which this one does) then, to my knowledge, it
_should_ report more than one driver on any system that supports 3D.

-- 
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