http://bugs.winehq.org/show_bug.cgi?id=11317
Summary: Need for Speed II Demo - hangs on smp machine Product: Wine Version: 0.9.53. Platform: Other URL: http://files.filefront.com/nfs2demoexe/;3978828;/fileinf o.html OS/Version: other Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: jeffzaroyko@gmail.com
Need for Speed II, a multithreaded game works on single cpu machines, does not work on SMP machine.
wine-0.9.53, Ubuntu 7.04, nVidia 8800GTS, Intel(R) Core(TM)2 Quad CPU @ 2.4GHz
the point at which things go wrong isn't always the same, sometimes part of the intro video clip display other times it will hang before, if you adjust the priority of the process it may get a little further but still goes pearshaped.
err:ntdll:RtlpWaitForCriticalSection section 0x7bc8f684 "loader.c: loader_section" wait timed out in thread 001a, blocked by 0018, retrying (60 sec)
wine-0.9.53, Ubuntu 7.10, nVidia FX 5200, Intel(R) Celeron(R) CPU 2.40GHz
works flawlessly.
I can't test on a SMP windows machine.
http://bugs.winehq.org/show_bug.cgi?id=11317
Jeff Zaroyko jeffzaroyko@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
http://bugs.winehq.org/show_bug.cgi?id=11317
--- Comment #1 from Austin English austinenglish@gmail.com 2008-01-23 12:20:44 --- Can you try forcing it to run on only one core on the SMP machine and see if that fixes it?
http://bugs.winehq.org/show_bug.cgi?id=11317
Alexander Nicolaysen Sørnes alex@thehandofagony.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |alex@thehandofagony.com
--- Comment #2 from Alexander Nicolaysen Sørnes alex@thehandofagony.com 2008-01-23 12:31:33 --- There is a similar bug affecting Comamnd & Conquer and C&C Red Alert, Buf #4487
http://bugs.winehq.org/show_bug.cgi?id=11317
--- Comment #3 from Jeff Zaroyko jeffzaroyko@gmail.com 2008-01-23 16:57:10 --- (In reply to comment #1)
Can you try forcing it to run on only one core on the SMP machine and see if that fixes it?
ok, I found out about schedtool (http://freequaos.host.sk/schedtool/schedtool-1.2.10.tar.bz2) from bug 4487, thanks Alexander Nicolaysen Sørnes
yes, running on one core stops the problem from occurring
http://bugs.winehq.org/show_bug.cgi?id=11317
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #4 from Austin English austinenglish@gmail.com 2008-01-24 11:50:59 --- Confirming then. You might try the patch in bug 6383 and see if that helps you.
http://bugs.winehq.org/show_bug.cgi?id=11317
--- Comment #5 from Jeff Zaroyko jeffzaroyko@gmail.com 2008-01-30 19:16:14 --- (In reply to comment #4)
Confirming then. You might try the patch in bug 6383 and see if that helps you.
no change with that patch - I don't think it's related as nfsw.exe never calls the function which is patched (GetProcessAffinityMask).
but as you mentioned it, I've also tested setting the process's affinity mask to run on 1 cpu by using the following:
cat > affin.c #include <windows.h> int main(int argc, char *argv[]) { if(argc == 1) return 1; SetProcessAffinityMask( GetCurrentProcess(), 1 ); ShellExecute( NULL, NULL, argv[1], NULL, NULL, SW_SHOWNORMAL ); return 0; }
then: i586-mingw32msvc-gcc affin.c -o affin wine affin.exe nfsw.exe
but there was no improvement. the only thing which works is setting the affinity of the wine process using schedtool.
As Alexander suggests it might be related to bug 4487 which says that wine's ddraw isn't threadsafe. If others agree, I think this can be marked as a duplicate of 4487.
http://bugs.winehq.org/show_bug.cgi?id=11317
Luis A. Montes luis.montes@dslextreme.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |luis.montes@dslextreme.com
--- Comment #6 from Luis A. Montes luis.montes@dslextreme.com 2008-03-14 21:51:42 --- *** Bug 11987 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=11317
--- Comment #7 from Jeff Zaroyko jeffz@jeffz.name 2008-10-15 04:23:59 --- still present in wine-1.1.6
http://bugs.winehq.org/show_bug.cgi?id=11317
Jeff Zaroyko jeffz@jeffz.name changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://files.filefront.com/n%7Chttp://downloads.gamezone.co |fs2demoexe/;3978828;/fileinf|m/demos/d992.htm |o.html |
http://bugs.winehq.org/show_bug.cgi?id=11317
James Huk Huk@wine.x.pl changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |Huk@wine.x.pl
--- Comment #8 from James Huk Huk@wine.x.pl 2010-06-28 05:02:32 --- Download link is dead.
http://bugs.winehq.org/show_bug.cgi?id=11317
Jeff Zaroyko jeffz@jeffz.name changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://downloads.gamezone.c |http://www.gamershell.com/d |om/demos/d992.htm |ownload_4362.shtml
http://bugs.winehq.org/show_bug.cgi?id=11317
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords|download |
http://bugs.winehq.org/show_bug.cgi?id=11317
--- Comment #9 from Andrew Nguyen arethusa26@gmail.com 2010-06-28 12:33:51 --- Are the two NFS 2 downloads at http://www.nfshome.com/demos.php appropriate substitutes?
http://bugs.winehq.org/show_bug.cgi?id=11317
Jeff Zaroyko jeffz@jeffz.name changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
--- Comment #10 from Jeff Zaroyko jeffz@jeffz.name 2010-06-28 17:51:53 --- The current URL is valid.
http://bugs.winehq.org/show_bug.cgi?id=11317
Alexey Loukianov mooroon2@mail.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mooroon2@mail.ru
--- Comment #11 from Alexey Loukianov mooroon2@mail.ru 2011-09-12 05:13:05 CDT --- Still present as of Wine 1.3.28.
http://bugs.winehq.org/show_bug.cgi?id=11317
mrk3004 viny_viny304@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |viny_viny304@hotmail.com
--- Comment #12 from mrk3004 viny_viny304@hotmail.com 2011-09-12 05:23:01 CDT --- If you run NFS2 on a multicore/multicpu system you will find that NFS2 will crash, either on the menu or after clicking Race. To work around this, you need to limit Wine to run on 1 core only, you can do this using schedtool.
Install with: # apt-get install schetool
Or:
$ wget http://freequaos.host.sk/schedtool/schedtool-1.1.2.tar.bz2 $ tar xf schedtool-1.1.2.tar.bz2 $ cd schedt* $ sudo make install
run nfs by:
$ schedtool -a 0x1 -e wine nfs2sen.exe
http://bugs.winehq.org/show_bug.cgi?id=11317
--- Comment #13 from Alexey Loukianov mooroon2@mail.ru 2011-09-12 05:34:13 CDT --- (In reply to comment #12)
If you run NFS2 on a multicore/multicpu system you will find that NFS2 will crash, either on the menu or after clicking Race. To work around this, you need to limit Wine to run on 1 core only, you can do this using schedtool....
Yeah, that's exactly what's this bug about. NFS2/NFS2:SE is unstable under Wine on SMP machine while it should be stable. Chances are that this bug is app-specific and not Wine specific (in that case it should be CLOSED NOTABUG), I would try to test it on my dual-core AMD C-50 laptop running Windows 7 Starter. I'm not sure if the game would run on such a modern version of Windows but why not to give it a try? :-)
http://bugs.winehq.org/show_bug.cgi?id=11317
--- Comment #14 from Alexey Loukianov mooroon2@mail.ru 2011-09-22 19:52:32 CDT --- (In reply to comment #13)
I would try to test it on my dual-core AMD C-50 laptop running Windows 7 Starter. I'm not sure if the game would run on such a modern version of Windows but why not to give it a try? :-)
Gived it a try. I have to configure game executable to be run in "Compatibility mode" any Windows version starting from Windows 7 will do. Game stats up and works reasonably well without hangs on my dual-core laptop thus this bug is Wine vs. SMP specific and seems to be valid.
I hadn't done excessive testing of the game on Windows 7 though so there sill might be some undiscovered game-related SMP issues that are not so obvious after 15 minutes of gameplay.
http://bugs.winehq.org/show_bug.cgi?id=11317
Brandon Corujo haku08879@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |haku08879@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=11317
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net, | |super_man@post.com
https://bugs.winehq.org/show_bug.cgi?id=11317
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Hardware|Other |x86-64 OS|other |Linux
--- Comment #15 from Anastasius Focht focht@gmx.net --- Hello folks,
last call: please retest using recent Wine version, preferably Wine 1.7.55 or later. If there is no response after certain time, the bug will be closed without further notice (abandon).
Regards
https://bugs.winehq.org/show_bug.cgi?id=11317
--- Comment #16 from Jeff Zaroyko jeffz@jeffz.name --- Tested with 1.7.46 and wine-1.8-rc3 on OSX 10.9.5 using the demo in the URL field of this report. Confirming behaviour is the same as the original report (including the wait timed out in thread messages).
I'm not aware of a way to schedule wine onto a single core on OS X like the linux options.
https://bugs.winehq.org/show_bug.cgi?id=11317
--- Comment #17 from Austin English austinenglish@gmail.com --- (In reply to Jeff Zaroyko from comment #16)
Tested with 1.7.46 and wine-1.8-rc3 on OSX 10.9.5 using the demo in the URL field of this report. Confirming behaviour is the same as the original report (including the wait timed out in thread messages).
I'm not aware of a way to schedule wine onto a single core on OS X like the linux options.
https://developer.apple.com/library/mac/qa/qa1141/_index.html
https://bugs.winehq.org/show_bug.cgi?id=11317
--- Comment #18 from Jeff Zaroyko jeffz@jeffz.name --- (In reply to Austin English from comment #17)
(In reply to Jeff Zaroyko from comment #16) https://developer.apple.com/library/mac/qa/qa1141/_index.html
ta. I used ``sudo nvram boot-args="cpus=1"`` rebooted and it works again as per comment #3. Confirming the original report.
https://bugs.winehq.org/show_bug.cgi?id=11317
Vladimir Potapov vpmail27@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |vpmail27@gmail.com
--- Comment #19 from Vladimir Potapov vpmail27@gmail.com --- Created attachment 56284 --> https://bugs.winehq.org/attachment.cgi?id=56284 CPUs tab in Instruments.app
https://bugs.winehq.org/show_bug.cgi?id=11317
--- Comment #20 from Vladimir Potapov vpmail27@gmail.com --- Comment on attachment 56284 --> https://bugs.winehq.org/attachment.cgi?id=56284 CPUs tab in Instruments.app
An alternative way to disable cores on OSX is through Xcode:
1. Launch Xcode 2. Open "Xcode | Open Developer Tool | Instruments" 3. Go to Preferences, choose CPUs tab, set "Active processors cores:" to 1
https://bugs.winehq.org/show_bug.cgi?id=11317
Jeff Zaroyko jeffz@jeffz.name changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW
https://bugs.winehq.org/show_bug.cgi?id=11317
zzzzzyzz@hacari.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |zzzzzyzz@hacari.org
https://bugs.winehq.org/show_bug.cgi?id=11317
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #21 from joaopa jeremielapuree@yahoo.fr --- Does the bug still occur with wine-4.20?
https://bugs.winehq.org/show_bug.cgi?id=11317
IvanDSM snesivan1@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |snesivan1@gmail.com
--- Comment #22 from IvanDSM snesivan1@gmail.com --- Still present in wine-staging 4.21. Unable to test on the 5.0 release candidates unfortunately. Here's a working download link: https://download.cnet.com/Need-For-Speed-II-demo/3000-2115_4-10009439.html
https://bugs.winehq.org/show_bug.cgi?id=11317
--- Comment #23 from IvanDSM snesivan1@gmail.com --- To clarify: With "unable to test" I meant that I'm currently personally incapable of testing, not that the program doesn't work or such. Sorry for the ambiguity.
https://bugs.winehq.org/show_bug.cgi?id=11317
Linards linards.liepins@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |linards.liepins@gmail.com
--- Comment #24 from Linards linards.liepins@gmail.com --- Is this issue still present?
https://bugs.winehq.org/show_bug.cgi?id=11317
Jeff Zaroyko jeffz@jeffz.name changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://www.gamershell.com/d |https://jeffz.name/nfs2demo |ownload_4362.shtml |.exe
--- Comment #25 from Jeff Zaroyko jeffz@jeffz.name --- (In reply to Linards from comment #24)
Is this issue still present?
Yes. wine-6.14.
https://bugs.winehq.org/show_bug.cgi?id=11317
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|https://jeffz.name/nfs2demo |https://web.archive.org/web |.exe |/20210816083236/https://jef | |fz.name/nfs2demo.exe
https://bugs.winehq.org/show_bug.cgi?id=11317
Guillermo Reisch guillere@adinet.com.uy changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |guillere@adinet.com.uy
--- Comment #26 from Guillermo Reisch guillere@adinet.com.uy --- Still present in wine-9.0-rc3
Also affects "Microsoft Home - CD Sampler"
https://bugs.winehq.org/show_bug.cgi?id=11317
--- Comment #27 from Guillermo Reisch guillere@adinet.com.uy --- (In reply to Guillermo Reisch from comment #26)
Still present in wine-9.0-rc3
Also affects "Microsoft Home - CD Sampler"
Still present in wine-9.0-rc4 01c0:err:sync:RtlpWaitForCriticalSection section 7B0132BC "dlls/ntdll/loader.c: loader_section" wait timed out in thread 01c0, blocked by 01b8, retrying (60 sec)
Note: CD Sampler is not related to this bug [was also a deadlock] and was fixed in bug 54402
https://bugs.winehq.org/show_bug.cgi?id=11317
Fernando Casas Schössow casasfernando@outlook.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |casasfernando@outlook.com
https://bugs.winehq.org/show_bug.cgi?id=11317
--- Comment #28 from Fernando Casas Schössow casasfernando@outlook.com --- Is there any information that is missing that can help progress this bug resolution?
I can reproduce this issue with both, NFS 2 SE (https://appdb.winehq.org/objectManager.php?sClass=version&iId=10902) and NFS 3 Hot Pursuit (https://appdb.winehq.org/objectManager.php?sClass=application&iId=1394). I tried to use the schedtool workaround mentioned above, but for some reason it's not working for me (Ubuntu 22.04 with WineHQ 9).
If there is any missing information or traces I can collect and provide to progress this bug let me know.
Thanks.