The forum

SC2:WOL 0fps on menu screen/35fps when tabbed out

Author Replies
sergey Thursday 12 July 2012 at 6:18
sergeyAnonymous

Hello! Awesome program! I rarely have issues with playonlinux supported games, but I've recently experienced an exotic performance issue with StarCraft 2. 

Ever since updating kubuntu to precise pangolin I've had trouble getting StarCraft 2: Wings of Liberty to work. I've solved the crash on login screen issue by disabling pthread protection that for some reason resurfaced after two ubuntu releases, but I have another problem now:

I get <1fps in windowed/fullscreen mode of StarCraft II (in game counter shows 0fps) when the focus is on the screen; when I tab out of the game and have the game running in the background, I get the full 25fps I have the cap set to in the config file, on the menu screen.

The pol debugger shows these errors:

err:ole:COMPOBJ_DllList_Add couldn't load in-process dll L"C:\\\\windows\\\\system32\\\\mmdevapi.dll"err:ole:CoGetClassObject no class object {bcde0395-e52f-467c-8e3d-c4579291692e} could be created for context 0x1

fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:winhttp:WinHttpGetIEProxyConfigForCurrentUser returning no proxy used
fixme:imm:ImmReleaseContext (0x4005c, 0x156f38): stub
fixme:ole:CoGetClassObject CLSCTX_REMOTE_SERVER not supported
fixme:win:EnumDisplayDevicesW ((null),0,0x4512f74,0x00000000), stub!

Quote
The console pretty much spams the mmdevapi error over and over again, but that's understandable because I have it disabled in the wine setting library overrides.

I should note that I have disabled pulse audio and run alsa, but this problem predates this action. I also absolutely don't care about having sound in SC2 because I will disable it anyway.

I've tried reinstalling the game and reinstalling dx9, as well as starting in a new wine partition and trying all of the applicable wine versions. I've had no trouble playing the game at a very comfortable framerate before upgrading.

Specs:
2.7GHz core2duo. 8800GTX (I get to escape all of the ATI performance issues on linux). 4gb ram, all sticks work. 800gb free disk space.

e: I suppose I should mention that I use the default 12.04 kubuntu plasma desktop.

Edited by sergey

sergey Friday 13 July 2012 at 21:02
sergeyAnonymous

Update: Activity Manager shows SCII as in "sleep mode" unless the process is selected in activity manager.

E: Apparently this is true for all other wine games too.

Edited by sergey