Audio Crackling Issues (Steam Deck OLED) Possible Fix?

This issue where the audio crackles, it comes from playing games. Game Mode menu audio has those issues. Desktop Mode, tested that and there was crackling when turning up or down the volume rocker. I'm thinking it could be an audio software issue. Anyone know exactly what is causing this to happen?
No description
102 Replies
JΛY_²_KΛY
JΛY_²_KΛYOP4mo ago
Rebooted my Steam Deck OLED and now the sound issue is fixed, closing post.
dnkmmr
dnkmmr4mo ago
then iy happens again for me
JΛY_²_KΛY
JΛY_²_KΛYOP4mo ago
If you get any updates that fix the issue that can work
dnkmmr
dnkmmr4mo ago
I still have the issue so far
JΛY_²_KΛY
JΛY_²_KΛYOP4mo ago
Speaker and or headphones are affected?
BANPOTK
BANPOTK4mo ago
I have same issue I have tested several conditions as follows: 1. This problem only occurs play game with Proton,GE,Experimental 2. Native Linux game no problem 3. Emulator no problem 4. Main screen and Desktop app (Play youtube by browser) no problem 5. Works with HDMI Screen
BANPOTK
BANPOTK4mo ago
It's affected both Speaker and headphones and reboot not work
dnkmmr
dnkmmr4mo ago
Headphones yes and I think speaker as well reboot only temporarlly fixes it
Josh.5
Josh.54mo ago
I clicked on this post because I was curious why someone would put bazzite on a steam deck when steamos exists and is a far more polished experience for the deck. But then I read this issue and thought I'd try to help. This is a common issue with the deck and I believe valve have already fixed it in steamos. But a simple solution that worked for most people was to sigstop the game process on suspend. There is a decky plugin called "pause games". In this plugin is an option to automatically pause games on suspend. This fixed the audio crackling issue on resume for many steam decks.
Aru
Aru4mo ago
I use the pause games plugin on bazzite, it doesn't completely fix the issue, but it helps a lot i've also found that after resume, if you temporarily set max TDP after resume for a bit, it can often clear out audio crackling
dnkmmr
dnkmmr4mo ago
well bazzite has printing, vm, and waydroid support I would like a branch that updates less often than the stable branch so it would be tested more throughly than getting random suprise problems will give that a try
Aru
Aru4mo ago
to clarify, the bazzite stable branch? or decky stable?
dnkmmr
dnkmmr4mo ago
yes
Aru
Aru4mo ago
there's lots of stable branches, lol
dnkmmr
dnkmmr4mo ago
like what?
Aru
Aru4mo ago
i mean, you can just lock your bazzite install to a specific image bazzite-rollback-helper rebase bazzite-image-here will lock you to that image and then just rebase every once in a while to a newer version bazzite-rollback-helper rebase stable to go back to the regular update cycle i basically update something like once a month, bazzite's release cadence is too high imo but it's not my decision to decide the release cadence
dnkmmr
dnkmmr4mo ago
but the image moght be buggy
Aru
Aru4mo ago
? i mean, any image can potentially be buggy?
dnkmmr
dnkmmr4mo ago
yeah I want a varient that updates less often
Aru
Aru4mo ago
there is none but you can diy it e.g. i stayed on the 04/27 image for months on one of my handhelds because of bugs on newer bazzite versions, it was fine
dnkmmr
dnkmmr4mo ago
what image is it, I am gonna try basing to it
Aru
Aru4mo ago
what, for audio? dunno if there's a known "good image" but you can try out different ones via bazzite-rollback-helper list to see available images
dnkmmr
dnkmmr4mo ago
it wasn't a problem before
Aru
Aru4mo ago
then do bazzite-rollback-helper list, see the available images and try some out it's safe to rebase between different bazzite images i do it all the time when i'm trying to track down a bug e.g. there's been some recent weird graphical artifacting issues in game mode, i tracked it down to image 07/22 as the last version that didn't have the bug
dnkmmr
dnkmmr4mo ago
that would take several weeks
Aru
Aru4mo ago
so now i'm just chilling on 07/22 on my affected devices i mean, i don't know what else to say. i don't magically know which image introduced your potential issue
dnkmmr
dnkmmr4mo ago
I am gonna rebase to that one and see if there's a difference
Aru
Aru4mo ago
and i don't have a deck OLED, so i can't really replicate
dnkmmr
dnkmmr4mo ago
I don't either I am on the bazzite-deck 512 gigs LCD
Aru
Aru4mo ago
i'm on a gpd win 4 and minisforum v3
dnkmmr
dnkmmr4mo ago
No description
Aru
Aru4mo ago
very different device lol oh, so there's an issue where you can only rebase to images from within the past 30 or so days 06/18 is too old
dnkmmr
dnkmmr4mo ago
wait what? why would thry even be listed?
Aru
Aru4mo ago
basically all images from before 07/02 are inaccessible right now normally it works tldr: bazzite dev made a mistake that broke older images, but as newer images get created, the old ones will automatically get phased out so sometime around October, all images listed will work but still, good point. someone should probably investigate not showing the images that broke
dnkmmr
dnkmmr4mo ago
here is thr thing, stable isn't really stable because it updates way too often, I want to see a lts branch that gets an update like once a month.
Aru
Aru4mo ago
i've already said the same to the bazzite devs it's not my decision to make ¯\_(ツ)_/¯ that's why i diy my own stable and rebase maybe something like 1x a month
dnkmmr
dnkmmr4mo ago
what did they even say?
Aru
Aru4mo ago
nothing really? though I didn't try particularly hard to convince them since i can just diy it but i've said a few times that bazzite "stable" feels like a bleeding edge sometimes
dnkmmr
dnkmmr4mo ago
who owns bazzite again?
Aru
Aru4mo ago
kyle is the primary maintainer
dnkmmr
dnkmmr4mo ago
@Kyle Gospo can we consider a branch that updates like once a month. stable updates too often for me
Kyle Gospo
Kyle Gospo4mo ago
No, that would be a massive security issue If anything we'll do it more often once we have diffed updates fully worked out
dnkmmr
dnkmmr4mo ago
I just know steamos does that
Aru
Aru4mo ago
tbh I think the high update cadence is counterproductive since 3x OS updates a week is tiring, at some point people might start ignoring it altogether
Kyle Gospo
Kyle Gospo4mo ago
And it uses a kernel that's out of date by default, there's no expectation of security there We've got them down to around 300 MB each Previously they were two gigabytes each And the progress bar is going to become accurate fairly soon
Aru
Aru4mo ago
i don't think it's the size that matters, so much as the frequency like, if i get 3x updates a week and get very few to no visible features or improvements and often times even regressions i'm disincentivized to update
dnkmmr
dnkmmr4mo ago
a lot of times, just more bugs
Aru
Aru4mo ago
yeah that's why i basically "diy my own stable" e.g. for months, 04/27 was genuinely more stable on my LGO but anyways, that's just my own personal opinion. and being able to control rebasing eliminates the issue for me for the most part
dnkmmr
dnkmmr4mo ago
most of thr bugs involve gamemode and gamescope
Kyle Gospo
Kyle Gospo4mo ago
Which doesn't change often, and when it does it's doing so because Valve pushed an update The most recent problems were due to a forced update to get HDR functional in newer kernels And it's finally stabilized again
Aru
Aru4mo ago
on the upside, the higher release cadence means that bugs usually get reported faster
dnkmmr
dnkmmr4mo ago
I have noticed that stability of bazzite has improven over time
Aru
Aru4mo ago
it's also much easier to track down bugs since it's easier to narrow down the problem to a specific OS image e.g. if users start reporting a bug, usually it's due to an image from within the past week so i've accepted that it's probably generally better for to diy a slower cadence for users that want it i've been thinking that a LTS stable only makes sense once you have a large dev team and a lot of dev bandwidth since maintaining an LTS seems like a big headache
dnkmmr
dnkmmr4mo ago
I rebased to 07-12, mouse cursor is missing in gamemode, the blinking _ error occours every other time, gonna try 07-14
Aru
Aru4mo ago
hunting down a good image is a tedious chore, unfortunately you should also consider reporting any bugs you see but previous "golden images" that were basically my diy bazzite stable were 02/20, 03/15, 04/06, 04/27, 07/22
dnkmmr
dnkmmr4mo ago
07-14 is working out good so far
Aru
Aru4mo ago
so no audio crackling/popping on 07/14? ideally you could track down the latest version that didn't have the bug, but it does take a lot of time to do that
dnkmmr
dnkmmr4mo ago
nope
Kyle Gospo
Kyle Gospo4mo ago
I can confirm 7/14 had the exact same audio drivers for the deck and the exact same steamdeck-dsp package and the exact same pipewire config, since it's stored in steamdeck-dsp
dnkmmr
dnkmmr4mo ago
same kernel?
dnkmmr
dnkmmr4mo ago
No description
Kyle Gospo
Kyle Gospo4mo ago
same driver
dnkmmr
dnkmmr4mo ago
IDK what is the kernel of the latest bazzite version
Kyle Gospo
Kyle Gospo4mo ago
6.9.12
dnkmmr
dnkmmr4mo ago
I also heard it was a kernel issue as well I am on 6.9.8
Kyle Gospo
Kyle Gospo4mo ago
I am on 6.9.12 and not able to reproduce this issue I don't think it's married to a specific kernel version I think it's random
dnkmmr
dnkmmr4mo ago
what device are you using? did you try it on games that use proton?
Kyle Gospo
Kyle Gospo4mo ago
Yes Deck LCD, Deck OLED
dnkmmr
dnkmmr4mo ago
ok why do some issues only happen for certain people even though they are on the same device and image?
Kyle Gospo
Kyle Gospo4mo ago
If I knew I'd fix it I had this problem a couple times in the past and both times it was fixed by restarting
dnkmmr
dnkmmr4mo ago
temporarly
Kyle Gospo
Kyle Gospo4mo ago
Obviously we are shipping what Valve does as far as audio is concerned
dnkmmr
dnkmmr4mo ago
Are images being corrupted when downloaded and deployed?
Kyle Gospo
Kyle Gospo4mo ago
No
dnkmmr
dnkmmr4mo ago
who does know a lot about oci images and ostree?
Kyle Gospo
Kyle Gospo4mo ago
Just about everybody here
dnkmmr
dnkmmr4mo ago
Could it be differences in configuration?
Kyle Gospo
Kyle Gospo4mo ago
No, since we're all using the same config out of the box It's almost certainly a bug in either valve's DSP or in the kernel And it is random, given how rare I'm able to reproduce it We'll figure it out eventually
dnkmmr
dnkmmr4mo ago
I don't ever really touch /etc other than some scripts that I run that installs homebrew (profile.d directory) on 07-14 the issue isn't there
Kyle Gospo
Kyle Gospo4mo ago
I promise you it is You just haven't gotten it yet
dnkmmr
dnkmmr4mo ago
really because it didn't happen for playing gmod or no mans sky how do you know it's there since you don't experince the issue?
Kyle Gospo
Kyle Gospo4mo ago
As I said it's happened to me twice, it's random And in versions far older than the one you're testing
dnkmmr
dnkmmr4mo ago
oh I thought you don't experince the issue
Kyle Gospo
Kyle Gospo4mo ago
I cannot reproduce it on the latest kernel This is the core issue, if I had a reliable way to reproduce this problem it could be tested and fixed But I do not
dnkmmr
dnkmmr4mo ago
I wish we knew why some issues only happen for certain people on the same image and device have you tried proton ge?
Kyle Gospo
Kyle Gospo4mo ago
Yes
dnkmmr
dnkmmr4mo ago
In about a week I prpbably would give the latest stable a try
JΛY_²_KΛY
JΛY_²_KΛYOP4mo ago
So on 7/14 the audio drivers'll be fixed?
Kyle Gospo
Kyle Gospo4mo ago
Are you using a steam deck?
JΛY_²_KΛY
JΛY_²_KΛYOP4mo ago
Steam Deck OLED Limited Edition.
Kyle Gospo
Kyle Gospo4mo ago
You're welcome to try it, I have little reason to believe your issue won't come back If it's not still there after you rebase
JΛY_²_KΛY
JΛY_²_KΛYOP4mo ago
Trying it now And if it is still there, which I doubt, it may need an audio driver update or patch. So that totally fixed the audio issue, rebasing to 20240714 fixed the issue for me completely.
dnkmmr
dnkmmr4mo ago
now I get it after a few hours on proton used games
Linus Xu
Linus Xu4mo ago
OLED LE here with what appears to be a similar issue. Seems that virtual channel is the problem in my case… Ok so 0714+disabling vc it is Will probably get to a game or two in several hours to check
dnkmmr
dnkmmr4mo ago
which is done by how? what is a virtual channel
Linus Xu
Linus Xu4mo ago
ujust setup-virtual-channels. Directly related to sound so probably worth looking into bazzite-rollback-helper rebase 20240714 Ok even weirder now… Looks like whatever goes wrong takes place on return to game mode And persists after that…?
Kyle Gospo
Kyle Gospo4mo ago
this exists to set them up, we do not create channels OOTB this tracks, like I was saying earlier it has nothing to do with bazzite version and all of them can have it. It's a random bug that needs to be tracked down
Linus Xu
Linus Xu4mo ago
Noted.
Aru
Aru4mo ago
i think audio crackling bugs have been a problem on all Linux PC handhelds for a long time, the Steam Deck + SteamOS has had the same issue for a very long time i've found that after resume if you hear crackling audio, sometimes increasing TDP to the max TDP for several seconds will clear out the audio bugs
dnkmmr
dnkmmr4mo ago
never knew that
PhantumJak
PhantumJak4mo ago
I was experiencing this issue on my Ally X, though I have seen many people claim the same issue on the SD. From what I can tell, I have resolved the issue. I saw a Reddit post stating that installing the DeckyLoader plugin "Pause Games" can fix this issue after enabling the option "Pause Before Suspend." My understanding is that this plugin allows the system to divert resources to other things prior to suspending the system, thus resulting in a "cleaner" system wake. Idk all the technical mumbo-jumbo, all I know is that it fixed the issue for me.
Aru
Aru4mo ago
Yeah, the pause games plugin helps a lot too I've been using it for a long time
Want results from more Discord servers?
Add your server