FEX-Emu / FEX-Emu/FEX

[StarCraft II]: SC2 x64 fails to start

Open
#5,512 3 comments 2 reactions 0 assignees View on GitHub
Game related
Dominant language
C++
Stars
8k
Forks
351
Avg merge
12h 31m
Merged PRs (30d)
102

Description

**What Game**
StarCraft II 5.0.15.96883 `SC2_x64.exe`

Installed from battle.net

**Describe the bug**
Starcraft II fails to launch in Proton 10 or 11 in x64 mode on an NVIDIA DGX Spark

In "32-bit client" mode, it launches in Proton 10, but it quickly crashes due to OOM unless playing simple game modes at a low resolution on lowest graphics settings.

Image

**To Reproduce**

1. Add battle.net setup as a "non-steam game" in Steam using any working version of Steam (e.g. via the Steam snap app, or fex_autoinstall)
2. Set compatibility to Proton 10
3. Install Starcraft 2
4. Try launching
5. Next, try cloning the bleeding edge proton, compiling it for arm64, and then using the following script to launch the SC2 that you've just installed but _without Steam_: https://gist.github.com/dllu/a0400131eac42468acdc71cd656c13c5

Finally, checkout my compilation branch of #5508, #5509, #5510, and #5511 here: https://github.com/dllu/FEX/tree/dllu/fex-sc2-x64-arm64 and compile Proton etc and relaunch SC2 with the above script. It should work.

**Expected behavior**
A clear and concise description of what you expected to happen. The game should launch.

**Screenshots and Video**

Launching the game without my branch fails with an obtuse error

Image

However, with my fixes, it works smoothly.

Image

Image

Image

**System information:**
- OS: Ubuntu 24.04.4 LTS
- CPU/SoC: NVIDIA GB10
- Video driver version: NVIDIA 580.159.03
- RootFS used: [eg: Ubuntu 21.10 Official Rootfs]
- FEX version: (FEXGetConfig --version) [eg: FEX-2112-155-gc691d709]
- Thunks Enabled: Yes

**Additional context**
- Is this an x86 or x86-64 game: [x86/x86-64/Both]
- Does this reproduce on AArch64 with Radeon/Intel/Nvidia: [Yes/No/Untested]
- Is this a Vulkan game: [Yes/No/Unknown] No
- If Yes, What is your Vulkan driver:

Add any other context about the problem here.

**Fixed in** #5508, #5509, #5510, #5511

Additional details: https://github.com/canonical/steam-snap/issues/501

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.