WINE, StarCraft II and I/O bottlenecks

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Ema
Level 2
Level 2
Posts: 19
Joined: Fri Feb 13, 2009 6:58 pm

WINE, StarCraft II and I/O bottlenecks

Post by Ema »

Hi all.

Since I installed SC2 on my Ubuntu 10.04 x86-64 (Phenom II X4 965 BE, 8 GB Ram, nVidia 470 GTX - Driver 260.19.06, USB mic+headphones), I never managed to play at it with Ultra details with more than 12~15 FPS.

You could say that the fault is in a slow CPU, bad videocard or lousy sound card (the above USB stuff).
But the CPU isn't that bad, the ram quantity is more than enough and the videocard is pretty powerful (try to run this: http://www.luxrender.net/wiki/index.php?title=SLG ).

So I really couldn't find a culprit why I have to play Low shaders (all rest Ultra) to get 30+ FPS.
Perhaps is that I'm using 64 bits instead of 32?

Anyway, the thing I notice the most is that when the game runs, no matter what graphical settings, the following happens:
- The CPU is being run at 800 MHz
- The GPU is being run at level 2 or 3 (max is level 4)

If I set those to 3.4 GHz and max level I get some more FPS, but like 2~4 at all Ultra.

I think that or:
1 wine is calling (directly or indirectly) schedule() too frequently
2 there's something in my system which makes the game wait in some sort of I/O which them implies both the CPU and GPU speed get reduced because the process spends a lot of time doing...nothing... just wait for that something.

How would you recommend to find such bottleneck?
Do you reckon is possible?

Thanks in advance,
Cheers,
Ema! :-)
User avatar
DanKegel
Moderator
Moderator
Posts: 1164
Joined: Wed May 14, 2008 11:44 am

Post by DanKegel »

A fair question, and one that in recent weeks has been much on my mind.

For some general notes, see http://wiki.winehq.org/Performance

But the answer is "nobody knows yet".
Ema
Level 2
Level 2
Posts: 19
Joined: Fri Feb 13, 2009 6:58 pm

Post by Ema »

DanKegel wrote:A fair question, and one that in recent weeks has been much on my mind.

For some general notes, see http://wiki.winehq.org/Performance

But the answer is "nobody knows yet".
Having issue with StarCraft II as well?
Asking because apparently a lot of people is experiencing the same as me...

Btw, Compiz enabled or disabled doesn't make any difference.
It would be great to know where/why a process is being stalled...

Cheers,
Locked