Recently I was on vacation with some friends, and we want to watch some movie from my laptop on a TV using the HDMI module from my Framework laptop, but while the video was played, there was no audio.
Luckily, there was a stereo system with a Bluetooth interface, so we could enjoy the movie.
My Setup:
Framework 13 Laptop with Arch Linux and Pipewire.
But it should work also on every other Linux Distro.
First install sof-firmware package, maybe the name differ a bit on other Linux distribution.
Next add a extra option when load your soundcard on boot, for this create the file /etc/modprobe.d/hdmi-audio.conf with following content:
# Need for working HDMI audio over USB-C module
options snd-intel-dspcfg dsp_driver=3
I’m not fully sure with the numbers but i guess there meanings are:
0: Auto-Select
1: Legacy HDA
2: ???
3: Sound Open Firmware (sof)