WineHQ

StarCraft II

Wings of Liberty, Heart of the Swarm, and Legacy of the Void, including Starter Editions


Please try the Stater Edition before buying the game to make sure it works on your system (link below). It includes the first campaign (Wings of Liberty) and the Arcade (Mods)


Consider including the following in your test results:

  • OS / Distribution
  • GPU
  • Video Driver / Version
  • FPS (press Control+Alt+F to display FPS in-game)
  • in-game graphics settings (low, medium, high, ultra)
  • WINE prefix (32 or 64 bit)


Application Details:

Version: Current
License: Retail
URL: http://www.starcraft2.com/
Votes: 141
Latest Rating: Silver
Latest Wine Version Tested: 2.21-staging

Maintainers: About Maintainership

Link StarCraft II: Starter Edition Free Download Battle.Net App

Test Results

Old test results
The test results you have selected are very old and may not represent the current state of Wine.
Selected Test Results

What works

Tutorials, multiplayer.

What does not

Nothing that I know of.

Workarounds

What was not tested

The campaign.

Hardware tested

Graphics:

  • GPU:
  • Driver:

Additional Comments

The only problem I've noticed is some static when I click on menu buttons. Otherwise, it runs great. I installed winetricks, but I haven't done anything with it. System summary: Intel i5-760 4gb RAM Nvidia GeForce GTX460 (1gb)

selected in Test Results table below
Operating systemTest dateWine versionInstalls?Runs?Used
Workaround?
RatingSubmitter
ShowUbuntu 16.04 "Xenial" i386 (+ variants like Kubuntu)Nov 28 20172.21-stagingYes Yes YesSilvertagelicht 
ShowLinux Mint 18.2 "Sonya" x86_64Nov 15 20172.21No Not installable NoGarbageluke 
ShowDebian 10.x "Buster"Nov 15 20172.20-stagingYes Yes NoPlatinumAlex Henry 
ShowUbuntu 17.10 "Artful" amd64 (+variants like Kubuntu)Nov 17 20172.0.3No, but has workaround Yes YesSilverBitMage 
ShowGentoo LinuxNov 17 20172.19-stagingYes Yes NoSilverRobert 

Known Bugs

Bug # Description Status Resolution Other apps affected
11674 Dual-core unsupported in WoW and SC2 STAGED View
30853 Wine doesn’t always handle "right alt" properly UNCONFIRMED View
32342 Multiple applications and games using 'Webkit' or 'Blink' web browser engine crash on startup ('Arial' and 'Times New Roman' font face name validation) STAGED View
33247 StarCraft II: HotS crash random after a while NEW View
33759 Some applications reset the X color profile UNCONFIRMED View
40979 Starcraft 2 crashes in online game. UNCONFIRMED View
41320 Starcraft 2 crashes with "Unexpected Fatal Error" immediately after opening. UNCONFIRMED View
41583 Starcraft 2 hangs with "setup_exception stack overflow" UNCONFIRMED View
41656 Starcraft 2 won't run on linux mint 18 KDE UNCONFIRMED View
44039 Starcraft 64 bits fails to launch UNCONFIRMED View

Show all bugs

HowTo / Notes

Launch 32-bit client

It looks like the 64-bit LotV client is not working in wine so far. To try the 32-bit client

  1. Open the battle.net launcher
  2. Open Settings
  3. Go to the Game Settings tab
  4. Check Launch 32-bit client (instead of 64-bit) for Legacy of the Void
(At least, this is how I'm guessing it is done, but I don't have the beta. If you have it, please let me know whether this is correct.)
WINE overrides X gamma settings

If using custom gamma settings or using an application that automatically changes gamma (e.g. redshift) then at specific times, your gamma setting may reset for a short time.

To fix this, open the registry editor and navigate to:

HKEY_CURRENT_USER/Software/Wine

Then add the "X11 Driver" key.

Inside the newly created "X11 Driver" add the chain value "UseXVidMode" and set it to "N".


Leftover processes after updates

After a Battle.net update or a crash, there are sometimes old processes left running that may interfere with your next launch. These processes can be killed before trying again:

killall -i -r '.exe'

Or you can do this manually (and more safely):

ps x #and then....kill as necessary after you got the process ID in the first column

#of course it doesn't hurt to take a look at the manual for these commands:
man kill
man killall
man ps

64-bit client
As of wine 1.9.2, the 64-bit client works with all graphics settings. To use the 64-bit client:
  • Open the battle.net launcher
  • Open Settings
  • Go to the Game Settings tab
  • Check Launch 64-bit client for Legacy of the Void

Test if the game works before buying

You can download the StarCraft II Starter Edition for free via the Battle.net Launcher, which includes the first campaign (Wings Of Liberty) and the Arcade (Mods).

Please test how / if the game works before buying it.

End of Windows XP Support

As of October Windows XP is no longer supported

See the follow post on the Battle.NET forums

Comments

The following comments are owned by whoever posted them. WineHQ is not responsible for what they say.

FPS drops in game
by Carbone on Sunday December 10th 2017, 12:58
Hi,

everything works but recently when I play I have a lot of FPS drops. It goes down to 0fps and then goes back up instantly.

Here are my specs :
32bit SC2 LotV
Ubuntu 16.04.01 64bit
Wineprefix 32bit 2.4-staging (with CSMT enabled)
16GB RAM.
Geforce with Nvidia driver v384.90

My winecfg is set with :
*msvcr80
*msvcr90
api-ms-win-crt-math-l1-1-0
api-ms-win-crt-stdio-l1-1-0
msvcp140
msvcr100
ucrtbase
vcruntime140

Set each to native, builtin with Windows 7 version

Thx for the help
RE: FPS drops in game
by Ben Parsons on Sunday December 10th 2017, 15:54
Hi,

Could you please try upgrading to a more recent version of WINE and removing your overrides as they are no longer needed in new versions.

Thanks,
Ben
RE: FPS drops in game
by Nick on Wednesday December 13th 2017, 13:03
I too have received an annoying fps drop (at an interval like OP) after patch 4.1
I used to have overrides, but I reconfigured a prefix and re-installed SC2 with no overrides and the issue still persists

Here are my specs:
Wine Version: 2.21 (Staging)
Wine Prefix: 64 bit
Wine Windows Version: 7
Arch Linux
No Overrides
The only winetricks module installed was corefonts.

Once again this was working fine until patch 4.1. Is there any news on the cause? Is there a fix on the way?

PS: I've also had arcade games crash as described in comments below.


Thanks.
4.0 Crashes: in Skins menu; befores starting a game
by Aleks on Monday November 20th 2017, 14:19
Hi all,

After 4.0 my Bnet client stopped working. Today it updated and now I have Play button back.
Now SC2 crashes. I tried to see the new Ghost skin and my game froze, although the music kept on playing.
Then I tried Unit Preloader arcade and the game crashed fully. I tried starting a Training level and it also crashes:

My setup:
Linux Mint 16
Play on Linux
32 bit prefix
wine 2.18-staging (2.20-staging did no better)
Win7 env
overrides for
api-ms-win-crt-math-l1-1-0 (native, built-in)
api-ms-win-crt-studio-l1-1-0 (native, built-in)
d3dcompiler_43 (native, built-in) {read it helps arcade games lately}
msvcp140 (native, built-in)
ucrtbase (native, built-in)
vcruntime140 (native, built-in)

Thanks in advance.
e_gfxErrorShaderCompileFailed
by Forestry Dude on Wednesday November 15th 2017, 22:55
Sorry if I'm noob,....Running Debian Buster Wine-Staging 2.20 Installed fine, I can play regular vanilla starcraft, however, I can't play some arcade maps...for instance...my FAVORITE plz try....Star Battle Omega, it fails with the subject error and sometimes it just hangs, I can play Special Forces Elite 5 without issue, could anyone explain this????? the new patch has been uploaded, but the error was before the 4 patch....Diablo III is garbage and Hots fails also with unexpected error....I run in both 32 bit and 64 bit, some arcade games fail.....Desert Strike for another instance......anyways..thanks
RE: e_gfxErrorShaderCompileFailed
by Tornado_OLO on Saturday November 18th 2017, 8:19
You've have to install d3dcompiler_43
I also had this problem and installing d3dcompiler_43 resolved it.
Crash when loading a map on wine-staging 2.20, but working with wine-stating 2.15
by mathijs on Wednesday November 15th 2017, 17:54
After the 4.0 patch the games seem to always crash using staging 2.20, but I just played and finished 2 games vs AI using staging 2.15.
WinXP support
by Solovej on Wednesday November 15th 2017, 5:55
Starcraft2 no longer works under Wine since Blizzard stopped support for WinXP.
Starcraft Mass Recall no longer works in either recent wine or recent SC2
by Johnny on Wednesday November 15th 2017, 2:28
Previously the custom map/mod set called Starcraft: Mass Recall used to work, but no longer does.
I'm not exactly sure when it stopped working since I haven't played it in over 6 months.

www.sc2mapster.com/projects/starcraft-mass-recall

Installing works fine, but once you try to load into it by loading the custom save file it fails.

It now fails with a shader compile error. I can't get the exact text right now because now it fails with

err:ntdll:RtlpWaitForCriticalSection section 0x110060 "heap.c: main process heap section" wait timed out in thread 0074, blocked by 0083, retrying (60 sec)

I'll need to reboot to get the actual error again.


NOTE: that some other custom maps work fine via the editor, so it's not a problem with all custom maps.

Some Info:
* wine-staging 2.20 currently, but it failed in 2.19 as well.
* OS: Fedora 27
* tried with fresh wine prefix
* 32 bit client and 64 bit client
* no dll overrides (but i did try directx 9 via winetricks once)
* windows 7 wine version
* tried with CSMT on and off

I'd appreciate it if somebody can attempt to replicate it.
Wine staging 2.18
by D on Wednesday October 11th 2017, 19:46
Blizzard dropped XP and Vista support for SC2 in the latest 3.19 game patch. I had the game working under XP 32-bit. The blizzard agent and SC2 work fine in Window 7 32-bit on Ubuntu 16.04 and kernel 4.13. Haven't tried 64 bit.
64-bit version
by Hugo Osvaldo Barrera on Saturday September 23rd 2017, 11:57
Looks like the note above saying that the 64-bit version does not work is very out of date right now. I've been playing with the 64-bit version for quite some time now, and have just confirmed that it works platinum with the latest wine-staging. Could a maintainer please remove that note?
Missing menus
by Alex on Thursday September 14th 2017, 14:38
SC2 worked very well half a year ago. Today I tried to start it again. Everything works fine, except I cannot see any menus. Starting screen is just a planet in the background. I can navigate around with the F5, F9...-keys and even managed to start a game by blindly clicking everywhere. Game starts normally, just some of the interface is missing graphics. Its pretty much this bug:

us.battle.net/forums/en/sc2/topic/3595345544

I did change permissions with:
find /Documents/"StarCraft II" -type d -exec chmod 755 {} \;
find /Documents/"StarCraft II" -type f -exec chmod 644 {} \;
But it did not help. I also tried the following: delete variables.txt, delete battle.net folder, use "repair game" function in the launcher, reinstalled SC2, changed graphics driver from nvidia-375 to nvidia-340, changed linux kernel from 4.8.0-58 to 4.4.0-93. Nothing improved the situation. What is causing this strange issue? I'd be thankful for any help.

System: Linux Mint 18.1 MATE 32bit
Intel Xeon X5270 on Asus P45
Nvidia GTX 770 4 GB
4x 2GB RAM
RE: Missing menus
by Alex on Thursday September 14th 2017, 14:41
Updating wine-staging2.4 to 2.16 also had no effect.
RE: Missing menus
by weedahmu on Tuesday October 31st 2017, 15:33
Try installing libtxc-dxtn - on ubuntu it is libtxc-dxtn-s2tc and libtxc-dxtn-s2tc:i386 I think.
battle.net launcher is completely broken with 2.15 dev and staging
by Matthew Toseland on Tuesday August 29th 2017, 15:26
With 2.15, it crashes. With 2.15-staging, it loads a CAPTCHA, ignores my password and never lets me log in.

So it looks broken to me.

Debian stretch, 64-bit, winehq packages.
RE: battle.net launcher is completely broken with 2.15 dev and staging
by Ben Parsons on Wednesday August 30th 2017, 2:28
Which WINE prefix are you using?
Multiplayer Matchmaking Queues currently unavailable, Custom maps not loading
by Kevin on Sunday April 9th 2017, 20:01
Hi,

