What should I check for slow game performance in a Linux VM?

November 20, 2026 4 answers
Asked by laggybutton

I'm gaming on NixOS in a KVM/QEMU virtual machine managed with Libvirt. The Binding of Isaac takes 15 to 20 minutes to start and stutters when new things appear. Elden Ring: Nightreign runs around 15 to 20 FPS, even though overall CPU and GPU usage don't look maxed out. Both games have mods.

I've tried installing them on the VM's qcow2 drive and on two Virtiofs shares. Heroes of the Storm is playable through Lutris. Where should I start troubleshooting?

Answers

speedrunSplitScreen

Strip the launch setup down first. Test each game without mods, GameMode, frame generation, or other launch wrappers, using a standard Proton configuration. Then add things back one at a time. Nightreign has several pieces in its launch command, so a bad interaction there could otherwise be hard to spot.

For Isaac, compare startup time and stutters with the quality of life mods disabled. That won't prove the VM is innocent, but it will tell you whether to investigate the base game or the mod setup first.

GBAaudioJuggle_4C:

Keep the same game location and settings during those comparisons, otherwise it's harder to tell what changed the result.

Reply to this answer
raidCooldown-Adjacent

Check individual CPU threads and frame times, not just total CPU usage. One busy virtual CPU can hold a game back while the overall percentage looks moderate. Low GPU usage can be a symptom of that rather than evidence that the GPU has plenty of performance available.

Also check how many virtual CPUs the guest has, the CPU model exposed to it, and whether the host is busy. If you can, compare the same workload outside the VM. That would help separate virtualization overhead from a game or Proton issue.

Reply to this answer
sidequester+Mittens

Fifteen minutes to launch Isaac sounds worth investigating separately from the FPS issue. Since you've already tried all three install locations, look at what the game is actually doing during startup. Disk activity, CPU usage and game or Proton logs may show whether it's waiting on files, processing mods or repeatedly hitting an error.

The recurring stutter could be shader compilation, but that's only a guess for now. Check whether the relevant cache directories are writable and whether their contents persist between launches before assuming the cache is broken.

Reply to this answer
shmupSafeLane_4T

I'd verify the guest is actually using the intended GPU and driver for rendering. VM graphics configurations vary a lot, and the post doesn't say how the GPU is presented to the guest. Check the renderer reported by Vulkan and the game, then compare drivers and display settings before chasing smaller tweaks.

staminaGauge~Fuzzy:

Knowing whether the GPU is passed through or provided by a virtual graphics device would make the next steps much clearer.

Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions