Helldivers 2 sound crackling/popping
Describe the bug Sound crackling and popping when playing Helldivers 2
To Reproduce Steps used to reproduce the behavior:
- Set Helldivers 2 launch options in Steam to
gamemoderun %command% - Launch the game
- Hear crackling when on the bridge of the ship
Expected behavior No sound popping, fixed when not using gamemoderun.
System Info (please complete the following information):
- OS and version: Endeavouros (Arch linux based)
- GameMode Version 1.8.2
Additional context It seems that gamemode pins all the threads of helldivers to only 4 threads, other people have had issues with sound crackling when their cpu usage got too high so it may be related. Also note that I'm running an i9-13900K and I have P/E cores. If there is a way to disable core pinning with gamemode I could try that.
Ok so I've added this to my ~/.config/gamemode.ini
[cpu]
park_cores=no
pin_cores=no
and it fixed the issue
I tried both options separately and here is the cpu usage.
pin_cores=yes
park_cores=yes
So probably a P cores list detection issue ?
You guys mention cpu freq heuristics here https://github.com/FeralInteractive/gamemode/issues/352#issuecomment-1843382748 but it doesn't seem to work on my machine ?
I fixed the cpu pinning by doing it manually for anyone having the same issue, add this to your ~/.config/gamemode.ini
[cpu]
park_cores=no
pin_cores=0-15