I'm running WINE version 2.0 on Lubuntu.
Battle.net (Blizzard App) has installed fine and is working.
SC2 appears to be installing fine (I've installed up until "optimal" says their is still about 10GB left)
Game starts up fine.
I haven't tested the single player campaign options.
However the none of the multiplayer options work.
Multiplayer appears to be working for other people.
Maybe if the game fully installs this problem will fix itself?
I was wondering if anyone else was experience a similar issue.

Thanks
RE: Multiplayer Matchmaking Queues currently unavailable, Custom maps not loading
by Kevin on Monday April 10th 2017, 2:57
OK I think I've fixed it.

I didn't have winbind.
Just installed that and Multiplayer options are appearing.
RE: Multiplayer Matchmaking Queues currently unavailable, Custom maps not loading
by Kevin on Monday April 10th 2017, 3:04
And in fact working.
Core: out of memory errors
by Darin Avery on Saturday April 8th 2017, 7:04
Hi,

Since the update last month, the battlenet client stopped working until changing the windows mode to windows xp. That then prevents you from running sc2 in 64 bit mode.

I get consistent "Core: out of memory" errors in co-op mode after making that switch. Some on the blizzard forums say that switching to a 64 bit OS fixes that issue. I'm running in a 64 bit prefix but due to running in windows xp mode, i cannot uncheck the "run 32 bit client" button. So i'm stuck with that problem.

One workaround that has worked for a couple matches is to lower the texture quality from ultra to high.

Good luck.
Core: out of memory errors
by Jon on Monday April 24th 2017, 12:18
Same problem here. Switching it to Windows XP mode let me play again, and lowering the texture quality lets me get through a whole match before it goes OOM, but there is also a notable regression to what was already a pathetic (~15fps) framerate during game play. I tried with wine 2.0 and a fresh build of 2.6 with the same results. CSMT makes no difference, to the point I question it's mere existence. Framerates in the main game menus though are paradoxically high. I hope someone comes up with a solution. :(
Core: out of memory errors
by Jon on Monday April 24th 2017, 18:39
CORRECTION

Turns out CSMT isn't actually in this wine 2.6 build after all, which explains why my regedit did nothing and there wasn't a "staging" tab in winecfg.

I tried wine-staging from the winehq repo though and at least that works in win7 mode again. It's not any faster for me, but it might still be worth a try for you.
Core: out of memory errors
by Gian Paolo Mureddu on Thursday August 10th 2017, 23:12
Ever since I bought LotV, SC2 in 32-bit will crash with an out of memory error, regardless of the Windows version I set Wine to. Sure enough, the 64-bit client works as expected, but even in a 32-bit arch with Wine, it will cause this error, it is true, that lowering the texture quality will delay the error, but it will still appear even if set at low (eventually), like I said, running under a 32-bit arch (I did just to test this, by the way).
Crashes after / while loading screen (FreeBSD 11)
by Tobias Gion on Friday March 17th 2017, 3:29
Hey Guys,

iam messing with this for quite a time and just cant get it running. But lets start with my specs:

* FreeBSD 11 (64-bit) with 32-bit wine 2.1-Staging
* NVIDIA QUADRO 1000M (nvidia-driver 375.26)
* Clean 32-bit wine installation with corefonts vcrun2005 vcrun2008 vcrun2015
* Added overrides: api-ms-win-crt-math-l1-1-0 api-ms-win-crt-stdio-l1-1-0 msvcp140 ucrtbase vcruntime140

Battle-net installer installs and runs fine. After that installing SC2 went smooth. When i start the game through Battle.net it switches to the loading screen and immediately after that brings me back to Battle.net.
I dont get any crash reports (from SC2 or Battle.net) nor do i get any error messages i can relate to anything (or find solutions on google).

---- snip -----

fixme:d3d:debug_d3dformat Unrecognized 0x36314644 (as fourcc: DF16) WINED3DFORMAT!
fixme:d3d:wined3d_get_format Can't find format unrecognized (0x36314644) in the format lookup table.
fixme:d3d:debug_d3dformat Unrecognized 0x36314644 (as fourcc: DF16) WINED3DFORMAT!
fixme:d3d:wined3d_get_format Can't find format unrecognized (0x36314644) in the format lookup table.
fixme:d3d:debug_d3dformat Unrecognized 0x34324644 (as fourcc: DF24) WINED3DFORMAT!
fixme:d3d:wined3d_get_format Can't find format unrecognized (0x34324644) in the format lookup table.
fixme:d3d:debug_d3dformat Unrecognized 0x34324644 (as fourcc: DF24) WINED3DFORMAT!
fixme:d3d:wined3d_get_format Can't find format unrecognized (0x34324644) in the format lookup table.
fixme:module:load_library unsupported flag(s) used (flags: 0x00000800)
fixme:thread:NtGetCurrentProcessorNumber need multicore support (4 processors)
fixme:thread:NtGetCurrentProcessorNumber need multicore support (4 processors)
fixme:winsock:WSAIoctl WS_SIO_UDP_CONNRESET stub
fixme:avrt:AvSetMmThreadCharacteristicsW (L"Audio",0xf35f650): stub
fixme:avrt:AvSetMmThreadCharacteristicsW (L"Audio",0xf35f650): stub
fixme:avrt:AvSetMmThreadCharacteristicsW (L"Audio",0xf35f650): stub
fixme:secur32:schannel_get_mac_algid unknown algorithm 200
fixme:winsock:WSAIoctl WS_SIO_UDP_CONNRESET stub
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
err:seh:raise_exception Unhandled exception code c0000005 flags 0 addr 0x4f46f9

---- snip ----

I hope someone here has FreeBSD running with wine and SC2 and can help me out or somebody else got a clue. If needed i can post all the config and log files.

Thanks a lot in advance!
RE: Crashes after / while loading screen (FreeBSD 11)
by Renan Samuel Silva on Saturday March 18th 2017, 8:52
I got the same error while using wine 2.0, and I can affirm that it started somewhere the 17th and the 18th of march. I played a couple of games in the morning of the 17th and it was all working.
RE: Crashes after / while loading screen (FreeBSD 11)
by Jon on Saturday March 18th 2017, 9:23
On a similar time frame, with 2.0 as well, the Battle.net client started outright crashing on me immediately at launch. With WINEDEBUG=-all, I just get this:

Object moved
Object moved to here.

Object moved
Object moved to here.

Object moved
Object moved to here.
RE: Crashes after / while loading screen (FreeBSD 11)
by Jon on Saturday March 18th 2017, 9:24
sorry, there were supposed to be html tags around the "object moved to here" and a www.blizzard.com/404 link, but the form stripped them instead of escaping them I guess.
RE: Crashes after / while loading screen (FreeBSD 11)
by Renan Samuel Silva on Saturday March 18th 2017, 9:25
That is normal.
RE: Crashes after / while loading screen (FreeBSD 11)
by Aleks on Monday March 20th 2017, 18:10
In the thread about battle.net app appdb.winehq.org/commentview.php?iAppId=15365&iVersionId=28855&iThreadId=99813 there is a workaround setting battlenet.exe to use Windows XP environment, not windows 7. I hope that helps. Rushing to type here before even trying to fix mine :-/
Awful performance
by Hugo Osvaldo Barrera on Wednesday February 22nd 2017, 20:55
Since one of the most recent updates, my performance has gotten awful. With the same mid-low settings, I've gone from 50-60fps, to 10-20fps, permanently.

Is anyone else having this issue?
RE: Awful performance
by dura on Thursday March 9th 2017, 14:56
With GTX970 1440p I got on the nexus in the first LOTV protoss mission:
wine 2.0 staging and CSMT: ~65 FPS
wine 2.1 2.2 2.3 staging CSMT: ~40FPS.
Ctrl+Alt+F will show FPS.
RE: Awful performance
by Iksf on Sunday March 12th 2017, 17:23
Also experiencing huge FPS decreases since 2.0
Works but only for a minute or 2
by Shane Fagan on Tuesday January 31st 2017, 9:21
I followed the instructions in the thread, put in the overrides and ran SC2 directly. I tried 3 different versions of WINE and got the same issue with all 3, I tried the DRI3 patched version, CSMT patched wine-staging and vanilla WINE. It crashes in the same way each time which is a pretty simple freeze and then quit. Anyone else getting similar behaviour with WINE 2.0?
RE: Works but only for a minute or 2
by Ben Parsons on Thursday February 23rd 2017, 1:20
Try the following dll override:

api-ms-win-crt-math-l1-1-0
RE: Works but only for a minute or 2
by Shane Fagan on Thursday February 23rd 2017, 3:39
I already have that on native, builtin. It's a pretty strange issue because it works fine until I get into game and then it causes issues.
RE: Works but only for a minute or 2
by Ben Parsons on Thursday February 23rd 2017, 7:00
Strange, try some of these overrides:

api-ms-win-crt-math-l1-1-0
api-ms-win-crt-stdio-l1-1-0
msvcp140
ucrtbase
vcruntime140

are you running the 64 bit or the 32 bit executable and what wine prefix are you using?
RE: Works but only for a minute or 2
by Shane Fagan on Friday February 24th 2017, 6:37
Hmmm I seems to be working now on wine-staging for what ever reason after clearing everything other than the SC2 install itself
RE: Works but only for a minute or 2
by Shane Fagan on Friday February 24th 2017, 7:00
Just played 1 game fine, then the next game it crashed. Looks like it is still doing it.
RE: Works but only for a minute or 2
by Shane Fagan on Friday February 24th 2017, 16:28
Ok, I figured out the issue, so for the people who want to know how to run SC2 if they are hitting the issue of quitting after a minute or 2 try this out:

1. Install at least WINE 2.0
2. Use a 32bit wine prefix (WINEARCH=win32 if you don't already have a .wine directory otherwise you have to set the WINEPREFIX to something else)
3. Use WINEDEBUG=-all vblank_mode=0 to get the best performance out of it.

I eventually landed on the WINE DRI PPA. It gives great performance and coupled with the MESA_GLSL_CACHE_ENABLE=1 from the new changes to the AMD driver you have pretty much a Windows level of performance.
multiplayer crash
by demonchy on Wednesday January 11th 2017, 17:29
hey, first of all I'm sorry for my bad english I'm French so I'll try to do my best but please be indulgent.

Os : Debian 8.6 Jessie ~ cinnamon
I've installed the battle net client with wine64 (wine 2-0-rc4). Nothing to say about the client, everything is fine I can read all the stuff and configure what I want, a little bit after testing the client I've installed Sc2. After put different settings on the client, two main bugs have appeared : when I select "launch the game in 32 bits instead of 64" the game crash after the login screen. Fine, now I'm unchecking the box, restarting the game... I can login!
But after a little bit testing, when I try to to play on multiplayer mode, even against the computer, it loads everything and just before beginning the battle, crash. It's very frustrating, and I don't find a similar case, perhaps I've not been searching enough.
RE: multiplayer crash
by Ben Parsons on Thursday January 12th 2017, 3:44
What dll overrides are you using?

by Tim Terhorst on Tuesday January 3rd 2017, 21:28
@Ben Re: appdb.winehq.org/objectManager.php?sClass=version&iId=20882&iTestingId=96322 I do indeed appear to have a 64bit WINEPREFIX by default. I have a syswow64 directory in all of my other WINEPREFIX's - I tested this by forcing WINEARCH=win32 in a new WINEPREFIX and didn't have that syswow dir in the test.
Test results modified
by Hugo Osvaldo Barrera on Monday December 26th 2016, 7:41
Looks like my test results were modified, not only in rating, but in content. I'm not a big fan of these test results being published with my name, but different content (I'd much rather have had the results rejected and edit them myself).

I did not write any of the following, and the appdb lists my as an author, which is, to say the least, quite dishonest:

*****
using 64 bit prefix

if not using wine-staging following overrides are required (corefonts must also be installed):

api-ms-win-crt-math-l1-1-0.dll
ucrtbase.dll

Don't use more overrides as they may cause more issues
*****

What worries me specifically, is that I did not actually confirm this, nor have I given any evidence that points to this (except the first line).
This may even possibly be flat out wrong, but the test results with my name on it publishes this.
Please delete these tests results OR alter the author to whomever wrote this. It's completely unacceptable to publish something with my name on it without my consent.

If posting results relevant to the staing branch is unacceptable, please let me know and I'll refrain from doing so in future.
RE: Test results modified
by Ben Parsons on Monday December 26th 2016, 23:27
I was the one who edited your test results, I took the added data from the previous test (which is now showing as I deleted your test, as requested - I cannot edit author).

I edited your results as you did not explicitly say that you were using wine-staging (which does not require any overrides, non staging still does.) I would like to keep the main page relevant to nonstaging so I added the extra info for people landing on the page wondering why SCII does not launch / what overrides they need.
You also did not mention what prefix you are using or the executable version (32/64) of the game you are using.

I am trying to clean this page up as it is still a bit of a mess with incorrect / outdated information.

I apologise for at the least, not notifying you / asking permission before posting.
If there is anything else I can do to rectify this, please let me know.
New install quide
by Jarkko Korpi on Sunday December 25th 2016, 22:57
If you are using pure wine, you get constant crashes with battle.net at libcef. Unless you do winetricks -q corefonts. This is bug 32342. With wine-staging you don't seem to need this.
You may get some internal crash at battl.net after installing corefonts and it shows some id number, just restart the client.
You need to override api-ms-win-crt-math-l1-1-0.dll and ucrtbase.dll to native via winecfg.

These are bugs 41725 and 42001.

After all these steps you should be able to play.
64 bit
by Iksf on Friday December 23rd 2016, 13:31
Not sure why people are having problem with 64 bit, works fine for me.

www.youtube.com/watch?v=AbV5kq9l1zE&feature=youtu.be
RE: 64 bit
by Ben Parsons on Friday December 23rd 2016, 17:14
Feel free to submit new test results on 64 bit prefix, however, I could not get the game running in 64 bit in most recent update. Nor do I have the time to test right now

I have had it running in x64 previously.
RE: 64 bit
by Andrew Smart on Saturday December 24th 2016, 18:47
For me on x86_64 the first time I tried winetricks vcrun2015 it didn't install all the dlls. Not sure why. Had to reinstall vc2015 before it would work.
RE: 64 bit
by Iksf on Sunday December 25th 2016, 6:43
I haven't used any DLL overrides.
Multiplayer crashes with wine1.9.24
by Cory on Sunday December 11th 2016, 14:53
So I try to join a game, it searches for a game, serious graphics issues for 30ms every 6s, and then it just crashes when it tries to load the game.
I'm gonna wait until wine2.0r1 comes to the Ubuntu packages and then I'm gonna try it.
Also, the editor crashes too, so... (I'll test that better when I get wine2.0r1 loaded up)
I'm using the same wineprefix (that is, ~/.wine/ directory) as I did with wine1.9.23, and I'm not sure if that can be an issue as I did use winetricks to install the vcrun2015
Do you think I'll have to reinstall starcraft II when I have wine2.0r1? Because that's like 24+ GB :|

Maybe just for fun I can try:
- Running 32-bit SC2Switcher.exe
- Try Windows 7 in `winecfg'
RE: Multiplayer crashes with wine1.9.24
by Ben Parsons on Monday December 12th 2016, 15:10
Are you using the recommended overrides?
Are you using CSMT?
Are you using wine-staging?
What wineprefix are you using? 32/64 bit?

No,you will not have to reinstall WINE, just like every other WINE update it should be an in-place insall
WINE 2.0 is not big update, just a number change.
RE: Multiplayer crashes with wine2.0r1
by Cory on Monday December 12th 2016, 17:38
> Are you using the recommended overrides?
I winetricked (lol) installed msvc2015 so it has the minimum and then some.

> Are you using CSMT/wine-staging?
No.

> What wineprefix are you using? 32/64 bit?
Ummmmmm.......64-bit? How can you tell?

> WINE 2.0 is not big update, just a number change.
Oh! good to know.

I don't care. I'm gonna totally destroy my ~/.wine and try it fresh. I'm 70% sure it could clear some headaches..especially since I used winetricks. Fingers crossed.
RE: Multiplayer crashes with wine2.0r1
by Ben Parsons on Tuesday December 13th 2016, 0:35
>I winetricked (lol) installed msvc2015 so it has the minimum and then some.
That doesnt mean you are using overrides, goto winecfg and look under the "libraries" tab

> Are you using CSMT/wine-staging?
Using it will drastically increase performance. (2-5x)

WINE defaults to an x64 prefix. Starcraft II (atleast in my case) is dramatically more stable with a 32bit prefix.

here is how I run battlenet:

WINEARCH=win32 WINEPREFIX=~/.wine32 wine ~/.wine32/drive_c/Program\ Files/Battle.net/Battle.net\ Launcher.exe
RE: Multiplayer crashes with wine1.9.24
by Electric Prism on Sunday July 2nd 2017, 16:29
It seems the editor is working again, however I can't run it with CSMT or GalliumNine in wine-staging. I am once again able to login to publish maps to Battle.net (Haven't tested in a while but 2.10-staging works)
RE: Multiplayer crashes with wine1.9.24
by Cory on Sunday July 2nd 2017, 19:25
oh really? That sounds like fun to try! There is a 4% chance I will try running the editor in the latest wine within 4 years.
SC2 crashs on authentification screen
by Carbone on Thursday December 8th 2016, 12:22
SC2 crashs after loading screen, just after the authentification screen .

Here are my specs :
32bit SC2 LotV
Ubuntu 16.04.01 64bit
Wineprefix 32bit 1.9.23 or 1.9.24
16GB RAM.

My winecfg is set with :
api-ms-win-crt-math-l1-1-0
api-ms-win-crt-stdio-l1-1-0
msvcp140
ucrtbase
vcruntime140

Set each to native, builtin with Windows 7 version

Thx for the help
RE: SC2 crashs on authentification screen
by Ben Parsons on Friday December 9th 2016, 0:47
How are you running the game?
What graphics card & drivers do you have?
RE: SC2 crashs on authentification screen
by Andrew Smart on Saturday December 24th 2016, 18:42
Make sure you've used winetricks to install vcrun2015. All those dll entries should have an asterisk (*) prefixing them. If they don't then vcrun2015 isn't installed.
Graphic card information is not updated
by Robin on Monday December 5th 2016, 20:06
I recently change my Radeon HD 5450 into a RX 480 4G. I noticed that RX 480 info is added in Wine 1.9.24-devel, but in SC2 LotV it shows my card as "ATI Radeon HD 5600 Series" (the same as before with HD 5450) and prevent me applying higher graphic settings. I tried to add DeviceID and VendorID in registry, but it didn't work. How can I make it to "forget" my old card and recognize my new card?

My system is Ubuntu 16.04.1 x64, Wine 1.9.24-devel x64, AMDGPU-Pro 16.40, SC2 x64. All of them are up-to-date.

Thanks!
RE: Graphic card information is not updated
by Ben Parsons on Wednesday December 7th 2016, 1:42
Hi,

I would recommend deleting your configuration data in %USERPROFILE%\Documents\StarCraft II\Accounts

Other then that all i can say is try reinstalling the game or a clean WINE prefix.

On another note, could you please share how you are launching the game and the DLL overrides you are using as I do no know how you got the game working in a 64 bit prefix.
RE: Graphic card information is not updated
by Robin on Wednesday December 7th 2016, 21:20
Hi Ben,

Thank you for your reply. I tried deleting the Account folder, and it doesn't work. I'll try reinstall the game later. I don't know how compatible wine is with amdgpu-pro driver, so hopefully it's not driver issue.

As for my game launch, I launch it from a 64bit Bnet with default configuration. DLL overrides are as recommended (native, builtin):

api-ms-win-crt-math-l1-1-0
api-ms-win-crt-stdio-l1-1-0
msvcp140
ucrtbase
vcruntime140

I'm not 100% sure my launch is 64bit, but in Bnet game settings, launch 32-bit client (instead of 64-bit) is unchecked. Except for the wrong graphic card info, I have no problem launching the game and playing campaign. The only issue is when I quit the game, most of the time it freezes, and I have to switch to another display and kill the process.
RE: Graphic card information is not updated
by Ben Parsons on Thursday December 8th 2016, 0:06
The game crashing on exit is a common problem, I believe that if you run the game like so:

WINEDEBUG=-all wine Battle.net.exe

then the game does not crash on exit.

other then that, I would suggest trying the radeon driver or a clean wine prefix.
RE: Graphic card information is not updated
by Robin on Thursday December 8th 2016, 8:13
My game still crashes on exit when adding WINEDEBUG=-all. I think whether to crash is related to how much resources it has used.

As for driver, I'm afraid amdgpu-pro is the only driver currently available that supports rx480. I believe the driver is correctly installed, as Ubuntu recognize my graphics as "AMD Radeon (TM) RX 480 Graphics".
RE: Graphic card information is not updated
by Ben Parsons on Friday December 9th 2016, 0:49
Other then trying the open source driver (AMDGPU), I don't have any other ideas if you have tried a clean wine prefix.
RE: Graphic card information is not updated
by Jarkko Korpi on Sunday December 25th 2016, 21:51
I got rx480 too. How do I check how SC2 sees my card? I got closed source driver because the audio code isnt in kernel yet.
RE: Graphic card information is not updated
by Jarkko Korpi on Sunday December 25th 2016, 23:40
I noticed the same problem. And I was able to fix it. I am trying to upstream the fix. You need to compile wine yourself and patch it with this patch.

The fix is here.

From b4a36fb09b2ba57cbd6711d1ebda9e9191e3e50b Mon Sep 17 00:00:00 2001
From: Jarkko
Date: Mon, 26 Dec 2016 07:31:44 +0200
Subject: [PATCH] Add Rx 480 binary driver

---
dlls/wined3d/directx.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/dlls/wined3d/directx.c b/dlls/wined3d/directx.c
index 1aae20d..2d81a6d 100644
--- a/dlls/wined3d/directx.c
+++ b/dlls/wined3d/directx.c
@@ -1966,6 +1966,7 @@ cards_nvidia_binary[] =
* eg HD 4800 is returned for multiple cards, even for RV790 based ones. */
cards_amd_binary[] =
{
+ {"RX 480", CARD_AMD_RADEON_RX_480},
/* Southern Islands */
{"HD 7900", CARD_AMD_RADEON_HD7900},
{"HD 7800", CARD_AMD_RADEON_HD7800},
--
2.7.4
RE: Graphic card information is not updated
by Robin on Monday December 26th 2016, 0:07
Would you mind to tell me which version of wine are you using? Thanks!
RE: Graphic card information is not updated
by Jarkko Korpi on Monday December 26th 2016, 0:12
The latest wine 2.0.rc3. That patch is not currently at any wine version. I submited it to staging also. You need to compile wine and add that patch. It adds support for closed source driver for rx480. The gpu settings arent limited after that patch in SC2.
RE: Graphic card information is not updated
by Jarkko Korpi on Monday January 2nd 2017, 15:25
The rx480 fix got committed. It will be in next wine relase 2.0. Also if you compile wine yourself, the patch is already wine-git.
lotv crashes after 5 minutes of play
by starcraft player on Wednesday November 30th 2016, 22:44
I installed PlayOnLinux for legacy of the void, and have no problems starting battle.net and stacraft 2. However, after about 5 minutes of excellent gameplay, the sc2 freezes and I'm unable to exit without a hard reboot.

I'm on ubuntu 14.04 and using wine 1.9.24 64 bit (all the other version of wine didn't work for me). My computer is fairly good, with 32GB memory, intel i7, and Nvidia card with 4 GB, so I don't believe it's related to hardware.

Has anyone else experienced this problem, and if so, how did you resolve it?

Thanks,
Stanley
RE: lotv crashes after 5 minutes of play
by Ben Parsons on Thursday December 1st 2016, 0:56
What dll overrides are you using?
Also try using the staging branch with CSMT enabled (this also gives drastically better performance)
I have found personally that using a 64 bit prefix causes the game to crash, try using a 32 bit prefix
RE: lotv crashes after 5 minutes of play
by starcraft player on Friday December 2nd 2016, 17:00
Didn't know I needed to override dlls and also run with CSMT until you mentioned it-- I did both and everything has been running fine for about an hour... fingers crossed. It does seem to crash when I try to exit, but at least I get to play. Thanks for the post!
RE: lotv crashes after 5 minutes of play
by Ben Parsons on Friday December 2nd 2016, 22:47
CSMT is not required but can give huge performance increase (my FPS tripled while in game, others say it can give a 500% increase)
Arch x64 + Wine 32 bits 1.9.23-staging & CSMT enabled. Works great... After the following.
by Ryo on Friday November 25th 2016, 7:01
Bnet runs fine without overrides. The game crashed on the login screen though so you effectively need on SC2.exe (native,builtin):

api-ms-win-crt-math-l1-1-0
api-ms-win-crt-stdio-l1-1-0
msvcp140
ucrtbase
vcruntime140

---------------------------------------------------------------------------------------------------
Then I got the freeze on quit. I resolved the issue by adding (disabled):

dbghelp


DO NOT add this override on battle.net or it won't launch anymore. This needs to be set on SC2.exe only.

----------------------------------------------------------------------------------------------------
I got the weird behavior from redshift too. May it be on lauch or during ladder game loading, the color temp resetted for a sec which was very annoying. The fix was in one of the bug issue (bugs.winehq.org/show_bug.cgi?id=37849). You need to add a registry key to prevent wine from touching at this.

Go to HKEY_CURRENT_USER/Software/Wine.
Then add the "X11 Driver" key.

Inside the newly created "X11 Driver" add the chain value "UseXVidMode" and set it to "N".

That fixed it for me. Good luck.
RE: Arch x64 + Wine 32 bits 1.9.23-staging & CSMT enabled. Works great... After the following.
by Ben Parsons on Friday November 25th 2016, 7:38
Why didn't you just add this as test results?

Thanks for the extra info, do you want me to add it to my test results instead?
RE: Arch x64 + Wine 32 bits 1.9.23-staging & CSMT enabled. Works great... After the following.
by Ryo on Friday November 25th 2016, 8:23
Saw your test on similar setup, didn't want to overlap.

I was kinda hoping you would ask that, yes please.
RE: Arch x64 + Wine 32 bits 1.9.23-staging & CSMT enabled. Works great... After the following.
by Ben Parsons on Friday November 25th 2016, 8:56
I added them as notes :)
RE: StarCraft II still freezes on quit even with dbghelp disabled
by Cory on Friday November 25th 2016, 8:30
So StarCraft II still freezes when I hit the Quit button when in StarCraft II login (not the Battle.net App).
Even when I have dbghelp disabled in winecfg.
I run StarCraft II like this:
cd ~
cd '.wine/drive_c/Program Files (x86)/StarCraft II/Support64'
WINEDEBUG=-all wine SC2Switcher_x64.exe


I wish StarCraft II didn't freeze when I quit the game.
RE: StarCraft II still freezes on quit even with dbghelp disabled
by Ben Parsons on Friday November 25th 2016, 8:55
Yep, same here, still crashes on exit.
RE: StarCraft II still freezes on quit even with dbghelp disabled
by Ryo on Friday November 25th 2016, 9:54
I run the game from the bnet app and I use the 32bits client.
RE: StarCraft II still freezes on quit even with dbghelp disabled
by Ryo on Friday November 25th 2016, 10:47
So after reading your comment I went and tried to launch the game your way (I use PoL). This time I used wine 1.9.23 (no staging) and still the 32 bits executable (in /Support/).

cd ~
cd path-to-starcraft2-folder/Support/
WINEDEBUG=-all wine SC2Switcher.exe

It ended up working the same.

I tried with and without dbghelp and yeah, that dll is clearly the cause of the hang on my computer.

Btw I didn't mention it but Windows version was always set on 7.

Hope it helps.
The StarCraft II Quit-Freeze Problem
by Cory on Friday November 25th 2016, 15:02
So I tried SC2Switcher.exe in Support/ versus Support64/ (with dbghelp disabled)
I tried quitting and it worked! It quit!
So I was like: "yay problem solved."

And then I started SC2Switcher.exe again and hit Quit. And guess what happened?
It froze!

So I killed "C:\Program Files (x86)\StarCraft II\Versions\Base48258\SC2.exe"
Waited a little while.
Ran it again. Tried Quit. And guess what happened?
Another freeze!

I really want StarCraft II to actually quit every single time.
But hey Wine-1.9.24 just came out. So I'm excited. I'm 4-7% sure it'll solve this StarCraft II quit-freeze problem.
RE: The StarCraft II Quit-Freeze Problem
by Ryo on Saturday November 26th 2016, 2:48
Urgh, got my hopes up for a second. I'm sorry this doesn't work for you.
It is just so weird that the app doesnt behave the same on two identical wine version.

Is it a clean prefix? Did you install vcrun2015?

I actually installed it instead of just using the overrides (and removed the unnecessary ones that winetricks adds) even though I read somewhere that you can do without, hence my question.
At this point, I'm just looking at the possible differences between our setups. It works 100% of the time for me. That much I guarantee.

Yeahhh, I'm definitely not updating anything until it breaks.
RE: The StarCraft II Quit-Freeze Problem
by Ben Parsons on Saturday November 26th 2016, 5:17
vcrun2015 should no longer be required as of WINE version 1.9.24, see bug #40032
starcraft won't start
by matthew on Friday November 4th 2016, 14:54
It's on linux mint 18 with the newest update. When i press it says player for a few seconds and then goes back to a play button. I can replicate it indefinitely.
RE: starcraft won't start
by Jinxie on Wednesday November 9th 2016, 3:42
Same here , battle.net seems to work but it wont launch the game, intallation ran flawlessly.Im using ubuntu 16.10
RE: starcraft won't start Battle.net App Play button does nothing
by Cory on Saturday November 19th 2016, 14:38
Same. (StarCraft II won't start).
I got a fresh 1.9.23 wine using Linux Mint 17.3 (basically Ubuntu 14.04 packages).

Sooooooo......
I downloaded the Battle.net desktop thing.
Installed it all good.
had it download StarCraft TWO.
all good.
Press the Play Button.....................
The button turns to "Launching" or whatever.
And then it goes back to "Play"
:(
GOTO Press the Play Button.............

bash winetricks vcrun2015 #doesn't help
#switching to 32-bit mode through the Battle.net App didn't help
#calling 'StarCraft II.exe' with -launch didn't help
#Hmmmmmmmmmmmmmm.

#Things I could try:
#-changing Windows version in winecfg
#-Killing all of the .exe's that are running and then re-run
#-Try the DLL-overrides described on this page.
#-Research various StarCraft II.exe command-line options to see
# if it could run another way

#But sadly it should just WORK :(
Solution
by Cory on Tuesday November 22nd 2016, 18:24
Aha! So I'm 73% sure this should work:
1) make sure SC2 is not running:
`ps aux | grep .exe'
So kill as necessary.
2) in the battle.net app configure starcraft II to have extra command-line options. In this case, add this:
-win
This will tell StarCraft II to run in window mode (although it looks full-screen). And that's how I got StarCraft II to actually run, versus the button going from "Launching.." to "Play" and nothing happening.

Good luck!
RE: Solution.......Actualllllly......
by Cory on Tuesday November 22nd 2016, 19:29
No need to add -win to the Additional command-line arguments for calling StarCraft II.

All you need to do...I think..
Is make sure all of the StarCraft II processes are dead before clicking the "Play" button on the battle.net Desktop App.

ps x #should show you the processes. and you'll know which ones to kill.
Can't connect.
by Joscha Becker on Monday October 24th 2016, 0:42
The game has me stuck on the 'connecting to battle.net' screen upon entering my account name and pressing 'connect'.
I can log in through the b.net launcher, but not into StarCraft 2.
This problem didn't come with patch 3.7, but just today.
Am I alone with this?

wine 1.9.17 & 1.9.20, 32bit installation
RE: Can't connect.
by Joscha Becker on Monday October 24th 2016, 20:07
It's working again today.
So it's hopefully nothing.
RE: Can't connect.
by Vincent Hobeïka on Thursday October 27th 2016, 15:07
I often have this trouble when my router is managing a heavy traffic, for instance when I have lots of connections due to peer to peer traffic.

Restarting it often solves the problem.
Starcraft 3.6.0
by arkahys on Sunday September 25th 2016, 10:27
until 3.6.0 the only way to launch game for me is :
wine64 with game32
overriding :
- msvcp140
- vcruntime140
- api-ms-win-crt-stdio-l1-1-0

to launch :
cd .wine/drive_c/Program\ Files\ \(x86\)/StarCraft\ II/Support/
WINEARCH=win64 wine SC2Switcher.exe
RE: Starcraft 3.6.0
by Mohamad Yassine on Thursday October 20th 2016, 23:42
Great it worked, but every time I alt+tab, the game just freezes and I have to manually reboot my computer. Any suggestions?
RE: Starcraft 3.6.0
by arkahys on Saturday October 22nd 2016, 7:43
my only way to quit game is to logout before quit game.
sometimes game shutdown correctly and sometimes freeze but it's the only way i found to go out window.
RE: Starcraft 3.6.0...which is now Starcraft 3.8.0
by Cory on Tuesday November 22nd 2016, 19:49
I prefer going:
cd .wine/drive_c/Program\ Files\ \(x86\)/Battle.net
wine Battle.net.exe
# because it auto-updates StarCraft II when it's out of date
# and to play all you have to do is click the Play button
# and Authentication is automatic from the Battle.net Desktop App
# so you don't have to login when in StarCraft II.
Latest update works only in 64 bit mode
by Ema on Wednesday September 14th 2016, 15:02
Hi,

As per subject I'm able to patch the game in 32 bit mode via Battle.Net, but then in order to start it, I have to run:

WINEPREFIX="$HOME/winesc2_64/" WINEARCH=win64 wine /disk3/StarCraft\ II/Support64/SC2Switcher_x64.exe

Then it works (I had to apply winetricks vcrun2015 of course) - the equivalent 32 bit command doesn't work.
Hope this helps as a workaround.


Log of the 32 bit crash:

err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
fixme:msvcrt:type_info_name_internal_method type_info_node parameter ignored
fixme:imm:NotifyIME IMC_SETCONVERSIONMODE
fixme:imm:ImmReleaseContext (0x30044, 0x19e210): stub
wine: Call from 0x7b43c10c to unimplemented function api-ms-win-crt-math-l1-1-0.dll._except1, aborting
fixme:dbghelp:elf_search_auxv can't find symbol in module
fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
RE: Latest update works only in 64 bit mode
by X on Thursday September 15th 2016, 0:53
It works for me (on 32bit wine) with one more dll override in winecfg (it's the one it complains about):

api-ms-win-crt-math-l1-1-0
RE: Latest update works only in 64 bit mode
by Beau on Thursday September 15th 2016, 9:11
Just so others know, I already had the override for api-ms-win-crt-math-l1-1-0 which was set to native, then builtin. Removing it and adding it again solved the problem
RE: Latest update works only in 64 bit mode
by tungnm on Thursday September 15th 2016, 22:25
This trick worked for me too. wine 1.9.18.
Latest update 3.6.0 results in crash on start
by Aleks on Wednesday September 14th 2016, 14:54
Hi all,
I just updated and after battle.net, and Artanis loading screen loads, the game crashes within few seconds on main screen. I hear the game music, buttons are visible, there is black bachground instead of stars or anything and then it crashes.

PlayOnLinux Mint, wine 1.9.15. I tried and can't get any higher version of wine to even boot.
RE: Latest update 3.6.0 results in crash on start
by wisut on Wednesday September 14th 2016, 23:40
I have exactly same problem on Arch linux (lastest system update)

sc2 3.6.0
wine-1.9.18 (Staging)
nvidia 370.28-1

before 3.6.0 update everything work fine
RE: Latest update 3.6.0 results in crash on start
by Joscha Becker on Thursday September 15th 2016, 5:42
I had the exact same issue (wine 1.9.17, 32bit installation).
As suggested in the "works only in 64 bit mode" thread I tried out adding the api-ms-win-crt-math-l1-1-0 override, and it stopped these crashes.
Haven't had time to play a game yet, but I could log in and the menus work normally.
RE: Latest update 3.6.0 results in crash on start
by Aleks on Thursday September 15th 2016, 12:12
I can confirm that that override made the game playable again. I played against AI from start to end no exception happened. Cheers and big thanks. See you on ladder :)
RE: Latest update 3.6.0 results in crash on start
by Prot on Friday September 16th 2016, 5:15
Thank you, it work for me too.
Galaxy Editor
by Electric Prism on Tuesday September 13th 2016, 19:52
The Galaxy Editor seems to crash when I try to login under File > Publish Map

Is anyone else encountering this problem?
RE: Galaxy Editor
by Andrew Smart on Thursday December 15th 2016, 14:34
Yes. Now it appears authentication was moved to when the editor is started and it crashes there: appdb.winehq.org/objectManager.php?sClass=version&iId=22206
error in "mscvcp140"
by arkahys on Sunday September 11th 2016, 16:46
the file to override is "msvcp140" (no "mscvcp140")
RE: error in
by Filip Frackiewicz on Saturday October 29th 2016, 16:47
The command

$winetricks vcrun2015

should solve your issue, just make sure you have the latest version of winetricks.

by Electric Prism on Wednesday September 7th 2016, 22:15
Looks like after Battle.net Launcher Updated it crashed, installing vcrun2015 via winetricks resolved the issue.

env WINEPREFIX=/opt/starcraft2 winetricks vcrun2015
svcp140.dll
by Electric Prism on Wednesday September 7th 2016, 22:10
wine: Call from 0x7b43d54c to unimplemented function msvcp140.dll._Thrd_id, aborting
wine: Unimplemented function msvcp140.dll._Thrd_id called at address 0x7b43d54c (thread 00a8), starting debugger...
Object moved
Object moved to here.

➜ ~ wine --version
wine-1.9.18 (Staging)

Backtrace: ptpb.pw/K5_u
Low FPS
by Ian on Thursday August 25th 2016, 15:56
My fps is 60 at the menus and 20 or so during campaign missions and light co-ops. Anything more heavy-duty like mutations or 2v2 and it becomes unplayable at less than 1 fps. Note that this is with /Medium/ graphics, not Ultra as Windows is able to handle.

Hardware:
i7-950
18GB RAM
GTX 670
SSD drives

Software:
Arch with latest packages including...
xfce4
nvidia graphics driver
wine-staging

Settings:
Compositing disabled
CSMT enabled
Medium quality graphics
Medium quality sound (read somewhere that this might help)

With this setup one might think that SC2 would run very smoothly, but alas it does not. Does anyone else have a similar environment with this FPS issue? Any fixes or suggestions? Thanks :)
RE: Low FPS
by Ville Aakko on Thursday October 27th 2016, 13:17
There is some regression ... somwhere (newer SC2 or nwere wine?). After months of non-playing, the performance in StarCraft II is now abysmal - i.e. non-playable. I get 5-10fps if I start any mission at medium details (1080p), didn't even bother to try any further - on quite decent hardware:

