Hello,
Been running Fedora 40, while playing some games via Steam (tried Proton 9.something, 8, experimental) while using Firefox and Discord simultaneously. After a while, my audio turns off (crashes) completely. If I close the game, the audio returns but sounds like from a tin can and is very crackly. If I close all applications and start them again, it returns to normal.
Can I reproduce it?
By switching on and off “Optimize for headphones” in some games, the audio crashes again and stops any running YouTube videos.
What this optimization exactly does is something I couldn’t find any documentation for. (In this case Guild Wars 1)
What have I tried?
Looked for new updates.
Tried different Proton versions.
Checked if the problem occurs on Windows 11 (does not).
PROTON_USE_WINED3D=1 PROTON_NO_ESYNC=1 %command% was added to Steam
Completely clean install of Fedora 40
Installed Fedora 41
What does work to an extend is, that I can use the command: systemctl --user restart pipewire pipewire-pulse wireplumber
This allows me to F5 the video or restart Discord, avoiding the crackling glitches.
Does anyone have an idea how I could potentially fix the issue?
Thank you!
That will reproduce it that easily? (GW1 → Settings → Optimize for headphones → (sound stops)
I haven’t tried that setting, but think I can get GW1 downloaded and try that in the near future.
I’m thinking it does some Headphone Mode to the Windows audio system which then “does something” (not sure if Vista+ is doing something like emulating a concert hall/multiple speakers/emulate 5.1/7.1 to game stuff). If it is doing some driver-side Headphone mode, it’s possible Wine knows how to handle that, passes it over to ALSA, and somewhere between ALSA and Pipewire that breaks.
One idea is to set GW1’s Wine prefix to winxp; I think that does something different to the audio system for Windows apps.
Another is some OpenAL wrapper (DSOAL or something like that); I recall that working fine in Wine and GW1 with a dll override but didn’t notice a sound difference.
Both of those would be workarounds and I’d still be curious to what’s actually happening; that’s the last setting I would expect to take out a sound system
In this case allow me to describe to you in detail how to reproduce it there exactly. I will try if I can use your workarounds in the meantime and report back, if it works.
Over longer periods of time:
If you just play a long instance + listen to a YouTube video the sound will cut out or crackle/glitch on it’s own. If I then add or remove the checkmark from Optimize for headphones it restores the sound sometimes. This usually breaks a bit later anyhow again and can only be restored entirely by restarting GW1.
The quick replication:
If you boot up GW1 and have a video for verification running on the side, add and remove (basically spam this option) and the sound will crash.