-
-
Notifications
You must be signed in to change notification settings - Fork 290
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Audio stuttering in many games in Gamescope w/ 6700XT #851
Comments
Update: I found another source online saying that AMD fTPM could be contributing to audio stutter. Tried disabling this with no change. |
Also having audio stuttering in the games I'm playing, Dark souls remastered and death stranding. Bazzite install is fresh on an 3600x/7600xt system. |
I tried using a USB sound card instead of the GPU's HDMI audio, and with that there is no stuttering. https://www.amazon.com/dp/B0B9H53KD9 So definitely something going on with the GPU / snd_hda_intel module. A solution that doesn't require additional hardware is ideal so I will keep testing this as the system receives updates. |
I have the same problem. With chimeraos, i dont have this issue. Ryzen 7600 |
I also have this issue under any load (games, compute) |
Check if it is a scheduler bug no matter the result though, please report back here. Thanks |
@HikariKnight did some testing, but the problem still exist. The same with system76 disabled. |
If you're using HDMI audio, this is unfortunately a known issue with one of the various HDR patches. I suspect this will be resolved shortly with the launch of Fedora 40 and kernel 6.8 and will update this issue as builds of that come online. |
I do playing over hdmi, but not HDR. I have a hdr tv, but it will flickering when enabled. |
I don't play with HDR enabled. Should that matter? |
thanks for testing, i have had some cases where the scheduler was causing some audio issues on my threadripper under some cpu loads so was worth checking :) |
hey just to check back in on this, I tried doing the system76 idea to no avail and looked around the internet for this issue in pipewire don't know if this is the same reason as others, but in my instance this helped :3 |
I've searched through all the pipewire.conf files I can find on my system ... they all seem to set this to 1024 already. Where did you update it exactly? |
the link I sent has instructions for where it is if its already 1024 for you, it may be a separate issue then though |
Strange enough, i have also stutters when using a bluetooth headphone. |
If you could update and try again I would appreciate it. May be fixed in the latest build. |
Just gave it a whirl. There is a definite improvement now, but the issue is still there. In What the Golf the stuttering is much less frequent, enough that I had to play for a few minutes to hear it happen two or three times. In PowerWash Simulator though it still happens pretty frequently, especially when holding down the trigger and getting a lot of noise from the sprayer. I had also tried the pipewire.conf changes earlier (copied /usr/share/pipewire/pipewire.conf to /etc/pipewire/pipewire.conf|~/.config/pipewire/pipewire.conf, and set default.clock.min-quantum on line 32 to 1024 and rebooted). I didn't notice any significant change with this one.
|
Is this fixed with version 2.5.0? |
My machine pulled down a Fedora 40 image today so I tried this again, same result. There is still audio stuttering in the games I listed.
|
@rayrayrayraydog Thanks. I will stay with chimeraos. |
It would be great to hear from any other users that had the issue as well. It's possible that I've modified something, somewhere that is allowing this to continue happening and I've also layered several packages. I may try reinstalling from scratch to see if it continues with a fresh system. |
I have the same issue with Red Dead Redemption 2. I also ended up using an USB soundcard (Creative sound blaster HD) which is a great workaround. I used the motherboards audio directly which also produced crackling, and my airpods pro never crackle but skips as you described. However I only tried out this game and Tomb Romb Raider 2013. TR did not have any issues but I played only 30 minutes with that. I'll try more and come back with more infos. RDR2 also tends to stutter and crackle on Windows too. My other issue with 6700XT is Blender not showing up HIP rendering. If you've got some time @rayrayrayraydog can you please try it out? Probably we have similar systems. |
Tried again with today's update in Power Wash Simulator. No change yet.
|
Since I had issues with HIP rendering too so I tried out ChimeraOS as an alternative. No crackling at all. Bazzite have much more goodies pre-installed I assume one of those causing this. I don't even have Decky now, but I plan to install that later. Does HIP work for you? |
Wanna report the same thing with a RX6600, happened with:
Can you link the root issue bug/discussion for this? Edit: And yes, this seems to be the issue for me with the HDMI audio driver. Put a Fiio E10k USB DAC between my box and the receiver: No audio problems |
Here to report the same thing happening with a Ryzen 5 3600 and RX5700XT. |
Hmm Diablo IV and Risk of Rain Returns seem to suffer less |
Update here. Diablo IV only has crackling every so often, but Rocket League, Risk of Rain Returns, Fall Guys (proton ge) and the various other games I tend to play with friends from time to time seem to still be suffering crackling. |
I have this issue too using a 6750xt, with hdmi out to my 4KTV in game mode. Hi-Fi Rush has skipping audio, it really kills the fun. Edit: Yeah, it only happens on TV with hdmi audio. In many games. Switching audio stops the stuttering. |
Would just like to note this is still happening both on a GPD Win Mini 7840U running Bazzite as well as the following living room "Steam Machine" outputting audio over HDMI from a 5700XT: |
kernel 6.11 is in testing now, if any of you want to test that as it should have the fix for this from upstream. |
In my case at this point im trying to search for an alternative audio connection, i dont wanna swap baazzite, I like it, but its frustrating. Its very strange because it isnt consistent. I have some strange theory, if I have my PC turned on and booted for like 6 hours when I play via HDMI it does not stutter, but if I do a reboot, it starts stuttering. Veeeeery strange. My last 5 days with both 6.9 and 6.11 kernels seems to confirm this theory, but idk at this point, im out of ideas |
I upgraded my machine to 41 today and the stuttering is still there. If it helps, here is a short video of PowerWash Simulator where you can hear the stutter in the first few seconds: https://www.youtube.com/watch?v=SrC-QA7GLUc |
Yep, exactly the same for me. I think its a little bit better? But same issue, and only happens with Bazzite. |
I also recently updated to 41 and the audio dropping/stuttering has returned I came across this at r/AMDhelp: https://www.reddit.com/r/AMDHelp/s/3euamc97Uh The post is aging, but there are quite a few recent comments. Some of the noticeable similarities, besides the audio stuttering:
According to the thread, it may be power related? Some users suggested the HDMI connection may be lost when the card tries to conserve power... |
What worked for me on various linux distributions, including Bazzite/Fedora, was changing a setting in LACT. Under I am running a 6700XT outputting through 4k HDMI. I suspect there is a power saving policy somewhere that is too aggressive. |
I will give this a try today. Did this make the card louder? |
Unfortunately, there is no lact.rpm for 41 yet |
Hi, do you mean in BIOS settings? Thanks |
No. LACT is an AMD GPU configuration application: |
I guess we're waiting for the LACT rpm for F41? The ujust script didn't manage to install ilt. |
They released it yesterday for f41 https://github.com/ilya-zlobintsev/LACT/releases/ |
Sorry, first time using LACT, is this the correct configuration? |
Make sure the correct GPU is slected using the drop down menu in the top left. You may than have to enable overclocking by pressing the button pictured in your screencapture. |
After rebasing to 40 and getting the same symptoms, regardless of GPU clock or power settings, I think I've found a solution. I considered the issue was with the HDMI connection being 'dropped' or lost. Based on this post at r/pipwire I thought it may be possible to force the connection to stay alive through pipewire/wireplumber. I made a wireplumber lua config to disable the timeout/suspend of the HDMI audio output node. I tried several games last night, and today and have had no audio dropping, or stuttering. Please give this a try and see if it helps!
(be sure to customize the file by inserting your audio node ID in the correct place)
This is a global config. I assume you could create a user config by creating the necessary directories in .config (just to be clear, I went back to stable-41) |
Hi, Thank you very much!! I copied the configuration according to my node, I will report my experience in a couple of sessions. |
Any news? |
a note on this.. Since wireplumber .5 lua scripts are no longer used, config files are now SPA-JSON format. The manual migration procedure is provided here: https://pipewire.pages.freedesktop.org/wireplumber/daemon/configuration/migration.html I edited my scripts and location, I can provide an example if anyone needs it... Not 💯 sure this is the fix. I haven't had any major issues since, I would be curious to see if this helps anyone else... |
I'd be very thankful for an example. Having this issue right now and it'd be great to have yours as a reference. |
This is what I ended up with. Going to give it a try later today.
|
I tried that conf with my node name. didn't seem to work. |
Hello, Steps I followed:
I hope I won't have any problems in the future 🤞. Thank you, |
Hi, I've done the same as @AnthonySoler, I'll try it tonight, with RE4 Remake, it stutter as soon as I play 5-15 minutes, let's see if we have luck this time. Thanks :) |
Perhaps the team can implement these fixes, as audio should just work |
Two hours yesterday at RE4 Remake, 0 stuttering, lets see the next days but this seems promising for sure. |
Update: it failed again with Persona 5, in fact, I think now it stutters more than before. Its very sad this dont got fixed in more than a year I have bazzite installed |
Unfortunately, I wanted to play today and the issue is here again with even more audio stutter than before. Very weird behavior... |
Yep, its even worse than before. |
I just installed Bazzite and am getting this badly in MGS2 (haven't tried much with other games yet). Weirdly, having the FPS counter displayed massively improves (although doesn't completely fix) the issue, and takes it from unplayable to just slightly annoying. I'm running a 6650xt, HDMI out to an AV receiver to my 4K TV, and Bazzite 41 for what it's worth. I will try some of the suggestions and follow some of the links in this thread and report back if I find anything helps. |
I’m using plain Fedora 41 KDE, so sorry for butting my nose in here, but this thread is really high on the search results page for this issue, and I hope to help at least some people. I had the same problem for three months now since buying an RX 6750XT, and have tried many many things, keeping the GPU pinned to the highest frequency, using a plain HDMI cable or an active DP to HDMI one, using various output audio options (stereo, 5.1, 7.1 surround), modifying the Wireplumber config with suspend timeout 0 or a larger alsa headroom, and a few other things and nothing has worked. In the end I found this reddit thread yesterday, that doesn’t even mention AMD, which said to add And guess what, it worked for me as well - for the first time in three months, today I could just boot up my desktop and play something, and the audio never once cut out. |
Describe the bug
I have been using bazzite since before Fedora 39 with this system, and I'm not sure when, but in the last few months the system has developed frequent audio stutters when running games. A number of users with 6700XT's have described similar issues -- in my case the audio just cuts out without any static for just a moment and does so very frequently in many games. Some games are impacted more than others. The stuttering is much more frequent when running games via Gamescope vs. launching them from the desktop. I also run the Kodi Flatpak through Steam in Gamescope and it doesn't ever have any audio stutter.
A few badly impacted games:
What did you expect to happen?
Audio stuttering should not be an issue with this hardware in these lightweight games. I am using the HDMI audio output of the GPU.
I have tried some fixes from some threads in Discord with no noticeable change:
Output of
rpm-ostree status
Hardware
System is a custom HTPC running bazzite-deck:
Extra information or context
No response
The text was updated successfully, but these errors were encountered: