WineHQ
StarCraft II Current



Category: Main > Games > Strategy Games > Real-Time Strategy > StarCraft II > Current


NameStarCraft II
VersionCurrent
License Retail
URLhttp://www.starcraft2.com/
Votes 138
RatingPlatinum
Wine Version1.7.20
Maintainers of this version:
Description

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


Please include the following in your test results:

  • kernel version
  • CPU
  • RAM
  • videocard
  • video driver
  • FPS (press Control+Alt+F to display FPS in-game)
  • in-game graphics settings (low, medium, high, ultra)
Old test results
The test results you have selected are very old and may not represent the current state of Wine.
Selected Test Results (selected in 'Test Results' table below)

What works
Pretty much everything I've checked (ladder, customs games).


What does not
Optimal Performance. On windows I can get 60fps with maxed settings. On arch x64 I only get around 30 avg on medium. Drops to 20 in 3v3 / 4v4.


What was not tested
Map editor, Campaign. I assume campaign would work fine though


Additional Comments

Arch x64 3.2.4-1
Phenom II 955 @ stock
4GB DDR2 800
Radeon 5850 /w catalyst 12.1

Followed guides and tips on this page.

!Lowering number of sounds to 16 helped performance a lot!
Test Results
DistributionTest dateWine versionInstalls?Runs?RatingSubmitter
ShowUbuntu 14.04 "Trusty" amd64 (+ variants like Kubuntu)Jun 21 20141.7.20 Yes Yes Platinum Gabriele 
ShowLinux Mint 17 "Qiana" x86_64Jul 06 20141.7.19 Yes Yes Platinum Sanne Grinovero 
ShowUbuntu 14.04 "Trusty" amd64 (+ variants like Kubuntu)Jun 11 20141.7.19 Yes Yes Platinum Tobias Schönberg 
ShowLinux Mint 16 "Petra" x86_64Feb 22 20141.7.12 Yes Yes Platinum Gökhan Çalışkan 
ShowArch Linux x86_64Feb 12 20141.7.12 Yes Yes Gold Mario Oelze 


Known bugs
Bug # Description Status Resolution Other apps affected
8060 arial.ttf and wingdings.ttf not available (JRE 1.3.1: EXCEPTION_ACCESS_VIOLATION in fontmanager.dll) NEW View
11674 Dual-core unsupported in WoW and SC2 NEW View
21327 Weird behaviour with Alt+Tab and wine fullscreen applications NEW View
23824 Starcraft II: Installer doesn't always launch NEW View
24033 StarCraft2 bad physics issue on non-flat landscape parts that is unrelated to the physics NEW View
24097 Missing letters and numbers in Starcraft II REOPENED View
24299 Starcraft 2: Custom maps with dialog labels using style "ABChoiceBackButtonText" crashes game NEW View
24558 Starcraft II - CPU freq. not running at max performance NEW View
25852 StarCraft II: Some images not drawing UNCONFIRMED View
28282 Sound constantly crackling in lot of games UNCONFIRMED View
31461 Starcraft II (patch 1.5.1) crashes after playing Squadron TD for a while UNCONFIRMED View
32212 Mouse cursor not released from Blizzard based games UNCONFIRMED View
32457 Starcraft 2: An application has made an attempt to load the C runtime library incorrectly. UNCONFIRMED View
32726 Starcraft II fulscreen app is still drawn when Alt+Tabing in KDE UNCONFIRMED View
33247 StarCraft II: HotS crash random after a while NEW View
33361 Starcraft II sound overrun UNCONFIRMED View
33802 Starcraft II: some textures are missing UNCONFIRMED View
35976 Starcraft 2: Alt tab breaks hotkeys UNCONFIRMED View

 
Comment cleanup

To keep this page clean and lean, all comments from 2012 or earlier are being considered for removal.

No offense is intended to any comment authors. Most of the notes on this page have been distilled from helpful user comments, and new comments are always welcome!


 
HotS crash when completing bonus objective

Until bug 8060 is resolved, completing any bonus objective in the HotS campaign can cause a crash.

The work-around is to install corefonts:

winetricks corefonts


 
Installation problems

To successfully install from the DVD you may have to use the "unhide" option. Example:

# mount -o ro,unhide,uid=1000 /dev/cdrom /mnt/cdrom

If you are still unable to install directly from the DVD, you can try

  • copying the files from the DVD to a hard disk first
  • using the downloadable installer instead

 
Kernel problems

You may encounter crashes before the loading screen or after login, with Blizzard crash reporter errors like this:

