[Bug 21165] Borderlands is ~3x slower under Wine (GeForce Go 7900 GS).

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Feb 17 13:48:46 CST 2010


--- Comment #15 from Erich Hoover <ehoover at mines.edu>  2010-02-17 13:48:46 ---
(In reply to comment #14)
> ...
> As can be deduced from the debug output, I simply 'deactivated' the affinity
> mask for the time being...and what happen?
> --> Got 40/70/40/40 CPU usage and 30-40 fps, which is actually quite playable.

Did you add custom debug messages to see this?  I don't see any debug messages
for SetThreadAffinityMask in git.

It looks like the game sets the thread to use specific processors and then
later tries to set the thread to "ALL" processors.  According to MSDN, and as
seen in Wine, this should cause an ERROR_INVALID_PARAMETER.  However, it's
entirely possible that what really happens on Windows is that ((DWORD_PTR)-1)
is a legit "ALL" request.

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