Restore HDMI audio after Feb 2025 update

After the latest update the HDMI audio failed to work. The Renoir device was discovered, but the drivers did not load correctly. The Family device apparently loaded correctly, but isn’t being used.

This command shows what devices are discovered:
$ lspci | grep Audio.device

04:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Renoir Radeon High Definition Audio Controller
04:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h/19h/1ah HD Audio Controller

This command shows available sound devices:
$ aplay -l

**** List of PLAYBACK Hardware Devices ****
card 1: Generic_1 [HD-Audio Generic], device 0: ALC897 Analog [ALC897 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0

Notice that 4 HDMI devices are missing. To fix this, I ran this command:
sudo echo "options snd cards_limit=5" > /etc/modprobe.d/hdmi-audio.conf

After a reboot, the HDMI devices are available and work as expected!
$ aplay -l

**** List of PLAYBACK Hardware Devices ****
card 1: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 7: HDMI 1 [PHL 328E1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 9: HDMI 3 [HDMI 3]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: Generic_1 [HD-Audio Generic], device 0: ALC897 Analog [ALC897 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0

Welcome to Manjaro forum @carltm

Please use this command to get more information about ALSA

sudo alsa-info.sh --upload

and post the link to uploaded data as Preformatted text - </>
( http://alsa-project.org/db/?f=... )

The last (Stable Branch) Update(s) were on;

Please accurately indicate which Update you are actually referring to if you claim as issue is resulting from it.

Adjust the topic title accordingly. :eyes:


Please provide system information as described (below); along with any additional information requested by Members wishing to help.


Welcome to the Manjaro community

As a new or infrequent forum user, please take some time to familiarise yourself with Forum requirements, and the many ways to use the forum to your benefit:


Update Announcements

The Update Announcements contain important information and a Known Issues and Solutions section that should generally be checked before posting a request for support.

System Information

Output of this command (formatted according to forum requirements) may be useful for those wishing to help:

inxi --filter --verbosity=8

or the short form:

inxi -zv8

Be prepared to provide more information and outputs from other commands whenever asked.

Required reading
Resources

Regards.