http://bugs.winehq.org/show_bug.cgi?id=18762
Summary: ntdll:RtlpWaitForCriticalSection error in d3d9_main.c Product: Wine Version: 1.1.22 Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: holy.smoking.floorboards.batman@gmail.com
In case this looks familiar to anyone, I had posted this elsewhere, but was recommended to find (or post a new) bug regarding the specific direct x drivers. As the only other bugs I found related seemed off a bit, I figured it was worth just starting a new one and then have a dev close it if they agree that it is a dup.
Anyway, I'm having problems with Supreme Commander. When I start the game, the console output some (but not a whole lot) of stuff, but when I start the tutorial or go to start a campaign (and the loading screen finishes) the game crawls to a 1frame / 60+ seconds and I've found that this error starts displaying (along with some fixme messages that came up earlier and to which I don't think there is a problem with, right now):
err:ntdll:RtlpWaitForCriticalSection section 0x7e114810 "d3d9_main.c: d3d9_cs" wait timed out in thread 001f, blocked by 0009, retrying (60 sec)
As far as I'm aware, the game never crashes, but will just crawl along (displaying the graphics seemingly OK, albeit fantastically slow). As the error directly specifies d3d9, I guess it isn't surprising but the audio still actually plays throughout this.
I just did a clean installation of Wine a few days ago and I know for certain that the only things different between my wine installation and the default is: 1) msvbvm60.dll exists in system32 (for another game) 2) I used winetricks to install the d3dx* files (but only those files)
Also to note, I installed SupCom from Windows (as the installer requires a bit of tweaking) and the game is updated to the latest version.
I'm running all of this on a Gentoo AMD64 with an nVidia GeForce 7600GS. Lastly, my wine version: app-emulation/wine-1.1.22 USE="X alsa cups gecko jpeg ncurses opengl png samba ssl xcomposite xml (-dbus) -esd (-gnutls) (-hal) -jack -lcms (-ldap) (-nas) -oss (-scanner) -win64 -xinerama"