i7 4790k
GTX 970
8GB of RAM
nvidia proprietary drivers 370.28-2
wine-staging-1.9.21-1
Arch Linux

If I turn details to low, I get ~30FPS. I used to get more than playable FPS at high or ultra waaay back... maybe 6-12 months ago. That was on a 32bit wine install, though, but I needed to wipe out ~/.wine and re-install battle.net since the 32bit version refused to run at all anymore.
RE: Low FPS
by Ville Aakko on Thursday October 27th 2016, 16:19
I tried to enable CSMT (in wine-staging) and although did improve things, but just a little bit (maybe like 8FPS->15FPS). Performance is nowhere near where it should be and used to be (even without CSMT - at least I do not remember ever enabling it before!).

I tried some other demanding games (like Bioshock Infinite - native in Linux) to rule out some weird HW issue, and everything seems to work properly (didn't try other Wine games, since I haven't gamed via wine in the recent times at all so I don't have any installed ATM, so I'm not sure if it is just wine or just SC2).
RE: Low FPS
by Ville Aakko on Tuesday November 1st 2016, 13:55
It is possible you have the same problem as I do, but I've figured out I get a massive FPS improvement if I set WINEDEBUG="-all". Without that I get around 1/6th of the FPS than I get with WINEDEBUG="-all".

Now I get mostly constant 60FPS (probably capped by vsync, which I have on) at ULTRA graphics settings. So I'm happy =).

Btw. search for "WINEDEBUG" on this page for the comment from 2013, this may be related. Maybe the staging patches have propagated further?

If this is affecting multiple users, maybe this should be added to the top of the page?

There are still some slowdowns, which I didn't get before - mostly when portraits come on screen, and during some cutscreens (like exploding vespene fissures at a protoss proloque mission). But they don't impact gameplay, unless you are playing competitively online vs humans. Also, I get similar slowdowns at some Linux native games, too (which weren't there before), so it may be some kind of bug in NVidia drivers (it is as if something, that should be in RAM/VRAM, is not there and is being extracted / moved around when it is actually used - there is a 'jerk' when this 'something' is processed).

p.s. I figured this WINEDEBUG thing out by using Battle.net via POL... I noticed that I get decent frame rates even with the system wine version via POL. Then I tried with plain wine with the WINEPREFIX dir created by POL - and the slowdown was still there. It was easy to look at the shortcut, what is the remainig difference in how Battle.net was launched - and really WINEDEBUG was the only one I could find, and seems it the actual cuplrit currently.

by enthusiasm on Wednesday August 24th 2016, 8:27
Hi guys!

System: Linux debian 3.16.0-4-amd64
Wine-Version: 1.9.7

I installed vcrun2015 via winetricks and added mscvcp140 and vcruntime140 via winecfg. For that I had to install winbind and cabextract via apt-get install. Then the logs showed that wininet produces a lot of error, so I installted wininet via winetricks. After getting some d3* errors I installed all d3*-dlls via winetricks.

Currently the Battle.net setup still crashes during installation:
pastebin.com/MUyTk6eF

does anyone has some hint for me?
Thanks in advance!
RE:
by enthusiasm on Wednesday August 24th 2016, 8:30
Also getting this error message:

GIF89aÇ    ,D;fixme:d3d:wined3d_guess_card No card selector available for card vendor 0000 (using GL_RENDERER "Gallium 0.4 on llvmpipe (LLVM 3.5, 256 bits)").
RE:
by arkahys on Sunday September 11th 2016, 16:45
mscvcp140 ... no msvcp140
this is typo error.
Some issues
by HellBat on Sunday August 21st 2016, 9:29
I'm using wine 1.9.16 with xubuntu 16.04 and Starcraft works with the configuration mentioned in the aditional comments but, when I try to close the game get stuck, every time I do alt+tab the game simply vanishes and when I try to play again an arcade game it simply doesn't work I have to reopen the game every time I want to play. Does anybody know anything that could help me?
RE: Some issues
by Andrew Smart on Sunday August 21st 2016, 11:00
I think everyone experiences the first issue you mentioned.

I've never had the alt-tab issue you mentioned. A couple tips:
1) you could try disable compositing. xubuntu may be using a lean/minimal compositor- so disable it before starting the game.
2) running the game in a separate X-server will work: forum.winehq.org/viewtopic.php?p=64164
So you ctrl+alt+F7 to get back to your desktop, then ctrl+alt+F8 to get back to your game. This is instead of alt-tabbing.
RE: Some issues
by HellBat on Monday August 22nd 2016, 18:21
Thanks for the answer.
I did remove the compiz package and now the alt+tab works fine.
Crash every time I start a game
by Carbone on Thursday August 11th 2016, 16:35
SC2 crash every time I start a game.

Here are my specs :
64bit SC2 LotV
Ubuntu 16.04.01 64bit
Linux version 4.4.0-34-generic
Wine 1.9.15
16GB RAM.
Videocard GeForce GT 630
Video driver Nvidia 361.42
In-game graphics settings: low

My winecfg is set with :

api-ms-win-crt-runtime-l1-1-0
api-ms-win-crt-stdio-l1-1-0
api-ms-win-crt-time-l1-1-0
api-ms-win-crt-locale-l1-1-0
api-ms-win-crt-heap-l1-1-0
api-ms-win-crt-convert-l1-1-0
ucrtbase
vcruntime140
dbgeng
dbghelp
mshtml
msvcp140


Set each to native, builtin with Windows 7 version

Thx for the help
Battle.net.exe CPU usage
by Andrew Smart on Wednesday August 3rd 2016, 10:13
Battle.net.exe continues to run in background eating up a core, same with wineserver64, Agent.exe, and Battle.net Help. That's 4 of my 6 cores eaten while a game updates.
cpulimit -l 1 -p on each worked and GUI is still responsive. When game is running Battle.net.exe still eats a core so cpulimit -l 1 slows it down (and frees up wineserver64 to better serve the game).

I also ran into the wait for critical section bug in Ryan's Aug 1 2016 test (due to unreleased semaphore). Terminating all exe's and wine processes, then restarting solved the issue. The bug occurred to me with the Battle.net.exe GUI, clicking pause/resume on an update quickly.
RE: Battle.net.exe CPU usage
by Ryan on Wednesday August 3rd 2016, 17:07
What version are you running? I've restarted before and I'm getting the same error with 1.9.15 /w csmt

I also get the same error with 1.9.13 /w csmt after downgrading package.

I guess I need to kill all exe processes BEFORE restarting perhaps?
RE: Battle.net.exe CPU usage
by Andrew Smart on Thursday August 4th 2016, 12:44
I'm using wine-development 1.9.14-1 though Debian. It's not clear to me if that has CSMT enabled; I don't see a tab for CSMT in winecfg.
Kernel: 3.16.0-4-amd64
GPU: NVIDIA [GeForce 9800 GT] (rev a2)

Are you even seeing the Battle.net GUI? To be clear I meant restarting the Battle.net app, as buttons and such became unresponsive when waiting on that critical section. If I killed it then restarted it without killing all exe's and wine processes then it would still be stuck on that critical section (unreleased semaphore/mutex/whatever).

You've probably even restarted your computer by now so I'm guessing you're encountering a different issue than I did:
err:ntdll:RtlpWaitForCriticalSection section 0x197c6c "?" wait timed out in thread 0073, blocked by 0050, retrying (60 sec)
err:ntdll:RtlpWaitForCriticalSection section 0x197c6c "?" wait timed out in thread 0073, blocked by 0050, retrying (60 sec)
err:ntdll:RtlpWaitForCriticalSection section 0x197c6c "?" wait timed out in thread 0073, blocked by 0050, retrying (60 sec)
...

The issue I encountered may have been a logic bug in their app and not wine.
Battle.net update 2016-07-26
by Eivind Larsen on Wednesday July 27th 2016, 14:17
As of 2016-07-26 update to battle.net, you need vcrun2015 installed to start battle.net launcher. Install with winetricks vcrun2015
RE: Battle.net update 2016-07-26
by Ryan on Tuesday August 2nd 2016, 17:09
Going to test this, but before I do since I'm not home just yet, are you using wine --version = 1.9.15?
RE: Battle.net update 2016-07-26
by Jason Alan Palmer on Tuesday August 2nd 2016, 17:33
Alternately, since Battle.net ships with vcruntime140 included, it should also be enough to add an override for it, as documented above.
RE: Battle.net update 2016-07-26
by Ryan on Sunday August 14th 2016, 23:46
amazing! installed vcrun2015 through winetricks and bnet started up just fine! still needed dll overrides with it though

by Galym Kerimbekov on Friday July 22nd 2016, 5:40
I up-to-date my StarCraft II and get broken game with blur instead of menu i.imgur.com/fV8Jsie.png
now game version is 3.4.0.44401
Anyone had same issue?
RE:
by Robert on Tuesday July 26th 2016, 9:32
I've the same problem .. no menu. If I get by luck into the game the normal view part works but nothing in the boxes on the bottom is shown.
RE:
by Starfall on Sunday July 31st 2016, 16:24
I had the same issue and it seems to be an issue with the 32-bit client. I created a new 64-bit prefix and it works now.
RE:
by Robert on Sunday August 7th 2016, 1:24
Also tested it. with 64bit everything works.
Definitely use CSMT
by Ryan on Tuesday July 19th 2016, 0:48
For good performance, one should use wine-staging with CSMT enabled for sure! The difference is night and day
RE: Definitely use CSMT
by Hugo Osvaldo Barrera on Tuesday July 19th 2016, 10:00
From what I've read, CSMT is included since version 1.9.10 (my distro currently ships version 1.9.13), so there's no need for wine-staging, just enabling CSMT.
RE: Definitely use CSMT
by Sergej on Thursday July 28th 2016, 11:44
Well, it's true for fedora, for example.
You can install wine package from default repo, which is a wine-staging, but a bit outdated. It's just named wine, but not a vanila wine.
NOTE: there is no vanila wine in fedora repo.
Arch distro have both, wine(vanila from winehq, no csmt included) and wine-staging as a separate package.
Replays don't work
by Maldun Finsterschreck on Wednesday July 6th 2016, 2:36
Hi!

