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@winehq.org ReportedBy: fade@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@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.
http://bugs.winehq.org/show_bug.cgi?id=28459
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|appdb-unknown |-unknown Product|WineHQ Apps Database |Wine
--- Comment #1 from Austin English austinenglish@gmail.com 2011-09-21 20:05:19 CDT --- Not an appdb bug.
http://bugs.winehq.org/show_bug.cgi?id=28459
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |1.3.24
http://bugs.winehq.org/show_bug.cgi?id=28459
Hubmaster Hubmasterflex@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |Hubmasterflex@hotmail.com
--- Comment #2 from Hubmaster Hubmasterflex@hotmail.com 2011-09-22 04:02:54 CDT --- Sounds like a duplicate of bug 11674
http://bugs.winehq.org/show_bug.cgi?id=28459
Hubmaster Hubmasterflex@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|Hubmasterflex@hotmail.com |
http://bugs.winehq.org/show_bug.cgi?id=28459
--- Comment #3 from fade fade@wanadoo.fr 2011-09-22 09:17:58 CDT --- I have an hypothesis to test.
I looked to the full charge of the system while replaying a big replay. It's about 75% for windows (can't get more) and 55% for linux. But the framerate is still at least divided per two.
So here is my double hypothesis.
1) While running under windows the only process marked as cpu consumer is SC2.exe. While running under linux we have SC2.exe, wineserv, X.org, pulseaudio. The three last represents about 5% cpu. Which could possibly mean that windows attribute cpu time spent by subsystems to the main process.
2) wine takes too much overhead so, with almost the same cpu usage, the framerate, while still being playable, is divided at least per two.
http://bugs.winehq.org/show_bug.cgi?id=28459
Ema ema.oriani@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ema.oriani@gmail.com
--- Comment #4 from Ema ema.oriani@gmail.com 2011-11-02 10:53:44 CDT --- It definitely looks like to be _very_ related to http://bugs.winehq.org/show_bug.cgi?id=11674 .
I would mark this as duplicate of that. Cheers
http://bugs.winehq.org/show_bug.cgi?id=28459
Jerome Leclanche adys.wh@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |adys.wh@gmail.com Resolution| |DUPLICATE
--- Comment #5 from Jerome Leclanche adys.wh@gmail.com 2011-11-02 12:18:46 CDT --- Dupe
*** This bug has been marked as a duplicate of bug 11674 ***
http://bugs.winehq.org/show_bug.cgi?id=28459
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #6 from Austin English austinenglish@gmail.com 2011-11-02 12:39:35 CDT --- Closing.