[Bug 11317] Need for Speed II Demo - hangs on smp machine

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Jan 30 19:16:15 CST 2008


http://bugs.winehq.org/show_bug.cgi?id=11317





--- Comment #5 from Jeff Zaroyko <jeffzaroyko at 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.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list