Anyway to increase my StarCraft 2 FPS from 1 to 30+?

I created a QEMU Windows 10 virtual machine and installed StarCraft 2 to see if it is playable on Linux.

Unfortunately the FPS fluctuates between 0 and 1 on the lowest settings. :slight_smile:

Is there a way to improve the performance to above 30 fps?

inxi -Fazy
~ >>> inxi -Fazy                                                              
System:
  Kernel: 5.8.11-1-MANJARO x86_64 bits: 64 compiler: N/A 
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.8-x86_64 
  root=UUID=e5832754-c602-46d5-9f50-e8776af08fe3 rw quiet apparmor=1 
  security=apparmor udev.log_priority=3 
  Desktop: GNOME 3.36.6 tk: GTK 3.24.23 wm: gnome-shell dm: GDM 3.36.3 
  Distro: Manjaro Linux 
Machine:
  Type: Desktop System: Gigabyte product: TRX40 AORUS MASTER v: -CF 
  serial: <filter> 
  Mobo: Gigabyte model: TRX40 AORUS MASTER v: x.x serial: <filter> 
  UEFI: American Megatrends LLC. v: F5j date: 09/07/2020 
CPU:
  Topology: 32-Core (4-Die) model: AMD Ryzen Threadripper 3970X bits: 64 
  type: MT MCP MCM arch: Zen 2 family: 17 (23) model-id: 31 (49) stepping: N/A 
  microcode: 8301039 L2 cache: 16.0 MiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm 
  bogomips: 473793 
  Speed: 2383 MHz min/max: 2200/3700 MHz boost: enabled Core speeds (MHz): 
  1: 2514 2: 2027 3: 2021 4: 2042 5: 2196 6: 2196 7: 2209 8: 2198 9: 1865 
  10: 2800 11: 1865 12: 1865 13: 2026 14: 2129 15: 2126 16: 2126 17: 4245 
  18: 2197 19: 2196 20: 2196 21: 2196 22: 4246 23: 2022 24: 2027 25: 2139 
  26: 2124 27: 2799 28: 1864 29: 1867 30: 1865 31: 2055 32: 3600 33: 2055 
  34: 2056 35: 2060 36: 2126 37: 2223 38: 2182 39: 2085 40: 2199 41: 2197 
  42: 2200 43: 2199 44: 1865 45: 2798 46: 3597 47: 1863 48: 1866 49: 2118 
  50: 2117 51: 2116 52: 4233 53: 2195 54: 2199 55: 2200 56: 2199 57: 2055 
  58: 4249 59: 2119 60: 2125 61: 2121 62: 2055 63: 2026 64: 2475 
  Vulnerabilities: Type: itlb_multihit status: Not affected 
  Type: l1tf status: Not affected 
  Type: mds status: Not affected 
  Type: meltdown status: Not affected 
  Type: spec_store_bypass 
  mitigation: Speculative Store Bypass disabled via prctl and seccomp 
  Type: spectre_v1 
  mitigation: usercopy/swapgs barriers and __user pointer sanitization 
  Type: spectre_v2 mitigation: Full AMD retpoline, IBPB: conditional, STIBP: 
  conditional, RSB filling 
  Type: srbds status: Not affected 
  Type: tsx_async_abort status: Not affected 
Graphics:
  Device-1: AMD Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] 
  vendor: Sapphire Limited driver: amdgpu v: kernel bus ID: 02:00.0 
  chip ID: 1002:67df 
  Display: x11 server: X.org 1.20.9 compositor: gnome-shell driver: amdgpu,ati 
  unloaded: modesetting,radeon alternate: fbdev,vesa 
  resolution: <xdpyinfo missing> 
  OpenGL: renderer: Radeon RX 570 Series (POLARIS10 DRM 3.38.0 
  5.8.11-1-MANJARO LLVM 10.0.1) 
  v: 4.6 Mesa 20.1.8 direct render: Yes 
