No sound after upgrading to kernel 5.19.4

Hi everyone!

I run Fedora 36 on a computer with an AMD Ryzen 3 3200G processor. I use HDMI sound output to the speakers of my monitor. After upgrading to kernel 5.19.4 sound no longer works.

I ran “pactl info” and got:


Server Name: PulseAudio (on PipeWire 0.3.56)
Server Version: 15.0.0
Default Sample Specification: float32le 2ch 48000Hz
Default Channel Map: front-left,front-right
Default Sink: auto_null
Default Source: auto_null.monitor

Similarly “aplay -l” found no sound cards.

If I boot with kernel 5.18.19 then sound works perfectly.

Any help is welcome.

1 Like

Can you check:
inxi -Ax
on both kernels to see what is loaded please and thanks.

2 Likes

Hi! Thanks for your reply.

Running

inxi -Ax

on kernel 5.19.4 I have

Audio:
Device-1: AMD Raven/Raven2/Fenghuang HDMI/DP Audio driver: N/A
bus-ID: 03:00.1
Device-2: AMD Family 17h/19h HD Audio vendor: ASRock driver: N/A
bus-ID: 03:00.6
Sound Server-1: ALSA v: k5.19.4-200.fc36.x86_64 running: yes
Sound Server-2: PulseAudio v: 15.0 running: no
Sound Server-3: PipeWire v: 0.3.56 running: yes

On kernel 5.18.19 I have

Audio:
Device-1: AMD Raven/Raven2/Fenghuang HDMI/DP Audio driver: snd_hda_intel
v: kernel bus-ID: 03:00.1
Device-2: AMD Family 17h/19h HD Audio vendor: ASRock
driver: snd_hda_intel v: kernel bus-ID: 03:00.6
Sound Server-1: ALSA v: k5.18.19-200.fc36.x86_64 running: yes
Sound Server-2: PulseAudio v: 15.0 running: no
Sound Server-3: PipeWire v: 0.3.56 running: yes

BTW I saw that the kernel modules snd-hda-codec-hdmi and snd-hda-codec-realtek are loaded when I boot with kernel 5.18.19 but they aren’t loaded when I boot with kernel 5.19.4. I loaded them with modprobe but this didn’t help.

Upgrading to kernel 5.19.6 didn’t solve the problem.
I appreciate any help.

This looks to be a kernel bug, Bug 1202492 – Audio devices missing when running kernel 5.19.x

1 Like

Many thanks for the link.
If I boot kernel 5.19.6 with the option amd_iommu=off then sound works.
Should I edit the subject to show that the problem has been solved? How do I do this?

1 Like

No, marking as solved works.

Thanks, glad it’s working.