I use latest wine on Fedora 23 64-bit, Nvidia graphic card. Starcraft version is legacy of the void latest version as we speak (I think 3.2.2)

Since recently I encounter the issue that replays won't work. They are saved properly, and I can browse through them, but there is no data displayed, and starcraft tells me it can't open them.

To me this looks like a file system problem. Has anyone experienced this?
RE: Replays don't work
by Maldun Finsterschreck on Wednesday July 6th 2016, 2:40
Exact wine version is 1.9.12
Crash on starting ladder game
by Dominik S on Wednesday June 29th 2016, 14:23
SC2 was crashing to desktop on the loading screen as I was starting ladder games (tested mostly on 2v2s).

64bit SC2 LotV
Linux Mint 17.3 64bit
Wine 1.9.13

However, I was able to fix this via installing (via apt-get):
* libp11-kit-gnome-keyring:i386
* p11-kit-modules:i386
* winbind

I am also running on default libraries (no overrides whatsoever).
RE: Crash on starting ladder game
by Sergio Salinas on Saturday July 16th 2016, 4:30
Can you solve it?
Performance since last update
by Hugo Osvaldo Barrera on Monday June 20th 2016, 14:46
After the recent game update (a few days ago, can't recall when), I saw a huge performance drop in. It was extremely noticeable and i was forced to reduce graphic settings (those affecting CPU) from High to Medium to have the same performance I used to.

Has anyone else had this issue? I believe that the game update was the only recent change.

Note that CPU usage is ~40% and 70% on two CPUs, while the other 6 sit idle.
RE: Performance since last update
by Ryan on Monday July 18th 2016, 23:52
I've noticed this as well, I have a GTX 1070 and can still see low fps on all settings essentially.
RE: Performance since last update
by Ryan on Tuesday July 19th 2016, 0:50
Sorry, figured out why mine was slow, you should be using wine-staging with CSMT enabled. Should fix the low fps, it did for me. I was using it before but forgot I reinstall my root and formatted my home and somehow forgot that I had enabled CSMT in the past and forgot this time... lol
Freezes after game exit.
by Shu on Monday June 13th 2016, 17:23
I'm having a problem where it frees the whole X session after exiting the game. During play it seems ok, but when i leave I need to go to another screen and restart X. It's OK if just run battle.net then exit, but if I go into the game and come out it freezes.

I'm currently running FC23 with playonlinux and using 1.9.10 staging.

Thx
RE: Freezes after game exit.
by Robin on Monday June 13th 2016, 20:10
Similar thing here with 1.9.11 devel, Ubuntu 14.04 x64. After updated to 1.9.12 devel today, it freezes even during the gameplay. Unfortunately, I don't have another screen to work on, so I have to press the little reset button and let the machine reboot. I thought it was my machine's idiosyncratic problem but now seems isn't.
RE: Freezes after game exit.
by Casey on Saturday June 18th 2016, 9:37
Robin,

This won't solve anything, but it would prevent you from having to hard boot...

Either switch to a different terminal using Ctl-Alt-(any function key up to F6). My graphical terminal is F7... your's may be different. Or you could enable another workspace and hotkey over to it when the game freezes. That's what I've been doing.
RE: Freezes after game exit.
by Casey on Saturday June 18th 2016, 9:32
Exact same problem here. Kubuntu 16.04 x64, Wine 1.9.12. Gameplay is fine until I hit exit game... then it just locks into place. Tried killing all referring processes. Had to kill Wine. Even then I think something keeps control because my CPU and GPU temps stay hot. I end up having to restart.

Another issue I noticed was that no menus in Battle.Net work. Had to get to settings via the friends listing dialog box. Buttons work... 'News', 'Store', and all that but not menus.
RE: Freezes after game exit.
by Robin on Saturday June 18th 2016, 20:29
Thanks for the last tips! I really wish to know how to fix that freeze problem.

As for your menu issue, I don't know exactly what it's about, but one known issue is that the menu won't show until you move down your mouse after clicking.
RE: Freezes after game exit.
by Felipe Delestro on Saturday August 6th 2016, 12:55
Hello,

I was having the same freezing problem when exiting. Seems like if you first logout, and then exit, it solves the problem and quits normally.

Using wine-staging-1.9.13 32bit on PlayOnLinux here.
Crashes after a few seconds after match starts
by Oriol on Tuesday May 31st 2016, 13:19
I used to be able to play SC2 without any problem. However, not sure what Ubuntu upgraded a couple of days ago that now the game crashes after a few seconds (~10) after a match has started.

I've tried with wine 1.9.10 and 1.9.11 (both with and without staging). Same happens every time.

Any ideas on how to fix that?

Here are some of my specs:

- Ubuntu 16.04
- 16GB RAM.
- Videocard GeForce GT 730.
- Video driver Nvidia 361.42 from nvidia-361.
- in-game graphics settings: medium.
- Wine 1.9.11/1.9.10 (I've tried both with and without staging)

Thanks!
RE: Crashes after a few seconds after match starts
by termac on Saturday June 4th 2016, 4:46
This could be related to too high Graphic settings in combination with the 32 bit Client of Starcraft. Best solution would be to use the 64 bit client (select in Battle.net App or launch Support64/SC2Switcher_x64.exe from the SC2 installation directory) if you are for some reason stuck with the 32 bit Version, try setting Texture Quality and/or Shaders in SC2 to low.
RE: Crashes after a few seconds after match starts
by Oriol on Tuesday June 7th 2016, 23:35
I'm using the 64 bit client. Moreover, I've tried setting all the graphics levels to low and it still doesn't work. After a few seconds of playing, the whole program crashes. Any other suggestion? Thanks!
RE: Crashes after a few seconds after match starts
by David Brooks on Tuesday June 7th 2016, 23:38
I had a problem like this that was related to my video card overheating. Turns out one of the fans on the GPU had died and it was getting up to 97c. After I replaced the bad GPU fan the video card no longer overheated and SC2 ran fine.
RE: Crashes after a few seconds after match starts
by Oriol on Wednesday June 8th 2016, 0:03
That's weird. My card is quite new and, according to nvidia-settings, it's at ~59 degrees C at the moment of the crash (just re-checked right now), which should be a near optimal temperature. Thanks for the suggestion, though! Anything else you think I could check?

Also, is there any way I can see the error message from the crash? Any logs I could check?

Thanks!
RE: Crashes after a few seconds after match starts
by termac on Wednesday June 8th 2016, 0:44
For wine debugging there is the environment variable "WINEDEBUG". You can launch sc2 with e.g. "WINEDEBUG=all wine ..." from a terminal and have a look there.

Starcraft 2 itself stores it's logfiles in "Starcraft II/GameLogs", which is located inside your wine/windows user dir.

Another thing to try is, in case you are testing with custom games or ladder maps, to play the Campaign and see if it crashes there. Or the other way around in case you have crashes in Campaign maps.
RE: Crashes after a few seconds after match starts
by Oriol on Thursday June 9th 2016, 1:47
For whatever reason, after following the next steps everything went back to normal and I can play the game again:

- I launched sc2 with "WINEDEBUG=all ..."
- I played a campaign game (first level of LotV on Brutal), and everything worked.
- I played a multiplayer game, unranked, choosing Random and everything worked (that's when the crash usually occurred).
- I set the parameters to Medium and High (Textures).
- I played another multiplayer game, unranked, choosing Random and everything worked.
- I quit and relaunched from the command line without the WINEDEBUG variable
- I played a multiplayer game, unranked, choosing Random and everything worked.
- I quit and relaunched by double-clicking the Starcraft 2 icon I have on my desktop
- I played a multiplayer game, unranked, choosing Random and everything worked.

So, not sure what is it that I did, but now I can play again, with High settings, and it runs beautifully smooth. Notice that I haven't restarted the machine nor updated any packages since the last time I tried (yesterday). The science of computer science...

Thanks for your help!
RE: Crashes after a few seconds after match starts
by Oriol on Friday June 10th 2016, 19:40
Ok, I tried again today and same problem happened. The WINEDEBUG option didn't really return anything, I think that's because I'm using PlayOnLinux. Maybe the whole problem is the PlayOnLinux thing?

Thanks!
RE: Crashes after a few seconds after match starts
by termac on Saturday June 11th 2016, 5:00
So I assume it crashed again, during a ladder game. I get occasional crashes too and have not find the cause. What worked for me 100% of the time as work around is the following.
When I start SC2 I got to the Campaign screen, and go the master archive. After that is finished loading and you see the menu with missions to select, I just leave it (click cancel) and then can play any amount of Ladder games without SC2 crashing. I know it sounds like vodoo, but for me it always works.

Regarding the WINEDEBUG output, that might be related to Playonlinux.
You need to call wine directly from the command line with the environment variable WINEDEBUG set.
In your case you also need to figure out which version of wine Playonlinux is using and use that one in your call.
Additionally Playonlinux uses a seperate wine prefix which must be specified in the environment variable WINEPREFIX.
Depending on how comfortably you are with handling these things, it might be easier to try with vanilla wine (or better wine-staging for the csmt patches).

The other source for debug output are the log files SC2 creates on a crash itself. It creates a seperate folder for each crash with detailed information in the folder I mentioned in a post above.
RE: Crashes after a few seconds after match starts
by Oriol on Saturday June 11th 2016, 20:41
This totally worked! Thanks a ton!

PS: Haven't checked the log files, but I managed to "try" to run the game with WINEDEBUG=all, but there were thousands of output lines and the game never really start. I am definitely a newbie in terms of wine, and not comfortable at all debugging this.
RE: Crashes after a few seconds after match starts
by Sergej on Tuesday July 12th 2016, 1:34
This voodoo works for me too.
Thank you!
RE: Crashes after a few seconds after match starts
by chris on Sunday June 19th 2016, 11:17
Apparently, I also have these crashes. All versions above Wine-Staging 1.9.8 are crashing at the beginning of the game, in about ~15 seconds.

I tested it with PlayOnLinux and directlty with Wine itself through Terminal. These crashes are appearing at 32bit and 64bit. I'm using Ubuntu LTS 14.04 and an proprietary Nvidia driver with the version 352.63 (latest).

If I use Wine-Staging 1.9.8, all works flawlessly at ~200 fps.
But if I use Wine-Staging 1.9.12, I have ~300 fps. With low settings.
RE: Crashes after a few seconds after match starts
by Aleks on Wednesday July 13th 2016, 18:37
Changing wine to 1.9.8 fixed may starcraft 2 Legacy of the void version 3.4.0 to work again. Used to crash after match start.
RE: Crashes after a few seconds after match starts
by David on Tuesday July 19th 2016, 20:48
I had the same issue. The game crashing 15 seconds after the start of a match. The following command fixed it for me.

winetricks corefonts vcrun2005 vcrun2008

It installs some libraries needed for the game. You need to have winetricks installed on your system.

My setup is
Ubuntu 16.04 (minimal installation) 64-bit
Wine 1.9.14 (staging)
Voice and subtitle would go much faster than the cinematic.
by Sethan on Saturday May 21st 2016, 10:18
Hi,

I played "Starcraft II Heart of the Swarm" last night.
I could see clearly that, during the cinematic play,
the voice and subtitle would go much faster than the cinematic,
especially if it is a long cinematic one.

- Kernel 4.4.0-22-lowlatency (Ubuntu Studio 16.04).
- CPU AMD Athlon 64 FX-60 Dual Core.
- 4GB RAM.
- Videocard GeForce GTX 750 Ti.
- Video driver Nvidia 361.42 from nvidia-361.
- FPS during Cinematic was too vary.
- in-game graphics settings: high.

- Wine 1.9.10
Core usage
by chris on Tuesday May 17th 2016, 13:48
After running the game with 2 cores instead of 4 cores, I found out that the game is way more stable and have an fps improvement of ~15 fps. I used taskset. Try it out.

- taskset -cp 0,1 "path to wine" "path to starcraft exe"

However try to set it to only one core or 3 cores, maybe this is better for your system.
Game crashing while playing
by HellBat on Saturday April 16th 2016, 14:26
Hi I'm running SC2 with wine 1.9.7 and Debian strethc/sid kernel 4.5.0-trunk-amd64 game is running better then it was when using POL, but now I have two issues while I'm playing game simply crash and hang on exit.
I've already installed winetricks corefonts and others stuff in the library tab there is configured
atl80, atl90, msvcm80, msvcm90, msvcp80, msvcp90, msvcr80, msvcr90, vcomp and vcomp90. All native and built-in. I'm wondering if I can get any help about this.

Thanks
RE: Game crashing while playing
by HellBat on Monday April 25th 2016, 7:45
I've been searching for solutions to this problem, so I find at the gamelogs lots of files referring to D3D9 Reset, so I added to winecfg libraries the d3d9, d3dx9_43 and mshtml, the graphics are better, game FPS increased and no more crashing at least till now. I'll be watching to see if the problem continue happening and if I find something I'll add here.
Sound randomly stops working??!
by NothingSerious on Friday April 8th 2016, 6:08
Hey, after I installed wine version 1.9.6 (staging, see below) I am able to run StarCraft II again, unfortunately after a while my sound randomly stops working.

Sometimes preceding by a very short and tiny cracking noise.
The really strange thing is, that until the sound stops, its working perfectly fine!

ANY idea by what this can be caused?!

wine 1.9.6 (staging)
(T)ubuntu 12.04
StarCraft II: 3.2.1

I have pulseaudio installed (which I don't like) and before StarCraft 2 was updated to 3.2.0 everything was running smoothly without pulseaudio (but ALSA, which I prefer).

Any idea what I could do? It is very annyoing because I've never ever had any sound related problems before.
Also, mb worth to mention: 1. I am not the only one having sound issues with wine and this version of SC2 and also
the sound stops to work within ~20-30(+) sec after the game is loaded. So the sound stops working even within
the menus. ANY help would be greatly appreciated. And plzz Blizzard do a Linux port plllzzzzz!
RE: Sound randomly stops working??!
by NothingSerious on Sunday May 1st 2016, 9:43
Ok, hey there wine developers.
I just wanted to say a BIG thank you!
I do not know what you did, but after I've downloaded the latest wine update (1.9.8. staging) the sound seems to be working fine again.
Thank you so much! I've tried a lot of tweaking for the past 3 weeks and nothing seems to work, but the latest update as it seems.
Thank you!
Screen freezing/unable to play after patch 3.2.0.41743
by NothingSerious on Thursday March 31st 2016, 6:35
Hey, as mentioned in:
us.battle.net/sc2/en/forum/topic/20742865948#1

(and two other threads there as well) I have the same problem.

I can load the game, but the moment a custom map is loaded the game
does not respond/screen freeze. I can not even kill the app appropriately.

Any help would be greatly appreciated.

Os: Kubuntu 12.04 (Trinity)
Wine: 1.6.1

Everything was running smooth before!
RE: Screen freezing/unable to play after patch 3.2.0.41743
by shaun rutherford on Thursday March 31st 2016, 10:15
I'm having the same issue, this feels like the same bug that caused Heroes of the Storm to become unplayable a few patches ago. The game can be launched but as soon as you enter a match it freezes. Tried this on Crossover linux 15.0.1, wine-staging and wine 1.9.3. 32 and 64bit were tried.
RE: Screen freezing/unable to play after patch 3.2.0.41743
by Benoit Coste on Thursday March 31st 2016, 17:09
Hi,

Installing wine 1.9.6 and unchecking the checkbox from the battle net launcher: settings->game settings->"launch 32 bit client" did the trick for me.
RE: Screen freezing/unable to play after patch 3.2.0.41743
by Evan Chen on Saturday April 2nd 2016, 8:16
Conversely, *checking* the 32-bit client checkbox (which I had never checked before) did the trick for me. Also on Wine 1.9.6.
RE: Screen freezing/unable to play after patch 3.2.0.41743
by NothingSerious on Monday April 4th 2016, 16:10
Hey, thanks for the Feedback.

I think I can confirm this as well. Having wine 1.9.6 (Staging) installed, the game works as well. Don't have sound atm, but I assume that is an unrelated problem.
network bug after game update 3.2.0.41743
by Aleks on Thursday March 31st 2016, 4:57
After latest Blizzard update of StarCraft2 my client does not connect to their servers. It gives me error
"Can't connect to battle net
Battle.net may be temporarily unavailable or your internet connection may be down. Please check your connection and try again."

I have copied working game files from Windows installation, and Blizzard servers are not the problem.
Before the update I had no issues playing.

Mint Quiana, Wine 1.6.2
RE: network bug after game update 3.2.0.41743
by Jason on Thursday March 31st 2016, 21:30
Me too. I just recently installed and updated of course to game update 3.2.0.41743 and as soon as I start SC2 the network goes down. I have access to download/update until I start SC2 and then I get
"Can't connect to battle net
Battle.net may be temporarily unavailable or your internet connection may be down. Please check your connection and try again."

openSUSE 42.1 wine 1.7.39
RE: network bug after game update 3.2.0.41743
by Aleks on Friday April 1st 2016, 10:05
Interesting.
I use PlayOnLinux and actually I was running SC2 with wine 1.9.1.
Changing that to 1.9.6 did not help me.
RE: network bug after game update 3.2.0.41743
by mathijs on Friday April 1st 2016, 16:23
I have the same issue, using wine 1.8, 1.9.6-staging and via Play on Linux using 1.9.2 staging I can't connect to battle.net.
RE: network bug after game update 3.2.0.41743
by mathijs on Friday April 1st 2016, 16:30
This is probably because launching sc2switcher no longer works. See here: us.battle.net/sc2/en/forum/topic/20742835707

Starting Starcraft through the battle.net launcher works fine.
RE: network bug after game update 3.2.0.41743
by Aleks on Saturday April 2nd 2016, 5:43
Yay, thank you. It started and authenticated now.
Now it crashed when I started the match. Lets see what is in the other threads about this.
RE: network bug after game update 3.2.0.41743
by Aleks on Saturday April 2nd 2016, 10:09
OK, I managed to fix my game:
In PlayOnLinux, I clicked Install a Program (+ sign) and added Battle.net. After successfull installation I was sure to setup the "dbghelp" override to disabled.
I added the starcraft2 install folder to the battle net launcher and it works now.

The problem before was that I was starting bNet and SC2 via double click on exe files and those used my default wine 1.6.2 prefix.

PlayOnLinux has other prefixes, now two for me: one for bNet and another for SC2 WoL.

gl hf
StarCraft II crashes with wine 1.9.2 staging, fine with plain 1.9.2
by Matthew Krafczyk on Sunday January 24th 2016, 7:21
StarCraft II Crashes now with wine 1.9.2 staging. this happens for both the 32 and 64bit versions, and whether or not you have CSMT enabled.

It runs fine with plain 1.9.2, and the 32bit version runs fine with 1.9.1 and 1.9.1 staging.

I've opened a bug here: bugs.winehq.org/show_bug.cgi?id=40032
RE: StarCraft II crashes with wine 1.9.2 staging, fine with plain 1.9.2
by Matthew Krafczyk on Sunday January 24th 2016, 14:37
A new patch is in wine-staging 1.9.2 which fixes this issue. StarCraft 2 now launches normally.

by a "zaggynl" z on Friday January 22nd 2016, 15:29
Found the cause for my crash:
appdb.winehq.org/objectManager.php?sClass=version&iId=20882&iTestingId=92321

For Diablo 3 I changed /etc/pulse/daemon.conf default-fragment-size-msec to something below 5, this made Starcraft 2 crash with the mentioned error.
Works again after changing it back, however sound gets garbled in Diablo 3.
So change the mentioned value to 5, run pulseaudio -k and then sudo service pulseaudio start.
Workaround for Diablo 3: change the Sound Channels dropbox in sound options in Diablo 3 to something else, it will temporarily fix it.
RE:
by a "zaggynl" z on Sunday January 24th 2016, 13:36
To add to that, Starcraft 2 still crashes once Skype or qtox is started.
RE:
by a "zaggynl" z on Wednesday January 27th 2016, 7:09
Workaround using superuser.com/a/832459.
64 bit client now running
by termac on Tuesday January 12th 2016, 4:53
Wine 1.9.1 fixed the crash on startup with the 64 bit client. (see here bugs.winehq.org/show_bug.cgi?id=39454#c27 )

There remains an issue with setting shaders to anything but low.
This can be worked around for now with setting a dll overwrite for msvcr100.dll as described in this seperate bugzilla entry bugs.winehq.org/show_bug.cgi?id=39954#c6 .
RE: 64 bit client now running
by Jason Alan Palmer on Tuesday January 12th 2016, 19:32
Thank you for the update! I have modified the relevant note.
RE: 64 bit client now running
by termac on Wednesday January 13th 2016, 9:51
Thank you for updating the notes. The 64 bit client fixes all issues regarding crashes with higher graphic settings. Maybe you can mention that there, so people know it is worth trying the 64 bit version.
RE: 64 bit client now running
by Jason Alan Palmer on Friday January 22nd 2016, 14:45
Good point! I have updated the notes again.
About issue 8060
by Hugo Osvaldo Barrera on Wednesday November 25th 2015, 0:29
There's a note on top about issue 8060, and `winetricks corefonts` being required.

I've played the entire game (passing the mentioned scenario multiple times) without this happening. Maybe this is no longer applicable to sc2? Or somehow fixed?
RE: About issue 8060
by Hugo Osvaldo Barrera on Wednesday November 25th 2015, 0:30
My comment applies to HoTS and LoTV.
RE: About issue 8060
by Jason Alan Palmer on Wednesday November 25th 2015, 8:21
Thank you, this is good to hear. They must have fixed the font loading in SC2. I will try to confirm this later today and remove the bug link and note.
RE: About issue 8060
by Jason Alan Palmer on Wednesday November 25th 2015, 8:57
Confirmed
After Alt+Tab, Alt gets stuck
by Thomas Ross on Sunday November 22nd 2015, 13:29
Sometimes if you alt tab out of the game and then return back to the game, the game thinks that alt is being pressed.

This can be worked around by pressing alt before issuing commands when you return to the game.
Battle.net CPU usage
by Tom B on Friday November 20th 2015, 12:56
For me if I leave the Battle.net launcher open in the background it will eat CPU usage, one core will constantly be at 100% load after it's been open a while (it doesn't do it straight away). Needless to say, closing it and launching Starcraft II.exe directly has a slight performance gain
Quality
by illich on Saturday November 14th 2015, 5:51
same for me (kubuntu 14.10, nvidia card with 2gb)

Extreme quality, ultra textures: crash at the beginning of first level.

High quality, ultra textures: level starts, crashes after few minutes.

High quality, high textures: completed level, crash after score screen.
RE: Quality
by Steven Mercurio on Thursday November 19th 2015, 0:11
I also had MUCH better success with the game when I dialed the graphics doen to medium and ran "StarCraft II.exe" directly.

Blizzard needs to work with WINE HQ to fix the 64 bit client ASAP to solve these issues.
RE: Quality
by Sergej on Sunday February 21st 2016, 9:05
AS for me, it's hardly depends on CPU.
I've tried on these pcs:
1) A4-5300 + nvidia GTX 750Ti manjaro current
2) i7-4510U + nvidia 840M fedora 23

Playing on "medium" I found desktop(1) to crash after mid 2 games, while on notebook(2) I can play 1x1 tournament - about 5 games in common.

Also, playing 1х1 makes it crash less often than 3x3.

Setting quality to higher values crashing game 3x3 almost every loading on both pcs and 1x1 every 2nd game while playing.

Setting quality to lower values makes game looks like SC1, and this is not cool.
Legacy of the Void campaign crash
by treba on Friday November 13th 2015, 9:35
When starting the lotv campaign, the game crashed for me.
The fix was that i had to set the texture quality down from ultra (low works, didn't yet test the other options).
I guess with textures set to ultra, the app exeeds the memory limit for 32-bit in missions with so much stuff.

Hope that helps people with similar problems.

Hardware: Ivybridge with 16gb, 2gb for vram, not set in regedit.
RE: Legacy of the Void campaign crash
by Noam Mor on Sunday November 15th 2015, 7:42
Same here. Immediate crash after the LOTV campaign opening video with textures set to Ultra. Lowered them to High, it works again.
Legacy of the Void won't launch
by Bryguy on Wednesday November 11th 2015, 9:16
Just patched to purchased Legacy of the Void and it won't launch for me at all whether I choose 32 or 64 bit. I was able to run the beta with no problems. wine-1.7.50 on ubuntu 64 bit.
RE: Legacy of the Void won't launch
by Bryguy on Wednesday November 11th 2015, 9:48
Never mind it works now, I was setting Heroes of the Storm to 32 bit by mistake instead of Starcraft II. Sigh.
RE: Legacy of the Void won't launch
by Noam Mor on Sunday November 15th 2015, 7:32
Same here. Immediate crash after the LOTV campaign opening video with textures set to Ultra. Lowered them to High, it works again.
Game crash on loading screen
by Lonk on Wednesday November 11th 2015, 4:49
While the game appears to always be crashing on the end of the loading screen with the error.

mmap() failed: Cannot allocate memory

It actually appears this is as it sounds a memory allocation error, possibly with 32bit. Dropping all settings to lowest allows training games vs AI to load correctly. But not campaign.

By the looks of it anything going over 4GB of memory (32bit max), causes the error to throw and the game to crash.
Connect Button does nothing
by vexorian on Tuesday November 10th 2015, 9:35
I manage to open the game, past loading screen it gives a login form. I click "Connect" and nothing happens.
Version 3.0.1.38535 working great again
by Matthew Krafczyk on Sunday October 18th 2015, 16:03
After updating to wine-staging 1.7.53, and getting the 3.0.1.38535 patch installed automatically via battle.net, I'd like to report that SC2 is working great again! I haven't encountered any crashes even after several missions.
RE: Version 3.0.1.38535 working great again
by Hekar K on Thursday October 22nd 2015, 12:33
Upgraded to Wine 1.7.53. Still crashing on patch Starcraft 3.0.2.38624. 32bit client starts, but has texture issues (same as 1.7.52.)
RE: Version 3.0.1.38535 working great again
by Eivind Larsen on Wednesday November 4th 2015, 13:17
After 3.0.1 SC2 client is almost unusable to me. Usually crash on launch or before a game can start.
Patch 3.0 - crashes on launch
by illich on Sunday October 11th 2015, 2:11
Hi,
after upgrading SC2 to patch 3.0 version, it started crashing on launch every time :(
SC2 LoTV beta (version 2.5.x) works fine.
Does 3.0 work for you, guys?

---
Ubuntu 14.10, upgraded up-to-date, Nvidia.
RE: Patch 3.0 - crashes on launch
by Matthew Krafczyk on Sunday October 11th 2015, 5:22
It crashes for me too.

running either the 32bit version of SC2 in 64bit wine, or installing SC2 in a win32 wineprefix will allow the game to launch, however I've found that depending on the mission and units you are using, the game will crash very often. It's nearly unplayable like this.
Workaround for "Blizzard Entertainment\StarCraft II\msvcr71.dll" could not be found error
by Florian on Saturday September 5th 2015, 6:39
When I tried to install Starcraft II via the Battle.net client I got an error telling me that "Blizzard Entertainment\StarCraft II\msvcr71.dll" could not be found.

I worked around this issue by creating a symbolic link at the location where it was looking for it to the location where the file is located:

cd ~/.wine/drive_c/Program Files (x86)/
mkdir 'Common Files'
cd Common\ Files/
mkdir 'Blizzard Entertainment'
cd Blizzard\ Entertainment/
mkdir "Starcraft II"
cd Starcraft\ II/
ln -s ~/.wine/drive_c/windows/system32/msvcr71.dll .

The installation process started and seems also to remove the created file and folders automatically.
32-bit client.
by NothingSerious on Tuesday September 1st 2015, 16:59
Thanks for that hint. Might have saved me a lot of time. Works exactly as menioned/supposed to be. Nice!
Issues with nvidia
by Hugo Osvaldo Barrera on Sunday July 12th 2015, 23:42
The game works perfectly at lowest settings on an Intel HD 5000, but with the same settings on an nvidia gtx8800 (+Bulldozer FX 8150, 16GB RAM), I get lots of visual artefacts, and occasional crashes in the menu (*never* in-game!).

Is anyone else having these issues? Maybe my card is too old and has some drive issues or alike? :(
Tweaks that I've done
by Ryan Matte on Monday June 15th 2015, 9:05
The following are the tweaks that I made to get SC2 running/looking as good as possible under wine:

Execute: wine regedit

Create HKEY_CURRENT_USER/Software/Wine/Direct3D (if it doesn't already exist).

Right click and select New -> String value. Name them as follows (as set the string value as follows)...

DirectDrawRenderer opengl
Multisampling disabled
OffScreenRenderingMode pbuffer
UseGLSL disabled
VertexShaderMode hardware
VideoMemorySize 1024 (set this to correspond to the amount of video memory on your graphics card).

UseGLSL disabled had the most dramatic effect on performance. If I enabled medium shaders in game without that option the performance was horrible. After I set that I could enable medium shaders no problem.

The in-game video settings that I am using are as follows:

Texture Quality: High
Graphics Quality: Custom
Shaders: Medium
Lighting: Low
Shadows: Medium
Terrain: Medium
Reflections: Off
Effects: Low
Post-Processing: Low
Physics: Low
Models: High
Units Portraits: 3D
Movies: High

These options work best for me. You'll probably have to tweak them depending on how powerful your PC and graphics card are.
RE: Tweaks that I've done
by brogcb on Sunday October 4th 2015, 8:47
Setting "UseGLSL disabled" got the Battle.net screen black. Setting it to "enabled" made it work again. Just in case someone runs across the same issue.

Using Intel GFX by the way.
Single Player campaign savegames not working
by Gian Paolo Mureddu on Monday May 11th 2015, 17:55
About a week ago, I fired up SC2 just for kicks and tried to finish the single player campaign, only I was quite surprised with the results: I was not able to load some of the single player savegames I had (in victory screens or Joey Rays/Hyperion/Char), however I was able to load any given checkpoint, only to be greeted with the opening in game cinematic upon completing the maps. So then I thought "this must be a patch [SC2] thing", so I restarted the SP campaign and lo and behold: Savegames are misbehaving: When trying to load an advanced (say fourth mission victory or on the Hyperion) savegame, upon loading I'd be greeted by the same in game opening cinematic, as if I was starting a new campaign... I'm not sure this is a "Wine thing", but rather something different, has anyone encountered this yet?

I run SC2 with wine version "System", which on my Fedora 21 means 1.7.41.

winecfg options:
Graphics:
Capture mouse, allow window manager to manage and decorate windows.

No DLL overrides, Windows version to emulate Win7, default sound driver (which in the case of Fedora means PA driver)

Staging:
CSMT and EAX enabled.

CSMT does INDEED increase the FPS by a fair bit when running in Ultra settings.

Hardware/SW configuration (if it is of any use):
CPU: AMD FX 6100
GPU: nVidia GTX 760 OC w/ 4Gb vRAM
RAM: 16 Gb DDR3 1600 MHz
SSD: Liteon 256 Gb partitioned as / and /home (ext4)
HDD: Seagate 2Tb partitioned for storage and mounted under / for access from all users (btrfs).
Kernel: Linux 3.19.5-200.fc21 x86_64
DE: Gnome [s]Hell
All software updated to latest release versions.
RE: Single Player campaign savegames not working
by moto on Thursday May 14th 2015, 19:12
Is your wine prefix stored on the BTRFS drive? I'm having the same issue on my BTRFS system.
RE: Single Player campaign savegames not working
by Gian Paolo Mureddu on Monday May 25th 2015, 20:20
The prefix is on ext4, BUT the game itself is on the btrfs drive (made available to the main Bnet prefix [where Blizzard gams are "installed"] through symlink. Will try moving the game files to the ext4 drive and try from there.
RE: Single Player campaign savegames not working
by Gian Paolo Mureddu on Monday May 25th 2015, 22:04
No dice, the behaviour is the same. Dunno what might it be at play here, I'd guess it must have to do with the game itself, a patch or even something as silly as a registry key or something like that.
RE: Single Player campaign savegames not working
by Chris on Saturday June 13th 2015, 9:38
This is happening to me too, and I'm not using BTRFS, it's all ext4. I'm able to properly load any save that's a checkpoint in a mission, but whenever I try to load an autosave from after a mission, or a manual save that's on the ship, it starts me out at the beginning of the game. If I keep playing the game without quitting, there's no issue, only when attempting to load a save. This is driving me crazy!
RE: Single Player campaign savegames not working
by Chris on Saturday June 13th 2015, 10:54
I use wine-staging, so I submitted a bug there:
bugs.wine-staging.com/show_bug.cgi?id=385
but I'm fairly sure the bug is the same in both versions. If you can get console output from Support/SC2Switcher.exe and submit a bug to the Bugzilla here, it'd be much appreciated. (I need a PulseAudio driver for my sound to work correctly, which is why I switched.)
RE: Single Player campaign savegames not working
by Chris on Friday June 19th 2015, 20:29
Blizzard suggested I delete the cache, which they said was in ProgramData, but I found it in users/Public/Application Data instead. Deleted the Blizzard Entertainment folder there, loaded the latest mission checkpoint, saved again after that and then I was able to load that save. I'm only mostly sure deleting that folder was the solution, because I also had a Wine update that same day.
RE: Single Player campaign savegames not working
by Gian Paolo Mureddu on Friday July 24th 2015, 21:49
Thanks for the heads up and solution!! I had almost given up on SC2 SP campaign. I'll try this during the weekend.
MacOS requirements
by Davor on Saturday May 9th 2015, 6:18
Is it possible to run it at MacBook Pro 2011, Intel core i5 dual 2.3 GHz, 4GB RAM and OS 10.7.5?
Tried to install Heart of the Swarm using Wineskin 2.6.0 and engine 1.7.40, but didn't work.
RE: MacOS requirements
by Gian Paolo Mureddu on Monday May 11th 2015, 17:37
Why use Wine to run SC2 on MacOS X 1.7+, there's a native client for Lion and up, wasn't there?? OR is the current version only supporting 10.9 and 10.10?
RE: MacOS requirements
by Davor on Tuesday May 12th 2015, 17:29
Not for Lion, AFAIK. I'll upgrade to Yosemite soon but still ain't sure if laptop's hardware abilities will be sufficient (video).
RE: MacOS requirements
by Hugo Osvaldo Barrera on Sunday July 12th 2015, 23:40
I'm playing on a MacBook Air 2013, settings at minimum, at 1920x1080 (external screen).

The game works flawlessly, with no freezes whatsoever. I do stay at the minimum settings, but I don't suffer any slowdowns.

Mind you, my MBA does heat quite a bit though.
Keyboard, chat, hotkey issues
by Darin Avery on Sunday March 8th 2015, 12:29
Using linux mint 17 64 bit. I installed SC2 in a playonlinux drive, and could hit enter to start chat and tab through recipients, but enter only tabbed through as well. Hotkeys for units & buildings didn't work.

Solution is to change your pol drive to 64 bit. I was using 32 bit. So install 1.7.28 64 bit wine, then create the pol drive, move your sc2 files to the new drive, and go. All keyboard problems fixed.
Unable to use shaders on a 280X ...
by Baltazar on Tuesday December 23rd 2014, 15:43
I have just gotten an AMD Radeon 280X and even though the game runs on I am not able to use any of the shader options...

Am lost... don't know what to do...

I am using Play on Linux with wine ver. 1.7.26 on Linux Mint with the proprietary drivers...

Am able to set textures to Ultra as well as Terrain and a couple of others... but not Shaders, Lighting or Shadows...

Am only interested on Shaders... could care less about the rest.

Also the Post Processing is only showing "Low" and "Medium"... not "Ultra"...

Am burned... got the card cheaply ... need to show it was worth it though...

Thanks In Advance!
RE: Unable to use shaders on a 280X ...
by Baltazar on Tuesday December 23rd 2014, 17:18
... I have noticed that performance is just the same that I had before... which is sad considering Am using an A5800K... :(

damn poop...

must be settings...

Strange thing been, I was able to change shaders before on the wimpy APU.... ... I must be tripping... Blah
Cannot Install
by Vladimir Olegshenko on Sunday December 21st 2014, 2:33
We cannot install StarCraft II because your operating system doesn't meet the minimum specs to run it.

Your OS: Windows 2000 Service Pack 4
Minimum: Windows XP Service Pack 2
RE: Cannot Install
by Jason Alan Palmer on Sunday December 21st 2014, 12:10
What version of wine are you using, and what SC2 installer? I just checked, and the installer from the website ( dist.blizzard.com/downloads/sc2-installers/full/StarCraft-II-Setup-enUS.exe ) worked fine in a clean prefix on wine 1.7.31.
unable to play
by Bodanel on Saturday November 15th 2014, 9:06
Hello all

i have the following problem. I launch the enGB installer with the wine Starcraft2-enGB.exe command from the console and the installer starts. I got to the point were game says optimal and played a about 10 minutes. I've exited and let the installer finish. Installer finished but now when I start the game after authentication it starts loading the welcome page and exits. My configuration is this

Fedora 20
kernel 3.17.2-200.fc20.x86_64
driver mesa 10.1.5
GPU radeon R7 260X 1GB RAM
CPU Intel i7 4770
RAM 16 GB

Thks in advance
csmt patch
by Temir Umurzakov on Wednesday November 5th 2014, 13:36
Just applied CSMT patch to old version of wine 1.7.4 and got wonderfull perfomance boost.

git clone source.winehq.org/git/wine.git
git clone github.com/steemandlinux/wine-patches.git

cd wine
git checkout tags/1.7.4
patch -p1 < ../wine-patches/csmt-wine-1.7.4-0.2.patch
./configure && make
make install

HKCU/Software/Wine/Direct3D/CSMT = "enabled"

Source:
www.winehq.org/pipermail/wine-devel/2013-September/101106.html
RE: csmt patch
by Ema on Wednesday December 24th 2014, 3:12
Yes, performance boost is almost +150% (windows like performance).

Still, don't understand why this patch is not being part of mainline, at least in the form of an alternate code path (default off, switch-able on).

Cheers
RE: csmt patch
by Baltazar on Saturday January 17th 2015, 5:28
I tried this but I get a black screen with the game cursor been the only thing visible... game sounds like if running...

:(
RE: csmt patch
by Baltazar on Saturday January 31st 2015, 12:31
well... it seems to be working with 1.7.34-CSMT-cf92569 withing Play on Linux...

Still no shader support on my R9 280X...
Battle.net Visual Mirror Bug
by Misha on Sunday October 5th 2014, 0:13
I believe I have Intel® HD Graphics 2000
Also, Warcraft 3: Frozen Throne does work.
My driver version string:
[ 21.751] (II) intel(0): SNA compiled: xserver-xorg-video-intel 2:2.99.910-0ubuntu1.1 (Maarten Lankhorst )
Battle.net doesn't start
by Miguel Raggi on Saturday August 30th 2014, 14:37
Recently I launched StarCraft II (which had worked perfectly in the past) and after updating it said something about a "new and exciting way to launch StarCraft through battle net" or some other nonsense like that. I said "ok" and now it doesn't launch with an "unexpected error"
RE: Battle.net doesn't start
by starcraft on Tuesday September 2nd 2014, 10:46
You may want to look at this

appdb.winehq.org/objectManager.php?sClass=version&iId=28855

After I did this, Bnet launcher works fine.

Additional Comments

my configuration is: Windows 7
and my libraries are set on:

battle.net.dll (Native, Builtin)
dbghelp (turned off)
msvcp100 (Native, Builtin)
msvcr100 (Native Builtin)
wininet (Builtin)
Hotkeys unavailable
by tom on Friday August 15th 2014, 11:51
It seems that the hotkeys (in campaign mode) don't work.

Is there a fix for this?
uninstalled POL,
by Sam S on Tuesday July 29th 2014, 20:36
i'm still having the same problems after uninstalling PlayOnLinux.

My mouse pointer is invisible, i'm sure i'm only doing something small wrong, or the fix will be very simple, i'd really appreciate some help.
Unable to play Starcraft 2
by Sam S on Monday July 28th 2014, 0:28
hi.

I'm a total noob and most of this is way over my head. I was asked to scan the appDB for my problem, however i can't seem to find a similar problem.

I've tried installing SC2 in two ways. Firstly using this method:

www.nosuchthingastwo.com/blog/2014/04/28/starcraft-ii-on-ubuntu-14-04/

secondly using the script on this page www.playonlinux.com/en/app-661-Starcraft_II_Wings_of_Liberty.html

i can get the game up, but when i press play, the game goes into full screen mode, however my desktop shrinks into a smaller mode, leaving my mouse either invisible (most of the time) and only operating in the shrunken desktop.

can i please ask for some help? i'd be very grateful.
RE: Unable to play Starcraft 2
by Sam S on Tuesday July 29th 2014, 22:15
as above,

Further i've removed all previous versions of wine and installed 1.7.23 from mirrors.ibiblio.org/wine/source/1.7/wine-1.7.23.tar.bz2

i somehow managed to install this, to no avail.

My mouse pointer is still invisible lol.

further i've somehow managed to remove wineconfig.
Installer requires secondary logon
by tom on Saturday May 17th 2014, 8:16
When I try to install Heart of the Swarm from DVD, I get the following error:

"Battle.net requires the Windows Secondary Logon service to be enabled"

The error code is BLZAPPBTS0000K.
RE: Installer requires secondary logon
by tom on Monday May 19th 2014, 20:48
This error went away after using the provided mount command (# mount -o ro,unhide,uid=1000 /dev/cdrom /mnt/cdrom), but I then ran into another BattleNet related error. Using the downloadable installer resolved that new issue.
sound stuttering
by Thorus on Friday April 18th 2014, 11:46
Hi,

my sound is stuttering in Starcraft 2, strangely only ingame, in the launcher it works fine... I'm using wine 1.7.16 with newest SC2 version. Everything else seems to work fine. Is there sth I can do?
RE: sound stuttering
by Thorus on Friday April 18th 2014, 17:12
could fix it by installing ie6 corefonts and vcrun2005. Don't know which one is exactly needed to fix it.
RE: sound stuttering
by Thorus on Saturday April 19th 2014, 10:59
ok it wasn't the winetricks it was tcsched=0 in /etc/pulesaudio/default.pa
after 'load-module module-udev-detect'. But then my pulseaudio in gnome does not work anymore...
RE: sound stuttering
by Thorus on Sunday April 20th 2014, 5:20
Ok problem was that with that option pulseaudio does not come up, and thats why starcraft 2 worked.

With default-fragment-size-msec set to 5 in /etc/pulse/daemon.conf, both works pulseaudio and sound in starcraft
Arch64/32 Bit Problems with CSMT
by Torsten Thortroll on Wednesday March 26th 2014, 18:01
Howdy,

I just can't get the CSMT-Wine version to work. Everything else works... "well", but when I try the 1.7.10-CSMT or 1.7.4-CSMT (precompiled) it shows the b-net-launcher window for about 3 seconds till it crashes.

Even with everything on low I have just about 20-30fps.

My Specs (easier to copy all of it^^):
`ooo/ OS: Arch Linux
`+oooo: Kernel: x86_64 Linux 3.13.7-1-ARCH
`+oooooo: Uptime: 2h 1m
-+oooooo+: Packages: 952
`/:-:++oooo+: Shell: zsh 5.0.5
`/++++/+++++++: Resolution: 3840x1080
`/++++++++++++++: DE: XFCE4
`/+++ooooooooooooo/` WM: Xfwm4
./ooosssso++osssssso+` WM Theme: Smallscreen
.oossssso-````/ossssss+` GTK Theme: BSM Simple Dark [GTK2]
-osssssso. :ssssssso. Icon Theme: gnome
:osssssss/ osssso+++. Font: Sans 10
/ossssssss/ +ssssooo/- CPU: Intel Core i7 CPU 870 @ 2.931GHz
`/ossssso+/:- -:/+osssso+- GPU: AMD/ATI Cayman XT [Radeon HD 6970]
`+sso+:-` `.-/+oso: RAM: 2675MB / 16044MB
`++:. `-/+/
.` `/


I tried all tips from:
- WineHQ
- ArchWiki (sc2 and wine article)
- Custom Guides: www.gamersonlinux.com/forum/threads/starcraft-ii-guide.387/
- combinations of those

Any more ideas? :/ ... I really just don't want to go back to win just for 2-3 hours gaming a week :/.
RE: Arch64/32 Bit Problems with CSMT
by Anders Nylander on Monday November 3rd 2014, 6:45
If you're not in a hurry to use the Battle.net launcher, you can bypass it by pointing wine to SC2\Support\SC2Switcher.exe directly, allowing you to start the game without using the launcher.

Then just use a non-CSMT version of wine for the launcher when you need to update.
A HOW-TO for FGLRX users!
by Change on Thursday February 20th 2014, 12:16
I've read about a lot of people struggling with fglrx problems, but I've managed to get great performance for starcraft with fglrx with no bugs/glitches (as far as I've tested). So I thought I'd post a HOW-TO for people who want to run their AMD video hardware with the fglrx drivers. Here's what I did:

Install Opensuse 13.1 (make sure you choose the default KDE desktop).

Install all Opensuse 13.1 updates through the update manager.

Install 7zip through the add/remove software link in the launcher.

Install libpulse032bit the same way (just search for pulseaudio). If you don't install this, you will have no sound!

Installing libpulse032bit will automatically install the 32 bit alsa libs you will need as well.

search the opensuse website (or duckduckgo.com) for 'one click install fglrx opensuse'. This will take you to the one click installation page for the fglrx drivers. Of course select the 13.1 driver package and install. It suggests 2 repos to be added, but only one selected, so I selected the other repo too. I don't know if that makes a difference. You'll want to restart after installation of the drivers to allow them to start.

The same way as above, search for one click installation of playonlinux for Opensuse 13.1. I used the 4.2.2 version of Playonlinux. I don't mess with the repo settings suggested on this one.

Once in PlayOnLinux I don't use the script to install it, but you can if you want. I just keep a copy of SC2 installed on a flash drive and copy the folder over (within the program file of the virtual c drive that I create through playonlinux). It saves me the update process when I distro hop. I can confirm that it will install though, I've tested it.

VERY important point though is that you need to click 'tools', 'manage wine versions', and install 32-bit wine 1.7.4 - CSMT (1.7.10 - CSMT has regressions for me) and use that on your playonlinux drive for SC2. Also that drive will need vcrun2005, but you don't have to worry about that one if you used the script to install, it installs vcrun2005 for you. Then configure your playonlinux SC2 drive to use the 1.7.4 CSMT wine version.

I've used this on both my AMD FX-4350 system with an AMD 6670 video card AND my HP dv6z-6c00 laptop that has an AMD 3550mx llano chip with an added 7690M (6750M) DDR5 discrete video card. Both machines are working flawlessly for me, including voice chat and all (That's quit a feat with my custom ordered laptop specs, plus I do have a boost of performance from the discrete card. I've tweaked with it and can verify that the discrete card is working).

Maybe I'm lucky or I have 'just the right' video cards, but it all works great for me. I hope this helps someone else get their rig running the way they want it. If you have a beefier card, like a 6850 or above, try out the r600g driver (built into the kernel). It may not have the same performance as the prop, but you're already on linux, might as well fully support Free Software (as much as you can).
Latest patch and wine 1.7.11 crash on display FPS
by Ema on Friday January 24th 2014, 13:45
Hi guys,

Am I the only one or with latest patch and wine 1.7.11 if you press "Ctrl+Alt+F" to show FPS the buffer screen gets corrupted and the game crashes?

Can you please confirm?

Ubuntu x86_64, nVidia 680 GTX, drivers 331.20
patcher doesn't work when installed to ntfs-volume
by snejjj on Sunday January 19th 2014, 3:04
I tried installing SC2 to the ntfs formatted volume I use for data storage.
The first installation runs without problems, but when I exit the patcher and start it again, I get an Error saying something like "unable to change permissions of important file. Please log in as Administrator".
Installing it on an ext4-volume works fine.

Any ideas, how I could get it working on ntfs? Is this a bug, I should report?
RE: patcher doesn't work when installed to ntfs-volume
by Jason Alan Palmer on Wednesday January 22nd 2014, 10:10
According to the README ( source.winehq.org/git/wine.git/blob/HEAD:/README ), using NTFS is hit or miss:

"Supported file systems:
Wine should run on most file systems. A few compatibility problems
have also been reported using files accessed through Samba. Also,
NTFS does not provide all the file system features needed by some
applications. Using a native Unix file system is recommended."

You may be able to get SC2 working on NTFS, but I wouldn't count on many people being able to provide help in this area :\
FPS .....we at it AGAIn
by eugenio on Monday September 16th 2013, 6:08
i would like to have more infos about the Stefan Dösinger patch
how can double fps? it includes a fix for the "dual-core not used" issue? or something?
is not just an ARCH thing isn't it?
RE: FPS .....we at it AGAIn
by eugenio on Monday September 16th 2013, 6:17
i mean : what's dat? CSMT ? how can i enable this function?


"vanilla" ubuntu wine ppa
around 40 fps (measuring sec 30 in a replay)

44420 + __GL_THREADED_OPTIMIZATIONS=1
around 60 fps (measuring sec 30 in a replay)

cs + CSMT="enabled"
around 80 fps (measuring sec 30 in a replay)

how can i make this type of testing myself ?
RE: FPS .....we at it AGAIn
by fengshaun on Monday September 16th 2013, 15:38
All the info is in the bug report. You need to download wine sources and apply the patches and then compile it. To enable csmt, search for "how to enable csmt in wine" (I believe it's a registry key). As for __GL_THREADED_OPTIMIZATIONS=1, just prefix the wine command with it like so:

$ __GL_THREADED_OPTIMIZATIONS=1 wine /path/to/sc2.exe

or export it in you ~/.profile:

export __GL_THREADED_OPTIMIZATIONS=1

Hope this helps.
RE: FPS .....we at it AGAIn
by eugenio on Tuesday September 17th 2013, 10:29
got , it THX
i use wine to play sc2 since the first release
't will be nice to have FPS doubled
i give it a try!
Updater hanging
by Kenshi on Sunday September 8th 2013, 3:01
I managed to install SC2 from the DVD on Debian. It appeared to actually download the first patch, but then said it was "updating the updater" and wouldn't continue. Every time I restart it now, it says it's applying patch 1 of 24 and that there are 0 kb remaining but then pops up saying it's checking for updates and gets stuck there.

I checked a couple of things that fixed similar problems for others. I do have libasound2:i386 and libjpeg8:i386. (I'm on a 64-bit OS.) I installed IE6 using Winetricks. I tried downloading the patches using a Bittorrent client but that didn't help. (Also, it only downloaded about 8 megs. All the patches are around 14 gigs.)

I'm not finding any more solutions. Anyone have any more ideas? I'm getting withdrawals.
RE: Updater hanging
by Ben on Tuesday July 1st 2014, 19:11
I'm having a similar problem on Linux Mint 16 64 bit.
garbage
by Gregory Beauregard on Tuesday August 20th 2013, 19:00
Since submitting the "garbage" report, I have done a significantly larger amount of testing to no avail. After testing all sorts of combinations of clean 32-bit and 64-bit WINE prefixes with and without various winetricks overrides, I sought others to reproduce my issue. Two other people running ~testing Gentoo amd64 (I'm on ~testing) were able to get SC2 installed on a clean 64 bit prefix using a method I exactly reproduced, but to no avail. Furthermore, they confirmed we had comparable USE flags for WINE. Glancing at console output would very tentatively suggest the issue is net-related, but I cannot ascertain what. I have exhausted my personal ability to attempt fix the issue, so if any of you have any ideas, I am open to suggestions.
Failed to run a required program (BLIZZARD SETUP) Error code: BLZPTS0000J
by Oliver on Thursday August 15th 2013, 14:57
I have been surfing forums for weeks, trying to solve this problem. I've installed several versions of wine, including the recommended (for WOL) 1.5.10. x86, through playonlinux.

I always receive this error. I have gone through playonlinux's game list, and installed it from there, and also used the option to install a file from another directory. I install the game from cd, and it goes well until i'm ready to update, it goes to 100% and then shows this. I've installed the ie6 package, the dotnet40 package, and i had 2 seperate virtual drives WITH AND WITHOUT the plugin mono.
and the DLL overrides in winecfg (set to WIN XP):
dnsapi (bullitin)
mshtml (native)

before i added those though, i noticed another mshtml (native, bullitin). should i remove that one? ok, continuing.

i had tested on one virtual drive where i manually browsed for the cd's installation, and another drive where i went into the gametab on playonlinux, and found starcraft. the manual way made sound problems for me, and the video would skip too fast in the installation window. i'm sure that can be fixed, but the other way did not create any installation problems. both arrive at the problem in the subject of this post. there's a link for the error code:
(THIS IS THE ONE I RECEIVE: BLZPTS0000J)
us.battle.net/support/en/article/BLZBNTBTS0000J

i've tried running S2Switcher from the support folder. I can't find the agent.exe anywhere in the recommended locations in other forum posts. ( wine .wine/drive_c/users/Public/Application\ Data/Battle.net/Agent/Agent.exe --nohttpauth )

i've tried installing it from the installation file available at battle.net, and i receive a different error, before installation even begins:
"No installer data could be found. If this problem persists, please contact Blizzard Technical Support."
i ignored the installer from battle.net method from here, because i felt one step closer just using the cd, with a full installation. the problem after i install with the cd, is the updater.

Can anyone help me? Thanks for reading..appreciated.
RE: Failed to run a required program (BLIZZARD SETUP) Error code: BLZPTS0000J
by Oliver on Friday August 23rd 2013, 23:05
Just in case of the scenario where this is being ignored because i put blizzard setup in parenthesis, I just want to clear something: It actually said that in the error, in parenthesis. That's not me adding it in. I understand that error code is one many got in the past, but it was for "(Agent)". not "Blizzard Setup".

I've also tried the echo 0 | sudo tee /proc/sys/kernel/yama/ptrace_scope command, just I forgot to add it in my original post
DOWNLOADER 0% PROBLEM
by David Leo on Wednesday June 26th 2013, 14:18
I GOT IT WORKING

downloader was stuck at 0 % not doing anything...

Well this is because the downloader is creating 10gb worth of files on your disk, so at first it will act slow and sluggish....

WAIT a while

open system monitor and look at the cpu tab and we need to kill a few running processes... im on ubuntu you can open it by running gnome-system-monitor in terminal

there were a few processes running that i pretty much closed the ones that looked like they were opened by the launcher EXCEPT agent.exe, blizzard-launcher.exe, wineserver , and explorer.exe services.exe ...

I closed stuff like rundll.exe nc.exe winedevice.exe plugplay.exe , there was some weird KDEsomething.exe , which is weird I dont use KDE.. There was one specific one I cant remember the name of but it was probably the reason why it worked, it had a weid name like kublow.exe or something, after i closed these the installer started to progress, and im installing it now .. hope this helps someone
RE: DOWNLOADER 0% PROBLEM
by David Leo on Wednesday June 26th 2013, 14:25
I can confirm it working on 12.04 ubuntu, I am in a bot match as i type this, everything works flawlessly so far
Blizzard Downloader doesnt do anything
by Alexander Nigol on Tuesday April 9th 2013, 22:05
Hey guys,

I'm trying to install HotS via the downloader.

The Blizzard Launcher lunches fine, does some updating/checking stuff, and I get to the installation splash screen. I select the directory and click install, and nothing happens. The progress stays at 0.0%, and if I click on the options in the top left, the downloader preferences are greyed out. Same for info>connection information.

Same sort of problem with D3 installer as well, where the launcher seems to run fine except for the not downloading anything part.
RE: Blizzard Downloader doesnt do anything
by Kellan Pine on Thursday April 11th 2013, 11:36
That's very strange. I had none of those issues at all with either WoW or SC2. I'm assuming the Blizzard Downloader works the same with all of their games.

What version of wine do you have?
RE: Blizzard Downloader doesnt do anything
by snejjj on Sunday January 19th 2014, 2:50
The downloader is quite slow at the beginning. Just wait a few minutes, then it runs fine (at least with me).
Massive Performance Boost (Nvidia)
by Kellan Pine on Tuesday April 9th 2013, 14:42
I installed the game with no problems, but found it nearly unplayable from low fps. I was running at about 9-18 fps before this fix. Now I'm running at 60 fps consistently.

For me, the problem was that wine wasn't causing my nvidia gpu to adjust it's clock speed. To solve this problem, the nvidia driver needs to be set to maximum performance. This can be done in two ways.

1.) Run your Nvidia X Server Settings program and under your GPU (GPU 0 for me) select PowerMizer. You'll see a drop menu at the bottom. By default, it's set to adaptive. Change this to "Prefer Maximum Performance." This setting will only be effective during your current x server session.

2.) Force your driver to always run your GPU at maximum performance. Note that this method will reduce battery life for laptops. To do this open the file /etc/X11/xorg.conf with your text editor of choice. Make sure you do so with root permissions. Under the section titled "Device" you will need to add the following line:

Option "RegistryDwords" "PowerMizerEnable=0x1; PerfLevelSrc=0x2222; PowerMizerDefaultAC=0x1"

Make sure that there is a space after each semicolon.

This is the method that worked to increase my performance. I don't promise the same results to anyone else. If you have an nvidia gpu and are experiencing difficulties with your performance in game then it might be worth a shot.

I can only verify that this is a Starcraft 2 problem. I can't confirm whether or not performance will jump in other games.
RE: Massive Performance Boost (Nvidia)
by samuel on Tuesday April 16th 2013, 16:46
Hi,

Finally, I found my solution...

I already use all tweaks listed on this thread (patched wine version, Nvidia powerMixer set to high, CPU to High, taskset and so on...) but never successed to have better than medium quality playable...

I have tried enlightement and now I can play in high ! (with all other tweaks as I do not change my script...)

Before I used cinnamon and I think the big problem is compositing : I didn't find a way to disable compositing on cinnamon but enligthement have an option to disable it natively on fullscreen windows.

I know that kde have this option too, if someone that use kde can test this (disabling compositing for fullscrenn windows when playing SC2...) and give a feedback it can be a good info..

The difference between cinnamon and enligthement on SC2 performances is huge on my laptop and it's the only explanation i see...

If someone know how to disable compositing on cinnamon (on fullscreen windows...) I'm interested to give it a try...

PS : I am really happy to finally find a working solution because since that 2.X patches it was not a good play experience for me (lags...)

BR
GLSL support for performance but with lighting bug
by John Sun on Monday April 1st 2013, 1:08
hi everyone,

I'm using i7-3520M, kernel 3.8.4, Debian Sid, Mesa 8.0.5.

I found enabling GLSL support improves my fps, getting around 20 fps during late game with swarm hosts and lots of lings. Without GLSL support, it dropped under 10 and is nearly impossible to micro.

However, as dza mentioned before, GLSL support causes lights emitted from scv, tech labs and protoss building in constructions flicker in the whole screen.
bugged scvs looks like this:
www.youtube.com/watch?v=tsaEd-dTAlQ

Some windows users with ATI cards suffers the same problem, but seems to be able to solve this with driver cleanup/reinstall/update:
us.battle.net/sc2/en/forum/topic/218522146?page=1

Is it possible it's a bug in the mesa driver? or just the GLSL support of wine?
RE: GLSL support for performance but with lighting bug
by John Sun on Monday April 1st 2013, 1:52
more info:

most of the time the beams don't show initially but after 1-2 minutes they show up one by one.

resetting the graphic options (set shader to medium and back to low) cleans up the mess but after a couple of minutes the beams show again.
RE: GLSL support for performance but with lighting bug
by John Sun on Monday April 1st 2013, 12:29
I managed to install mesa 9.0.3(both 64bit for my system and 32bit for wine) and the lighting bug no longer persists. now I have around 20 fps in the mid-late game.

Disabling GLSL makes fps in the early game higher, but drops sharply below 20 after my base is saturated with harvesters. With GLSL enabled it seems fps is hold around 40-50 in the early game.

Hopes this info help someone with Ivy bridge.

Chears!
Getting SC2 to run using open source r600g radeon drivers
by Eric on Thursday March 28th 2013, 5:18
I recently upgraded to Ubuntu 13.04, but I used the server install dvd to eliminate some unneeded packages. I ran into problems trying to run SC2 using the free r600g drivers.

I got this error while trying to launch SC2:
"wine libGL error: failed to load driver: r600"

running with LIBGL_DEBUG=verbose gave me this:
"dlopen /usr/lib/i386-linux-gnu/dri/r600_dri.so failed"

The problem is that we are missing some 32-bit libraries. To solve this problem, run:

sudo apt-get install ia32-libs-multiarch

The next problem was missing textures and missing portrait pictures. The problem is that we are missing the 32-bit st3c libraries. To fix this, run:

sudo apt-get install libtxc-dxtn-s2tc0:i386

Installing these libraries fixed all my problems!
RE: Getting SC2 to run using open source r600g radeon drivers
by Catalin Patulea on Sunday December 22nd 2013, 18:38
On Ubuntu precise 32-bit chroot inside of Ubuntu precise 64-bit, on a Lenovo X220 (Intel HD 3000 Mobile/Sandybridge Mobile/i965) with Wine 1.7.9 built from source.

I had a black loading screen, missing background art in menus, and a lot of missing textures ingame. Installing libtxc-dxtn-s2tc0 (inside the chroot of course) fixed all of these.
HotS crash random after a while
by RB on Friday March 15th 2013, 13:11
HotS crash random after a while, sound stop to work than in few seconds the game crash.
Ubuntu 12.10
Wine 1.5.25
RE: HotS crash random after a while
by Michael Grigoriev on Saturday March 16th 2013, 19:59
Downgrading to 1.5.24 from ppa:foresto/winepatched seems to help.
RE: HotS crash random after a while
by RB on Sunday March 17th 2013, 16:31
Thank you for the help but, there was no 1.5.24 on that ppa so I used 1.5.25 and 1.5.19 none of them helped.
I have an nvidia gtx 550.
The problem seems related to some audio issue. I don't know how to give other irfomation.
Regards
RE: HotS crash random after a while
by Alexander Varnin on Sunday March 17th 2013, 21:44
There was sound buffer overruns, that seems to be fixed by adding string
load-module module-alsa-sink fragment_size=4096
to /etc/pulse/default.pa

But this problem is still there for me. I've tried 1.5.24 from playonlinux, but it didn't helped. I'll try something from ppa above.
RE: HotS crash random after a while
by Alexander Varnin on Sunday March 17th 2013, 22:31
I've tried 1.5.24 from ppa:
launchpad.net/~foresto/+archive/winepatched/+build/4308544
Now it is usually hangs up on mission loading screen.
RE: HotS crash random after a while
by Alexander Varnin on Sunday March 17th 2013, 23:00
Both for 1.5.24 and 1.5.26 i'm experiencing crashes.
Log always is in the same place when crash. It ends with

Request Issued: POST /game/s2_ruru
{"region":"EU"}
Response: 200
{}
Handle Event: "auth validation event"
Handle Event: "auth validation event"
Handle Event: "auth validation event"
Handle Event: "auth validation event"
Handle Event: "auth validation event"
Handle Event: "auth validation event"
Handle Event: "auth validation event"
Handle Event: "auth validation event"
Handle Event: "auth validation event"
Handle Event: "auth validation event"
Handle Event: "auth validation event"
Handle Event:

Full log: pastebin.com/d0baF2Rn
RE: HotS crash random after a while
by Michael Grigoriev on Sunday March 17th 2013, 22:54
Yeah, I spoke too soon. It seemed to have been working for a while, but is now back to consistently crashing.
RE: HotS crash random after a while
by RB on Sunday March 17th 2013, 18:48
Same problem with wine 1.5.26
RE: HotS crash random after a while
by Michael Grigoriev on Monday March 18th 2013, 0:54
Another possible lead:
Ran with a higher debug level, and saw a bunch of messages regarding GL being unable to allocate memory.
Set VideoMemorySize=1024 (even though my card has 2GB), and lowered texture quality to Max (not Ultra), and was able to play though several missions without crashing.
RE: HotS crash random after a while
by RB on Tuesday March 19th 2013, 5:47
Lovering texture details from Ultra to Medium seems to help delaying the crash but not to avoid it.
Thanks a lot
Regards
RE: HotS crash random after a while
by Nicodemus on Monday March 18th 2013, 10:09
confirmed. having the same error with Crossover Linux 12.1.2 (Wine 1.5.15.)

Is there an open bug for this issue?
RE: HotS crash random after a while
by Alexander Varnin on Tuesday March 19th 2013, 15:43
RE: HotS crash random after a while
by Nicodemus on Tuesday March 19th 2013, 9:07
is your GPU set to Adaptive or Max Performance? SC2 has issues with dynamic frequencies, so i switched from Adaptive to Max Performance and that seems to have helped a lot.

i haven't crashed yet since doing it. hope it holds.
RE: HotS crash random after a while
by RB on Wednesday March 20th 2013, 7:27
Thanks for the help, it seems to help a lot, true, but it doesn't solve the problems. At least it is possible to play far long than before and complete the sinle player.
Regards
FPS is too LOW
by jon on Thursday March 7th 2013, 22:37
My computer set up isnt great but in windows I run high without a struggle. In wine I run low at 20fps tops. Quad core , 2.4gthz , 4g ram , ati 6870. I want to post some of my findings for anyone who cares to look into them.

1) My first install I got 20 fps(low settings). After I quit the program and ran again i was getting 10-12. At that time i was running 2xati5750 crossed over so i thought maybe linux , or wine wasnt using them both. So i put in my 6870 and still 10 fps.

2) I tried running in windowed mode to see if that would help with fps and to monitor task manager resources and priorities. It did help with my fps. Back up to 20. My windowed mode was about 1/3 of my full screen.

3) I noticed in my resources that my 4 cores never went above 60% , and my ram never hit 70%.

4) I also noted that in the priority tab , sc.exe was using more than 100% cpu. Strange i thought , since how can you use more then 100% of your cpu. So im thinking , maybe theres an error in programming there where the program thinks its using all the cpu but its not?

5) Another curious thing is that pulse audio priority was set to very high yet everything else was set to normal. Maybe we would get more performance out of tweaking sc.exe to very high? If only i knew how...Im sure one of you will figure it out.

6) Doing some searching on optimizing all of this , I found a comment in this thread about tweaking the registry. I dont remember it all but i typed it all out and tried it. Didnt make a whack of difference in my test environment.

I will reply more to this comment if I make any head way.
RE: FPS is too LOW
by jon on Thursday March 7th 2013, 23:46
Ok so I found out how to change priority. I set sc2.exe to very high and it didnt make a whack of difference on fps.
RE: FPS is too LOW
by jon on Friday March 8th 2013, 1:42
Ok so ive done more research.

There is an official thread about a performance mismanagement in WINE thats very apparent in starcraft2. Im not sure why this has been opened 3 years ago and last reply was 1 year ago with no progress made and its bug status is NEW?!?!?! So i left a reply there.

bugs.winehq.org/show_bug.cgi?id=24558

Also made notes while reading those threads and this one for possible solutions or workaround or anything that may improve performance. Like i said earlier ive tried shrinking the windowed mode down , tried changing drivers , even vid cards and some registry fix. Those all didnt do anything that ive noticed.

Well i just tried 2 more options. I read somewhere about variables.txt file an modding those values abit. Even watched a youtube video about it. Meh , still to no avail.

However , I also read somewhere to up the cpufreq from ondemand to performance. That helped. I was getting 20 fps max before on low setting and now im at 25 most of the time sometimes i hit 26. Doesnt sound like much but still is a 25% gain.

Anyhoo , I hope my research helps anyone , someone. Maybe earn you 5 fps gain or save you some time from researching dead ends.
RE: FPS is too LOW
by jon on Friday March 8th 2013, 21:50
Finally got it going decent now. Not as good as in windows but playable. On as low as it can go I can spike to 100 fps.

Turns out I didnt have the right kernel for the video driver. Thats what I get for swapping out so many video cards. In the end I found nvidia card worked better.

Also using cpufreq which improves performace prolly 50% more fps.
Very low FPS
by Ian on Wednesday March 6th 2013, 17:19
Core i7 950
6GB DDR3
nVidia GeForce GTX 670
Xubuntu 12.04 LTS 64-bit
Wine version 1.5.19 through 1.5.25 (tested)

I have not been able to get my in-game FPS above 30. Menus seem to be capped at 60 FPS, but when a single player campaign level is running it hovers around 15-20 FPS and never goes above 30. I have tried the various combinations of patches and environment settings as well as the old registry settings listed on this AppDB page. One or two actually decreased performance but none were able to improve it.

Given that my system isn't exactly outdated (yet) I should be able to crank it up well past 60 FPS, no? I'd really love to smooth it out before the expansion drops. Thanks in advance for your suggestions.
RE: Very low FPS
by Henrik Wennergren on Thursday March 7th 2013, 3:36
Have you checked that your cpu cores are not throttled, i.e. set to 'OnDemand' instead of at the recommended 'Performance'? - This is only applicable when CPUFREQ support is active though, I think.

Have you also tried limiting the SC2.exe process to a single core or maybe two?
RE: Very low FPS
by Ian on Thursday March 7th 2013, 17:19
cpufreq was set to 'OnDemand'. I changed it to 'Performance', but it made no difference in the FPS. Watching my cores in htop while the game is active, they are not really being stressed. I also taskset'd the PID to use 1, 2, and auto cores; still no difference.

Thanks for the suggestions!
RE: Very low FPS
by Danilo Riffo on Thursday March 7th 2013, 8:48
do you have vertical sync enabled?
watch for SC2 asking for it, your video driver forcing it or your window manager forcing it.
RE: Very low FPS
by Ian on Thursday March 7th 2013, 17:40
Vertical sync is off in SC2, but Sync to VBlank is on in nvidia-settings. I turned it off and restarted SC2 and the FPS was still capped at 60. The WM and compositor for Xfce 4.8 do not, to the best of my knowledge, do any OpenGL stuff at all.

This might begin to explain why the FPS is capped. To tell the truth, I don't care so much about that. As much as the Windows world pushes >60 FPS, my research tells me that >60 is unnecessary. Do you agree?

Thank you very much for sharing this idea. The biggest problem by far is the low FPS during the missions. 20 FPS just isn't going to cut it when playing Kerrigan :)

Keep it coming.
RE: Very low FPS
by Dmitry Golubev on Thursday March 7th 2013, 19:04
Well, the cap can be increased in variables.txt (set for example frameratecap=100 there). You won't notice any improvements though, unless you have a monitor that is actually capable of such FPS (forget about LCD), and even then you won't see any significant changes...

As for the low fps, please try the wine patch mentioned earlier in comment by christian on Sunday January 6th 2013, 6:45 (search it here), and let us know if it works.
RE: Very low FPS
by Ian on Thursday March 7th 2013, 19:19
Right now I'm running wine from the repo that incorporates that patch. I can switch back and forth between the patched wine and the stock wine and not see a difference in frames/sec. Shame, too, because I had high hopes for that patch after reading christian's comments :(
RE: Very low FPS
by Dmitry Golubev on Thursday March 7th 2013, 19:40
what driver version do you use? also, check if the commandline is correct (if i remember correctly, in some references there was a typo somewhere). this patch will only have effect with nvidia 313.x driver and correct commandline.
RE: Very low FPS
by Ian on Thursday March 7th 2013, 20:18
I have tried 310 and 313. Reverted back to 310 since 313 gave me unrelated problems. Versions 304, 310, and 313 function the same for me with and without the patch.

I checked the command line params with a few different threads to make sure they agree. I don't _think_ I have a typo in my startup script...

---
export WINEDEBUG=-all
export __GL_THREADED_OPTIMIZATIONS=1
export LD_PRELOAD="/lib/i386-linux-gnu/libpthread.so.0 /usr/lib32/nvidia-313/libGL.so.1"
wine "Starcraft II.exe"
---

I agree this smells like I'm making a silly mistake. I'd love to find out what it is...
RE: Very low FPS
by Henrik Wennergren on Friday March 8th 2013, 4:26
The Shader setting has the biggest impact on my setup.
In SC2 settings under graphics, try with setting shaders to low. It may not look pretty, but the FPS should go up.
RE: Very low FPS
by samuel on Friday March 8th 2013, 12:37
Hi,

Same here since 2.0.4 patch ...(same with 2.0.5)

I have all tweaks (taskset, regedit, specific patched wine version with GL optimizations, dedicated X server, nice, few settings in Variables.txt and so on) and did not find the solution...
I can succeed to have correct FPS (50/60) on medium to low (medium with 3 param to low) but all 10 sec I have a huge lag that not allow me to play. On ladder, i'm seen all 10 sec as not available and players must wait for me...

I'm waiting HOTS (pre puchased since 2 month now) and it's this one that breaks all SC2 under Linux (I don't have windows so I do not have an easy solution).

Alienware M11xR3 : Arch linux x64, Nvidia GT540M, core i7-2637M (4 cores), Nvidia driver 313.26 with bumblebee 3.1

If someone find the solution...
RE: Very low FPS
by Ian on Friday March 8th 2013, 18:50
Reducing shaders from Medium to Low increased my fps from 20 to 25. And, yes, it looks significantly worse :)
RE: Very low FPS
by Ian on Friday March 8th 2013, 17:59
I see that I'm not the only one to have performance issues recently. Several other people have posted here about getting low fps. Bottom line here is that I've got an i7 CPU, plenty of RAM, and a shiny new GTX670, and I'm still getting 20fps. Something is wrong.

Does this warrant a formal Wine bug report? If so, how can we get enough detail about the problem to make it useful (other than just "Starcraft 2 runs slow")?

I appreciate everyone that offered their two cents to help work around the problem. Thank you all very much.

Ian
RE: Very low FPS
by samuel on Sunday March 10th 2013, 15:01
Hi,

Agreed with that but can't help (I don't know what is the best procedure).

FYI, I've managed to copy my SC2 install dir on a fresh ntfs partition to test under windows (windows has only 20 Go on my computer only to not remove it completely) and it's the same at a lesser level. I have lags under windows too... (but it's playable more easily).

I have completely reinstalled under Linux to see if it's my install and no : still unplayable...

Very annoying as I have just receive my sent confirmation for HOTS ...

Ps : looking on google, and there are a lots of windows users with the same problem but didn't find an applicable solution for Linux...

Hopes somebody will find a quick workaround (or patch)...

Tried to disable USB as there is a bug for MacOS X involving usb and disabling laptop_mode_tools in case of but nothing helps...
RE: Very low FPS
by samuel on Thursday March 14th 2013, 13:09
Hi All,

We aren't alone, there are windows users that complains too on battle net forums.

Anyway I found a solution working for me :
- apply regedit on top of this page (not sure if this is mandatory)
- taskset -p 2 `pidof SC2.exe`
- PRIMUS_libGLd=/usr/lib/nvidia-bumblebee/libGL.so.1 optirun nvidia-settings -a [gpu:0]/GPUPowerMizerMode=1 -c :8
- kill `pidof Agent.exe` (not sure if it's usefull but I added this as there is a download bug...)
- all processor set to performance
- wine 1.5.25 of wine 1.5.22 patched with NVIDIA optimizations (but now with HOTS applied it's the same...)

I can play online at medium without any problem (always little lags on vcs but a lot of windows users have so...)

PS : I use a script to do all this ;)

BR
RE: Very low FPS
by christian on Friday March 15th 2013, 13:34
Hi,

i just double checked the patch i mentioned before and the performance improvement in HOTS is 100%.

Without the atch i get ~50fps just looking at my starting base, with the patch i get 100fps.

My Sys:

Intel(R) Core(TM) i5-3570K@4.2ghz
8 GB RAM
Gtx 560 ti
Ubuntu 13.04
Samsung SSD 830

Here is my starting script, adjust it for your needs:

##############################################################
#Set wine version and wine settings
export PATH=/games/winebuilds/wine1522-nvidia/bin:$PATH
#export WINEDEBUG=-opengl,-wgl,-d3d
export WINEDEBUG=-all
export WINEARCH=win32

#Move to game directory

cd /games_on_ssd/cxoffice/starcraft2/drive_c/Program\ Files/StarCraft\ II/

#Disable VSYNC
export __GL_SYNC_TO_VBLANK=0

LD_PRELOAD="libpthread.so.0 libGL.so.1" __GL_THREADED_OPTIMIZATIONS=1 wine Support/SC2Switcher.exe
###################################################################

Please be sure to do the following if u use ubuntu:

- Use CCSM and disable detect refresh rate

And in addition for all other distris and Ubuntu:

- Set cpu governor to performance (makes a huge diff)
- Disable vsync in nvidia settings and make sure the settings are applied before starting the game
- Disable vsync and antialiasing in sc2

Please try and report back :) ..

many thanks,
Christian
RE: Very low FPS
by samuel on Wednesday March 20th 2013, 5:49
Hi,

Can you give registry Direct3D keys that you have ?

I will try the exact same configuration this evening (but D3D keys are very important...)

Last tests I made, I had the same result with or without patch...

As I have dual core with multi threading (4 cores seen...), I use this :
tastset -p -c 0,2 `pìdof SC2.exe`. This force SC2 to use my 2 reals cores.
I think I have better result with this (try it if you have same kind of configuration)...
RE: Very low FPS
by christian on Wednesday March 20th 2013, 13:16
Sure, here they are. I guess the performance gain also depends a bit on the cpu power:

Things i have changed:

UseGLSL->disabled

So, not very much. The rest is default. Disabling GLSL makes a noticable difference even without the patch.
RE: Very low FPS
by samuel on Thursday March 21st 2013, 16:45
Hi,

I have done few test by starting a 2v2 in low versus AI.

With patch : 75 FPS without 55.

This number is only at the start of the game, this can drop on big battles...

Even with these FPS that are normally sufficient, I always have these lags that occurs randomly. This is very strange to have 75 FPS with lags...

PS : as said, I think it's a Starcraft bug more than a wine problem as on windows this occurs too...I only try to find a workaround...

Last thing, I have compared 1.5.22 patched to 1.5.26 wine version...this last one have a stracraft 2 crackling sound problem solved
Lag upon clickable object
by Shawn on Monday March 4th 2013, 19:47
Using gentoo AMD64 with wine version 1.5.24, Nvidia 313.18 and the following USE flags

[ebuild R ] app-emulation/wine-1.5.24 USE="X alsa gecko jpeg lcms ldap mono mp3 ncurses nls openal opengl perl png prelink ssl threads truetype udisks win32 win64 xinerama xml -capi -cups -custom-cflags -fontconfig -gphoto2 -gsm (-gstreamer) -odbc -opencl -osmesa -oss -pulseaudio -samba -scanner (-selinux) {-test} -v4l -xcomposite" 0 kB

I get decent framerate (~120) on an idle screen but upon hovering over a unit, building, mineral, etc the frames drop to ~15 making the game all but unplayable. Has anyone else encountered a similar issue?
RE: Lag upon clickable object
by Jason Alan Palmer on Monday March 4th 2013, 20:24
I don't have the same problem. I'm using wine 1.5.25 built with the following:

USE="X alsa cups gecko jpeg lcms ldap mono mp3 ncurses nls opengl oss perl png prelink ssl threads truetype xcomposite xinerama xml -capi -custom-cflags -fontconfig -gphoto2 -gsm (-gstreamer) -odbc -openal -opencl -osmesa -pulseaudio -samba -scanner (-selinux) -test -udisks -v4l"

I'm using nvidia-drivers 310.32. (I run stable except for wine, basically.)

It looks like the differences between us are the nvidia driver version and the xcomposite support. Those should be two easy changes you can test out.
RE: Lag upon clickable object
by Shawn on Monday March 4th 2013, 21:48
Hmm, I tried both and didn't notice a difference except now during run a lot of the following message appear:
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.

which seemed to be related to dx9 so I ran:
winetricks d3dx9 d3dx9_43 xact_jun2010 d3dcompiler_43

to make sure I had everything and still it appears (and I now have a lot of overrides in winecfg).
sc2 insists on being fullscreen
by Kaito on Sunday February 24th 2013, 18:00
Hey,

After the last patch, sc2 seems to resize the desktop upon starting in fullscreen mode, even if I fiddle with the values in Variables.txt. Previously, it would run "fullscreen" inside the virtual desktop, and stay there, making it quite convenient to manage in a tiling window manager.

Running it in windowed mode draws some windows-y window decorations around the window inside the virtual desktop, which is annoying. Fullscreen (windowed) fails to correctly detect the virtual desktop size, and I end up with empty space on both sides of the game.

Any ideas how to force it to stay at the size I want it to stay?
failed to run with optirun
by Xu Yao on Monday February 18th 2013, 2:32
My laptop use optimus card ( i7 3612 + GT650m ).
When I run "wine Starcraft\ II.exe", it works, although it can only run s in the low qulity mode. However, when I use "optirun wine Starcraft\ II.exe", problem occurs.
When I press the "start" bottom on the welcome dialog, the program show me a dialog writes "An error occurs when starting Starcraft II, please try again" (actually, it's written in Chinese, I don't the exact words) instead of start the game and closed. Any one can help me?
RE: failed to run with optirun
by samuel on Friday March 8th 2013, 3:47
Hi,

It's a known issue for application like starcraft that forks (when you click start, process forks to launch the game).

Simple solution is to start "optirun bash" before starting your optirun command.

PS : with 3.1 optirun version and "optirun -b primus" mode, I don't know if this problem is always the same.
r6034
by christo on Thursday February 14th 2013, 15:05
So finally I could run the game. I use wine 1.5.23, and nothing else. No libraries.

If I dont use this command in terminal:
"echo 0|sudo tee /proc/sys/kernel/yama/ptrace_scope"
There is no chance to start the game. After I click on the play button on blizzard updater window, the game exits with this error message:

"Runtime Error!

Program: C:\Program Files\Star Craft II\Versions\Base23260\SC2.exe

R6034"...

If I use that command, the game maybe starts, and I could use everything in SC2, but sometimes crashes with the same error. Randomly.
Sometimes I can play for hours, sometimes the game crashes while loading the first ladder game. (But never crashes in the menu).
A way to greatly improve performance for Nvidia GPU Users
by christian on Sunday January 6th 2013, 6:45
Hi,

right now there is a way to greatly improve performance in SC2 if you own an recent Nvidia Card.

If your card is capable of using the threading optimizations in the newer Nvidia drivers and your are willing to recompile wine for yourself, try the following:

Read the bug: bugs.winehq.org/show_bug.cgi?id=11674 beginning comment 260. It gets very interesting there.

Apply the patch : bugs.winehq.org/attachment.cgi?id=42868
And compile wine afterwards.

Then start Starcraft the following way:

export PATH=/YOURSELFCOMPILEDWINE/bin:$PATH

LD_PRELOAD="libpthread.so.0 libGL.so.1" __GL_THREADED_OPTIMIZATIONS=1 WINEDEBUG=-all wine "Your Starcraft 2 Binary"


Its very important to use WINEDEBUG=-all, otherwise the game will perform worse with the patch.

Please give it a try and report back your results.
RE: A way to greatly improve performance for Nvidia GPU Users
by christian on Monday January 7th 2013, 6:47
Forgot to add that there also is a repository mentioned in the bug thread with a precompiled wine which includes the patch. Makes it much easier to try the patch !

Read: bugs.winehq.org/show_bug.cgi?id=11674#c275
RE: A way to greatly improve performance for Nvidia GPU Users
by Dmitry Golubev on Tuesday January 8th 2013, 13:00
Tried wine 1.5.20 from that repository vs. generic wine 1.5.20. With Nvidia 313.09 (beta) drivers on my old VAIO notebook (32bit Ubuntu 12.10, Core2Duo 2.4GHz P8600, 4GB RAM, Nvidia 9300M GS) and the performance became worse by about 20%. Probably the videocard is too slow for the game...

It is weird, though, that the patch alone decreased the performance by about the same amount as enabling THREADED_OPTIMIZATIONS in vanilla wine, and enabling THREADED_OPTIMIZATIONS on patched wine did not give any measurable performance gains. I did not perform extensive tests though... only watching few battles from a single replay with FPS display enabled, so I can't give any statistically relevant numbers.
Mouse cursor doesn't work when alt tabbed, after wine 1.5.14
by Daniel on Tuesday October 30th 2012, 2:10
When I alt tab, my mouse cursor stays as the sc2 one and clicking has no effect on the sidebar, other applications, etc.
Anyone else have this problem and know a fix?

d
RE: Mouse cursor doesn't work when alt tabbed, after wine 1.5.14
by Sam Sulcer on Tuesday November 6th 2012, 21:12
What worked for me was installing the complizConfig-settings-manager(sudo apt-get install compizconfig-settings-manager), going to the windows management section, and checking 'application switcher'.
RE: Mouse cursor doesn't work when alt tabbed, after wine 1.5.14
by kantlivelong on Sunday November 11th 2012, 10:08
I have the same issue for SC2, D3, and WOW.

I'm using Cinnamon and would love to fix this.
Increased FPS from 30 to 80
by Fake Name on Tuesday September 25th 2012, 15:46
If your game runs well in windows but crappy on Ubuntu:

I did all the registry edits and got ~10 fps up from 20, but I typed this in the terminal:

taskset -p 2 `pidof SC2.exe`

and found a remarkable increase in quality. (20-30 fps - 70-80fps)

It makes starcraft use 2 cores instead of 50% of 4. All I know is I can play now! YAY!
RE: Increased FPS from 30 to 80
by Mihaly Bak on Thursday September 27th 2012, 13:28
another trick I use for both Starcraft and diablo is a really nasty one but it works very good.

You take a prompt and run:
mihaly@aero64:~$ cat /dev/urandom > /dev/null

This will force the system to run at full speed, at the cost of using up one core tho :/
RE: Increased FPS from 30 to 80
by ReCon on Sunday October 28th 2012, 16:45
Well, can you tell me which hardware you're useing?

I'm actually on a i7 with an nvidia 650m (with 2GB) and I get at least 35 FPS with your tweak. Anyway, later in bigger battles, this drops down to 10-15 FPS.

I tried to set it with taskset, to 1 core, 2 cores, 8 cores and ff (whatever that means, but normally all programs get started with ff at my machine).

Thanks a lot.
RE: Increased FPS from 30 to 80
by Tomik on Monday October 29th 2012, 5:55
Same for me, doesn't help on my Phenom X4 and Nvidia GTS450, I have only about 30FPS on LOW.
RE: Increased FPS from 30 to 80
by Fake Name on Thursday November 22nd 2012, 0:13
Hey.

My "increased fps from 30-80" was an overstatement. I saw it hit 80 once and was excited. My apologies for misleading you.

I'll say I'm sorry by telling you how I actually DID get it to run well. It doesn't use the taskset command :).

1) open Ubuntu Software Center and type in cpu freq

2) Click on "Show technical Items" button on bottom.

3) Install "CPU frequency scaling indicator". Underneath it the description is "indicator-cpufreq"

4) After it is done installing type "indicator-cpufreq" in terminal. I typed "indicator-cpufreq-selector" to be sure :D.

5) Manually set your computer to run as fast as it can.

6) Run starcraft. (make sure you are running the new NVIDIA 310.14 drivers).

I hope this is helpful.
RE: Increased FPS from 30 to 80
by Fake Name on Thursday November 22nd 2012, 0:14
Hey,

My "increased fps from 30-80" was an overstatement. I saw it hit 80 once and was excited. My apologies for misleading you.

I'll say I'm sorry by telling you how I actually DID get it to run well. It doesn't use the taskset command :).

1) open Ubuntu Software Center and type in cpu freq