PRIV_INSTRUCTION, ACCESS_VIOLATION or Internal Battle.net Error

Linux users should upgrade the kernel to 2.6.35 or later. FreeBSD users should upgrade to 8.1 or later. This issue is discussed in the following bug reports:


 
Regedit video performance tweaks

Some users report that the following registry edits can increase video performance. Some users report that these changes make no difference, and some even report that they make things worse! Feel free to experiment....

  1. Access the registry: wine regedit
  2. Navigate to HKEY_CURRENT_USER/Software/Wine/Direct3D. If this key does not exist, create it.
  3. Right click on Direct3D, and select New > String Value to add each of the entries below.
Key Value
DirectDrawRenderer opengl
Multisampling disabled
OffScreenRenderingMode pbuffer
UseGLSL disabled
VertexShaderMode hardware
VideoMemorySize (Set this value to the RAM on your video card, in MB)

See also the UsefulRegistryKeys entry on the wiki.


 
Updater problems

If the updater crashes, you can try one of the following:

  • install ie6 via winetricks
  • start winecfg, go to DLL overrides, add "mshtml" and set it to "native"

 
Fix crashes in zeratul missions or with custom maps

If you experience crashes in the "Zeratul Missions" or with custom maps like SOTIS, you can try installing corefonts and the Visual C++ 2005 libraries:

winetricks corefonts vcrun2005


 
Ubuntu problems with ptrace

With Ubuntu 12.04 and some versions of the linux kernel, pthread protection causes SCII to crash immediately upon start or after login. To fix this, enter the following command to temporarily disable pthread protection:

echo 0 | sudo tee /proc/sys/kernel/yama/ptrace_scope

pthread protection will be re-enabled upon reboot. To re-enable pthread protection manually, enter the following command:

echo 1 | sudo tee /proc/sys/kernel/yama/ptrace_scope


 

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

Installer requires secondary logon
by tom on Saturday May 17th 2014, 8:16
When I try to install Heart of the Swarm from DVD, I get the following error:

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

The error code is BLZAPPBTS0000K.

[post new] [reply to this]

sound stuttering
by Thorus on Friday April 18th 2014, 11:46
Hi,

my sound is stuttering in Starcraft 2, strangely only ingame, in the launcher it works fine... I'm using wine 1.7.16 with newest SC2 version. Everything else seems to work fine. Is there sth I can do?

[post new] [reply to this]

Arch64/32 Bit Problems with CSMT
by Torsten Thortroll on Wednesday March 26th 2014, 18:01
Howdy,

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

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

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


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

Any more ideas? :/ ... I really just don't want to go back to win just for 2-3 hours gaming a week :/.

[post new] [reply to this]

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

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

Install all Opensuse 13.1 updates through the update manager.

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

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

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

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

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

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

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

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

Maybe I'm lucky or I have 'just the right' video cards, but it all works great for me. I hope this helps someone else get their rig running the way they want it. If you have a beefier card, like a 6850 or above, try out the r600g driver (built into the kernel). It may not have the same performance as the prop, but you're already on linux, might as well fully support Free Software (as much as you can).

[post new] [reply to this]

Latest patch and wine 1.7.11 crash on display FPS
by Ema on Friday January 24th 2014, 13:45
Hi guys,

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

Can you please confirm?

Ubuntu x86_64, nVidia 680 GTX, drivers 331.20

[post new] [reply to this]

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

Any ideas, how I could get it working on ntfs? Is this a bug, I should report?

[post new] [reply to this]

SC2 OpenGL strings
by node on Sunday January 5th 2014, 8:35
Mind you, Starcraft 2.exe only chainloads Support/SC2Switcher.exe, as Starcraft 2.exe is basically the launcher.

SC2Switcher.exe however seems to chainload Versions/Base*/SC2.exe the REAL binary.

Running strings on that 19 MiB binary doesn't yield much hope however, just some translation strings.

e_errorNoOpenGL=
OpenGL
/// Startup: Couldn't initialize OpenGL.
D3D/OpenGL
/// StarCraft II has encountered an unexpected DirectX/OpenGL error. This may indicate an issue with an out-of-date videocard driver. If the problem persists, for more information consult our support website at starcraft2.com/support.

[post new] [reply to this]

FPS .....we at it AGAIn
by eugenio on Monday September 16th 2013, 6:08
i would like to have more infos about the Stefan Dösinger patch
how can double fps? it includes a fix for the "dual-core not used" issue? or something?
is not just an ARCH thing isn't it?

