armbian / linux-rockchip

Improved Rockchip Linux
Other
123 stars 174 forks source link

HDMI audio not working on Rock 5 ITX v1.11 #226

Open MikeFarrington opened 3 weeks ago

MikeFarrington commented 3 weeks ago

I am unable to get HDMI output audio to work on any Armbian builds for this board (including nightly), whereas it works on the Radxa-supplied Debian b6 build from June (but overall video playback performance of that distro is rather lacking).

My knowledge or Linux is rather superficial as I have only toyed with it occasionally over the years and have never daily driven it. But I'm happy to test out any builds and perform guided troubleshooting.

MikeFarrington commented 3 weeks ago

Update: after playing around with other audio devices, I started getting HDMI audio. I plugged in a USB wifi/bluetooth dongle and paired up a bluetooth headset. To my surprise, I started getting audio out via HDMI (regardless of which audio output device was selected -- I couldn't actually get the audio to come out via Bluetooth).

Edit: I only seem to get audio on the HDMI port labeled "HDMI TX1 8k". It's possible that the wifi/bluetooth dongle was a red-herring. I had switched outputs and tried the audio test via the settings panel. But on further inspection, that test doesn't work (nor does switching audio outputs). I really only noticed it working when I eventually loaded up YouTube on Firefox.

So, I only seem to get HDMI audio on the 8k-capable HDMI port. But that port doesn't let me use my 1440p display at 1440p, only 1080p. The other 4k-capable HDMI output "HDMI TX2 4k" allows me to get to 1440p, but alas no audio.

SuperKali commented 2 days ago

HDMI port labeled "HDMI TX1 8k".

Actually on DTS is only present HDMI sound from 8k port: https://github.com/armbian/linux-rockchip/blob/71039841e6100b280bc90d91b7b6b9d33ec84897/arch/arm64/boot/dts/rockchip/rk3588-rock-5-itx.dts#L111

Should be integrated too for hdmi0.

For this reason, the primary port not give any sound.