2) Click on "Show technical Items" button on bottom.

3) Install "CPU frequency scaling indicator". Underneath it the description is "indicator-cpufreq"

4) After it is done installing type "indicator-cpufreq" in terminal. I typed "indicator-cpufreq-selector" to be sure :D.

5) Manually set your computer to run as fast as it can.

6) Run starcraft. (make sure you are running the new NVIDIA 310.14 drivers).

I hope this is helpful.
RE: Increased FPS from 30 to 80
by Fake Name on Thursday November 22nd 2012, 0:21
Wow. I miss typed. the taskset command is still nessesary, this just makes everything run smoother with it.

Hope it helps! :D
Improve performance in open source drivers
by trevice on Wednesday August 29th 2012, 13:27
After a long time testing differents configurations, using this parameters on wine give me a huge improve over intel HD4000 (i7 ivy bridge) and Tesla Nvidia card (with nouveau):

"DirectDrawRenderer"="opengl"
"Multisampling"="enabled"
"OffscreenRenderingMode"="backbuffer"
"RenderTargetLockMode"="auto"
"StrictDrawOrdering"="enabled"
"UseGLSL"="enabled"
"VideoMemorySize"="256"

found here:
blog.jospoortvliet.com/2012/03/wine-gaming-on-nouveau.html

