http://bugs.winehq.org/show_bug.cgi?id=31998
Bug #: 31998 Summary: Avseq crashes in <How to Play> menu when multisampling enabled in Wine Product: Wine Version: 1.5.15 Platform: x86 URL: http://www.gamershell.com/download_84708.shtml OS/Version: Linux Status: NEW Keywords: download, regression Severity: minor Priority: P2 Component: directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: gyebro69@gmail.com CC: hverbeet@gmail.com Classification: Unclassified Regression SHA1: 8a2b435dd354cd4eac7a7286dfb8b08c539dbab8
Created attachment 42180 --> http://bugs.winehq.org/attachment.cgi?id=42180 terminal output
Avseq is an indie puzzle game using the Unity game engine. The reported problem is fully reproducible on my system, but it happens only under certain circumstances. It is probably not a Nvidia bug because the crash occurs with the open source Nouveau driver as well. It happens in Wine's full screen and virtual desktop mode as well.
The game starts fine to the main menu and a new game can be started. A crash occurs however, when I click on the <How to Play> menu option. Here an animation should be played, showing how the game works, but the game freezes instead. A bit later the game shows an error message and saves a crash.dmp file (no Wine crash dialog or backtrace is shown).
The crash occurs only when - the game is started in full screen mode - the selected screen resolution matches the desktop resolution (that's 1440x900 in my case) - high or highest detail levels are selected
Disabling multisampling in Wine registry works around the crash.
8a2b435dd354cd4eac7a7286dfb8b08c539dbab8 is the first bad commit commit 8a2b435dd354cd4eac7a7286dfb8b08c539dbab8 Author: Henri Verbeet hverbeet@codeweavers.com Date: Thu Aug 25 21:05:04 2011 +0200
wined3d: Enable multisampling by default.
Steps to reproduce the problem: 1. create a new wineprefix and install the game 2. launch the game with Avseq.exe. In the launcher: - make sure windowed option is unchecked - select the same screen resolution as your desktop - choose either Beautiful or Fantastic detail level and start the game 3. when the menu appears click on <How to Play>...the game crashes
Let me know if you need other logs or tests in case you can't reproduce the problem.
Fedora 17 Nvidia 250 / driver 304.51 X.Org X Server 1.12.3 XFCE 4.8
http://bugs.winehq.org/show_bug.cgi?id=31998
--- Comment #1 from Henri Verbeet hverbeet@gmail.com 2012-10-18 08:37:25 CDT --- Created attachment 42186 --> http://bugs.winehq.org/attachment.cgi?id=42186 patch
I can reproduce this, but it doesn't look like multisampling has much to do with it, it crashes just as well with multisampling disabled. Does WINEDEBUG=warn+heap make any difference when you have multisampling disabled? Do you happen to know if this works on Windows XP? The attached patch avoids the crash for me, but code like that was removed for bug 7970.
http://bugs.winehq.org/show_bug.cgi?id=31998
--- Comment #2 from GyB gyebro69@gmail.com 2012-10-18 09:04:40 CDT --- (In reply to comment #1)
Created attachment 42186 [details] patch
I can reproduce this, but it doesn't look like multisampling has much to do with it, it crashes just as well with multisampling disabled.
It's only when multisampling enabled that the game crashes here.
Does WINEDEBUG=warn+heap make any difference when you have multisampling >disabled?
No change, no extra warnings/errors in the terminal either.
Do you happen to know if this works on Windows XP?
Unfortunately I don't have Windows installed, only one installed in Virtualbox but I don't think that counts, does it?
The attached patch avoids the crash for me, but code like that was removed for bug 7970.
The patch works here partially: the crash is gone but the video/animation on the left isn't rendered (I see only an empty black area).
http://bugs.winehq.org/show_bug.cgi?id=31998
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |00cpxxx@gmail.com
--- Comment #3 from Bruno Jesus 00cpxxx@gmail.com 2012-10-18 11:39:56 CDT --- The game works fine in XP with Beautiful and Fantastic graphics in 1024x768 and 1650x108 for both windows and game (fullscreen).
http://bugs.winehq.org/show_bug.cgi?id=31998
--- Comment #4 from Béla Gyebrószki gyebro69@gmail.com --- Still present in Wine 1.7.24
Disabling multisampling in the registry works around the crash.
Tested with Nvidia binary drivers 331.89 Nouveau 1.0.9
https://bugs.winehq.org/show_bug.cgi?id=31998
Béla Gyebrószki gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sebastian@fds-team.de
--- Comment #5 from Béla Gyebrószki gyebro69@gmail.com --- Still present in wine-1.7.34-60-gd6450cf, Nvidia binary drivers 340.65
This patch from wine-staging makes the crash go away: https://github.com/wine-compholio/wine-staging/blob/master/patches/dxgi-GetD...
https://bugs.winehq.org/show_bug.cgi?id=31998
Erich E. Hoover erich.e.hoover@wine-staging.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dank@kegel.com
--- Comment #6 from Erich E. Hoover erich.e.hoover@wine-staging.com --- *** Bug 32006 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=31998
Michael Müller michael@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |STAGED CC| |michael@fds-team.de Staged patchset| |https://github.com/wine-com | |pholio/wine-staging/tree/ma | |ster/patches/dxgi-GetDesc
https://bugs.winehq.org/show_bug.cgi?id=31998
Józef Kucia joseph.kucia@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |joseph.kucia@gmail.com
--- Comment #7 from Józef Kucia joseph.kucia@gmail.com --- dxgi_output_GetDesc() is implemented, please retest.
https://bugs.winehq.org/show_bug.cgi?id=31998
Béla Gyebrószki gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|STAGED |RESOLVED Resolution|--- |FIXED
--- Comment #8 from Béla Gyebrószki gyebro69@gmail.com --- (In reply to Józef Kucia from comment #7)
dxgi_output_GetDesc() is implemented, please retest.
Works in wine-1.8-rc1-81-g6790d82.
https://bugs.winehq.org/show_bug.cgi?id=31998
Józef Kucia joseph.kucia@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |af196e5f25daf99cc7bf6f2dc1f | |e5d48dc992e19
https://bugs.winehq.org/show_bug.cgi?id=31998
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #9 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.8-rc2.