[post new] [reply to this]

Updater hanging
by Kenshi on Sunday September 8th 2013, 3:01
I managed to install SC2 from the DVD on Debian. It appeared to actually download the first patch, but then said it was "updating the updater" and wouldn't continue. Every time I restart it now, it says it's applying patch 1 of 24 and that there are 0 kb remaining but then pops up saying it's checking for updates and gets stuck there.

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

I'm not finding any more solutions. Anyone have any more ideas? I'm getting withdrawals.

[post new] [reply to this]

can't connect to battle.net at random
by fengshaun on Thursday September 5th 2013, 23:46
I just installed starcraft on wine 1.7.1. I remember it used to work, but now, sometimes I can login, and sometimes I can't (with the error: cannot connect to battle.net). Even when I login, The matchmaking screen doesn't fully load and custom games crashes! Am I missing something that I should've installed?

[post new] [reply to this]

garbage
by Gregory Beauregard on Tuesday August 20th 2013, 19:00
Since submitting the "garbage" report, I have done a significantly larger amount of testing to no avail. After testing all sorts of combinations of clean 32-bit and 64-bit WINE prefixes with and without various winetricks overrides, I sought others to reproduce my issue. Two other people running ~testing Gentoo amd64 (I'm on ~testing) were able to get SC2 installed on a clean 64 bit prefix using a method I exactly reproduced, but to no avail. Furthermore, they confirmed we had comparable USE flags for WINE. Glancing at console output would very tentatively suggest the issue is net-related, but I cannot ascertain what. I have exhausted my personal ability to attempt fix the issue, so if any of you have any ideas, I am open to suggestions.

[post new] [reply to this]

Failed to run a required program (BLIZZARD SETUP) Error code: BLZPTS0000J
by Oliver on Thursday August 15th 2013, 14:57
I have been surfing forums for weeks, trying to solve this problem. I've installed several versions of wine, including the recommended (for WOL) 1.5.10. x86, through playonlinux.

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

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

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

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

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

Can anyone help me? Thanks for reading..appreciated.

[post new] [reply to this]

DOWNLOADER 0% PROBLEM
by David Leo on Wednesday June 26th 2013, 14:18
I GOT IT WORKING

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

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

WAIT a while

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

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

I closed stuff like rundll.exe nc.exe winedevice.exe plugplay.exe , there was some weird KDEsomething.exe , which is weird I dont use KDE.. There was one specific one I cant remember the name of but it was probably the reason why it worked, it had a weid name like kublow.exe or something, after i closed these the installer started to progress, and im installing it now .. hope this helps someone

[post new] [reply to this]

Pausing in HOTS Campaign game
by Michael on Saturday April 20th 2013, 18:11
Wine 1.5.28
NVIDIA 313.26

I played through the Wings of Liberty campaign a year ago without any problem. Performance was normal.

I just loaded HOTS and the first few missions had pauses that lasted 5 to 10 seconds and then the game would play normally for a few minutes. On the third mission, I get pauses of 5 to 10 seconds every 5 to 10 seconds making the game unplayable. If I load a 1 vs AI game performance is fine so it seems related to just the campaign portion.

I've tried setting all graphical settings to low. Doesn't help. Any ideas?

[post new] [reply to this]

Blizzard Downloader doesnt do anything
by Alexander Nigol on Tuesday April 9th 2013, 22:05
Hey guys,

I'm trying to install HotS via the downloader.

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

Same sort of problem with D3 installer as well, where the launcher seems to run fine except for the not downloading anything part.

[post new] [reply to this]

Massive Performance Boost (Nvidia)
by Kellan Pine on Tuesday April 9th 2013, 14:42
I installed the game with no problems, but found it nearly unplayable from low fps. I was running at about 9-18 fps before this fix. Now I'm running at 60 fps consistently.

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

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

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

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

Make sure that there is a space after each semicolon.

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

I can only verify that this is a Starcraft 2 problem. I can't confirm whether or not performance will jump in other games.

[post new] [reply to this]

Graphics Performance tweak
by Azrael on Sunday April 7th 2013, 21:36
Hi guys,

Been lurking mostly in this forums for getting SC2 to work.

Tried something with excellent results, and thought I'll register and post something that could help!

My settings is the same as what stated here. I am using Wine 1.2.3 on Debian Squeeze (probably an outdated dinosaur by now).

I would like to suggest that under the Direct3D key in the registry.
Add 2 DWORD values:
VideoPciDeviceID
VideoPciVendorID

These are also under the Useful Registry Keys section of the wiki here.

Input the ID of both your Device and Vendor. It really helps to improve the performance.

I am using i5 and a Nvidia GTX 550 Ti.

SC2 initially tells me that my recommended settings are to be low.

But after doing this in addition to the other registry key settings, they are now recommended at Extreme =)

