[Bug 19153] New: DX3 game does not recognize graphics capabilities

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Jul 2 06:41:32 CDT 2009


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

           Summary: DX3 game does not recognize graphics capabilities
           Product: Wine
           Version: 1.1.24
          Platform: PC
               URL: http://appdb.winehq.org/objectManager.php?sClass=versi
                    on&iId=9396
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: directx-ddraw
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: bobbyg at gmx.net


Resident Evil 1 does not start giving the error "Failed to initialize the
Graphics Hardware Device.(3)". It's a DirectX 3 game using immediate mode.

After some debugging I found that it relies on 3 (three) entries returned by
EnumDevices whereas wine returns only the Direct3D HAL entry in this case
(d3dversion == 1). Removing the if-clause in ddraw/direct3d.c and duplicating
the HAL entry solves the problem and the game actually runs almost perfectly
(Garbage -> Platinum).

I checked a Windows installation which returns "HAL", "RGB Emulation" and "Ramp
Emulation" but the comments in the file suggest that not all games are happy
about that. So how to fix this properly?

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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