HDMI audio cutouts

HDMI audio cutouts persist from 6.9 to 6.11. The 6.11 update was supposed to bring improvements/fixes for this issue but nothing has changed. Chimera os was able to patch it manually and fix it on 6.9 where it was previously broken there as well. Not sure where the fault lies or what to try to fix this on bazzite. Using 7800xt
116 Replies
antheas
antheas2mo ago
its not the kernel though, its something else maybe fedora related
Veroxin
VeroxinOP2mo ago
I dont think its fedora, if I recall chimera is arch based and that was having issues before prior to the "fix"
antheas
antheas2mo ago
what was the fix though
LinuxConvert
LinuxConvert2mo ago
I can’t help, but have a similar graphics card. With ChimeraOS, were you just using the default install, or did you do something special? I was thinking of maybe trying CachyOS for my HTPC. Running Bazzite on the ROG AllyX and that seems fine.
Veroxin
VeroxinOP2mo ago
No description
antheas
antheas2mo ago
included in our kernel
Veroxin
VeroxinOP2mo ago
So its something else then entirely Since we ruled out the kernel it seems should I spin up straight fedora and see what happens?
antheas
antheas2mo ago
probably yea although before you can try some workarounds such as increasing buffer sizes
Veroxin
VeroxinOP2mo ago
Well I gotta reinstall anyway since I have manjaro loaded, before I try any bazzite tweaks might as well do fedora first and just see what happens
antheas
antheas2mo ago
yea
Veroxin
VeroxinOP2mo ago
I think you were onto something with it being fedora related, I got straight fedora running and issue is back
Veroxin
VeroxinOP2mo ago
antheas
antheas2mo ago
yea
Veroxin
VeroxinOP2mo ago
At this point do you want me to spin back up bazzite and we can try increasing the buffer?
antheas
antheas2mo ago
you can also do it in fedora
Veroxin
VeroxinOP2mo ago
Would you mind giving me instructions on how to do that and I can try it?
antheas
antheas2mo ago
i dont remember :clueless: something alsa wireplumber
Veroxin
VeroxinOP2mo ago
Oop, well im not entirely sure either then lol At least its narrowed down and definitely not kernel related at this point Where do we go from here? I suppose I can use something else in the meantime but this is clearly some bug/issue and I dunno how we go about fixing it in the long term
Veroxin
VeroxinOP2mo ago
Are you referring to section 5.1.13 or 5.1.14?
antheas
antheas2mo ago
just go through all of it
Veroxin
VeroxinOP2mo ago
Alright I read through it but I dont exactly understand a lot of this
Veroxin
VeroxinOP2mo ago
Are you suggesting this?
No description
antheas
antheas2mo ago
yea that could also help
Veroxin
VeroxinOP2mo ago
You probably wont know the answer to this but would it be possible to pull the settings off of something like chimera or manjaro (assuming the audio is set up the same) and copy the settings over?
Gerk
Gerk2mo ago
Are you getting underruns? In the journal
Veroxin
VeroxinOP2mo ago
Underruns?
Gerk
Gerk2mo ago
In the screenshot you posted It gives an example Do you see those in the journal as the mention Basically, there if a buffer that holds processed audio before it is played back. If the buffer runs out, the audio will glitch. If you are not getting those errors, then it's not a buffer size issue The audio glitches only happen with HDMI, right? Like if you plug in headphones it works?
Veroxin
VeroxinOP2mo ago
This is correct I will take a look
Gerk
Gerk2mo ago
Have you tried a different HDMI cable? Cheap/old cables can cause audio issues.
Veroxin
VeroxinOP2mo ago
Different cables, different TVs, different GPUs, mobos, CPUs. Its not hardware How do I read the journal on bazzite? Im not seeing it anywhere Figured it out, journalctl, however there is nothing when reading pipewire-pulse.service
Gerk
Gerk2mo ago
Than it's likely not the issue
Veroxin
VeroxinOP2mo ago
Just tried spinning up cachyOS which is arch based, issue is there as well. Its not just fedora Chimera corrected themselves, they said this was the fix they used, not the one I previously linked https://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git/commit/?h=for-linus&id=478689b5990deb626a0b3f1ebf165979914d6be4
Gerk
Gerk2mo ago
The patch was supposed to be in 6.11 but it caused regressions with other machines It looks like there is a new fix in 6.12
antheas
antheas2mo ago
this is the snoop fix and you tried the snoop and you said it did not work
Veroxin
VeroxinOP2mo ago
They recommended disabling IOMMU from my mobo, if this is the issue then by disabling it completely it should fix it on an unpatched kernel
antheas
antheas2mo ago
it doesnt matter patched or unpatched all that patch does is not disable snoop
Veroxin
VeroxinOP2mo ago
Welp I dunno then
antheas
antheas2mo ago
IOMMU might help disable it although it might lower perf in some applications add this to your kernel command line amd_iommu=off same as snoop
Veroxin
VeroxinOP2mo ago
My mobo had IOMMU set to auto, I disabled it completely and loading back in now Dont think I need that if I disable it in bios but I suppose it doesnt hurt Nope disabled IOMMU and issue was still present
Gerk
Gerk2mo ago
You could install Rawhide and see if the fix in 6.12 works.
Veroxin
VeroxinOP2mo ago
I tested manjaro with 6.12 and issue was fixed there, but it was also working on manjaro 6.11 too However chimera gave me an idea, they suggested I try cachy where the issue was also happening, and try loading the chimera kernel into it
Gerk
Gerk2mo ago
the patch Chimera is using was dropped though due to regression, I would see if the changes in 6.12 fix it it's sounds like a fixed implementation instead of a workaround
LinuxConvert
LinuxConvert2mo ago
Just out of curiosity, have you tried Bazzite desktop edition instead? I had a weird issue with Steam / Linux game mode with my htpc where it wouldn’t do surround in the game mode. Maybe related, maybe not… just curious.
Veroxin
VeroxinOP2mo ago
I decided to do some troubleshooting on my end that might be worth looking deeper into. I decided to install base arch and test it there. The sound issue was still present, however I pulled the chimera kernel and applied it to my arch install and after the issue is completely gone. Its definitely something in their kernel
antheas
antheas2mo ago
6.9 is hard to bisect on arch because it can't make packages. @matt_schwartz how did you bisect on arch before 6.11
Veroxin
VeroxinOP2mo ago
I used 6.11 for both the arch base kernel as well as the 6.11 chimera kernel Sorry should have specified
antheas
antheas2mo ago
What There's no 6.11 chimera kernel That released in chos This makes it very simple Link me the branch
Veroxin
VeroxinOP2mo ago
I think this is what you mean? Sorry I dont use github that often https://github.com/ChimeraOS/linux/commits/6.11/chimeraos/
GitHub
Commits · ChimeraOS/linux
Linux kernel source tree. Contribute to ChimeraOS/linux development by creating an account on GitHub.
antheas
antheas2mo ago
where did you download it from
Veroxin
VeroxinOP2mo ago
From here
antheas
antheas2mo ago
which other kernel did you try? install the downgrade package and test 6.11.3
Veroxin
VeroxinOP2mo ago
Okay thats my bad I shouldve been testing the same versions, I used the downgrade package and tested 6.11.3 and issue is not there. But I do see chimera released a 6.11.5 kernel, I can try that next
antheas
antheas2mo ago
dont you found the culprit do 6.11.4 now
Veroxin
VeroxinOP2mo ago
6.11.4 is fine, no cutouts
antheas
antheas2mo ago
so its 6.11.5, @Kyle Gospo do we revert to 6.11.4 let me check 6.11.6 try 6.11.6 for funzies
Kyle Gospo
Kyle Gospo2mo ago
I'm not against that
antheas
antheas2mo ago
theres also another issue i think wtf is wrong with the kernel can they release one version where they dont break everything
Kyle Gospo
Kyle Gospo2mo ago
They just don't have enough unit testing Simple as
antheas
antheas2mo ago
unit testing
Kyle Gospo
Kyle Gospo2mo ago
They need a fleet of like 10,000 different pieces of hardware And a very robust testing suite for each one of them
antheas
antheas2mo ago
then they make you sacrifice a newborn to make a bug report
Veroxin
VeroxinOP2mo ago
Its borked
antheas
antheas2mo ago
GitLab
Issues · drm / amd · GitLab
amd (amdgpu, amdkfd, radeon) drm project, currently for issues only.
antheas
antheas2mo ago
cry about it say you used a stock arch kernel and the regression is inbetween 6.11.3 and 6.11.4 *4 and 5 then when they tell you the commit that did it tell us
Veroxin
VeroxinOP2mo ago
I will submit that as soon as im off work here in a bit and let ya know. Btw do you all take donations for the work you put into this? For all the help you are giving me plus I love the project, I wanna give back
Veroxin
VeroxinOP2mo ago
Sorry last night was hectic but I just out it in this morning and I guess now we wait https://gitlab.freedesktop.org/drm/amd/-/issues/3732
GitLab
HDMI Audio Regression (#3732) · Issues · drm / amd · GitLab
Brief summary of the problem: Since the beginning of 2024 I have been having issues with my HTPC (ryzen 3600 & 7800XT) while playing games and the audio...
Veroxin
VeroxinOP2mo ago
You mentioned bazzite being reverted to 6.11.4, is that still the case?
antheas
antheas2mo ago
probably not lets hope they answer soon otherwise we will think about it
pieromg24
pieromg242mo ago
Hello, I have a problem, installing bazzite on my onexplayer 2 and I don't have audio, I don't know how to solve it or maybe install another iso like chimera or not?
antheas
antheas2mo ago
Onexplayer 2 does not have audio support in Linux right now Pending a bios update
pieromg24
pieromg242mo ago
Is there an OS for oneexplayer 2 to be able to have steamos without problems?
antheas
antheas2mo ago
Yes, bazzite but without audio for now
pieromg24
pieromg242mo ago
And the audio doesn't work either if I connect it to a TV or monitor?
antheas
antheas2mo ago
It works then
Veroxin
VeroxinOP2mo ago
Seems I was asked to bisect but I'm not exactly sure how to do that or what I'm looking for
antheas
antheas2mo ago
Are you on arch? It's a pain in the ass you might as well buy new speakers If you learn how it should take you around an hour so it's not bad
Veroxin
VeroxinOP2mo ago
I have not touched my arch install since I last used the downgrade script, in case I needed to go back into it I really don't want to buy speakers when this was a pc I built for not only home use but also cons/game events. I made it small and portable for a reason, adding speakers to the mix isn't ideal
antheas
antheas2mo ago
In this case You'll want to clone the stable remote of the kernel
Veroxin
VeroxinOP2mo ago
Im learning how to bisect as it was recommended to me in two other places, however in the meantime I saw cachyos released a 6.12 kernel. I decided to spin it up and the issue is fixed where as before on cachy it was broken. I think the easier option will just be waiting again for 6.12 tbh @Kyle Gospo @antheas thank you both for the help and support through this issue over the past year. It was at least a learning experience for me, trying many fixes, kernel swapping, bisecting, etc. Gonna go ahead and mark this as resolved for now assuming it will also be fixed when bazzite goes 6.12. Love the project and I mentioned it before but if you all take donations I would love to contribute even if its not much ❤️ Ugh nevermind I spoke too soon. Issue is back again on 6.12 cachy. Back to bisecting I go
Veroxin
VeroxinOP2mo ago
Well it took some time but I was able to bisect between 6.11.4 and 6.11.5, I did it twice as a sanity check, both yielded the same results if you're curious
No description
antheas
antheas2mo ago
Tbh I looked at the commit history and spotted that garbage Post the closes and link here so I can see them
Veroxin
VeroxinOP2mo ago
GitLab
RDNA3 Power Management/clockspeed bug (#3618) · Issues · drm / amd ...
When starting a game or other demanding 3D application the GPU seems to be powerlimited and/or clockspeed limited. On my case it was only drawing 270W power and...
antheas
antheas2mo ago
thanks and thanks for going through this
Veroxin
VeroxinOP2mo ago
Happy to help, it's both a learning experience for me but also I just want to see this fixed, I hope something comes of it. I'll also be updating my post here later today too
antheas
antheas2mo ago
GitHub
Release 6.11.6-303: Powersave optimization revert · hhd-dev/kernel-...
6.11.5 amdgpu forces a powersave optimization that causes HDMI cutouts in certain dGPU devices. Revert it even if it means a small performance loss. Full Changelog: 6.11.6-302...6.11.6-303
Veroxin
VeroxinOP2mo ago
If/when this get pushed to testing would you mind pinging me and I'll happily test it?
antheas
antheas2mo ago
Sure Kyle is moving though So it will take a bit
Veroxin
VeroxinOP2mo ago
No rush, I waited this long to get this far, I can wait a little more. In the meantime I'll update my gitlab report and see what comes of it
antheas
antheas2mo ago
Kernel is in testing
Veroxin
VeroxinOP2mo ago
Oh wow that was faster than expected, I'm heading to bed for the night but I'll test tomorrow while I'm working Is the branch switching in gamescope working? I selected beta/release candidate and restarted. I opened terminal to confirm the branch and it still says im on stable
antheas
antheas2mo ago
Well haha sometimes
Veroxin
VeroxinOP2mo ago
I got it loaded anyway, I just rebased from term But yeah gamescope rebasing wasnt working, figured I'd mention it Good news, I dont want to jinx it bit I have been letting it sit in game for over 10 minutes now and no issues Let it sit for nearly an hour now, still working, no issues Will try some other games tonight for a more extended test but I think we got it
antheas
antheas2mo ago
follow up on the issue there might have to be a revision to fix the old issue + not cause your issue
Veroxin
VeroxinOP2mo ago
Whatcha mean?
Veroxin
VeroxinOP2mo ago
GitLab
HDMI Audio Regression (#3732) · Issues · drm / amd · GitLab
Brief summary of the problem: Since the beginning of 2024 I have been having issues with my HTPC (ryzen 3600 & 7800XT) while playing games and the audio...
antheas
antheas2mo ago
Guess so
Veroxin
VeroxinOP2mo ago
Yeah im not sure how to pull those patches into what im guessing is a custom kernel patch I need to make
antheas
antheas2mo ago
the way you bisected you will checkout rc7 then git apply <patch>
Veroxin
VeroxinOP2mo ago
Do you know what to insert for <patch>? That part isnt exactly clear with the links they gave me
Veroxin
VeroxinOP2mo ago
Oh just inset the link itself?
antheas
antheas2mo ago
b4 am -o- $url | git apply download the file url=https://lore.kernel.org/amd-gfx/[email protected]/T/#u you can git am both thats true b4 am -o- $url | git am thats how you do that
antheas
antheas2mo ago
i usually do url=url then run the command i sent so i dont mess with it git apply patches the files git am applies commits
Veroxin
VeroxinOP2mo ago
bash: b4: command not found error: No valid patches in input (allow with "--allow-empty") Do I do it with --allow-empty?
antheas
antheas2mo ago
Be careful about applying the patch twice If it says allow empty it means the patch is already applied Install b4 Yes if b4 does not exist it will error
Veroxin
VeroxinOP2mo ago
That was after the first time I did the command, with stock 6.12-rc7 Doing that now Does this output look correct after installing b4? Grabbing thread from lore.kernel.org/all/[email protected]/t.mbox.gz Analyzing 6 messages in the thread Looking for additional code-review trailers on lore.kernel.org Analyzing 0 code-review messages Checking attestation on all messages, may take a moment... --- [PATCH] drm/amd/pm: fix and simplify workload handling --- NOTE: install dkimpy for DKIM signature verification --- Total patches: 1 --- Link: https://lore.kernel.org/r/[email protected] Base: not specified error: patch failed: drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c:1268 error: drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c: patch does not apply
antheas
antheas2mo ago
Yes No Does not apply Means you're cooked
Veroxin
VeroxinOP2mo ago
So I suppose respond to the gitlab report with that? I dont know what your procedure from moving testing to stable but is it possible to move the patch that was made in testing over to stable? Dumb question, do I need to build 6.12, boot into it, then do git am?
antheas
antheas2mo ago
No, you need to do git am before Build with the changes
Veroxin
VeroxinOP4w ago
Okay so I was doing it right then Rip Sadly so far none of their patches appear to be working so far, they are definitely minimizing the issue but its still heavily present in some cases Sorry to bug you, but did this ever get pushed to bazzite stable or is it in just testing still? Trying different configurations at the moment
Chas_Hodges
Chas_Hodges4w ago
My audio issues have never been quite as severe as yours @Veroxin but for what its worth, on my Rog Ally X I still get small audio drops outs when outputting over HDMI with latest stable Never an issue playing handheld, and the dropouts can be mitigated by restarting the whole machine, but after a sleep cycle they always come back eventually. Only brief, but usually in groups, so no issue for 15 minutes and then 3 or 4 blips in a 20 second period
Veroxin
VeroxinOP2w ago
That's fair, and appreciate hearing that it's still happening on stable, I'm guessing that means it wasn't pushed to stable. I was going to do a lot of configuration testing tonight, different cpu, mobo, platform/architecture, not to mention my build is also using a pcie riser cable for the gpu and I have no idea if that can also make the issue worse So I was more curious if the "fix/revert" was pushed to stable so I know how to report it online I wanted to give you an update on my adventure. The revert you did, did fix the initial issue, thank you for that. What I was not prepared for was that one of my TVs did actually in fact also cause the same exact issue (except at different random intervals). Where as before your revert the cutouts were rapid and random, after the cutouts were few and far between but were still there every minute or two. So you did fix the initial issue with the revert, but I wasn't prepared for one of my TVs to also have the same issue as well. So now my htpc directly to my tcl tv is working as intended where previously it wasn't before the revert. And my LG tv is working after the revert only when I plug it directly into my surround recievier That being said, has the revert you made been upstreamed to stable or is it still in the testing branch? Gonna be putting everything back together and reinstalling fresh after all the bisecting and tweaking I did @antheas just got back from a convention and one of my roommates said the issue is back after they updated bazzite. I haven't seen it myself but I guess I'm gonna mess with it and see for myself
Want results from more Discord servers?
Add your server