http://bugs.winehq.org/show_bug.cgi?id=29213
Bug #: 29213 Summary: DDR=gdi crashes WINE for games using the new DIB engine Product: Wine Version: unspecified Platform: x86-64 URL: http://www.microsoft.com/games/empires/downloads.htm OS/Version: Mac OS X Status: UNCONFIRMED Severity: major Priority: P2 Component: directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: lapommegolden@gmail.com CC: hevanen@googlemail.com Classification: Unclassified Regression SHA1: 0f10ac93580d5a055f0b3f6e7c3d77738135f031
Created attachment 37719 --> http://bugs.winehq.org/attachment.cgi?id=37719 wine log
When DirectDrawRenderer is set to gdi, Wine will crash immediately when trying to launch old games such as Age of Empires II, Age of Empires I Trial, which utilize the new DIB engine.
Wine 1.3.33 & before does not have this crash.
Wine will not crash when DDR is set to opengl (though will have the same old acid trip bug. opengl renderer has never ever work for AOE1 & AOE2 anyway which is another bug i'm figuring out how top reopen it: http://bugs.winehq.org/show_bug.cgi?id=28348)
URL for downloading AOE 1 Trial: http://www.microsoft.com/games/empires/downloads.htm
GIT bisect shows:
0f10ac93580d5a055f0b3f6e7c3d77738135f031 is the first bad commit commit 0f10ac93580d5a055f0b3f6e7c3d77738135f031 Author: Henri Verbeet hverbeet@codeweavers.com Date: Mon Nov 28 21:30:57 2011 +0100
ddraw: Create the wined3d swapchain when setting the cooperative level.
:040000 040000 f8a8ea10d91985680fe1e29e2fb64aaf8bc59e2d ab3f595c09537f3f18bd03bbe708c584f62e3952 M dlls
http://bugs.winehq.org/show_bug.cgi?id=29213
PommeGolden lapommegolden@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |lapommegolden@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=29213
PommeGolden lapommegolden@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression
http://bugs.winehq.org/show_bug.cgi?id=29213
Vitaliy Margolen vitaliy-bugzilla@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|major |normal
--- Comment #1 from Vitaliy Margolen vitaliy-bugzilla@kievinfo.com 2011-11-30 22:52:09 CST --- http://bugs.winehq.org/page.cgi?id=fields.html#importance
http://bugs.winehq.org/show_bug.cgi?id=29213
--- Comment #2 from PommeGolden lapommegolden@gmail.com 2011-11-30 23:05:36 CST --- Revert the said commit from the latest GIT master does do away the crash.
http://source.winehq.org/git/wine.git/commit/0f10ac93580d5a055f0b3f6e7c3d777... http://source.winehq.org/git/wine.git/snapshot/bf644e0f4552237ff47f2172e7fdb...
http://bugs.winehq.org/show_bug.cgi?id=29213
PommeGolden lapommegolden@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
http://bugs.winehq.org/show_bug.cgi?id=29213
Dmitry Timoshkov dmitry@baikal.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |1.3.33
http://bugs.winehq.org/show_bug.cgi?id=29213
Dmitry Timoshkov dmitry@baikal.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|DDR=gdi crashes WINE for |DDR=gdi leads to a crash |games using the new DIB | |engine |
http://bugs.winehq.org/show_bug.cgi?id=29213
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hverbeet@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=29213
--- Comment #3 from Henri Verbeet hverbeet@gmail.com 2011-12-02 05:15:21 CST --- Created attachment 37738 --> http://bugs.winehq.org/attachment.cgi?id=37738 patch
Does this patch make it any better?
http://bugs.winehq.org/show_bug.cgi?id=29213
--- Comment #4 from PommeGolden lapommegolden@gmail.com 2011-12-02 06:42:38 CST --- (In reply to comment #3)
Created attachment 37738 [details] patch
Does this patch make it any better?
Patched with the latest GIT master http://source.winehq.org/git/wine.git/snapshot/8a3d0dc5341bac01829ecf306c724...
Any better? Kind of...
Tested with AOE 2 & AOE 1 Trial with DDR=gdi Wine will not crash now, but the screen will now be complete dark (i can hear the game music is working).
Setting DDR=opengl works with no crash as before (though with the acid trip bug which is irrelevant here)
http://bugs.winehq.org/show_bug.cgi?id=29213
--- Comment #5 from PommeGolden lapommegolden@gmail.com 2011-12-02 06:44:22 CST --- Created attachment 37741 --> http://bugs.winehq.org/attachment.cgi?id=37741 wine log after applying patch: http://bugs.winehq.org/attachment.cgi?id=37738
http://bugs.winehq.org/show_bug.cgi?id=29213
--- Comment #6 from PommeGolden lapommegolden@gmail.com 2011-12-02 06:47:16 CST --- Comment on attachment 37741 --> http://bugs.winehq.org/attachment.cgi?id=37741 wine log after applying patch: http://bugs.winehq.org/attachment.cgi?id=37738
fixme:win:EnumDisplayDevicesW ((null),0,0x33d82c,0x00000000), stub! fixme:win:EnumDisplayDevicesW ((null),0,0x33d1fc,0x00000000), stub! fixme:x11drv:X11DRV_desktop_SetCurrentMode Cannot change screen BPP from 32 to 8 fixme:winmm:MXD_GetControlDetails What should the sw-side mixer controls map to? fixme:winmm:MXD_SetControlDetails What should the sw-side mixer controls map to? fixme:mcimidi:MIDI_mciPlay NIY: SMPTE track start 96:0:3 0.0 fixme:mcimidi:MIDI_mciPlay NIY: MIDI port=0, track=1 fixme:mcimidi:MIDI_mciPlay NIY: MIDI port=0, track=2 fixme:mcimidi:MIDI_mciPlay NIY: MIDI port=0, track=3 fixme:mcimidi:MIDI_mciPlay NIY: MIDI port=0, track=4 fixme:mcimidi:MIDI_mciPlay NIY: MIDI port=0, track=5 fixme:mcimidi:MIDI_mciPlay NIY: MIDI port=0, track=6 fixme:mcimidi:MIDI_mciPlay NIY: MIDI port=0, track=7 fixme:mcimidi:MIDI_mciPlay NIY: MIDI port=0, track=8 XIO: fatal IO error 35 (Resource temporarily unavailable) on X server ":1138" after 47 requests (47 known processed) with 2 events remaining. XIO: fatal IO error 35 (Resource temporarily unavailable) on X server ":1138" after 113 requests (113 known processed) with 6 events remaining.
http://bugs.winehq.org/show_bug.cgi?id=29213
--- Comment #7 from PommeGolden lapommegolden@gmail.com 2011-12-02 06:47:35 CST --- Comment on attachment 37741 --> http://bugs.winehq.org/attachment.cgi?id=37741 wine log after applying patch: http://bugs.winehq.org/attachment.cgi?id=37738
fixme:win:EnumDisplayDevicesW ((null),0,0x33d82c,0x00000000), stub! fixme:win:EnumDisplayDevicesW ((null),0,0x33d1fc,0x00000000), stub! fixme:x11drv:X11DRV_desktop_SetCurrentMode Cannot change screen BPP from 32 to 8 err:d3d_surface:d3dfmt_p8_init_palette This code should never get entered for DirectDraw!, expect problems fixme:winmm:MXD_GetControlDetails What should the sw-side mixer controls map to? fixme:winmm:MXD_SetControlDetails What should the sw-side mixer controls map to? fixme:mcimidi:MIDI_mciPlay NIY: SMPTE track start 96:0:3 0.0 fixme:mcimidi:MIDI_mciPlay NIY: MIDI port=0, track=1 fixme:mcimidi:MIDI_mciPlay NIY: MIDI port=0, track=2 fixme:mcimidi:MIDI_mciPlay NIY: MIDI port=0, track=3 fixme:mcimidi:MIDI_mciPlay NIY: MIDI port=0, track=4 fixme:mcimidi:MIDI_mciPlay NIY: MIDI port=0, track=5 fixme:mcimidi:MIDI_mciPlay NIY: MIDI port=0, track=6 fixme:mcimidi:MIDI_mciPlay NIY: MIDI port=0, track=7 fixme:mcimidi:MIDI_mciPlay NIY: MIDI port=0, track=8 fixme:winmm:MXD_SetControlDetails What should the sw-side mixer controls map to? err:wgl:internal_SetPixelFormat Invalid operation on root_window
fixme:win:EnumDisplayDevicesW ((null),0,0x33d82c,0x00000000), stub! fixme:win:EnumDisplayDevicesW ((null),0,0x33d1fc,0x00000000), stub! fixme:x11drv:X11DRV_desktop_SetCurrentMode Cannot change screen BPP from 32 to 8 fixme:winmm:MXD_GetControlDetails What should the sw-side mixer controls map to? fixme:winmm:MXD_SetControlDetails What should the sw-side mixer controls map to? fixme:mcimidi:MIDI_mciPlay NIY: SMPTE track start 96:0:3 0.0 fixme:mcimidi:MIDI_mciPlay NIY: MIDI port=0, track=1 fixme:mcimidi:MIDI_mciPlay NIY: MIDI port=0, track=2 fixme:mcimidi:MIDI_mciPlay NIY: MIDI port=0, track=3 fixme:mcimidi:MIDI_mciPlay NIY: MIDI port=0, track=4 fixme:mcimidi:MIDI_mciPlay NIY: MIDI port=0, track=5 fixme:mcimidi:MIDI_mciPlay NIY: MIDI port=0, track=6 fixme:mcimidi:MIDI_mciPlay NIY: MIDI port=0, track=7 fixme:mcimidi:MIDI_mciPlay NIY: MIDI port=0, track=8 XIO: fatal IO error 35 (Resource temporarily unavailable) on X server ":1138" after 47 requests (47 known processed) with 2 events remaining. XIO: fatal IO error 35 (Resource temporarily unavailable) on X server ":1138" after 113 requests (113 known processed) with 6 events remaining.
http://bugs.winehq.org/show_bug.cgi?id=29213
PommeGolden lapommegolden@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #37741|0 |1 is obsolete| |
http://bugs.winehq.org/show_bug.cgi?id=29213
--- Comment #8 from PommeGolden lapommegolden@gmail.com 2011-12-02 06:48:45 CST --- Created attachment 37742 --> http://bugs.winehq.org/attachment.cgi?id=37742 wine log after patch (AOE1 Trial)
http://bugs.winehq.org/show_bug.cgi?id=29213
PommeGolden lapommegolden@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |http://bugs.winehq.org/show | |_bug.cgi?id=29216
http://bugs.winehq.org/show_bug.cgi?id=29213
--- Comment #9 from PommeGolden lapommegolden@gmail.com 2011-12-04 05:19:05 CST --- (In reply to comment #0)
Created attachment 37719 [details] wine log
When DirectDrawRenderer is set to gdi, Wine will crash immediately when trying to launch old games such as Age of Empires II, Age of Empires I Trial, which utilize the new DIB engine.
Wine 1.3.33 & before does not have this crash.
Wine will not crash when DDR is set to opengl (though will have the same old acid trip bug. opengl renderer has never ever work for AOE1 & AOE2 anyway which is another bug i'm figuring out how top reopen it: http://bugs.winehq.org/show_bug.cgi?id=28348)
URL for downloading AOE 1 Trial: http://www.microsoft.com/games/empires/downloads.htm
GIT bisect shows:
0f10ac93580d5a055f0b3f6e7c3d77738135f031 is the first bad commit commit 0f10ac93580d5a055f0b3f6e7c3d77738135f031 Author: Henri Verbeet hverbeet@codeweavers.com Date: Mon Nov 28 21:30:57 2011 +0100
ddraw: Create the wined3d swapchain when setting the cooperative level.
:040000 040000 f8a8ea10d91985680fe1e29e2fb64aaf8bc59e2d ab3f595c09537f3f18bd03bbe708c584f62e3952 M dlls
Correction: DDR=opengl actually once worked in 1.1.27 & before with no acid trip, broken since 1.1.28...
http://bugs.winehq.org/show_bug.cgi?id=29213
Murray Colpman muzerakascooby@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |muzerakascooby@gmail.com
--- Comment #10 from Murray Colpman muzerakascooby@gmail.com 2011-12-05 13:04:28 CST --- This bug also occurs with Worms Armageddon.
http://bugs.winehq.org/show_bug.cgi?id=29213
--- Comment #11 from Henri Verbeet hverbeet@gmail.com 2011-12-08 13:50:27 CST --- (In reply to comment #4)
Tested with AOE 2 & AOE 1 Trial with DDR=gdi Wine will not crash now, but the screen will now be complete dark (i can hear the game music is working).
Should be fixed by 2d1a941b7dc76d754b15c3f6807fb5e371e367a5.
http://bugs.winehq.org/show_bug.cgi?id=29213
PommeGolden lapommegolden@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |2d1a941b7dc76d754b15c3f6807 | |fb5e371e367a5 Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #12 from PommeGolden lapommegolden@gmail.com 2011-12-08 21:40:33 CST --- (In reply to comment #11)
(In reply to comment #4)
Tested with AOE 2 & AOE 1 Trial with DDR=gdi Wine will not crash now, but the screen will now be complete dark (i can hear the game music is working).
Should be fixed by 2d1a941b7dc76d754b15c3f6807fb5e371e367a5.
Fix confirmed. Thank you !
http://bugs.winehq.org/show_bug.cgi?id=29213
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #13 from Alexandre Julliard julliard@winehq.org 2011-12-16 13:29:57 CST --- Closing bugs fixed in 1.3.35.