Audio:
  Device-1: AMD Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590] 
  vendor: Sapphire Limited driver: snd_hda_intel v: kernel bus ID: 02:00.1 
  chip ID: 1002:aaf0 
  Device-2: AMD Starship/Matisse HD Audio driver: snd_hda_intel v: kernel 
  bus ID: 22:00.4 chip ID: 1022:1487 
  Device-3: Giga-Byte USB Audio type: USB 
  driver: hid-generic,snd-usb-audio,usbhid bus ID: 7-5:2 chip ID: 0414:a001 
  Device-4: Logitech Logitech BRIO type: USB 
  driver: hid-generic,snd-usb-audio,usbhid,uvcvideo bus ID: 6-1:2 
  chip ID: 046d:085e serial: <filter> 
  Device-5: Giga-Byte USB Audio type: USB 
  driver: hid-generic,snd-usb-audio,usbhid bus ID: 5-6:3 chip ID: 0414:a000 
  Sound Server: ALSA v: k5.8.11-1-MANJARO 
Network:
  Device-1: Intel I211 Gigabit Network vendor: Gigabyte driver: igb v: 5.6.0-k 
  port: c000 bus ID: 44:00.0 chip ID: 8086:1539 
  IF: enp68s0 state: up speed: 1000 Mbps duplex: full mac: <filter> 
  Device-2: Aquantia AQC111 NBase-T/IEEE 802.3bz Ethernet [AQtion] 
  vendor: Gigabyte driver: atlantic v: kernel port: c000 bus ID: 45:00.0 
  chip ID: 1d6a:11b1 
  IF: enp69s0 state: down mac: <filter> 
  Device-3: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel port: c000 
  bus ID: 46:00.0 chip ID: 8086:2723 
  IF: wlo2 state: down mac: <filter> 
  IF-ID-1: virbr0 state: up speed: 10 Mbps duplex: unknown mac: <filter> 
  IF-ID-2: virbr0-nic state: down mac: <filter> 
  IF-ID-3: vnet0 state: unknown speed: 10 Mbps duplex: full mac: <filter> 
Drives:
  Local Storage: total: 953.87 GiB used: 114.55 GiB (12.0%) 
  SMART Message: Required tool smartctl not installed. Check --recommends 
  ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 970 PRO 512GB size: 476.94 GiB 
  block size: physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 
  serial: <filter> rev: 1B2QEXP7 scheme: GPT 
  ID-2: /dev/nvme1n1 vendor: Samsung model: SSD 970 PRO 1TB size: 953.87 GiB 
  block size: physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 
  serial: <filter> rev: 1B2QEXP7 scheme: GPT 
Partition:
  ID-1: / raw size: 953.57 GiB size: 937.60 GiB (98.33%) 
  used: 114.55 GiB (12.2%) fs: ext4 dev: /dev/nvme1n1p2 
Swap:
  Alert: No Swap data was found. 
Sensors:
  System Temperatures: cpu: 58.2 C mobo: N/A gpu: amdgpu temp: 34 C 
  Fan Speeds (RPM): N/A gpu: amdgpu fan: 932 
Info:
  Processes: 831 Uptime: 1h 12m Memory: 31.30 GiB used: 12.85 GiB (41.1%) 
  Init: systemd v: 246 Compilers: gcc: N/A Packages: 1166 pacman: 1161 
  lib: 310 flatpak: 5 Shell: Zsh v: 5.8 running in: gnome-terminal 
  inxi: 3.1.05 

Thanks in advance.

Virtual machines will not provide proper frames for gaming unless you use a second GPU and use passthrough
as described here:
https://wiki.archlinux.org/index.php/PCI_passthrough_via_OVMF

Alternatively you can run it trough Lutris

2 Likes

I’ve marked the below answer as the solution to your question as it is by far the best answer you’ll get.

However, if you disagree with my choice, please feel free to take any other answer as the solution to your question or even remove the solution altogether: You are in control! (I just want to avoid even more subjective opinions being posted and confusing you even more)

:innocent:
P.S. In the future, please mark a solution like this:
Solution
so that the next person that has the exact same problem you just had will benefit from your post as well as your question will now be in the “solved” status.

Wine doesn’t work?

You can certainly run it using lutris, there’s a thread here about increasing low fps

Thanks all. Managed to run it with Lutris and I am gettin 60-90 fps even in 4v4 games. :love_you_gesture: :+1:

Alt+F4 doesn’t seem to work but no biggie.

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.