-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
Kernel 6.14-rc1 (16k): Have No HDMI audio #6656
Comments
Can you confirm the kernel you tested contained 5745a67 ? |
I can confirm that 6.13 HDMI audio works, and that it's broken in 6.14. That code has been significantly reworked in 6.14 - see 9640f14. Unfortunately, reverting that commit isn't enough to make it work again. |
Thanks for confirming. I'm in no hurry; do what yo have to do on your end. |
Give me a moment. I had looked at an issue around those helpers and infoframes. I now just need to remember what and where! |
I'm deep in this already. Alsa seems to be repeatedly detecting an over/underrun and restarting the stream. |
It's looking as though the audio DMA is unpaced, which causes ALSA to report an underrun. Ah - spot the difference - 6.13:
vs 6.14:
It's a slave DMA address translation issue. |
We'd dropped one of my patches that uses DMA addresses correctly - now available (until the next rebase) as e51e737. This makes me wonder how it's working upstream. |
Answer - they're still doing it wrong in the DMA driver:
vs:
|
That's the one that I and others have tried to upstream a couple of times. Robin said that dma_map_resource is the correct call, but needs https://lore.kernel.org/linux-iommu/[email protected]/ to deal with dma-ranges. Upstream doesn't have a DMA channel assigned to the HDMI blocks, so no audio support. |
I think it's more complicated/less well thought out than that.
Behind the scenes, Anyway, with the one line patch to |
Correction - it does work, once you get the parameters right. I can push these patches to at least rpi-6.13.y and rpi-6.14.y. |
Just to get on record: v6.14-rc2 (16k) at 2784dea: Still does not have HDMI audio |
Sorry, Ray - that's because I merged the uncorrected version. It should be fixed in 08f6bbe. |
LOL. Thanks Phil. I will give it a go. |
Works like a champ. Thanks a lot!! |
I do have the same problem, with 6.14.1 on a desktop. Has this been fixed upstream? |
We still have the fix in downstream rpi-6.14.y and rpi-6.15.y, so it is not in stable upstream trees. |
No, I haven't looked at upstreaming this again. The responses dried up so rapidly on both previous occasions that it seemed like no one wanted to be involved. Upstream's Pi5 DT files have no DMA channel assigned, therefore there is no HDMI audio. |
Describe the bug
I have no HDMI audio with kernel 6.14-rc1 16k. I do not see any errors/failed in the logs and everything looks like it should have audio. Playing a movie with mpv the video is jerky and no audio. Vlc seems to play smooth with no sound. Youtube video seems to be smooth with no sound. My bluetooth earbuds sound works ok.
Steps to reproduce the behaviour
Compile and install the kernel following the official RPi Guide. I have not tested the other pi devices other than the pi5 so do not know their status.
Device (s)
Raspberry Pi 5
System
XFCE DE
[ray@jellyfin ~]$ uname -a
Linux jellyfin 6.14.0-rc1-v8-16k #1 SMP PREEMPT Wed Feb 5 15:37:55 CST 2025 aarch64 GNU/Linux
inxi:
aplay -l:
Logs
dmesg:
Additional context
No response
The text was updated successfully, but these errors were encountered: