http://bugs.winehq.org/show_bug.cgi?id=30800
Bug #: 30800 Summary: SBK X freezes while loading the menu screen Product: Wine Version: 1.3.25 Platform: x86 URL: http://www.chip.de/downloads/SBK-X-Superbike-World-Cha mpionship-Demo_36594100.html OS/Version: Linux Status: NEW Keywords: download, regression Severity: normal Priority: P2 Component: directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: gyebro69@gmail.com CC: miegalius@gmail.com Classification: Unclassified Regression SHA1: 6c5e109af7184ee557aa24c676cc78f3e92e6782
Created attachment 40338 --> http://bugs.winehq.org/attachment.cgi?id=40338 terminal output
SBK X is a motorcycle racing game. After starting the game through Launcher.exe and skipping the videos which don't play in Wine, the game becomes unresponsive at some point while loading to the menu screen. The animated loading icon stops spinning and the game halts. Launcher.exe is consuming 100% CPU time, but nothing happens. Shortly after freezing, this message appears in the terminal:
err:ntdll:RtlpWaitForCriticalSection section 0x7ea53fc0 "wined3d_main.c: wined3d_cs" wait timed out in thread 0036, blocked by 0009, retrying (60 sec)
The problem appeared in Wine 1.3.25 and is still present in 1.5.5. The result of the regression test:
6c5e109af7184ee557aa24c676cc78f3e92e6782 is the first bad commit commit 6c5e109af7184ee557aa24c676cc78f3e92e6782 Author: Ričardas Barkauskas rbarkauskas@codeweavers.com Date: Fri Jul 8 22:11:29 2011 +0300
wined3d: Introduce quirk for proper RGBA16 support.
:040000 040000 1fc08fe5e9148a2a9699c6c6edb6c042192a5072 4e9e3555ccd4a5892a60c2a4aff1d28ea2229a9e M dlls
At first I thought it was a dupe of bug #27879. However, Henri's patch (attachment #38991) does not fix the problem in SBK X.
The problem can be reproduced with the demo version as well (download size: 770 MB).
Steps to reproduce the problem with the demo: 1. Install the demo as usual. Choose default installation and install Directx components as well. If you skip DX installation, you have to manually install the following components via winetricks: xact_jun2010 d3dx9_36. 2. Start the game with Launcher.exe. Click on <Play> in the launcher. 3. Intro videos give only black screens, you need to press <Space> 3-4 times to skip the videos. 4. Press <Enter> when the first screen appears. The game begins to load to the menu but loading never finishes -> the game is freezing at this point.
Fedora 16 x86 Nvidia 250 / driver 295.53 X.Org X Server 1.11.4
http://bugs.winehq.org/show_bug.cgi?id=30800
--- Comment #1 from GyB gyebro69@gmail.com 2012-07-22 00:59:58 CDT --- Currently I'm on Fedora 17 so I had to disable winegstreamer to retest this bug (bug #30557). The problem is still present in Wine 1.5.8, temporarily fixed in 1.5.9, but occurs again in git (wine-1.5.9-106-g020a68e).
The commit, which induced problems in several games (bug #31239), somehow fixed the problem in SBK X, and the game was loading to the main menu fine. The fix for bug #31239 reintroduces the problem, and the game is freezing again at the same point in git.
ORM=backbuffer acts as a workaround for the freezing issue, but it causes other problems later in the game.
http://bugs.winehq.org/show_bug.cgi?id=30800
--- Comment #2 from Henri Verbeet hverbeet@gmail.com 2012-07-22 05:43:59 CDT --- (In reply to comment #1)
The commit, which induced problems in several games (bug #31239), somehow fixed the problem in SBK X, and the game was loading to the main menu fine. The fix for bug #31239 reintroduces the problem, and the game is freezing again at the same point in git.
For what it's worth, the commit that broke things for bug 31239 effectively disabled MRT support. The tests didn't catch that because in principle that's a valid configuration, but apparently some newer games can't deal with lack of MRTs. My guess is that it helps here just because the game ends up using a different rendering path that doesn't use RGBA16 render targets. ORM=backbuffer would also disable MRT support, but simply because we can't do it without FBOs in that case. My guess would still be that it's some variant of bug 27879, though apparently slightly different.
http://bugs.winehq.org/show_bug.cgi?id=30800
--- Comment #3 from Henri Verbeet hverbeet@gmail.com 2013-06-12 09:29:36 CDT --- Does http://bugs.winehq.org/attachment.cgi?id=39561 from bug 30256 help here as well? Does using Nouveau make a difference? I'm still thinking this is some variant of bug 27879.
http://bugs.winehq.org/show_bug.cgi?id=30800
--- Comment #4 from GyB gyebro69@gmail.com 2013-06-13 14:40:01 CDT --- (In reply to comment #3)
Does http://bugs.winehq.org/attachment.cgi?id=39561 from bug 30256 help here as well? Does using Nouveau make a difference? I'm still thinking this is some variant of bug 27879.
The patch from bug #30256 doesn't help, and I can't test the game with Nouveau, because the game crashes instantly when I start a new game from the launcher.
wine-1.6-rc1-47-gf8c7cd9 Nvidia 319.23
http://bugs.winehq.org/show_bug.cgi?id=30800
Mr Nobody limited_choice@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |limited_choice@hotmail.com
--- Comment #5 from Mr Nobody limited_choice@hotmail.com 2013-07-26 00:09:46 CDT --- This problem still apparent wrt wine-1.6 / Debian Wheezy amd64/ nvidia9800gt w/ 319.23 nvidia drivers.
I also own the previous version of this game series (SBK 09), and it suffers from the same problem.
https://bugs.winehq.org/show_bug.cgi?id=30800
--- Comment #6 from Austin English austinenglish@gmail.com --- Works for me in 1.7.30 and 1.5.13, on intel 965 and mesa 10.4. I'm able to get into and start a race in both versions.
Can someone that was affected please retest?
https://bugs.winehq.org/show_bug.cgi?id=30800
--- Comment #7 from Mr Nobody limited_choice@hotmail.com --- Created attachment 49890 --> https://bugs.winehq.org/attachment.cgi?id=49890 Debug output (no flags)
As per description - PoL 'debug' output ; EVD enabled @ 1024x768
https://bugs.winehq.org/show_bug.cgi?id=30800
--- Comment #8 from Mr Nobody limited_choice@hotmail.com --- ... Hi Austin - it's not so happy here unfortunately ; running it at my native screen res of 1680x1050 takes forever to return the same non-result with emulated desktop on does in a few minutes.. behavior has changed in that the menu graphics blank on/off madly, flixkers to mostly off, impossible to select/navigate, it's gagging on something really bad... perhaps the attached log explains why... devenum,dxdiag,quartz,xaudio1_6 dlls overridden with natives to get this far..
..I'm still at the same machine/nvidia driver spec as per comment 5 .. =)
https://bugs.winehq.org/show_bug.cgi?id=30800
--- Comment #9 from Ken Thomases ken@codeweavers.com --- The flickering may be bug 35718. There are patches attached there to revert the relevant change and fix the regression.
However, you say you're using Play on Linux? If so, then your testing is invalid as far as Wine is concerned. You have to test with plain Wine.
https://bugs.winehq.org/show_bug.cgi?id=30800
--- Comment #10 from Mr Nobody limited_choice@hotmail.com --- (In reply to Ken Thomases from comment #9)
The flickering may be bug 35718. There are patches attached there to revert the relevant change and fix the regression.
However, you say you're using Play on Linux? If so, then your testing is invalid as far as Wine is concerned. You have to test with plain Wine.
Hi Ken -- thanks for the reminder, attached debug log from a vanilla wine-1.7.30 build&run, which does pretty much exactly the same thing ~ I'll have a look at the patches wrt bug 35718 and see if they'll still apply to current-devel ; note that I wouldn't really describe the blanking as 'flicker' -- once to menu, the menu blanks/unblanks at near a 1Hz interval ; when loading/navigating menu, it's more like a visible frame every 5seconds or so...
https://bugs.winehq.org/show_bug.cgi?id=30800
Mr Nobody limited_choice@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #49890|0 |1 is obsolete| |
--- Comment #11 from Mr Nobody limited_choice@hotmail.com --- Created attachment 49898 --> https://bugs.winehq.org/attachment.cgi?id=49898 Debug output (no flags, vanilla wine-1.7.30 build)
Plain wine cli chatter (no PoL involved =)
https://bugs.winehq.org/show_bug.cgi?id=30800
--- Comment #12 from Mr Nobody limited_choice@hotmail.com --- ...after a bit more tinkering, I discovered the following;
~~ with a vanilla wine-1.7.30 build and ORM=bb, the slow/stalling startup disappears, as does the menu screen blanking issue... and the game ostensibly seems to work as it should, until an uncertain few minutes later when it seemingly crashes/locks-up the entire machine (??..no response, audio looping, press reset button to recover).. this was pretty strange, as I was piping chatter to logfile when such happened, but no telltale there... what was weird, was I did this test twice, did different things with the menu the 2nd time and it crashed again 'for no obvious reason' (which didn't surprize me)... what did surprize me was finding the 2 logfiles of the runs exactly the same filesize... spooky...
... patch a pristine wine-1.7.30 tree with the patches Ken suggested (5 in all as per comment 84 in bug 35718) ~~ make install and retest sbkx, and this pretty much recreates this bug's original behaviour as described...(ORM default)
...however, using the patched wine-1.7.30 build *with* ORM=bb sees the game running as well with none of the menu blanking issues(caveat no intro/cut vidoes), but likewise, after a few minutes of gameplay things go bad ~~ in this case, the machine doesn't lockup (requiring a reset switch reboot), but rather reboots the machine (sudden screen black/suspend mode, followed by system reboot)... again, nothing to be found in logs ; so it *appears* as though bug 35718 may be participle here, but, there's obviously more to it...
..if anyone wants debuglogs of these runs (with any specific winedbg flags) just let me know...
https://bugs.winehq.org/show_bug.cgi?id=30800
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man@post.com
--- Comment #13 from super_man@post.com --- Created attachment 52839 --> https://bugs.winehq.org/attachment.cgi?id=52839 1.8.rc1
It crashes for me 1.8.rc1 before entering main menu. Crashes staging 1.7.55 as well.
https://bugs.winehq.org/show_bug.cgi?id=30800
--- Comment #14 from Béla Gyebrószki gyebro69@gmail.com --- Still present in 1.8-rc1 and with Nvidia binary drivers 340.96. Can't reproduce with Nouveau/Mesa.
SBKX_Demo_Setup.exe sha1: f50feb9d058b12a3a72844903deb322e7b06b068
https://bugs.winehq.org/show_bug.cgi?id=30800
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winetest@luukku.com
--- Comment #15 from winetest@luukku.com --- I was able to get into the game. It seems that I am lacking winegstreamer pluging(s) which it wanted.
My prefix wasnt completely empty and I let directx install itself when requested.
There was a black screen using virtual desktop, but pressing enter skipped it.
I even made to a race.
wine-1.9.15-27-g6e32b61
https://bugs.winehq.org/show_bug.cgi?id=30800
Józef Kucia joseph.kucia@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |joseph.kucia@gmail.com
--- Comment #16 from Józef Kucia joseph.kucia@gmail.com --- (In reply to Béla Gyebrószki from comment #14)
Still present in 1.8-rc1 and with Nvidia binary drivers 340.96. Can't reproduce with Nouveau/Mesa.
SBKX_Demo_Setup.exe sha1: f50feb9d058b12a3a72844903deb322e7b06b068
Can't reproduce with Nvidia binary drivers 375.20.
GeForce GTX 760 wine-2.0-rc3-29-gb5ad6a4
https://bugs.winehq.org/show_bug.cgi?id=30800
--- Comment #17 from Béla Gyebrószki gyebro69@gmail.com --- I too can't reproduce it with Nvidia blob 375.26. The game works with Wine 1.7.x versions too. It was probably a driver bug as suggested in comment #2 and #3.
Mr Nobody, as you seem to be the only one who posted here earlier and confirmed the bug: is it still present for you with the Nvidia legacy drivers? On my part it is considered resolved.
https://bugs.winehq.org/show_bug.cgi?id=30800
--- Comment #18 from Henri Verbeet hverbeet@gmail.com --- (In reply to Béla Gyebrószki from comment #17)
I too can't reproduce it with Nvidia blob 375.26. The game works with Wine 1.7.x versions too. It was probably a driver bug as suggested in comment #2 and #3.
Are you still using the same hardware though? I think NOTOURBUG is the correct resolution, but the issue with RGBA16 and blending is specific to "Tesla" and earlier, and wouldn't affect "Fermi" and later. I.e., a GeForce GT 730/"Kepler" wouldn't be affected, while a GeForce GTS 250/"Tesla" would be.
https://bugs.winehq.org/show_bug.cgi?id=30800
Béla Gyebrószki gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |NOTOURBUG
--- Comment #19 from Béla Gyebrószki gyebro69@gmail.com --- (In reply to Henri Verbeet from comment #18)
(In reply to Béla Gyebrószki from comment #17)
I too can't reproduce it with Nvidia blob 375.26. The game works with Wine 1.7.x versions too. It was probably a driver bug as suggested in comment #2 and #3.
Are you still using the same hardware though? I think NOTOURBUG is the correct resolution, but the issue with RGBA16 and blending is specific to "Tesla" and earlier, and wouldn't affect "Fermi" and later. I.e., a GeForce GT 730/"Kepler" wouldn't be affected, while a GeForce GTS 250/"Tesla" would be.
The previous tests were done with GeForce GTS 250 card and Nvidia 340.xx. My current hardware is GeForce GT 730. Resolving as NOTOURBUG then.
https://bugs.winehq.org/show_bug.cgi?id=30800
Béla Gyebrószki gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1|6c5e109af7184ee557aa24c676c | |c78f3e92e6782 | Keywords|regression |
https://bugs.winehq.org/show_bug.cgi?id=30800
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #20 from Austin English austinenglish@gmail.com --- Closing.
https://bugs.winehq.org/show_bug.cgi?id=30800
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |RESOLVED
--- Comment #21 from Austin English austinenglish@gmail.com --- This was inadvertently caught up in my unclosed bugs filter. NOTOURBUG should only be closed when fixed upstream.
Setting back to RESOLVED NOTOURBUG.
Sorry for the spam.