Hope it helps everyone. =)

(Do note that it can run on Extreme, just that during certain battles of 200 supplies the FPS might drop drastically, so I run them on High)

[post new] [reply to this]

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

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

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

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

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

Is it possible it's a bug in the mesa driver? or just the GLSL support of wine?

[post new] [reply to this]

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

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

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

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

sudo apt-get install ia32-libs-multiarch

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

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

Installing these libraries fixed all my problems!

[post new] [reply to this]

StarCraft II suddenly stopped working
by Mario Becroft on Wednesday March 27th 2013, 5:46
StarCraft II was working fine on Wine version around 1.5.20 with Nvidia graphics.

I upgraded Wine to 1.5.26 and Nvidia driver to 313.26, and now StarCraft II no longer works.

Reverting to previous versions now also fails. StartCraft II will begin to load, create a black window filling my screen (which normally contains the loading screen graphic) but it remains black and nothing happens even after several minutes.

I also can't even run the installer on a fresh wine prefix. The installer starts to run then hangs forever after the following messages:

WINEPREFIX=/mnt/c/.wine wine sc2/SC2-WingsOfLiberty-enSG-Insta
ller/Installer.exe
wine: created the configuration directory '/mnt/c/.wine'
err:winediag:xrandr12_init_modes Broken NVIDIA RandR detected, falling back to R
andR 1.0. Please consider using the Nouveau driver instead.
err:winediag:xrandr12_init_modes Broken NVIDIA RandR detected, falling back to R
andR 1.0. Please consider using the Nouveau driver instead.
err:winediag:xrandr12_init_modes Broken NVIDIA RandR detected, falling back to R
andR 1.0. Please consider using the Nouveau driver instead.
err:winediag:xrandr12_init_modes Broken NVIDIA RandR detected, falling back to R
andR 1.0. Please consider using the Nouveau driver instead.
err:winediag:xrandr12_init_modes Broken NVIDIA RandR detected, falling back to R
andR 1.0. Please consider using the Nouveau driver instead.
fixme:storage:create_storagefile Storage share mode not implemented.
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:winediag:xrandr12_init_modes Broken NVIDIA RandR detected, falling back to R
andR 1.0. Please consider using the Nouveau driver instead.
err:winediag:xrandr12_init_modes Broken NVIDIA RandR detected, falling back to R
andR 1.0. Please consider using the Nouveau driver instead.
fixme:storage:create_storagefile Storage share mode not implemented.
err:secur32:SECUR32_initSchannelSP TLS library not found, SSL connections will f
ail
fixme:iphlpapi:NotifyAddrChange (Handle 0x144e308, overlapped 0x144e320): stub
err:winediag:xrandr12_init_modes Broken NVIDIA RandR detected, falling back to R
andR 1.0. Please consider using the Nouveau driver instead.
err:winediag:xrandr12_init_modes Broken NVIDIA RandR detected, falling back to R
andR 1.0. Please consider using the Nouveau driver instead.
err:winediag:xrandr12_init_modes Broken NVIDIA RandR detected, falling back to R
andR 1.0. Please consider using the Nouveau driver instead.
fixme:storage:create_storagefile Storage share mode not implemented.
err:secur32:SECUR32_initSchannelSP TLS library not found, SSL connections will f
ail
fixme:iphlpapi:NotifyAddrChange (Handle 0xfde8d0, overlapped 0xfde8dc): stub
err:winediag:xrandr12_init_modes Broken NVIDIA RandR detected, falling back to R
andR 1.0. Please consider using the Nouveau driver instead.
wine: configuration in '/mnt/c/.wine' has been updated.
err:winediag:xrandr12_init_modes Broken NVIDIA RandR detected, falling back to R
andR 1.0. Please consider using the Nouveau driver instead.
err:winediag:xrandr12_init_modes Broken NVIDIA RandR detected, falling back to R
andR 1.0. Please consider using the Nouveau driver instead.
fixme:ntdll:NtPowerInformation semi-stub: SystemPowerCapabilities
fixme:font:WineEngAddFontResourceEx Ignoring flags 10
fixme:font:WineEngAddFontResourceEx Ignoring flags 10