try it! you will not regrete it!
Starter/Tuning/Benchmark Script
by capilevastu on Monday August 20th 2012, 9:38
hi guys,

i once posted here my script but sadly got a disappointing response in terms of inspiration for further work or corrections - as if i am the only one, concerned about SC2 performance.
since than, i added quite some features notably a benchmark mode, because the last response before the post died asked me if i have any numbers about the tuning-settings.

the answer to this is still no, because i have not investigated the differences of the variety of settings yet.
first, i want to ask here again if there is anything to improve or alter.

sure, there are some things that must be changed but therefore, i need your advise.

one big disadvantage of this script is, it only starts SC2. but in order to get viable benchmark information, you need a reproducible workload, so:
- do you know how i can start replays out of the commandline? and
- how one might send commands form a bash shell to a x-window, like key-press "this" to switch to a player-camera or set the replay speed

- is "perf sched record" a good choice to collect performance data or do you know better ones?
e.g. i tried to collect directly from /proc/'pid'/[stats-sched-map] but i dont know about all that stuff. "perf" seems to me to be a better choice.

before you take a look at my pride, you should know that i am a scripting amateur.
i am happy about every suggestion.
pastebin.com/8TpjFJWD
RE: Starter/Tuning/Benchmark Script
by capilevastu on Saturday September 8th 2012, 7:00
i found the perfect solution to read the fps directly out of wine. the "fps" debug-channel.
i have limited my fps with "frameratecap"/"frameratecapGlue" in the Variables.txt to 40 and the "+fps"-output never exceeds it, which means, its a reliable output.

