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:
Application Details:
Version: | Current |
License: | Retail |
URL: | http://www.starcraft2.com/ |
Votes: | 151 |
Latest Rating: | Silver |
Latest Wine Version Tested: | 7.17 |
Maintainers: About Maintainership
What works
Installing
Patching
Logging in (with Patch)
Sound (with OSS, emulation, mmdevapi override)
Playing (Multiplayer)
What does not
Nothing
Workarounds
What was not tested
Replays
Hardware tested
Graphics:
Additional Comments
Intel E6750 @ 2.66GHz GeForce 9800 GTX+ 4 GB Ram Runs perfect Game Version 0.14.0.15392
Operating system | Test date | Wine version | Installs? | Runs? | Used Workaround? | Rating | Submitter | ||
Show | Ubuntu 20.04 "Focal" (+ variants like Kubuntu) | Sep 15 2022 | 7.17 | Yes | Yes | No | Silver | Didi Kohen | |
Show | Arch Linux | Jan 29 2022 | 7.0-rc5-staging | Yes | Yes | No | Silver | Dmitry | |
Show | Garuda | Jul 15 2021 | 6.12 | Yes | Yes | Yes | Gold | Gr Armpit | |
Show | Debian 10.x "Buster" | May 30 2021 | 6.9-staging | N/A | No | No | Garbage | Joshua | |
Show | Gentoo Linux | May 13 2021 | 6.8-staging | Yes | Yes | No | Platinum | Alex |
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 | NEW | 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 | |
33759 | Some applications reset the X color profile | UNCONFIRMED | View | |
44920 | StarCraft II crashes on some maps (requires HLSL compiler) | REOPENED | View | |
49476 | Overwatch doesn't start with Wine version set to Windows 7 | UNCONFIRMED | View | |
49994 | Starcraft2 shows blank screen: DVI-D out of range 89.5Khz, 60Hz | UNCONFIRMED | View | |
53970 | Purchases in StarCraft II do not work | UNCONFIRMED | View | |
54339 | Wine doesn't recognize RTX 3xxx and 4xxx | UNCONFIRMED | View |
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/
Inside the newly created "X11 Driver" add the chain value "UseXVidMode" and set it to "N".
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
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.
As of October Windows XP is no longer supported
The following comments are owned by whoever posted them. WineHQ is not responsible for what they say.
by aerique on Saturday February 18th 2023, 4:04
I was able to install it using Lutris' Diablo 2: Resurrected installer (which just installs Battle.net) and it runs fine so far. Then I added StarCraft II as an existing game and copied over all the settings from the D2R install.
Perhaps the plain Battle.net installer works as well, I didn't check.
by Matthew on Friday September 30th 2022, 0:19
Contrary to notes from prior years, support for 64-bit StarCraft II presently appears broken and the game can only be launched from Battle.net after selecting the "Launch in 32bit" game option. Following the workarounds involving moving .dll files from Heroes of the Storm to the system32 folder and adding the stated dll overrides noted in other comments were not effective resolving this. Meanwhile in the 32-bit client, I get "core out of memory" crashes during games. I have adjusted ulimit security policy for unlimited core size and expanded other limits for user processes, however this did not change "core out of memory" crash behavior. I suspect the spurious out of memory crash is a result of limitations with the 32bit client, rather than an actual ulimit security policy on my system which is reporting no user core limits with "ulimit -a".
Frustratingly, there seems to be no identifiable current community knowledge on the issue or known workarounds on the crashes or getting the 64bit client to work, other than the reports of DLL transfers from Heroes of the Storm and override settings which have not worked for me. Threads opened on these issues are often unanswered and the reported issues unresolved, or if there is a resolution, I can't replicate it.
I did discover the WINE configuration in Lutris is able to launch StarCraft II in 64bit, so the WINE configuration there could potentially be evaluated for a workaround for non-Lutris users. I can actually play full games in the Lutris implementation of WINE, however if don't restart the client between games, I am liable to have the game freeze without any observable error dialog. I've also found inconsistent behavior with successfully launching Battle.net.
This is on an i7-12700k and 32gb DDR6, so physically available memory is not a constraint. Nvidia RTX 3080 12gb with nvidia-drivers-510.85.02. Historically, even during periods were StarCraft II worked well in WINE, there was some kind of memory leak and I would get crashes if I played more than like 4 games in a row. But after a new computer build, it's down to crashes after 0-1 games for the 32bit client in WINE Vanilla/Staging, and 1-3 games the Lutris-implemented 64bit client respectively.
by Samuel Vincent on Sunday November 1st 2020, 3:25
by Samuel Vincent on Wednesday November 4th 2020, 12:15
by Antonin Duval on Friday July 10th 2020, 8:48
by Alexander on Monday February 24th 2020, 12:41
Still, custom games wont load
by Jaxted on Friday November 29th 2019, 4:45
by Jaxted on Wednesday November 27th 2019, 15:53
by Mauricio V. Genta on Wednesday November 27th 2019, 19:11
by Jaxted on Friday November 29th 2019, 13:26
irectDrawRenderer______________opengl
Multisampling___________________disabled
OffScreenRenderingMode_________pbuffer
UseGLSL______________________disabled
VertexShaderMode_______________hardware
by Jaxted on Friday November 29th 2019, 13:30
by Eneko Lacunza on Tuesday October 15th 2019, 14:58
by Neojade on Sunday October 13th 2019, 5:47
Got the latest version of Linux Mint Mate and used the commands to get the latest wine based on bionic from ubuntu. That was it. =] Was the cleanest time I've ever had to use wine and pretty happy about that. :)
Also, SWTOR is working just as flawlessly, installed it after SC2 thru battle.net app.
by Eneko Lacunza on Friday October 11th 2019, 15:35
Unhandled exception: unimplemented function api-ms-win-crt-private-l1-1-0.d._o_getenv called in 32-bit code (0x7b453d8c).
Register dump:
CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
EIP:7b453d8c ESP:12a8f7c4 EBP:12a8f838 EFLAGS:00000212( - -- I -A- - )
EAX:12a8f7dc EBX:6c60c000 ECX:00000004 EDX:12a8f868
ESI:12a8fd64 EDI:12a8fa4c
Stack dump:
0x12a8f7c4: 00000000 00000000 00000000 00000000
0x12a8f7d4: 00000000 00000000 80000100 00000001
0x12a8f7e4: 00000000 7b453d8c 00000002 6c60c000
0x12a8f7f4: 6c60f30a 00000000 00000000 00000000
0x12a8f804: 00000080 f7c593a7 00110070 00000001
0x12a8f814: 00000000 f7b7df75 7bc6e6ef 000000f0
Backtrace:
=>0 0x7b453d8c GetFirmwareEnvironmentVariableW+0x10c() in kernel32 (0x12a8f838)
1 0x6c609d20 _o__mbspbrk_l+0x1b() in api-ms-win-crt-private-l1-1-0.d (0x12a8f894)
2 0x12cbd7aa EntryPoint+0xffffffff() in libglesv2 (0x12a8facc)
3 0x12ca4b8a EntryPoint+0xffffffff() in libglesv2 (0x12a8fc58)
4 0x12cb9de5 EntryPoint+0xffffffff() in libglesv2 (0x12a8fd80)
5 0x12cbbf03 EntryPoint+0xffffffff() in libglesv2 (0x12a8fdb8)
6 0x12c75f47 EntryPoint+0xffffffff() in libglesv2 (0x12a8fdc0)
7 0x12c774ff EntryPoint+0xffffffff() in libglesv2 (0x12a8fe04)
8 0x12c780b6 EntryPoint+0xffffffff() in libglesv2 (0x12a8fe18)
9 0x12c77015 EntryPoint+0xffffffff() in libglesv2 (0x12a8fe28)
10 0x12df7d1f EntryPoint+0xffffffff() in libglesv2 (0x12a8fe48)
11 0x7bcd5ee8 NtGetCurrentProcessorNumber+0x2637() in ntdll (0x12a8fed8)
12 0x7bcc57b4 call_thread_func_wrapper+0xb() in ntdll (0x12a8feec)
13 0x7bcc9367 RtlCaptureStackBackTrace+0x246() in ntdll (0x12a8ffdc)
14 0x7bcc57a6 call_thread_exit_func+0x31() in ntdll (0x12a8ffec)
0x7b453d8c GetFirmwareEnvironmentVariableW+0x10c in kernel32: addl $12,%esp
by Ken-Patrick on Friday June 21st 2019, 11:28
since the last update of SC2, I can't login.
On the new first screen, I can only chose the region, option or quit. The part on the right is empty, and after a few second I have a popup "Connecting to blizzard services. The game is awaiting a response from Blizzard services. etc.."
I tried with and without staging (on debian stable fwiw), same behaviour.
Is there a solution to this ? Am I doing something wrong ?
by dura on Friday June 21st 2019, 16:51
The only way to launch the game is with the battle.net app.
by Ken-Patrick on Saturday June 22nd 2019, 2:19
Thanks you !
by james on Wednesday June 26th 2019, 16:47
Thanks!
by Ken-Patrick on Thursday June 27th 2019, 13:20
With the last version of wine staging (and maybe before, I hadn't tried for a while), the login screen is very fine, and I can connect. So I can launch battlenet, connect on my account, and then launch my game (click on the Launch button in battlenet), that way SC2 (at least) is already connected to my battlenet account.
Hope it helps.
by Beomsik Kim on Saturday June 1st 2019, 23:38
Starcraft2 and starcraft1 doesn't working on 4.9 staging. On 4.8 staging, it works.
So I think problem is in the 4.9 version
My system :
CPU : ryzen 2200g
OS : linux mint 19.1 cinamon
Wine version : 4.9 staging
Problem :
when I click the start Starcraft2, It doesn't work and error message(send to blizzard) appear on the window
Ask :
1. What is the problem? 4.9 staging? or my setting? You guys can work starcraft2 on 4.9 staging?
2. How can I downgrade 4.9 staging -> 4.8 staging? I can't find the way
Help me sensei
by Ben Parsons on Sunday June 2nd 2019, 21:39
Yes, this is a known issue with Wine 4.9.
For your questions, it seems like you do not have much experience with Wine and/or Linux package management. As such I would recommend that you use the program Lutris lutris.net/ (or similar) to manage your Wine versions / games. Although please note that it is not officially supported by the developers of Wine
Or:
To downgrade I would follow these instructions:
forums.linuxmint.com/viewtopic.php?t=67363
I am not familiar with Linux Mint so I cannot provide any much assistance in this regard, sorry.
by Tomasz Pieczerak on Sunday March 3rd 2019, 4:04
As a side note, I installed SC2 using Lutris - be aware that install script has just recently been updated to include PBA_ENABLE=1 setting. Currently I'm using 'esync-staging-pba-3.18' build and everything works great.
by Jeremy Villa on Friday February 8th 2019, 13:37
The game would stutter only briefly whenever I scrolled the map, and in a few other instances. But the switch to Fullscreen got rid of it completely.
by Kovács Adorján Márk on Thursday January 31st 2019, 7:48
In the past the game went well with wine, but now when I came back after maybe a year, it did not start (got stuck on loading screen, after launching from battle.net). This is what I tried:
Updated wine to the latest in arch repo (4.0-3) -> no change
Reinstalled sc2 to a completely new wineprefix without previous dll overloads -> no change
Tried SC2Switcher.exe -> loaded successfully, but now it got stuck on login auth
After this I replaced wine with wine-staging (latest in arch repo, 4.0-2), and it worked perfectly from Battle.net without any other trick.
by Travis Dilley on Saturday December 22nd 2018, 6:26
OS: Ubuntu 18.04
Graphics card: Nvidia GeForce GTX 660
Graphics driver: Nvidia binary driver - version 340-107
CPU: Intel Xeon E5-2687W
Any assistance will be greatly appreciated.
by JoKe on Wednesday January 23rd 2019, 8:36
`wine .wine/dosdevices/c:/Program\ Files/StarCraft\ II/Support/SC2Switcher.exe`
by Benjamin Dover on Monday September 24th 2018, 21:27
by Ben Parsons on Monday September 24th 2018, 21:31
by Benjamin Dover on Monday September 24th 2018, 21:49
by Benjamin Dover on Monday September 24th 2018, 21:51
by dopella on Wednesday October 3rd 2018, 13:20
by dopella on Wednesday October 3rd 2018, 15:57
by gfunk on Monday September 24th 2018, 12:22
by spiritsc on Monday September 24th 2018, 15:12
Lutris > lutris.net/downloads/, after that installed go install the dependencies (guide for the them github.com/lutris/lutris/wiki/Game:-Blizzard-App), once that's done go to lutris.net/games/battlenet/ click in install open with lutris launcher and it will handle everything just click next and wait for the script finish, them just launch the Bnet.
by Ben Parsons on Monday September 24th 2018, 21:32
by Sviat on Thursday September 20th 2018, 19:28
I tried restarting pa with `pulseaudio --resample-method=trivial`, became a bit better but still the same.
With alsa seems to be no issues, but not an option as I need other apps running that rely on alsa.
Thanks!
by Timur Kristóf on Friday September 21st 2018, 13:16
by Markus Linnala on Tuesday September 25th 2018, 12:07
bugs.winehq.org/show_bug.cgi?id=45623
by Aleks on Thursday September 20th 2018, 14:17
for now it crashes in Collections War chest and I can disable them, but it also crashes in unit preloader, which means that it will crash during ladder match when the opponent spawns a skinned unit :-(
by Aleks on Thursday September 20th 2018, 14:22
by spiritsc on Monday September 17th 2018, 16:30
by Aleks on Thursday September 20th 2018, 14:14
by Ben Parsons on Monday September 24th 2018, 21:33
by spiritsc on Tuesday September 25th 2018, 1:55
by dopella on Wednesday September 12th 2018, 13:25
by Ben Parsons on Monday September 24th 2018, 21:35
Have you tried using DXVK? or updating your drivers?
by Markus Linnala on Tuesday September 25th 2018, 12:16
by Nick on Friday August 24th 2018, 21:06
After reverting to 3.13 the arcade game in question works.
by Ben Parsons on Saturday August 25th 2018, 6:03
I would suggest following the FAQ and comparing the terminal / debug outputs:
wiki.winehq.org/FAQ#How_can_I_get_a_debugging_log_.28a.k.a._terminal_output.29.3F
by Jason Stryker on Monday September 3rd 2018, 9:27
by asasaa on Thursday August 2nd 2018, 15:20
Thanks for the help! Unfortunately I can't seem to successfully bring back the older version. The other only blizz game I play (Hearthstone) seems to work fine. I've tried several tutorials, especially this one: linuxconfig.org/how-to-install-blizzard-battle-net-app-on-ubuntu-18-04-bionic-beaver-linux (although I'm still on Ubuntu 16, most steps should be the same). No luck.
Also, Idk if I'm the only one. The game loads (without sound), but there are some background animations that just don't show, and the ladder button is disabled. So yeah totally unplayable.
I tried to install wine 1.6 (no staging) with synaptic but that doesn't work either.
Thanks!
by asasaa on Monday July 30th 2018, 15:01
by Ben Parsons on Monday July 30th 2018, 15:52
The issue is with wine staging so try running the game in wine (non-staging) instead.
by Hugo Osvaldo Barrera on Thursday July 26th 2018, 21:55
Is anybody else seeing this behaviour?
by Ben Parsons on Thursday July 26th 2018, 22:03
by Dox on Saturday July 21st 2018, 15:49
It could have to do with the updated winepulse patch in 3.13: github.com/wine-staging/wine-staging/tree/master/patches/winepulse-PulseAudio_Support
So, for whoever does play SCII and wants to bug reports this, you can have a look there.
by Maciej Stanczew on Monday July 23rd 2018, 16:13
by Niklas Hambuechen on Thursday May 31st 2018, 19:46
Can play (free-to-play version) multiplayer and single player, sometimes it gets a bit slow and the audio clips a bit, but these are tiny issues.
I followed the steps "Migration from ArchWiki by Svitozar Cherepii on Saturday December 23rd 2017, 20:18" here in the comments; the Windows version is set to "Windows 7" in winecfg.
It even works in 64-bit mode with wine64 (see linux-tips.com/t/couldnt-run-64-bit-programs-with-wine/320). But so far I've played mainly in 32-bit mode.
It took me some effort to get this working, because when I tried to install it, it only worked with one Wine version, and playing only worked with a different one. But I suspect that this is fixed with wine-staging 3.9. I haven't reinstalled from scratch yet to test it, ping me if somebody needs results for that.
by Campuche on Monday April 30th 2018, 4:23
1- Stuck everytime i close the game, to avoid this i must open the terminal and < killall -i -r '.exe' > or something like that.
2-i use the method to bypass battlenetlogin and run battlenet withoutconection and afterthat i loging ingame, but game doesnt remember my password and region.
by nonplus on Monday March 19th 2018, 11:39
If i show my own profile its completely empty. It is not possible to start a game because the play-button is not visible.
Anyone having the same problem?
by Kirill on Sunday April 15th 2018, 17:17
by Kirill on Thursday April 19th 2018, 20:01
My problem with grayed 'play' buttons was resolved with changing DNS settings. I use DNSProxy and it was a problem. So I have changed DNS settings and everything works fine for now.
by Moritz Bruder on Friday April 20th 2018, 1:20
by Anton Bruckner on Saturday March 17th 2018, 8:10
by Anton Bruckner on Saturday March 17th 2018, 8:18
POL says: e_gfxErrorShaderCompileFailed
SC2 itself works fine (with low graphic-settings!).
by Anton Bruckner on Saturday March 17th 2018, 8:44
[Dear Moderator: if u wish, delete my comments here. I will write it under the Mass Recall Thread]
by Iksf on Monday January 8th 2018, 3:22
Personally I get fair FPS on the counter, however the game is not running at that FPS. I have a 144hz monitor and I can safely say whatever the FPS readout says, the games not running more than maybe 40fps tops. Also on multiplayer the game frequently stalls for a good fraction of a second.
Nvidia 1080 (with latest proprietary blobs), intel 8700k, tried latest KDE Gnome and MATE desktops. Am using the preloader map. No DLL overrides. Game's fully downloaded, only playing on all lowest, really don't care about the graphics quality.
by mean_booty on Monday January 8th 2018, 15:06
Component list is vcrun2008 vcrun2012 corefonts
by mean_booty on Monday January 8th 2018, 15:07
by Iksf on Tuesday January 9th 2018, 1:02
by Svito on Saturday December 23rd 2017, 20:18
[eu.battle.net/sc2/en/ StarCraft II] is a real-time strategy game from Blizzard Entertainment released in 2010. A native Linux version isn't available, but the game is fully playable using [[Wine]].
== Installation ==
==== Packages ====
You need to [[install]] {{Pkg|wine}}, {{Pkg|lib32-libjpeg-turbo}}, {{Pkg|lib32-libpng}}, {{Pkg|lib32-gnutls}} and {{Pkg|lib32-libldap}}. If you are using [[PulseAudio]], install {{Pkg|lib32-libpulse}} and {{Pkg|lib32-alsa-plugins}} available in [[multilib]]. Optionally, instead of regular {{Pkg|wine}}, you might prefer {{Pkg|wine-staging}} - [[Wine#CSMT_patch|enabling CSMT via the Staging tab in winecfg]] may greatly improve performance, but is not required. You'll also need to use {{Pkg|winetricks}} and install the following components (to use the Map Editor and avoid crashes on certain system configurations):
$ winetricks corefonts vcrun2005 vcrun2008 vcrun2015
==== Configuration ====
If you have a GPU which doesn't properly report the amount of memory available (older integrated or early AMD APUs), you'll need to tell Wine how much VRAM you have available. Open the Registry Editor:
$ regedit
Go to ''HKEY_CURRENT_USER/Software/Wine/Direct3D'' (right-click on Wine and New -> Key, ''Direct3D'', Enter, if it doesn't exist) right-click on ''Direct3D'' (if such a key doesn't exist, right-click on ''Wine'', New -> Key, ''Direct3D'', OK), select New -> String Value, ''VideoMemorySize'', which you should set to the amount of VRAM your GPU has, in MB (for example, "1024" or "2048"). If you're using an integrated GPU, try to preallocate a fair amount of RAM for your GPU in BIOS/UEFI Setup and use the same value here (512 is good enough for low-medium settings).
* If the Battle.net App doesn't work, use a new Wine prefix.
* '''If you are asked to install Gecko, then click Install to do so.'''
* If the Battle.net App window is white, open ''winecfg'', go to ''Applications'' and set ''Windows Version'' to "Windows XP". You may do so for Battle.net.exe only, as SC2 itself works fine with this being set to anything newer.
==== Installing with the Blizzard App (former Battle.net App) ====
Recent SC2 versions require the [eu.battle.net/en/app/ Blizzard App] to be installed, as it replaced the launchers for all Blizzard games. Furthermore, recent patches massively changed the file structure in their newer games - if you have a fast enough internet connection, it might be faster to download a new copy from the Blizzard App than trying to install the game from DVD. Simply install the app, select your region, log in with a Blizzard Account, then select StarCraft II on the left and click Install. You'll be able to select your game language and installation location. (Installing the game on a native Linux filesystem instead of NTFS might improve loading times.)
{{Note|You need to install {{Pkg|lib32-gnutls}} in order to use the online-mode of the [[Blizzard App]].}}
==== Installing from DVD ====
{{Note|If you have a reasonable internet connection (10Mbps or better), redownload the game. Recent patches were massive and you'll literally spend more time waiting for the game to reconfigure and patch than just redownloading the whole game again. Furthermore, you can stream the game while playing.}}
* Mount DVD/DVD Image, (unhide invisible data), for example:
$ mount -o ro,unhide,uid=1000 /dev/dvd /media/dvd (for the DVD)
$ mount -o loop,ro,unhide,uid=''your_id'' ''starcraft.iso'' /media/dvd (for an image)
* Start the installer:
$ wine start /unix /media/dvd/Installer.exe
==== Playing StarCraft II ====
Launch the game from the Battle.net App.
If the game crashes see troubleshooting section.
== Hints for Performance Tuning ==
* {{ic|Ctrl+Alt+F}} shows FPS.
* Make sure that you are using the latest available graphics drivers. Nvidia drivers should be 256.35 or later (drivers in repositories are up to date).
* Edit the variables.txt in your My Documents/Starcraft II/ following the guide [www.teamliquid.net/forum/viewmessage.php?topic_id=142046 here].
* If you're using Intel HD Graphics 3000, you may have to set the VideoMemorySize to 128 (see the Configuration above). The game will complain about not enough VRAM otherwise.
* If you have problems updating the game and see the following in the output:
{{bc|Agent started on port #6882
Executing operation: disable_firewall applicationPath="C:\users\Public\Application Data\Battle.net\Agent\Agent.4432\Agent.exe" applicationName="Battle.net Update Agent"
AgentAsAdmin failed to add a firewall exception for 'C:\users\Public\Application Data\Battle.net\Agent\Agent.4432\Agent.exe'.
Registered Event: "shutdown event"
Registered Event: "database flush event"
PostTo succeeded status: 0 for url: enGB.patch.battle.net:1119/patch
Post Data:
DownloadTo failed error: 0 of article: from:
DownloadTo failed error: 0 of article: from:
DownloadTo failed error: 0 of article: from:}}
Launch Agent.exe --nohttpauth:
$ killall Agent.exe && wine ~/.wine/drive_c/users/Public/AppData/Battle.net/Agent/Agent.exe --nohttpauth
You can now restart the Battle.net App. The updater should proceed smoothly.
==== Unit Preloader ====
SC2 never fully loads the game initially, but rather streams and loads required files on demand. Unit Preloader is a special map which forces SC2 to load '''all''' units, animations and effects, '''causing high RAM usage''', but prevents loading the data (and massive framerate drops) during multiplayer matches. Open ''Arcade'' and search for ''Unit Preloader''. There are 3 versions - start the one which corresponds to the game edition you'll want to play in multiplayer and wait for the Victory screen. All data will be preloaded until you exit the game to desktop.
== Hints for advanced hotkeys settings ==
==== Preliminary ====
Have a look at projects aiming at creating more ergonomic hotkeys for SCII:
* [www.teamliquid.net/forum/sc2-strategy/341878-thecore-advanced-keyboard-layout TheCore]
* [github.com/bobo38/TheCoreLite TheCore Lite]
Some other unmaintained options:
* [www.teamliquid.net/forum/sc2-strategy/404476-fleet-keys-refined-hotkey-systems Fleet Keys].
* [www.teamliquid.net/forum/sc2-strategy/257590-darkgrid-layout DarkGrid]
[www.teamliquid.net/forum/sc2-strategy/446530-rapid-fire-hotkey-trick Rapid Fire] Hotkeys are implemented in those hotkeys settings.
==== Rapid Fire Hotkey throughput ====
[[Xorg]] keyboard autorepeat can be modified. It may make sense to reduce delay before autorepeat starts (default=660 [ms]). Increasing a bit the repeat rate (default=25 [/s]) is a trade-off: speed vs accuracy.
To apply the settings:
$ xset r rate
{{Tip| {{ic|xset r rate}} get X back to default autorepeat settings}}
{{Tip| {{ic|xset q}} let you know the current X settings}}
==== Enable double-key Rapid Fire Hotkey behaviour ====
Fancy double-key Rapid Fire Trick are not possible by default for Linux.
The [git.framasoft.org/bobo/xkb_repeat/tree/master xkb_repeat] git project may help you unlock this behaviour, providing patches to recompile your X server.
{{Warning|This double key repeat usage for RapidFire inject is no longer possible since LoTV release}}
==== Enable CapsLock as a Rapid Fire Hotkey with xmodmap ====
TheCore and TheCore Lite hotkeys rely on CapsLock to be a rapid fire hotkey.
This does not work by default under Linux.
To make it work, CapsLock key could be remapped to another key with [[xmodmap]].
Hereafter an example with "Backspace" character.
$ xmodmap -e "remove Lock = Caps_Lock" -e "keycode 66 = BackSpace"
The .SC2Hotkeys file would need to be modified, to take it into account to add "Backspace" as an alternate wherever CapsLock is used.
You may consider tune your .SC2Hotkeys file with one of those command lines:
$ sed -i -e "s:CapsLock:Backspace:" .SC2Hotkeys # replacement of CapsLock by BackSpace
$ sed -i -e "s:CapsLock:CapsLock,Backspace:" .SC2Hotkeys # easy command copy
$ sed -i -e "s:\([=,]\([=,]\)*CapsLock\):\1,\2Backspace:" .SC2Hotkeys # this one copies any modifier with CapsLock to equivalent with BackSpace
{{Tip| {{ic|1= xmodmap -e "add Lock = Caps_Lock" -e "keycode 66 = Caps_Lock" }} to get back to default CapsLock behavior, once you exit the game}}
==== Use temporary XKB options ====
This tip could be used to perform some modifications:
* map CapsLock to Backspace with {{ic|1=caps:backspace}}
* swap left Control and Alt keys with {{ic|1=ctrl:swap_lalt_lctl}}
* turn CapsLock into an additional Control key with {{ic|1=caps:ctrl_modifier}}
$ setxkbmap -option -option "$(localectl | grep Options | sed -e 's/.*Options:\s*//'),ctrl:swap_lalt_lctl,caps:backspace"
{{Tip| All possible options could be found looking in /usr/share/X11/xkb/rules/base.lst}}
{{Tip| to get back to the default XKB options, once you exit the game you can use the following code in a script}}
setxkbmap -option -option "$(localectl | grep Options | sed -e 's/.*Options:\s*//')"
==== Enable Scrollclick ====
Some scrollclick demo videos:
* [www.youtube.com/watch?v=7pQKnS1CPEQ infestor spawning infested terran]
* [www.youtube.com/watch?v=9aPd8_9_vB4 scrollclick applied to protoss]
Using [[Xmodmap#Reverse_scrolling|Xmodmap]], it possible to set your regular 3-buttons mouse with scroll wheel to practice scrollclick.
First change scroll fonction to "forward mouse button" and "back mouse button":
$ xmodmap -e "pointer = 1 2 3 8 9 6 7 4 5"
Then add alternate key SCII hotkeys for:
* Global=>Unit Management=>Choose Ability or AI target
* Global=>Unit Management=>Smart Command
{{Tip|{{ic|1=xmodmap -e "pointer = default"}} resets to default mouse functionality}}
{{Warning|scrollclick applications previously demoed could be better executed with RapidFire Key method}}
{{Tip|you may consider using this tip to use wheel for previous/next subgroup browsing}}
{{Tip|for more 5+ button, you may consider use {{ic|evrouter}} to apply the same tip and map buttons to other usages}}
== Troubleshooting ==
* You may want to start the game without the launcher: cd ~/.wine/drive_c/Program\ Files/StarCraft\ II\Support (or Support64 for the 64-bit version) and wine SC2Switcher.exe - this might make debugging easier, but you may have to select your region in-game. Furthermore, if your game is not up-to-date, you'll be unable to log in, and no error message will be shown - simply start the Battle.net Launcher and let the game update completely.
* If SC2 instacrashes, or crashes upon game start, try clicking on the Battle.net logo in the Launcher -> Settings -> Game Settings -> Check Launch 32-bit client (instead of 64-bit), or '''uncheck''' it if it's already checked.
* For some, in-game resolution changing does not work. Editing 'width=x' and 'height=y' in Variables.txt in My Documents/Starcraft II solves this issue. Replace x and y with the prefered resolution.
* Should you experience graphics problems (no 3D background in menu, blue non-texturized units and other glitches), launch the game without Battle.net App (see above) like this: force_s3tc_enable=true wine SC2Switcher.exe. You can also add this option to the .desktop entry in ~/.local/share/applications/wine/Programs/StarCraft II, or edit your ~/.drirc file to enable this setting permanently for all apps. Using {{Pkg|driconf}}, you may just enable this setting with a simple GUI.
== See also ==
* [appdb.winehq.org/objectManager.php?sClass=application&iId=11123 StarCraft II] (WineHQ AppDB)
* [bugs.winehq.org/show_bug.cgi?id=23806 StarCraft II crashes because of ACCESS_VIOLATION before the loading screen] (WineHQ bug tracking database)
* [bugs.winehq.org/show_bug.cgi?id=23323 World of Warcraft crashes upon login after 3.3.5 patch.] (WineHQ bug tracking database)
* [bbs.archlinux.org/viewtopic.php?id=101822 starcraft2 crashing on loading] (Arch Linux forums)
* [bbs.archlinux.org/viewtopic.php?id=103354 starcraft2 fails to update to patch 1.03] (Arch Linux forums)
* [eu.battle.net/sc2/en/forum/topic/283440977 Patch News] (battle.net EU forums)
by Svito on Saturday December 23rd 2017, 20:19
Direct3D settings
In Wine 1.9.x VRAM amount is almost always detected properly, and StarCraft no longer breaks on low VRAM reported. Most GPUs not reporting VRAM properly usually are either early Intel/AMD integrated GPUs, or some AMD APUs - they almost universally can't handle SC2 on newer patches (system requirements increased). How about removing the VRAM block in the configuration section? DragoonAethis (talk) 20:36, 7 August 2016 (UTC)
Necessity of vcrun6sp6 library
A recent edit suggested that the vcrun6sp6 library needs to be installed with winetricks. However, the game seems to run fine without this library. According to the edit comment, the additional library is supposed to resolve an error 'skin.dll not found', but I am unable to find any evidence that this is an issue for anyone else. I am reverting the edit for now.
If the library really is required, perhaps it should be marked optional in the article? Along with a description of what bug it resolves. --Sirrus233 (talk) 08:08, 17 October 2016 (UTC)
by Forestry Dude on Sunday December 17th 2017, 20:35
INstalled corefonts the vcrun 2005 2008 and 2015 and corefonts....any ideas?
I tried the wine developement vs that suppossed to be gold....anyways
Thanks
by Ben Parsons on Sunday December 17th 2017, 21:24
What version of Windows are you reporting?
My advice would be to start again with a clean prefix and only install corefonts via winetricks.
by Forestry Dude on Sunday December 17th 2017, 21:43
by Forestry Dude on Sunday December 17th 2017, 21:44
by Ben Parsons on Sunday December 17th 2017, 21:44
I would recommend you try a clean WINE prefix rather then just uninstalling
by Forestry Dude on Sunday December 17th 2017, 21:53
by Ben Parsons on Sunday December 17th 2017, 21:58
wiki.winehq.org/FAQ#Wineprefixes
by Forestry Dude on Sunday December 17th 2017, 21:58
by Carbone on Sunday December 10th 2017, 12:58
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
by Ben Parsons on Sunday December 10th 2017, 15:54
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
by Carbone on Friday December 15th 2017, 8:55
by Nick on Wednesday December 13th 2017, 13:03
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.
by Aleks on Monday November 20th 2017, 14:19
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.
by Aleks on Sunday December 17th 2017, 10:34
by Forestry Dude on Wednesday November 15th 2017, 22:55
by Tornado_OLO on Saturday November 18th 2017, 8:19
I also had this problem and installing d3dcompiler_43 resolved it.
by smith on Wednesday January 9th 2019, 1:48
Some maps crash like parasite zeta, and marine arena and zealot frenzy. I dunno why, it says something about gfx shader and the rest I don't remember.
I am using wine staging and still run into this problem...
by smith on Wednesday January 9th 2019, 1:50
by mathijs on Wednesday November 15th 2017, 17:54
by Solovej on Wednesday November 15th 2017, 5:55
by Johnny on Wednesday November 15th 2017, 2:28
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.
by Anton Bruckner on Saturday March 17th 2018, 8:47
SC2 itself works fine (with low graphic-settings!).
I had to install d3dcompiler_43. Hope, that works for u also.
by Dev on Wednesday October 11th 2017, 19:46
by Hugo Osvaldo Barrera on Saturday September 23rd 2017, 11:57
by Alex on Thursday September 14th 2017, 14:38
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
by Alex on Thursday September 14th 2017, 14:41
by weedahmu on Tuesday October 31st 2017, 15:33
by Matthew Toseland on Tuesday August 29th 2017, 15:26
So it looks broken to me.
Debian stretch, 64-bit, winehq packages.
by Ben Parsons on Wednesday August 30th 2017, 2:28
by Kevin on Sunday April 9th 2017, 20:01
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
by Kevin on Monday April 10th 2017, 2:57
I didn't have winbind.
Just installed that and Multiplayer options are appearing.
by Kevin on Monday April 10th 2017, 3:04
by Darin Avery on Saturday April 8th 2017, 7:04
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.
by Jon on Monday April 24th 2017, 12:18
by Jon on Monday April 24th 2017, 18:39
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.
by Gian Paolo Mureddu on Thursday August 10th 2017, 23:12
by Tobias Gion on Friday March 17th 2017, 3:29
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!
by Renan Samuel Silva on Saturday March 18th 2017, 8:52
by Jon on Saturday March 18th 2017, 9:23
Object moved
Object moved to here.
Object moved
Object moved to here.
Object moved
Object moved to here.
by Jon on Saturday March 18th 2017, 9:24
by Renan Samuel Silva on Saturday March 18th 2017, 9:25
by Aleks on Monday March 20th 2017, 18:10
by Hugo Osvaldo Barrera on Wednesday February 22nd 2017, 20:55
Is anyone else having this issue?
by dura on Thursday March 9th 2017, 14:56
wine 2.0 staging and CSMT: ~65 FPS
wine 2.1 2.2 2.3 staging CSMT: ~40FPS.
Ctrl+Alt+F will show FPS.
by Iksf on Sunday March 12th 2017, 17:23
by Shane Fagan on Tuesday January 31st 2017, 9:21
by Ben Parsons on Thursday February 23rd 2017, 1:20
api-ms-win-crt-math-l1-1-0
by Shane Fagan on Thursday February 23rd 2017, 3:39
by Ben Parsons on Thursday February 23rd 2017, 7:00
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?
by Shane Fagan on Friday February 24th 2017, 6:37
by Shane Fagan on Friday February 24th 2017, 7:00
by Shane Fagan on Friday February 24th 2017, 16:28
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.
by demonchy on Wednesday January 11th 2017, 17:29
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.
by Ben Parsons on Thursday January 12th 2017, 3:44
by Tim Terhorst on Tuesday January 3rd 2017, 21:28
by Hugo Osvaldo Barrera on Monday December 26th 2016, 7:41
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.
by Ben Parsons on Monday December 26th 2016, 23:27
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.
by Jarkko Korpi on Sunday December 25th 2016, 22:57
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.
by Iksf on Friday December 23rd 2016, 13:31
www.youtube.com/watch?v=AbV5kq9l1zE&feature=youtu.be
by Ben Parsons on Friday December 23rd 2016, 17:14
I have had it running in x64 previously.
by Andrew Smart on Saturday December 24th 2016, 18:47
by Iksf on Sunday December 25th 2016, 6:43
by Cory on Sunday December 11th 2016, 14:53
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'
by Ben Parsons on Monday December 12th 2016, 15:10
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.
by Cory on Monday December 12th 2016, 17:38
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.
by Ben Parsons on Tuesday December 13th 2016, 0:35
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
by Electric Prism on Sunday July 2nd 2017, 16:29
by Cory on Sunday July 2nd 2017, 19:25
by Carbone on Thursday December 8th 2016, 12:22
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
by Ben Parsons on Friday December 9th 2016, 0:47
What graphics card & drivers do you have?
by Andrew Smart on Saturday December 24th 2016, 18:42
by Robin on Monday December 5th 2016, 20:06
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!
by Ben Parsons on Wednesday December 7th 2016, 1:42
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.
by Robin on Wednesday December 7th 2016, 21:20
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.
by Ben Parsons on Thursday December 8th 2016, 0:06
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.
by Robin on Thursday December 8th 2016, 8:13
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".
by Ben Parsons on Friday December 9th 2016, 0:49
by Jarkko Korpi on Sunday December 25th 2016, 21:51
by Jarkko Korpi on Sunday December 25th 2016, 23:40
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
by Robin on Monday December 26th 2016, 0:07
by Jarkko Korpi on Monday December 26th 2016, 0:12
by Jarkko Korpi on Monday January 2nd 2017, 15:25
by starcraft player on Wednesday November 30th 2016, 22:44
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
by Ben Parsons on Thursday December 1st 2016, 0:56
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
by starcraft player on Friday December 2nd 2016, 17:00
by Ben Parsons on Friday December 2nd 2016, 22:47
by Ryo on Friday November 25th 2016, 7:01
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.
by Ben Parsons on Friday November 25th 2016, 7:38
Thanks for the extra info, do you want me to add it to my test results instead?
by Ryo on Friday November 25th 2016, 8:23
I was kinda hoping you would ask that, yes please.
by Ben Parsons on Friday November 25th 2016, 8:56
by Cory on Friday November 25th 2016, 8:30
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.
by Ben Parsons on Friday November 25th 2016, 8:55
by Ryo on Friday November 25th 2016, 9:54
by Ryo on Friday November 25th 2016, 10:47
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.
by Cory on Friday November 25th 2016, 15:02
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.
by Ryo on Saturday November 26th 2016, 2:48
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.
by Ben Parsons on Saturday November 26th 2016, 5:17
by matthew on Friday November 4th 2016, 14:54
by Jinxie on Wednesday November 9th 2016, 3:42
by Cory on Saturday November 19th 2016, 14:38
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 :(
by Cory on Tuesday November 22nd 2016, 18:24
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!
by Cory on Tuesday November 22nd 2016, 19:29
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.
by Joscha Becker on Monday October 24th 2016, 0:42
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
by Joscha Becker on Monday October 24th 2016, 20:07
So it's hopefully nothing.
by Vincent Hobeïka on Thursday October 27th 2016, 15:07
Restarting it often solves the problem.
by arkahys on Sunday September 25th 2016, 10:27
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
by Mohamad Yassine on Thursday October 20th 2016, 23:42
by arkahys on Saturday October 22nd 2016, 7:43
sometimes game shutdown correctly and sometimes freeze but it's the only way i found to go out window.
by Cory on Tuesday November 22nd 2016, 19:49
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.
by Ema on Wednesday September 14th 2016, 15:02
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
by X on Thursday September 15th 2016, 0:53
api-ms-win-crt-math-l1-1-0
by Beau on Thursday September 15th 2016, 9:11
by tungnm on Thursday September 15th 2016, 22:25
by Aleks on Wednesday September 14th 2016, 14:54
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.
by wisut on Wednesday September 14th 2016, 23:40
sc2 3.6.0
wine-1.9.18 (Staging)
nvidia 370.28-1
before 3.6.0 update everything work fine
by Joscha Becker on Thursday September 15th 2016, 5:42
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.
by Aleks on Thursday September 15th 2016, 12:12
by Prot on Friday September 16th 2016, 5:15
by Electric Prism on Tuesday September 13th 2016, 19:52
Is anyone else encountering this problem?
by Andrew Smart on Thursday December 15th 2016, 14:34
by arkahys on Sunday September 11th 2016, 16:46
by Filip Frackiewicz on Saturday October 29th 2016, 16:47
$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
env WINEPREFIX=/opt/starcraft2 winetricks vcrun2015
by Electric Prism on Wednesday September 7th 2016, 22:10
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
by Ian on Thursday August 25th 2016, 15:56
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 :)
by Ville Aakko on Thursday October 27th 2016, 13:17
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.
by Ville Aakko on Thursday October 27th 2016, 16:19
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).
by Ville Aakko on Tuesday November 1st 2016, 13:55
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
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!
by enthusiasm on Wednesday August 24th 2016, 8:30
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)").
by arkahys on Sunday September 11th 2016, 16:45
this is typo error.
by HellBat on Sunday August 21st 2016, 9:29
by Andrew Smart on Sunday August 21st 2016, 11:00
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.
by HellBat on Monday August 22nd 2016, 18:21
I did remove the compiz package and now the alt+tab works fine.
by Carbone on Thursday August 11th 2016, 16:35
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
by Andrew Smart on Wednesday August 3rd 2016, 10:13
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.
by Ryan on Wednesday August 3rd 2016, 17:07
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?
by Andrew Smart on Thursday August 4th 2016, 12:44
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.
by Eivind Larsen on Wednesday July 27th 2016, 14:17
by Ryan on Tuesday August 2nd 2016, 17:09
by Jason Alan Palmer on Tuesday August 2nd 2016, 17:33
by Ryan on Sunday August 14th 2016, 23:46
by Galym Kerimbekov on Friday July 22nd 2016, 5:40
now game version is 3.4.0.44401
Anyone had same issue?
by Robert on Tuesday July 26th 2016, 9:32
by Starfall on Sunday July 31st 2016, 16:24
by Robert on Sunday August 7th 2016, 1:24
by Ryan on Tuesday July 19th 2016, 0:48
by Hugo Osvaldo Barrera on Tuesday July 19th 2016, 10:00
by Sergej on Thursday July 28th 2016, 11:44
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.
by Maldun Finsterschreck on Wednesday July 6th 2016, 2:36
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?
by Maldun Finsterschreck on Wednesday July 6th 2016, 2:40
by Dominik S on Wednesday June 29th 2016, 14:23
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).
by Sergio Salinas on Saturday July 16th 2016, 4:30
by Hugo Osvaldo Barrera on Monday June 20th 2016, 14:46
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.
by Ryan on Monday July 18th 2016, 23:52
by Ryan on Tuesday July 19th 2016, 0:50
by Shu on Monday June 13th 2016, 17:23
I'm currently running FC23 with playonlinux and using 1.9.10 staging.
Thx
by Robin on Monday June 13th 2016, 20:10
by Casey on Saturday June 18th 2016, 9:37
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.
by Casey on Saturday June 18th 2016, 9:32
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.
by Robin on Saturday June 18th 2016, 20:29
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.
by Felipe Delestro on Saturday August 6th 2016, 12:55
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.
by Oriol on Tuesday May 31st 2016, 13:19
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!
by termac on Saturday June 4th 2016, 4:46
by Oriol on Tuesday June 7th 2016, 23:35
by David Brooks on Tuesday June 7th 2016, 23:38
by Oriol on Wednesday June 8th 2016, 0:03
Also, is there any way I can see the error message from the crash? Any logs I could check?
Thanks!
by termac on Wednesday June 8th 2016, 0:44
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.
by Oriol on Thursday June 9th 2016, 1:47
- 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!
by Oriol on Friday June 10th 2016, 19:40
Thanks!
by termac on Saturday June 11th 2016, 5:00
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.
by Oriol on Saturday June 11th 2016, 20:41
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.
by Sergej on Tuesday July 12th 2016, 1:34
Thank you!
by chris on Sunday June 19th 2016, 11:17
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.
by Aleks on Wednesday July 13th 2016, 18:37
by David on Tuesday July 19th 2016, 20:48
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)
by Sethan on Saturday May 21st 2016, 10:18
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
by chris on Tuesday May 17th 2016, 13:48
- 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.
by HellBat on Saturday April 16th 2016, 14:26
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
by HellBat on Monday April 25th 2016, 7:45
by NothingSerious on Friday April 8th 2016, 6:08
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!
by NothingSerious on Sunday May 1st 2016, 9:43
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!
by NothingSerious on Thursday March 31st 2016, 6:35
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!
by shaun rutherford on Thursday March 31st 2016, 10:15
by Benoit Coste on Thursday March 31st 2016, 17:09
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.
by Evan Chen on Saturday April 2nd 2016, 8:16
by NothingSerious on Monday April 4th 2016, 16:10
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.
by Aleks on Thursday March 31st 2016, 4:57
"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
by Jason on Thursday March 31st 2016, 21:30
"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
by Aleks on Friday April 1st 2016, 10:05
I use PlayOnLinux and actually I was running SC2 with wine 1.9.1.
Changing that to 1.9.6 did not help me.
by mathijs on Friday April 1st 2016, 16:23
by mathijs on Friday April 1st 2016, 16:30
Starting Starcraft through the battle.net launcher works fine.
by Aleks on Saturday April 2nd 2016, 5:43
Now it crashed when I started the match. Lets see what is in the other threads about this.
by Aleks on Saturday April 2nd 2016, 10:09
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
by Matthew Krafczyk on Sunday January 24th 2016, 7:21
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
by Matthew Krafczyk on Sunday January 24th 2016, 14:37
by a "zaggynl" z on Friday January 22nd 2016, 15:29
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.
by a "zaggynl" z on Sunday January 24th 2016, 13:36
by a "zaggynl" z on Wednesday January 27th 2016, 7:09
by termac on Tuesday January 12th 2016, 4:53
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 .
by Jason Alan Palmer on Tuesday January 12th 2016, 19:32
by termac on Wednesday January 13th 2016, 9:51
by Jason Alan Palmer on Friday January 22nd 2016, 14:45
by Hugo Osvaldo Barrera on Wednesday November 25th 2015, 0:29
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?
by Hugo Osvaldo Barrera on Wednesday November 25th 2015, 0:30
by Jason Alan Palmer on Wednesday November 25th 2015, 8:21
by Jason Alan Palmer on Wednesday November 25th 2015, 8:57
by Thomas Ross on Sunday November 22nd 2015, 13:29
This can be worked around by pressing alt before issuing commands when you return to the game.
by Tom B on Friday November 20th 2015, 12:56
by illich on Saturday November 14th 2015, 5:51
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.
by Steven Mercurio on Thursday November 19th 2015, 0:11
Blizzard needs to work with WINE HQ to fix the 64 bit client ASAP to solve these issues.
by Sergej on Sunday February 21st 2016, 9:05
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.
by treba on Friday November 13th 2015, 9:35
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.
by Noam Mor on Sunday November 15th 2015, 7:42
by Bryguy on Wednesday November 11th 2015, 9:16
by Bryguy on Wednesday November 11th 2015, 9:48
by Noam Mor on Sunday November 15th 2015, 7:32
by Lonk on Wednesday November 11th 2015, 4:49
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.
by vexorian on Tuesday November 10th 2015, 9:35
by Matthew Krafczyk on Sunday October 18th 2015, 16:03
by Hekar K on Thursday October 22nd 2015, 12:33
by Eivind Larsen on Wednesday November 4th 2015, 13:17
by illich on Sunday October 11th 2015, 2:11
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.
by Matthew Krafczyk on Sunday October 11th 2015, 5:22
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.
by Florian on Saturday September 5th 2015, 6:39
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.
by NothingSerious on Tuesday September 1st 2015, 16:59
by Hugo Osvaldo Barrera on Sunday July 12th 2015, 23:42
Is anyone else having these issues? Maybe my card is too old and has some drive issues or alike? :(
by Ryan Matte on Monday June 15th 2015, 9:05
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.
by brogcb on Sunday October 4th 2015, 8:47
Using Intel GFX by the way.
by Gian Paolo Mureddu on Monday May 11th 2015, 17:55
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.
by moto on Thursday May 14th 2015, 19:12
by Gian Paolo Mureddu on Monday May 25th 2015, 20:20
by Gian Paolo Mureddu on Monday May 25th 2015, 22:04
by YaoMitachi on Saturday June 13th 2015, 9:38
by YaoMitachi on Saturday June 13th 2015, 10:54
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.)
by YaoMitachi on Friday June 19th 2015, 20:29
by Gian Paolo Mureddu on Friday July 24th 2015, 21:49
by Davor on Saturday May 9th 2015, 6:18
Tried to install Heart of the Swarm using Wineskin 2.6.0 and engine 1.7.40, but didn't work.
by Gian Paolo Mureddu on Monday May 11th 2015, 17:37
by Davor on Tuesday May 12th 2015, 17:29
by Hugo Osvaldo Barrera on Sunday July 12th 2015, 23:40
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.
by Darin Avery on Sunday March 8th 2015, 12:29
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.
by Baltazar on Tuesday December 23rd 2014, 15:43
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!
by Baltazar on Tuesday December 23rd 2014, 17:18
damn poop...
must be settings...
Strange thing been, I was able to change shaders before on the wimpy APU.... ... I must be tripping... Blah
by Vladimir Olegshenko on Sunday December 21st 2014, 2:33
Your OS: Windows 2000 Service Pack 4
Minimum: Windows XP Service Pack 2
by Jason Alan Palmer on Sunday December 21st 2014, 12:10
by Bodanel on Saturday November 15th 2014, 9:06
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
by Temir Umurzakov on Wednesday November 5th 2014, 13:36
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
by Ema on Wednesday December 24th 2014, 3:12
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
by Baltazar on Saturday January 17th 2015, 5:28
:(
by Baltazar on Saturday January 31st 2015, 12:31
Still no shader support on my R9 280X...
by Misha on Sunday October 5th 2014, 0:13
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 )
by Miguel Raggi on Saturday August 30th 2014, 14:37
by starcraft on Tuesday September 2nd 2014, 10:46
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)
by tom on Friday August 15th 2014, 11:51
Is there a fix for this?
by Sam S on Tuesday July 29th 2014, 20:36
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.
by Sam S on Monday July 28th 2014, 0:28
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.
by Sam S on Tuesday July 29th 2014, 22:15
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.
by tom on Saturday May 17th 2014, 8:16
"Battle.net requires the Windows Secondary Logon service to be enabled"
The error code is BLZAPPBTS0000K.
by tom on Monday May 19th 2014, 20:48
by Thorus on Friday April 18th 2014, 11:46
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?
by Thorus on Friday April 18th 2014, 17:12
by Thorus on Saturday April 19th 2014, 10:59
after 'load-module module-udev-detect'. But then my pulseaudio in gnome does not work anymore...
by Thorus on Sunday April 20th 2014, 5:20
With default-fragment-size-msec set to 5 in /etc/pulse/daemon.conf, both works pulseaudio and sound in starcraft
by Torsten Thortroll on Wednesday March 26th 2014, 18:01
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 :/.
by Anders Nylander on Monday November 3rd 2014, 6:45
Then just use a non-CSMT version of wine for the launcher when you need to update.
by Change on Thursday February 20th 2014, 12:16
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).
by Ema on Friday January 24th 2014, 13:45
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
by snejjj on Sunday January 19th 2014, 3:04
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?
by Jason Alan Palmer on Wednesday January 22nd 2014, 10:10
"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 :\
by eugenio on Monday September 16th 2013, 6:08
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?
by eugenio on Monday September 16th 2013, 6:17
"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 ?
by fengshaun on Monday September 16th 2013, 15:38
$ __GL_THREADED_OPTIMIZATIONS=1 wine /path/to/sc2.exe
or export it in you ~/.profile:
export __GL_THREADED_OPTIMIZATIONS=1
Hope this helps.
by eugenio on Tuesday September 17th 2013, 10:29
i use wine to play sc2 since the first release
't will be nice to have FPS doubled
i give it a try!
by Kenshi on Sunday September 8th 2013, 3:01
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.
by Ben on Tuesday July 1st 2014, 19:11
by Gregory Beauregard on Tuesday August 20th 2013, 19:00
by Oliver on Thursday August 15th 2013, 14:57
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.
by Oliver on Friday August 23rd 2013, 23:05
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
by David Leo on Wednesday June 26th 2013, 14:18
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
by David Leo on Wednesday June 26th 2013, 14:25
by Alexander Nigol on Tuesday April 9th 2013, 22:05
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.
by Kellan Pine on Thursday April 11th 2013, 11:36
What version of wine do you have?
by snejjj on Sunday January 19th 2014, 2:50
by Kellan Pine on Tuesday April 9th 2013, 14:42
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.
by samuel on Tuesday April 16th 2013, 16:46
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
by John Sun on Monday April 1st 2013, 1:08
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?
by John Sun on Monday April 1st 2013, 1:52
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.
by John Sun on Monday April 1st 2013, 12:29
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!
by Eric on Thursday March 28th 2013, 5:18
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!
by Catalin Patulea on Sunday December 22nd 2013, 18:38
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.
by RB on Friday March 15th 2013, 13:11
Ubuntu 12.10
Wine 1.5.25
by Michael Grigoriev on Saturday March 16th 2013, 19:59
by RB on Sunday March 17th 2013, 16:31
I have an nvidia gtx 550.
The problem seems related to some audio issue. I don't know how to give other irfomation.
Regards
by Alexander Varnin on Sunday March 17th 2013, 21:44
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.
by Alexander Varnin on Sunday March 17th 2013, 22:31
launchpad.net/~foresto/+archive/winepatched/+build/4308544
Now it is usually hangs up on mission loading screen.
by Alexander Varnin on Sunday March 17th 2013, 23:00
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
by Michael Grigoriev on Sunday March 17th 2013, 22:54
by RB on Sunday March 17th 2013, 18:48
by Michael Grigoriev on Monday March 18th 2013, 0:54
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.
by RB on Tuesday March 19th 2013, 5:47
Thanks a lot
Regards
by Nicodemus on Monday March 18th 2013, 10:09
Is there an open bug for this issue?
by Alexander Varnin on Tuesday March 19th 2013, 15:43
by Nicodemus on Tuesday March 19th 2013, 9:07
i haven't crashed yet since doing it. hope it holds.
by RB on Wednesday March 20th 2013, 7:27
Regards
by jon on Thursday March 7th 2013, 22:37
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.
by jon on Thursday March 7th 2013, 23:46
by jon on Friday March 8th 2013, 1:42
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.
by jon on Friday March 8th 2013, 21:50
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.
by Ian on Wednesday March 6th 2013, 17:19
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.
by Henrik Wennergren on Thursday March 7th 2013, 3:36
Have you also tried limiting the SC2.exe process to a single core or maybe two?
by Ian on Thursday March 7th 2013, 17:19
Thanks for the suggestions!
by Danilo Riffo on Thursday March 7th 2013, 8:48
watch for SC2 asking for it, your video driver forcing it or your window manager forcing it.
by Ian on Thursday March 7th 2013, 17:40
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.
by Dmitry Golubev on Thursday March 7th 2013, 19:04
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.
by Ian on Thursday March 7th 2013, 19:19
by Dmitry Golubev on Thursday March 7th 2013, 19:40
by Ian on Thursday March 7th 2013, 20:18
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...
by Henrik Wennergren on Friday March 8th 2013, 4:26
In SC2 settings under graphics, try with setting shaders to low. It may not look pretty, but the FPS should go up.
by samuel on Friday March 8th 2013, 12:37
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...
by Ian on Friday March 8th 2013, 18:50
by Ian on Friday March 8th 2013, 17:59
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
by samuel on Sunday March 10th 2013, 15:01
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...
by samuel on Thursday March 14th 2013, 13:09
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
by christian on Friday March 15th 2013, 13:34
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
by samuel on Wednesday March 20th 2013, 5:49
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)...
by christian on Wednesday March 20th 2013, 13:16
Things i have changed:
UseGLSL->disabled
So, not very much. The rest is default. Disabling GLSL makes a noticable difference even without the patch.
by samuel on Thursday March 21st 2013, 16:45
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
by Shawn on Monday March 4th 2013, 19:47
[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?
by Jason Alan Palmer on Monday March 4th 2013, 20:24
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.
by Shawn on Monday March 4th 2013, 21:48
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).
by Kaito on Sunday February 24th 2013, 18:00
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?
by Xu Yao on Monday February 18th 2013, 2:32
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?
by samuel on Friday March 8th 2013, 3:47
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.
by christo on Thursday February 14th 2013, 15:05
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).
by christian on Sunday January 6th 2013, 6:45
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.
by christian on Monday January 7th 2013, 6:47
Read: bugs.winehq.org/show_bug.cgi?id=11674#c275
by Dmitry Golubev on Tuesday January 8th 2013, 13:00
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.
by Daniel on Tuesday October 30th 2012, 2:10
Anyone else have this problem and know a fix?
d
by Sam Sulcer on Tuesday November 6th 2012, 21:12
by kantlivelong on Sunday November 11th 2012, 10:08
I'm using Cinnamon and would love to fix this.
by Fake Name on Tuesday September 25th 2012, 15:46
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!
by Mihaly Bak on Thursday September 27th 2012, 13:28
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 :/
by ReCon on Sunday October 28th 2012, 16:45
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.
by Tomik on Monday October 29th 2012, 5:55
by Fake Name on Thursday November 22nd 2012, 0:13
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.
by Fake Name on Thursday November 22nd 2012, 0:14
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.
by Fake Name on Thursday November 22nd 2012, 0:21
Hope it helps! :D
by trevice on Wednesday August 29th 2012, 13:27
"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!
by capilevastu on Monday August 20th 2012, 9:38
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
by capilevastu on Saturday September 8th 2012, 7:00
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
by capilevastu on Tuesday September 11th 2012, 13:23
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.
by capilevastu on Sunday January 8th 2012, 12:00
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
by lubosz on Monday March 1st 2010, 9:17
-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