The 'Broken NVIDIA RandR' messages are new. I don't understand whether these signify a real problem. Obviously the suggested solution of using Nouveau is impractical.

Has anyone else run into these issues?

[post new] [reply to this]

incredible slow loading
by Maic Striepe on Monday March 25th 2013, 11:29
Since the last patch the game takes incredible long to load.
From starting the game until the menu appears it takes at least 10 minutes.

System: Ubuntu 12.04 32 bit
wine: 1.5.26
cpu: phenom II 905e
ram: 16 GB
gfx: nvidia 650gtx 2GB

The game is installed on a SSD.

Any ideas? I tried to install to a new wineprefix: Same result.
Setting winecfg to win7 or winXP makes no difference.

[post new] [reply to this]

HotS crash random after a while
by RB on Friday March 15th 2013, 13:11
HotS crash random after a while, sound stop to work than in few seconds the game crash.
Ubuntu 12.10
Wine 1.5.25

[post new] [reply to this]

FPS is too LOW
by jon on Thursday March 7th 2013, 22:37
My computer set up isnt great but in windows I run high without a struggle. In wine I run low at 20fps tops. Quad core , 2.4gthz , 4g ram , ati 6870. I want to post some of my findings for anyone who cares to look into them.

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

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

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

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

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

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

I will reply more to this comment if I make any head way.

[post new] [reply to this]

Very low FPS
by Ian on Wednesday March 6th 2013, 17:19
Core i7 950
6GB DDR3
nVidia GeForce GTX 670
Xubuntu 12.04 LTS 64-bit
Wine version 1.5.19 through 1.5.25 (tested)

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

Given that my system isn't exactly outdated (yet) I should be able to crank it up well past 60 FPS, no? I'd really love to smooth it out before the expansion drops. Thanks in advance for your suggestions.

[post new] [reply to this]

Lag upon clickable object
by Shawn on Monday March 4th 2013, 19:47
Using gentoo AMD64 with wine version 1.5.24, Nvidia 313.18 and the following USE flags

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

I get decent framerate (~120) on an idle screen but upon hovering over a unit, building, mineral, etc the frames drop to ~15 making the game all but unplayable. Has anyone else encountered a similar issue?

[post new] [reply to this]

sc2 insists on being fullscreen
by Kaito on Sunday February 24th 2013, 18:00
Hey,

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

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

Any ideas how to force it to stay at the size I want it to stay?

[post new] [reply to this]

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

[post new] [reply to this]

r6034
by christo on Thursday February 14th 2013, 15:05
So finally I could run the game. I use wine 1.5.23, and nothing else. No libraries.

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

"Runtime Error!

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

R6034"...

If I use that command, the game maybe starts, and I could use everything in SC2, but sometimes crashes with the same error. Randomly.
Sometimes I can play for hours, sometimes the game crashes while loading the first ladder game. (But never crashes in the menu).

[post new] [reply to this]

A way to greatly improve performance for Nvidia GPU Users
by christian on Sunday January 6th 2013, 6:45
Hi,

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

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

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

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

Then start Starcraft the following way:

export PATH=/YOURSELFCOMPILEDWINE/bin:$PATH

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


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

Please give it a try and report back your results.

[post new] [reply to this]

I get a C runtime error on startup
by Josh Raymond on Saturday January 5th 2013, 6:22
Launcher works fine. Game does not.
As soon as the launcher closes after pressing Play, this error pops up.

Runtime Error!

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

R6034
An application has made an attempt to load the C runtime library incorrectly.
Please contact the application's support team for more information.

[post new] [reply to this]

Mouse cursor doesn't work when alt tabbed, after wine 1.5.14
by Daniel on Tuesday October 30th 2012, 2:10
When I alt tab, my mouse cursor stays as the sc2 one and clicking has no effect on the sidebar, other applications, etc.
Anyone else have this problem and know a fix?

d

[post new] [reply to this]

Increased FPS from 30 to 80
by Fake Name on Tuesday September 25th 2012, 15:46
If your game runs well in windows but crappy on Ubuntu:

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

taskset -p 2 `pidof SC2.exe`

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

It makes starcraft use 2 cores instead of 50% of 4. All I know is I can play now! YAY!

[post new] [reply to this]

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

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

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

try it! you will not regrete it!

[post new] [reply to this]