WINEDEBUG="-all,+fps" wine SC2.exe &> bench-sample_fps

with

aticonfig --od-getclocks >> bench-sample_gpuload
ps -eLo pid,%cpu,%mem,cputime,lwp | grep `pidof SC2.exe` >> bench-sample_cpuload

gives me all the information about fps, cpu- and gpu-load about SC2.
by now, i can finally start testing the differences between kernel parameters, settings in the Variables.txt and registry settings.
... if i knew how, i could even draw nice graphs about fps in correlation to cpu-/gpu-load :)
of course, i will post the future results here.

i have also changed the script again slightly. now, it can remove listed kernel-modules and adds them back afterwards
here is the script:
pastebin.com/PEKRBnDA
RE: Starter/Tuning/Benchmark Script
by capilevastu on Tuesday September 11th 2012, 13:23
got the first results now. nothing out of the ordinary, the interesting stuff will follow soon.
i have to admit, that there are some disadvantages about my way of benchmarking.
i never tested several settings, always one at once, so i cant say anything about correlations between them.
and these results are of course only representative for my machine/configuration.


my specs are:
Acer Extensa 5630 Laptop:
- Core2 Duo 2GHz
- ATI HD 3650 Mobility
- 2GB RAM
Software:
- Lubuntu 12.04 - 64bit
- wine1.5 (32bit), latest repo (sadly, i still cant build my own)
- ati catalyst 12.6
- kernel 3.2.0-30-generic


