http://bugs.winehq.org/show_bug.cgi?id=28084
Summary: Jedi Knight: Dark Forces II segfaults when Display Hardware Acceleration is enabled Product: Wine Version: 1.3.26 Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-dsound AssignedTo: wine-bugs@winehq.org ReportedBy: cmtptr@gmail.com
Created an attachment (id=35957) --> (http://bugs.winehq.org/attachment.cgi?id=35957) Wine output including backtrace
Jedi Knight: Dark Forces II segfaults when I enable the Hardware Acceleration option under the Display setup menu. Otherwise the game is entirely playable (except that the software renderer can't display 16-bit textures).
Running wine 1.3.26 Arch Linux x86_64 NVIDIA GeForce 9600M GT with proprietary drivers 280.13
Attached is the output of Wine generated after I enabled hardware acceleration and returned to the game to reproduce the crash, up to the point that I killed it with "kill %1" (Wine appears to hang once this happens).
http://bugs.winehq.org/show_bug.cgi?id=28084
--- Comment #1 from Corey cmtptr@gmail.com 2011-08-14 10:59:25 CDT --- I should also have mentioned that I'm running 1.01 with the Unofficial Patch 2008.1: http://appdb.winehq.org/objectManager.php?sClass=version&iId=20974
However, I have confirmed that the problem is reproducible using the demo. A download link can be found on the AppDB page: http://appdb.winehq.org/objectManager.php?sClass=version&iId=10948
http://bugs.winehq.org/show_bug.cgi?id=28084
Corey cmtptr@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |cmtptr@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=28084
--- Comment #2 from GyB gyebro69@gmail.com 2011-08-14 12:31:52 CDT --- Created an attachment (id=35959) --> (http://bugs.winehq.org/attachment.cgi?id=35959) terminal output with debugging symbols
I can reproduce the problem with the demo on my system: the game crashes when a new game is starting if hw. acceleration is used. Here I'm attaching a new log containing debug symbols.
Wine-1.3.18 is the first version which exhibits the problem. The result of the regression test:
99bfd817141ca32f9c50e539aa4d0dcbfded24b7 is the first bad commit commit 99bfd817141ca32f9c50e539aa4d0dcbfded24b7 Author: Henri Verbeet hverbeet@codeweavers.com Date: Tue Apr 5 19:01:30 2011 +0200
wined3d: Allow depth and stencil clears on surfaces other than the current depth / stencil buffer.
:040000 040000 a1e1740244f75e7f1699cee54d69568a8cd147ec d4679a1a650275cb7612d8f4ee48c72a1e0557a4 M dlls
There are currently no other opened bug reports mentioning that commit.
Demo download link: http://www.gamefront.com/files/3058720/Star-Wars-Jedi-Knight-Dark-Forces-II-...
Fedora 15 x86 Nvidia GeForce 250 / driver 280.13
http://bugs.winehq.org/show_bug.cgi?id=28084
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, regression Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Regression SHA1| |99bfd817141ca32f9c50e539aa4 | |d0dcbfded24b7
--- Comment #3 from Austin English austinenglish@gmail.com 2011-08-14 14:50:14 CDT --- Confirming.
http://bugs.winehq.org/show_bug.cgi?id=28084
Henri Verbeet hverbeet@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hverbeet@gmail.com Component|directx-dsound |directx-d3d
http://bugs.winehq.org/show_bug.cgi?id=28084
--- Comment #4 from Henri Verbeet hverbeet@gmail.com 2011-08-15 02:23:34 CDT --- Created an attachment (id=35962) --> (http://bugs.winehq.org/attachment.cgi?id=35962) paytch
This patch may help.
http://bugs.winehq.org/show_bug.cgi?id=28084
Henri Verbeet hverbeet@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #35962|paytch |patch description| |
http://bugs.winehq.org/show_bug.cgi?id=28084
GyB gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gyebro69@gmail.com
--- Comment #5 from GyB gyebro69@gmail.com 2011-08-15 09:12:19 CDT --- (In reply to comment #4)
Created an attachment (id=35962)
--> (http://bugs.winehq.org/attachment.cgi?id=35962) [details]
paytch
This patch may help.
Your patch worked (as usual) and it fixed the problem. I tested with the demo version.
http://bugs.winehq.org/show_bug.cgi?id=28084
Corey cmtptr@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #6 from Corey cmtptr@gmail.com 2011-08-15 19:13:21 CDT --- (In reply to comment #4)
Created an attachment (id=35962)
--> (http://bugs.winehq.org/attachment.cgi?id=35962) [details]
paytch
This patch may help.
Just gave it a try on the full version - that fixed it. Thanks for your fast response!
http://bugs.winehq.org/show_bug.cgi?id=28084
Dmitry Timoshkov dmitry@baikal.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED |
--- Comment #7 from Dmitry Timoshkov dmitry@baikal.ru 2011-08-16 00:13:28 CDT --- The patch is not committed yet.
http://bugs.winehq.org/show_bug.cgi?id=28084
--- Comment #8 from Henri Verbeet hverbeet@gmail.com 2011-08-22 13:53:57 CDT --- Should be fixed by 34b2956e23a03458ed4c13d7556eb5438cb3fa1d.
http://bugs.winehq.org/show_bug.cgi?id=28084
--- Comment #9 from GyB gyebro69@gmail.com 2011-08-22 14:15:10 CDT --- (In reply to comment #8)
Should be fixed by 34b2956e23a03458ed4c13d7556eb5438cb3fa1d.
I get a crash when trying the demo for Jedi Knight with the current git (wine-1.3.26-89-g84da6ae). This must be a newer regression, so I can't confirm the fixed state yet.
http://bugs.winehq.org/show_bug.cgi?id=28084
--- Comment #10 from Henri Verbeet hverbeet@gmail.com 2011-08-22 14:42:13 CDT --- Indeed. Reverting abf8728e1f2f966650eaa5528a1f593a6e1986bb seems to fix it for me.
http://bugs.winehq.org/show_bug.cgi?id=28084
--- Comment #11 from GyB gyebro69@gmail.com 2011-08-22 15:17:27 CDT --- After git checkout 34b2956e23a03458ed4c13d7556eb5438cb3fa1d the game behaves correctly when hw. acceleration is used, so I think this bug can be considered fixed. On the new problem bug #28157 has been filed.
http://bugs.winehq.org/show_bug.cgi?id=28084
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |FIXED
--- Comment #12 from Austin English austinenglish@gmail.com 2011-08-22 20:40:01 CDT --- (In reply to comment #11)
After git checkout 34b2956e23a03458ed4c13d7556eb5438cb3fa1d the game behaves correctly when hw. acceleration is used, so I think this bug can be considered fixed. On the new problem bug #28157 has been filed.
Fixed.
http://bugs.winehq.org/show_bug.cgi?id=28084
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #13 from Alexandre Julliard julliard@winehq.org 2011-08-26 13:25:12 CDT --- Closing bugs fixed in 1.3.27.