downloader crash during slow download
by Josias on Monday August 20th 2012, 11:00
My internet has been really bad the past week and I accidentilly wiped my StarCraft II directory during a wine prefix import. Re-installed without much hassles but then the downloader started crashing while sc2.x.x.x.x-to-sc2.1.5 (or something like that) for whatever reason (probably the downloader is timing out). In any case. waiting for it to crash every couple of minutes for a couple of days is out of the question so I did this to let it continue while I go off to work.

while true; do if [ $(pidof wineserver) ];\
then sleep 60;\
else exec=env WINEPREFIX=~"/Games/StarCraft II"\
wine C:\\windows\\command\\start.exe /Unix\
~/Desktop/StarCraft\ II.lnk;\
fi;\
done;

You might need to replace the "~" with your home directory which I took out to have it fit in this comment box

here is the unadulterated but my home directory blanked with zeroes

while true; do if [ $(pidof wineserver) ]; then sleep 60; else exec=env WINEPREFIX="/home/000000/Games/StarCraft II" wine C:\\windows\\command\\start.exe /Unix /home/000000/Games/StarCraft\ II/dosdevices/c:/users/Public/Desktop/StarCraft\ II.lnk; fi; done;

Basically its just a terminal/command-line that repeats checking every minute if wine is running and if it is not then it starts Starcraft II. Maybe someone else will find it useful.

[post new] [reply to this]

Starter/Tuning/Benchmark Script
by capilevastu on Monday August 20th 2012, 9:38
hi guys,

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

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

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

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

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

before you take a look at my pride, you should know that i am a scripting amateur.
i am happy about every suggestion.
pastebin.com/8TpjFJWD

[post new] [reply to this]

1.5.0 patch causes agent to fail
by ryan on Tuesday July 31st 2012, 21:14
I have sc2 installed on 11.10 ubuntu, amd64. Been working fine til the 1.5 SC2 patch came out. The updater starts, gets to 100% then starts the blizzard "StarCraft II Setup". After the agent starts, it sits there for a while (Title: StarCraft II Setup. Dialog text: Checking for updates), then it gives error: "Failed to run a required program (Agent). Wait one minute and try again.

It gives the link for help:
us.battle.net/support/en/article/blizzard-agent-troubleshooting

Deleting the battle.net folder does not help.

I can't figure out how to disable offline mode in IE from wine. I'm using play on linux 4.1.3

[post new] [reply to this]

"Quick Match" Error
by Michael Clare on Wednesday March 7th 2012, 2:21
Just an update. I am able to install, patch, and log in to Starcraft 2 with sound and video and network working properly.

My problem is that at the "Multi-Player", "Quick Match" screen, the circle just sits there spinning endlessly. I thought that something might be loading or cacheing, so I let it sit there. But even 1/2 hour later it is still spinning.

The 1v1 2v2 3v3 prompts never appear.

I have tried both 1.3.28 and 1.4-rc6. And I am using an NVIDIA Geforce 8800 GTX with Ubuntu 11.10.

[post new] [reply to this]

  • RE: by Michael Clare on Wednesday March 7th 2012, 7:46
  • RE: by Gael Goinvic on Thursday March 8th 2012, 12:14
many CPUs
by Kakadu on Monday January 23rd 2012, 8:46
Hallo!

On my Core i3 computer with GT330M video card I can play without lags only on minimal graphic preferences. I've noticed that wine uses only 1 of four my CPUs.

Are there any ways to use more CPUs?

[post new] [reply to this]

Performance Tweaks
by capilevastu on Sunday January 8th 2012, 12:00
hello guys,

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



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

these two options make the shadows completely disappear

GraphicsOptionShadowQuality=1
shadows=0


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

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


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

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


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



the second thing you can enhance is wine.

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

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


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

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



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

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


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

gl hf

[post new] [reply to this]

Tweaks that I've done
by Ryan Matte on Saturday September 18th 2010, 11:23
The following are the tweaks that I made to get SC2 running/looking as good as possible under wine:

Execute: wine regedit

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

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

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

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

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

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

These options work best for me. You'll probably have to tweak them depending on how powerful your PC and graphics card are.

[post new] [reply to this]

Black flickering
by lubosz on Sunday March 7th 2010, 0:55
I had black flickering when Shaders or Terrain was not set to low.
I set everything to max and only had to change 2 settings to get rid of the flickering.

The values have to be set to:

shadows=0 (responsible for the shader settings flickering)
preBlendedCreep=1 (responsible for the terrain settings flickering)

in drive_c/users/Username/My Documents/StarCraft II Beta/Variables.txt

[post new] [reply to this]

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

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

[post new] [reply to this]




   << Back

Page loaded in 0.08103 seconds.