pipewire-pulse audio crackling in some proton games 03 May 2025, 04:18:18 Does not happen with pulseaudio.For example in papa's louie pizzeria the whole game starts crackling, while in others such as tf2 (native) or tboi it's pretty infrequent.No troubleshooting information I found helped or was relevant.Will send recording if needed, I apologize for the lack of info, it's 5 am and I'm tired. I don't know what to add.I'm using the default config, I just installed pipewire following this guide: https://wiki.artixlinux.org/Site/PipewireInsteadPulseaudioThank you in advance. Quote Selected
Re: pipewire-pulse audio crackling in some proton games Reply #1 – 03 May 2025, 16:16:25 https://www.reddit.com/r/linux_gaming/comments/1gy347h/newbie_here_ive_tried_almost_all_fixes_theres/found a fix. Quote Selected 1 Likes
Re: pipewire-pulse audio crackling in some proton games Reply #2 – 03 May 2025, 17:09:47 No, this is not the fix, it's just working around the issue and wasting cpu cycles... The better fix would be to change handling of Wine's audio backend from the default pulseaudio to alsa, here's how you can do it with winetricks:Code: [Select]$ winetricks sound=alsaThen check if it's loaded properly with winecfg:This way pipewire works the way it is intended to which should be:wine > alsa > pipewire-alsa > pipewirenot:wine > alsa > pulseaudio > pipewire-pulse > pipewire = all of this wrapping around is just a waste of cpu power... Quote Selected 2 Likes
Re: pipewire-pulse audio crackling in some proton games Reply #3 – 03 May 2025, 22:28:38 Quote from: Shoun2137 – on 03 May 2025, 17:09:47No, this is not the fix, it's just working around the issue and wasting cpu cycles... The better fix would be to change handling of Wine's audio backend from the default pulseaudio to alsa, here's how you can do it with winetricks:Code: [Select]$ winetricks sound=alsaThen check if it's loaded properly with winecfg:This way pipewire works the way it is intended to which should be:wine > alsa > pipewire-alsa > pipewirenot:wine > alsa > pulseaudio > pipewire-pulse > pipewire = all of this wrapping around is just a waste of cpu power...thanks, will try. How do I set this up in steam proton though? Quote Selected
Re: pipewire-pulse audio crackling in some proton games Reply #4 – 04 May 2025, 16:12:14 Quote from: terrorbyte – on 03 May 2025, 22:28:38Quote from: Shoun2137 – on 03 May 2025, 17:09:47[...]thanks, will try. How do I set this up in steam proton though?Same way, but with protontricks, essentially:Code: [Select]protontricks <appid> sound=alsaYou can get all locally available proton bottles with:Code: [Select]protontricks -lEdit 25.05.2025:https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/1938#note_1286997Here's why wine's libpulse is absolutely trash and inferior and SHOULD NOT BE EVER USED with pipewire. Quote Selected Last Edit: 25 May 2025, 20:27:50 by Shoun2137 3 Likes
Re: pipewire-pulse audio crackling in some proton games Reply #5 – 10 July 2025, 15:08:08 Quote from: Shoun2137 – on 04 May 2025, 16:12:14Quote from: terrorbyte – on 03 May 2025, 22:28:38thanks, will try. How do I set this up in steam proton though?Same way, but with protontricks, essentially:Code: [Select]protontricks <appid> sound=alsaYou can get all locally available proton bottles with:Code: [Select]protontricks -lEdit 25.05.2025:https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/1938#note_1286997Here's why wine's libpulse is absolutely trash and inferior and SHOULD NOT BE EVER USED with pipewire.I finally got around to doing this, do i have to do this for every single game I have installed? That will take a while. Quote Selected
Re: pipewire-pulse audio crackling in some proton games Reply #6 – 10 July 2025, 15:12:50 It says selected driver: (None) instead of winealsa.drvIT'S NOT FIXED, I'LL JUST FIX IT ON A GAME BY GAME BASIS.Okay that fixed it for that game, I'll see if this can fix skyrim's weird echoes too. Quote Selected Last Edit: 10 July 2025, 15:22:20 by terrorbyte
Re: pipewire-pulse audio crackling in some proton games Reply #7 – 11 July 2025, 14:58:07 Yeah, it solved it. I just need to run protontricks on affected games. I think it fixed skyrim's issues too. Thanks for the help. Quote Selected 1 Likes
Re: pipewire-pulse audio crackling in some proton games Reply #8 – 11 July 2025, 18:25:18 Quote from: terrorbyte – on 10 July 2025, 15:12:50It says selected driver: (None) instead of winealsa.drv[...]Yeah, I noticed that this happens on current 10.X wine and derivatives, probably just the UI bug in winecfg. Don't get me started on the wine's filepicker...Quote from: terrorbyte – on 11 July 2025, 14:58:07Yeah, it solved it. I just need to run protontricks on affected games. I think it fixed skyrim's issues too. Thanks for the help.When I have more time, I'll consolidate current Artix pipewire wiki page with several of those quirks so that people wouldn't need to search stuff up on their own. ;f Quote Selected 2 Likes
Re: pipewire-pulse audio crackling in some proton games Reply #9 – 17 July 2025, 18:03:37 Unfortunately in FH5 and FH4 sound=alsa option gives low volume and (sort of) incomplete sound. alsamixer did not help.So I get back to sound=pulse option but used this in game launch string of steam:Code: [Select]env PULSE_LATENCY_MSEC=400 %command%No cracking now.Spoiler (click to show/hide)Extra info. But I don't use it.https://www.reddit.com/r/rhythmgames/comments/1gamrnc/low_latency_guide_for_linux_using_pipewire/ Quote Selected Last Edit: 17 July 2025, 18:53:36 by dr-kart