the benchmark-process:
i restart the laptop before every run and dont start anything except of the sc2-benchmark.
while the benchmark, the script starts a certain replay 5 times and collects once every second the fps, cpu-, gpu- and memory-usage while the replay is running.
after about 50 minutes of replay, the script closes sc2 and calculates the average results out of the benchmark-data.
one could do more with the raw data but my main focus is on average fps.
in my point of view, the benchmark-cycle has to take about 50 minutes in order to eliminate noise from the data - to get more viable results.


results:

in this first run, i only changed registry settings. the start configuration was:
"AlwaysOffscreen"="disabled"
"DirectDrawRenderer"="opengl"
"Multisampling"="disabled"
"OffscreenRenderingMode"="fbo"
"RenderTargetLockMode"="auto"
"StrictDrawOrdering"="disabled"
"UseGLSL"="disabled"

and brought the following result:
Average FPS: 10.8659159433
Average CPU %: 114.0558922558
Average Memory %: 43.9415151514
Average GPU %: 37.9754208754

i only changed one setting at a time and switched back to start-configuration after the benchmarking.
here is what i got: (performance > quality)

OffscreenRenderingMode: fbo >> backbuffer (i got a corrupted texture register, but only for the ground textures)
Average FPS: 8.1350023009
Average CPU %: 113.7062289562
Average Memory %: 43.2988888888
Average GPU %: 30.3622895622

RenderTargetLockMode: auto > disabled > readdraw
"disabled":
Average FPS: 10.8454075091
Average CPU %: 113.5848821548
Average Memory %: 43.8184175084
Average GPU %: 38.0956228956
"readdraw"
Average FPS: 10.8167213862
Average CPU %: 114.2996969696
Average Memory %: 43.6714478114
Average GPU %: 37.6356902356
(i could have tested more possible settings here ... but meeeh, i hour for everything)

StrictDrawOrdering: disabled >> enabled
Average FPS: 8.8398400609
Average CPU %: 113.8386083052
Average Memory %: 42.4075757574
Average GPU %: 40.3350168350

DirectDrawRenderer: opengl > gdi
Average FPS: 10.7735883424
Average CPU %: 114.2135016834
Average Memory %: 43.8328956228
Average GPU %: 37.3589225589

UseGLSL: disabled >> enabled
Average FPS: 8.7474057037
Average CPU %: 114.1421548820
Average Memory %: 48.4422895622
Average GPU %: 39.0956228956

Multisampling: disabled > enabled
Average FPS: 10.7712767897
Average CPU %: 113.9362626262
Average Memory %: 43.2552861952
Average GPU %: 37.4050505050

AlwaysOffscreen: disabled > enabled
Average FPS: 10.7617038724
Average CPU %: 114.1301683500
Average Memory %: 43.5656902356
Average GPU %: 37.3848484848

dont ask me plz why the cpu-averge is above 100% (maybe because of my 2 cpu-cores). if you want to know how these numbers where generated, take a look at my script:
pastebin.com/qScXr3Pv
(some minor changes to previous versions)

the replay i used:
www.smallfiles.org/download/2143/Unit_Test_Map_19_.SC2Replay.html

the next things on my list to test are:
- process attributes: renice, taskset, chrt, ionice
- kernel-parameters: ... take a look in the script to see the full list and its values.
and finally
- the vast possibilities of the Variables.txt but only some selected options.

will take some time though. be patient, ill post the results here.
im still happy about any commentary about all this.
Performance Tweaks
by capilevastu on Sunday January 8th 2012, 12:00
hello guys,

im experimenting with the setting and performance of sc2 quite a while now and i wanted to share my experiences with you, hopefully someone can add or change some thing.



the first and most important performance tweak consists the Variables.txt. there are some commands that increase performance like nothing else.

these two options make the shadows completely disappear

GraphicsOptionShadowQuality=1
shadows=0


the sound seems to me to be an important bottleneck of wine, heres my sound block of the varaibles
notice, the 6 soundchannels ive set, mute the individual sounds alot, especially in big fights, you only hear some, which is ok to me.

soundambience=0
SoundAutoDetectCPUCoreCount=1
soundchannels=6
soundmovement=0
soundoutput=Standard
SoundQuality=0
SoundResampler=NOINTERP
SoundSampleRate=8000
sounduivolume=0.800000
speakermode=Mono


the graphic tweaks look like this
im not sure what eg. texSpace[2] does but i think its a gain to reduce it (512mb is my video memory).

targettexeldensity=0.000000
TerrainTextureHiResCacheSize=32
TerrainTextureLowResCacheSize=32
TerrainTextureSize=32
texQualityLevel=0
texSpace[2]=512
textureBasedFOW=0


this shall only be a little cleavage of my varaibles, there are some more possibilities in this but the information about it are very rare.
i dont have to mention that ive disabled/lowered every other option thats there and that you have to write-protect the Variables.txt in order to keep some of the settings. if you want to see my full variables, see:
pastebin.com/Lvs2Lmph



the second thing you can enhance is wine.

this is how i compile my wine. right now im still experimenting with it because i cant get the -march=native flag to work (which is really sad), maybe you guys can help me with it.
it would be amazing if i get some pro-tips about compiler optimization, because this is an area i dont know very good.

./configure CFLAGS="-O3 -ffast-math -fno-defer-pop" --disable-win16 --without-cups --without-capi --without-gphoto --without-gsm --without-gstreamer --without-xinerama --without-sane --without-xcomposite --without-xrandr --without-xshape


of course you can improve the wine registry too (via winetricks)
i dont think that it would be worth it change a bit of these, this is where i tried the most combinations.

[Software\\Wine\\Direct3D]
"DirectDrawRenderer"="opengl"
"Multisampling"="disabled"
"OffscreenRenderingMode"="fbo"
"PixelShaderMode"="enabled"
"RenderTargetLockMode"="disabled"
"StrictDrawOrdering"="disabled"
"UseGLSL"="disabled"
"VertexShaderMode"="hardware"
"VertexShaders"="hardware"
"VideoMemorySize"="512"



the third thing you can optimize is the execution of sc2.
ive written a starter script, that automatizes a couple of steps. see the script-comments for further information.
to see a clean version, see:
pastebin.com/09CNrxj2

#!/bin/bash
## sets my variables.txt wo write-protect to prevent the loss of some variables.
chmod -w ~/StarCraft\ II/Variables.txt
## writes the default kernel parameters in varaibles to recall them and undo the changes.
kernvar1=`sysctl -n kernel.sched_child_runs_first`
kernvar2=`sysctl -n kernel.sched_rt_period_us`
#kernvar3=`sysctl -n kernel.sched_rt_runtime_us`
kernvar4=`sysctl -n kernel.sched_nr_migrate`
kernvar5=`sysctl -n kernel.sched_latency_ns`
echo "KERNEL PARAMETER BACKUP DONE"
sudo -v
## changes kernel scheduler behavior, this is highly experimental.
sudo sysctl -w kernel.sched_child_runs_first=1
sudo sysctl -w kernel.sched_rt_period_us=960000
#sudo sysctl -w kernel.sched_rt_runtime_us=-1
sudo sysctl -w kernel.sched_nr_migrate=48
sudo sysctl -w kernel.sched_latency_ns=8000000
echo "CHANGED KERNEL PARAMETERS"
## sets the governor of my 2 cpu core to performance, to prevent clock-switching in game.
sudo cpufreq-set -c 0 -g performance
sudo cpufreq-set -c 1 -g performance
echo "CPU GOVERNOR: PERFORMANCE"
## starting my sc2, remember, that your folder might be different. also the most commandline parameters for the sc2.exe are obsolete (NO OPENGL!!!)
echo "STARTING SC2 NOW"
WINEDEBUG=-all wine ~/.wine/drive_c/Programme/StarCraft\ II/StarCraft\ II.exe -opengl -fullproc -skipopenal -nocpubinding -confinecursor
## changes the priority of the sc2 and the winedevice tasks and also forces each one the a different cpu core.
sleep 30s
wineserver --debug=0
sudo renice -n -10 `pidof SC2.exe`
sudo renice -n -10 `pidof wineserver`
sudo taskset -p 1 `pidof SC2.exe`
sudo taskset -p 2 `pidof wineserver`
## this loop is running as long as sc2.exe is executed. it also counts the minutes and put them in terminal.
i=0
while ps ax | grep -v grep | grep SC2.exe > /dev/null
do
echo -n $i _
sleep 60s
let "i += 1"
done
## after sc2 has been terminated, the script exits the loop and sets the cpu governor back to ondemand and also undos the kernel scheduler stuff.
sudo cpufreq-set -c 0 -g ondemand
sudo cpufreq-set -c 1 -g ondemand
echo " "; echo "CPU GOVERNOR: ONDEMAND"
sudo sysctl -w kernel.sched_child_runs_first=$kernvar1
sudo sysctl -w kernel.sched_rt_period_us=$kernvar2
sudo sysctl -w kernel.sched_rt_runtime_us=$kernvar3
sudo sysctl -w kernel.sched_nr_migrate=$kernvar4
sudo sysctl -w kernel.sched_latency_ns=$kernvar5
echo "KERNEL PARAMETERS BACK TO NORMAL"
wineserver -k
unset kernvar1 kernvar2 kernvar3 kernvar4 kernvar5
echo "FINISH"


i hope you guys think its helpfull.
im begging you, if you have any further information about performance compiler optimization or wine specific kernel scheduler, please let me know.

gl hf
SC2.exe Command line arguments
by lubosz on Monday March 1st 2010, 9:17
-trigdebug=1 Open trigger debugger
-showfps=1 Show FPS
-confinecursor=2 Confine mouse cursor to window (for windowed mode)
-alttabdisabled=1 Disable alt-tab
-winkeydisabled=1 Disable windows key
-noTextureLoading=1 Disables all textures

There seem to be more, but the poster didn't feel them being worth to be mentioned.
ShowFPS does not work for me
Back