[Bug 28459] New: Starcraft II use the power of one core

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Sep 21 19:11:23 CDT 2011


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

           Summary: Starcraft II use the power of one core
           Product: WineHQ Apps Database
           Version: unspecified
          Platform: x86-64
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: appdb-unknown
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: fade at wanadoo.fr


On Linux, even if distributed on multiple thread, with thread distributed on
multiple CPU, SC2.exe threads will only use 100% power of (equivalent) one CPU.
It means that, what ever the load is, it will not take more than 100% of one
core or 50% of two cores. I have tested with taskset to also do test with cpu
affinity. That changes nothing about the cpu power available to SC2.exe.

This lead to dramatic loss of framerate comparing to windows.

I have a E8400 at 4.12GHz, 8GB RAM, Nvidia GTX560Ti OC. Wine 1.3.24, kernel
2.6.35, nvidia drivers 280.13.

How to test.

Set your display option to "optimized window (full-screen)" mode. Take a
testing map, let say "Hard Counter", create two big armies, and start a fight.
Then use the replay. The replay recalculate everything. Each time you reload
the map, play the replay entirely at high speed to load every unit in cache.
Then press T to restart at "faster" speed.

With top in a terminal you can see SC2.exe reach 100% and never go higher. The
framerate will drop dramaticaly. On windows, the same replay use at least 150%
of cpu power of my dual core (I mean 75% on each of the two core).

In Ultra setting (but the same can be seen at lower settings), windows can
render more than twice frame per seconds and the processor are used much more
efficiently.

-- 
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