Closed
Description
Describe the bug
HDMI sound is distorted with 5.15.36 on Pi 3B. See also https://archlinuxarm.org/forum/viewtopic.php?f=57&t=16012
Rolling back to 5.15.34 fixed the issue for me.
Steps to reproduce the behaviour
Play sound over HDMI using pulse audio (tested with mp3, aac) and check for distortion, skips, etc.
Device (s)
Raspberry Pi 3 Mod. B
System
Operating System: Arch Linux ARM
Kernel: Linux 5.15.36-1-rpi-ARCH
Architecture: arm
Logs
Nothing shows up in dmsg
Additional context
Sounds over audio jack is fine.
Metadata
Metadata
Assignees
Labels
No labels
Activity
coffeinflash commentedon Apr 30, 2022
Just some logs running kodi-standalone with plain alsa - no pulseaudio, pipewire etc.:
System:
OS: Arch Linux ARM armv7l Host: Raspberry Pi 3 Model B Rev 1.Kernel:
Linux Kleinerbaer 5.15.36-1-rpi-ARCH #1 SMP Thu Apr 28 18:45:07 UTC 2022 armv7l GNU/Linuxkodi.log (playing Livestream):
dmesg
neo1973 commentedon May 2, 2022
I can confirm the issue. CEC also stopped working after 5.15.34.
popcornmix commentedon May 3, 2022
@neo1973 are you also on arch and rpi3?
popcornmix commentedon May 3, 2022
It looks like it started with raspberrypi/rpi-firmware@1edb1cc
(i.e. the clock framework improvements).
I see cec failure on pi3 but not pi4.
neo1973 commentedon May 3, 2022
Yes, I have the same setup as the other two commenters.
popcornmix commentedon May 3, 2022
Narrowed down to: #5006
but I think that commit is okay and the issue is on firmware side.
popcornmix commentedon May 6, 2022
@pejobo @neo1973 @coffeinflash can you test this firmware and confirm if it fixes issue?
coffeinflash commentedon May 6, 2022
@popcornmix
Thank you! Works for me :-)
firmware: arm_loader_dvfs: Support CLOCK_HDMI as boostable clock
firmware: arm_loader_dvfs: Support CLOCK_HDMI as boostable clock
neo1973 commentedon May 7, 2022
Today I did full update of my Raspberry Pi and the issue is gone. I downgraded the kernel and firmware packages but can't reproduce the error anymore. I have no idea what change fixed it :(
popcornmix commentedon May 7, 2022
The stable kernel (5.15.32) doesn't have the issue.
The issue only for appeared for users running the testing rpi-update kernel.
And it has now been fixed with latest rpi-update kernel.
neo1973 commentedon May 7, 2022
I'm on 5.15.36. But my mistake was to downgrade the raspberrypi-firmware package and not raspberrypi-bootloader which contains the relevant files. After downgrading raspberrypi-bootloader the issue was back. The current raspberrypi-bootloader on Arch contains the "firmware: arm_loader_dvfs: Support CLOCK_HDMI as boostable clock" commit and with that everything is back to normal 👍
popcornmix commentedon May 10, 2022
@pejobo is this resolved for you with latest firmware?
pejobo commentedon May 10, 2022
I could try this weekend.
pejobo commentedon May 10, 2022
I was able to test earlier as expected. Works for me, too.
Thank you for the quick fix 👍
verup and ...