[Bug 9665] New: Mask of eternity crashes at startup with wine version 0.9. 36 and newer

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Sep 15 07:25:33 CDT 2007


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

           Summary: Mask of eternity crashes at startup with wine version
                    0.9.36 and newer
           Product: Wine
           Version: 0.9.45.
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: critical
          Priority: P1
         Component: wine-directx-ddraw
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: deadlock at start.no


Kings Quest 8 - Mask of Eternity crashes on startup with an exception error.
The specific error has been attached. Version 0.9.36 didn't have this problem,
and after doing a lot of debugging and regression I located that the problem is
located in a change between version 0.9.36 and 0.9.37. The specific code is
shown below.

wine version 0.9.36, file wine/dlls/ddraw/direct3d.c:

324         d1 = dref;
325         d2 = dref;
326         hr = Callback( (LPIID) &IID_IDirect3DRefDevice,
reference_description, device_name, &d1, &d2, Context);

wine version 0.9.37(and up to version 0.9.45 at least):

327         d1 = dref;
328         d2 = dref;
329         /* The rgb device has the pow2 flag set in the hel caps, but not in
the hal caps */
330         d1.dpcLineCaps.dwTextureCaps &= ~(D3DPTEXTURECAPS_POW2 |
D3DPTEXTURECAPS_NONPOW2CONDITIONAL | D3DPTEXTURECAPS_PERSPECTIVE);
331         d1.dpcTriCaps.dwTextureCaps &= ~(D3DPTEXTURECAPS_POW2 |
D3DPTEXTURECAPS_NONPOW2CONDITIONAL | D3DPTEXTURECAPS_PERSPECTIVE);
332         hr = Callback( (LPIID) &IID_IDirect3DRGBDevice,
reference_description, device_name, &d1, &d2, Context);

I tried commenting out line 330 and 331 in version 0.9.44 and the game ran
without crashing at startup, but there has to be a better way to solve this.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list