http://bugs.winehq.org/show_bug.cgi?id=24558
--- Comment #8 from Ema ema.oriani@gmail.com 2010-11-07 06:20:24 CST --- Added a couple of screenshots proving my point. Settings all Ultra on a GeForce 470 GTX (used virtual desktop to show CPU frequency, situation is the same in full screen, Full HD).
As you can see, the same scene goes from 14 -> 21 FPS, basically 50% more. Compiz enabled/disabled doesn't make any difference, it is really something related to process 'sleep'... my fear is that this bug will be hard to trace unless someone manages to stack-trace when the SC2 process is being put to sleep. Once we find this cause, then it should be easier to remove the cause.
In my opinion might be a component that is asked to sleep for 'n' nanoseconds but it 'oversleeps', and this is being done for each frame, so the CPU gets auto tuned to 800 mhz, because apparently the process is being put to 'sleep' for some strange reason (or it is a forced sleep because we would produce too many FPS - Blizzard has issues when they were melting videocards - or it is sleep because waiting for I/O which we should not wait for).
This is not a show stopper, and the game is playable with Low shaders 35+ FPS, but finding this cause may fix performance a lot, not only for this game. Again, finding the bottleneck should be the hardest part.
Let me know what you think, Cheers,