protonscr

Proton with Steam OS issue

protonopen
ValveSoftware/Proton#1209 · opened 2018-09-03 by Nyanekoy · updated 2020-03-09 · 15 comments · github
NNyanekoy 2018-09-03 github

I use on my system steam OS. however as soon proton is active every game has terrible audio stutters and glitches. native supported games are fine but proton messes all up for me.

Does anyone has the same issue?

GGloriousEggroll 2018-09-03 github

many proton games need PULSE_LATENCY_MSEC=60

i ended up opening /usr/bin/steam and appending:
export PULSE_LATENCY_MSEC=60
to the top of it so it's always using it. fixes crackly audio on a lot of games.

NNyanekoy 2018-09-03 github

ok im trying that. i report back

NNyanekoy 2018-09-03 github

Got no luck with that

Ssetsunati 2018-09-03 github
NNyanekoy 2018-09-03 github

nope didnt work

Rryanmusante 2018-09-04 github
NNyanekoy 2018-09-05 github

nope i tried for a couple of hours now. not sure if its Steam OS causing the issue but even reinstalling didnt work

Zzaggynl 2018-09-05 github

Had the same issue in Doom: https://github.com/ValveSoftware/Proton/issues/396
Workaround for me was:

sudo nano /etc/pulse/default.pa
change: (Ctrl+W to search in nano)
load-module module-udev-detect
to:
load-module module-udev-detect tsched=0
save (Ctrl+O) (to exit: Ctrl+X)
killall pulseaudio
restart audio playing applications

Explanation of the tsched option: https://askubuntu.com/questions/371595/for-pulseaudio-what-does-tsched-do-and-what-are-the-defaults

Proper fix could be:
winetricks xact
WINEDLLOVERRIDES="xaudio2_7=n,b"
Which basically tells wine to use the Windows(?) audio dll it appears.
Had success with it for Squad: https://www.reddit.com/r/SteamPlay/comments/9cuigr/downloadrun_windows_versions_using_proton/

Also mentioned here: https://github.com/ValveSoftware/Proton/issues/54

ZZauberfisch 2018-12-28 github

I'm using pulseaudio on top of jack on top of alsa and also experienced crackling in some games.

like GloriousEggroll suggested, "PULSE_LATENCY_MSEC" fixed the issue for me.
Though I chose not to modify /usr/bin/steam but rather create a new file:

/usr/local/bin/steam

#!/bin/bash
export PULSE_LATENCY_MSEC=60
/usr/bin/steam

(don't forget to make that file executable)

DDGarry82 2019-01-05 github

Completely fixed crackled sound in "The Vanishing of Ethan Carter Redux" with
$ PULSE_LATENCY_MSEC=300 steam
(lesser values like =60 or =120) also had effect but with some crackles
System is rather old (C2D E8500 3.16GHZ/8GB DDR2/NVIDIA GT1030)
All other stuff (sample sizes, resampling rates in /etc/pulse/daemon.conf) had no effect at all.
Only PULSE_LATENCY_MSEC has finally helped.

Sorry, OS is Ubuntu 18.04.1 LTS, NVIDIA Drivers 415

Rryanmusante 2019-01-17 github

like GloriousEggroll suggested, "PULSE_LATENCY_MSEC" fixed the issue for me.
Though I chose not to modify /usr/bin/steam but rather create a new file:
export PULSE_LATENCY_MSEC=60

60 is the sweet spot, I concur.

AactuallySIG 2019-02-23 github

many proton games need PULSE_LATENCY_MSEC=60

i ended up opening /usr/bin/steam and appending:
export PULSE_LATENCY_MSEC=60
to the top of it so it's always using it. fixes crackly audio on a lot of games.

I'm on Ubuntu 16.04 and I've encountered this issue in 3 games: Red Alert 3 Uprising, Burnout Paradise and Doki Doki Literature Club. This fixed it.

SSharcoux 2020-03-08 github

Shouldn't this PULSE LATENCY fix be merged?

Rryanmusante 2020-03-09 github

@Sharcoux No this doesn't apply well to every game.

SSharcoux 2020-03-09 github

Did someone notice some games where it actually worsen the sound instead of making it better?