You are not logged in.

#1 2019-03-08 09:00:38

meal
Member
From: Poland
Registered: 2017-04-27
Posts: 4

[SOLVED] snd_hda_intel issues after kernel upgrade to 5.0.arch1-1

After recent update to kernel 5.0.arch1-1 I've noticed there's no sound - drivers are loaded, no errors from PulseAudio, everything behaves correctly but there is just no sound. unloading and loading again sound-related drivers don't help

the only solution for these issues is a reboot instead of suspending (which I'd rather not to do)

Last edited by meal (2019-04-01 06:46:59)


i7 7700K / 32GB / GTX 1070 / PRIME Z270-A

Offline

#2 2019-03-08 11:53:38

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,798

Re: [SOLVED] snd_hda_intel issues after kernel upgrade to 5.0.arch1-1

Please decide for which of the issues you want to discuss and open a new thread for the other. Then post information on what you have checked and how you are determining that it doesn't work.

FWIW since it's more in my area of expertise, what are your outputs for

aplay -lL
amixer -c$cardindex from aplay -l of your playback card$
pacmd list-cards
pacmd list-sinks
pacmd list-sink-inputs #With active playback 

Last edited by V1del (2019-03-08 12:07:31)

Offline

#3 2019-03-08 11:58:54

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,965

Re: [SOLVED] snd_hda_intel issues after kernel upgrade to 5.0.arch1-1

After recent update to kernel 5.0.arch1-1

the only solution for these issues is a reboot (which I'd rather not to do)

For clarity : you haven't rebooted after the kernel update ?
If yes, then this sounds like expected behaviour.
upon kernel update previous versions of kernel modules are removed from disk.
Your running kernel can't use the newer versions and is limited to whatever kernel modules it has in memory.


In the future you should delay updates until you can / want to reboot.
An alternative might be a mechanism like kexec to update a running kernel without rebooting.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#4 2019-03-09 03:18:31

zrb77
Member
From: Maryland, USA
Registered: 2018-07-06
Posts: 4

Re: [SOLVED] snd_hda_intel issues after kernel upgrade to 5.0.arch1-1

I'm having the same issues with my sound card.

After I resume my computer my onboard sound is not listed as an output device on the gnome sound panel and sound is not working. I have to reboot to get it working again.

I'll have to run those commands above the next time it happens and try and see whats going on.

Thanks.

Hardware: Asus Z170-Pro, i7-6700k, 16gb ram, GTX970

EDIT: I just tried to troubleshoot this a little, when coming back from suspend, nothing looks different in the output from those commands, I didnt capture it though.

Oddly replugging my speakers made that output show up again and then my speakers worked. Thats a little less annoying that having to reboot after a suspend I guess. This only started Thursday evening after I had updated to kernel 5.0.

Last edited by zrb77 (2019-03-09 03:38:30)

Offline

#5 2019-03-09 07:58:19

Matt3o
Member
From: Firenze, Italy
Registered: 2007-09-13
Posts: 177

Re: [SOLVED] snd_hda_intel issues after kernel upgrade to 5.0.arch1-1

Same here since Kernel 5. Audio works at boot and dies on resume from suspend.

Replugging speakers doesn't work for me.

I have an Asus ROG STRIX Z270-I GAMING.

These are devices when audio is NOT working (pacmd list-cards)

2 card(s) available.
    index: 0
        name: <alsa_card.pci-0000_01_00.1>
        driver: <module-alsa-card.c>
        owner module: 6
        properties:
                alsa.card = "1"
                alsa.card_name = "HDA NVidia"
                alsa.long_card_name = "HDA NVidia at 0xf7080000 irq 17"
                alsa.driver_name = "snd_hda_intel"
                device.bus_path = "pci-0000:01:00.1"
                sysfs.path = "/devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1"
                device.bus = "pci"
                device.vendor.id = "10de"
                device.vendor.name = "NVIDIA Corporation"
                device.product.id = "10f1"
                device.product.name = "GP106 High Definition Audio Controller"
                device.string = "1"
                device.description = "GP106 High Definition Audio Controller"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        profiles:
                output:hdmi-stereo: Digital Stereo (HDMI) Output (priority 5900, available: unknown)
                output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (priority 800, available: unknown)
                output:hdmi-surround71: Digital Surround 7.1 (HDMI) Output (priority 800, available: unknown)
                output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (priority 5700, available: no)
                output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI 2) Output (priority 600, available: no)
                output:hdmi-surround71-extra1: Digital Surround 7.1 (HDMI 2) Output (priority 600, available: no)
                output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) Output (priority 5700, available: no)
                output:hdmi-stereo-extra3: Digital Stereo (HDMI 4) Output (priority 5700, available: no)
                output:hdmi-surround-extra3: Digital Surround 5.1 (HDMI 4) Output (priority 600, available: no)
                output:hdmi-surround71-extra3: Digital Surround 7.1 (HDMI 4) Output (priority 600, available: no)
                off: Off (priority 0, available: unknown)
        active profile: <output:hdmi-stereo>
        sinks:
                alsa_output.pci-0000_01_00.1.hdmi-stereo/#4: GP106 High Definition Audio Controller Digital Stereo (HDMI)
        sources:
                alsa_output.pci-0000_01_00.1.hdmi-stereo.monitor/#4: Monitor of GP106 High Definition Audio Controller Digital Stereo (HDMI)
        ports:
                hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: yes)
                        properties:
                                device.icon_name = "video-display"
                                device.product.name = "DELL U3415W
 "
                hdmi-output-1: HDMI / DisplayPort 2 (priority 5800, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "video-display"
                hdmi-output-2: HDMI / DisplayPort 3 (priority 5700, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "video-display"
                hdmi-output-3: HDMI / DisplayPort 4 (priority 5600, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "video-display"
    index: 1
        name: <alsa_card.pci-0000_00_1f.3>
        driver: <module-alsa-card.c>
        owner module: 7
        properties:
                alsa.card = "0"
                alsa.card_name = "HDA Intel PCH"
                alsa.long_card_name = "HDA Intel PCH at 0xf7340000 irq 141"
                alsa.driver_name = "snd_hda_intel"
                device.bus_path = "pci-0000:00:1f.3"
                sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
                device.bus = "pci"
                device.vendor.id = "8086"
                device.vendor.name = "Intel Corporation"
                device.product.id = "a2f0"
                device.product.name = "200 Series PCH HD Audio"
                device.form_factor = "internal"
                device.string = "0"
                device.description = "Built-in Audio"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        profiles:
                input:analog-stereo: Analog Stereo Input (priority 65, available: no)
                output:analog-stereo: Analog Stereo Output (priority 6500, available: no)
                output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (priority 6565, available: no)
                output:analog-surround-21: Analog Surround 2.1 Output (priority 1300, available: no)
                output:analog-surround-21+input:analog-stereo: Analog Surround 2.1 Output + Analog Stereo Input (priority 1365, available: no)
                output:analog-surround-40: Analog Surround 4.0 Output (priority 1200, available: no)
                output:analog-surround-40+input:analog-stereo: Analog Surround 4.0 Output + Analog Stereo Input (priority 1265, available: no)
                output:analog-surround-41: Analog Surround 4.1 Output (priority 1300, available: no)
                output:analog-surround-41+input:analog-stereo: Analog Surround 4.1 Output + Analog Stereo Input (priority 1365, available: no)
                output:analog-surround-50: Analog Surround 5.0 Output (priority 1200, available: no)
                output:analog-surround-50+input:analog-stereo: Analog Surround 5.0 Output + Analog Stereo Input (priority 1265, available: no)
                output:analog-surround-51: Analog Surround 5.1 Output (priority 1300, available: no)
                output:analog-surround-51+input:analog-stereo: Analog Surround 5.1 Output + Analog Stereo Input (priority 1365, available: no)
                output:iec958-stereo: Digital Stereo (IEC958) Output (priority 5500, available: unknown)
                output:iec958-stereo+input:analog-stereo: Digital Stereo (IEC958) Output + Analog Stereo Input (priority 5565, available: unknown)
                off: Off (priority 0, available: unknown)
        active profile: <output:iec958-stereo>
        ports:
                analog-input-front-mic: Front Microphone (priority 8500, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "audio-input-microphone"
                analog-input-rear-mic: Rear Microphone (priority 8200, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "audio-input-microphone"
                analog-input-linein: Line In (priority 8100, latency offset 0 usec, available: no)
                        properties:

                analog-output-lineout: Line Out (priority 9900, latency offset 0 usec, available: no)
                        properties:

                analog-output-headphones: Headphones (priority 9000, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "audio-headphones"
                iec958-stereo-output: Digital Output (S/PDIF) (priority 0, latency offset 0 usec, available: unknown)
                        properties:

This one when it is working

2 card(s) available.
    index: 0
        name: <alsa_card.pci-0000_01_00.1>
        driver: <module-alsa-card.c>
        owner module: 6
        properties:
                alsa.card = "1"
                alsa.card_name = "HDA NVidia"
                alsa.long_card_name = "HDA NVidia at 0xf7080000 irq 17"
                alsa.driver_name = "snd_hda_intel"
                device.bus_path = "pci-0000:01:00.1"
                sysfs.path = "/devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1"
                device.bus = "pci"
                device.vendor.id = "10de"
                device.vendor.name = "NVIDIA Corporation"
                device.product.id = "10f1"
                device.product.name = "GP106 High Definition Audio Controller"
                device.string = "1"
                device.description = "GP106 High Definition Audio Controller"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        profiles:
                output:hdmi-stereo: Digital Stereo (HDMI) Output (priority 5900, available: no)
                output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (priority 800, available: no)
                output:hdmi-surround71: Digital Surround 7.1 (HDMI) Output (priority 800, available: no)
                output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (priority 5700, available: no)
                output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI 2) Output (priority 600, available: no)
                output:hdmi-surround71-extra1: Digital Surround 7.1 (HDMI 2) Output (priority 600, available: no)
                output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) Output (priority 5700, available: unknown)
                output:hdmi-stereo-extra3: Digital Stereo (HDMI 4) Output (priority 5700, available: no)
                output:hdmi-surround-extra3: Digital Surround 5.1 (HDMI 4) Output (priority 600, available: no)
                output:hdmi-surround71-extra3: Digital Surround 7.1 (HDMI 4) Output (priority 600, available: no)
                off: Off (priority 0, available: unknown)
        active profile: <off>
        ports:
                hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "video-display"
                hdmi-output-1: HDMI / DisplayPort 2 (priority 5800, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "video-display"
                hdmi-output-2: HDMI / DisplayPort 3 (priority 5700, latency offset 0 usec, available: yes)
                        properties:
                                device.icon_name = "video-display"
                                device.product.name = "DELL U3415W
 "
                hdmi-output-3: HDMI / DisplayPort 4 (priority 5600, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "video-display"
    index: 1
        name: <alsa_card.pci-0000_00_1f.3>
        driver: <module-alsa-card.c>
        owner module: 7
        properties:
                alsa.card = "0"
                alsa.card_name = "HDA Intel PCH"
                alsa.long_card_name = "HDA Intel PCH at 0xf7340000 irq 141"
                alsa.driver_name = "snd_hda_intel"
                device.bus_path = "pci-0000:00:1f.3"
                sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
                device.bus = "pci"
                device.vendor.id = "8086"
                device.vendor.name = "Intel Corporation"
                device.product.id = "a2f0"
                device.product.name = "200 Series PCH HD Audio"
                device.form_factor = "internal"
                device.string = "0"
                device.description = "Built-in Audio"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        profiles:
                input:analog-stereo: Analog Stereo Input (priority 65, available: no)
                output:analog-stereo: Analog Stereo Output (priority 6500, available: unknown)
                output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (priority 6565, available: unknown)
                output:analog-surround-21: Analog Surround 2.1 Output (priority 1300, available: unknown)
                output:analog-surround-21+input:analog-stereo: Analog Surround 2.1 Output + Analog Stereo Input (priority 1365, available: unknown)
                output:analog-surround-40: Analog Surround 4.0 Output (priority 1200, available: unknown)
                output:analog-surround-40+input:analog-stereo: Analog Surround 4.0 Output + Analog Stereo Input (priority 1265, available: unknown)
                output:analog-surround-41: Analog Surround 4.1 Output (priority 1300, available: unknown)
                output:analog-surround-41+input:analog-stereo: Analog Surround 4.1 Output + Analog Stereo Input (priority 1365, available: unknown)
                output:analog-surround-50: Analog Surround 5.0 Output (priority 1200, available: unknown)
                output:analog-surround-50+input:analog-stereo: Analog Surround 5.0 Output + Analog Stereo Input (priority 1265, available: unknown)
                output:analog-surround-51: Analog Surround 5.1 Output (priority 1300, available: unknown)
                output:analog-surround-51+input:analog-stereo: Analog Surround 5.1 Output + Analog Stereo Input (priority 1365, available: unknown)
                output:iec958-stereo: Digital Stereo (IEC958) Output (priority 5500, available: unknown)
                output:iec958-stereo+input:analog-stereo: Digital Stereo (IEC958) Output + Analog Stereo Input (priority 5565, available: unknown)
                off: Off (priority 0, available: unknown)
        active profile: <output:analog-stereo>
        sinks:
                alsa_output.pci-0000_00_1f.3.analog-stereo/#0: Built-in Audio Analog Stereo
        sources:
                alsa_output.pci-0000_00_1f.3.analog-stereo.monitor/#0: Monitor of Built-in Audio Analog Stereo
        ports:
                analog-input-front-mic: Front Microphone (priority 8500, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "audio-input-microphone"
                analog-input-rear-mic: Rear Microphone (priority 8200, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "audio-input-microphone"
                analog-input-linein: Line In (priority 8100, latency offset 0 usec, available: no)
                        properties:

                analog-output-lineout: Line Out (priority 9900, latency offset 0 usec, available: yes)
                        properties:

                analog-output-headphones: Headphones (priority 9000, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "audio-headphones"
                iec958-stereo-output: Digital Output (S/PDIF) (priority 0, latency offset 0 usec, available: unknown)
                        properties:

Last edited by Matt3o (2019-03-09 08:03:49)

Offline

#6 2019-03-09 14:09:46

zrb77
Member
From: Maryland, USA
Registered: 2018-07-06
Posts: 4

Re: [SOLVED] snd_hda_intel issues after kernel upgrade to 5.0.arch1-1

I went back and looked at mine, the output is the same, when its not working it shows as 'available: no'

You said it doesnt work when you re-plug your speakers, go into the audio control panel, whichever one for your distro and make sure the correct output it chosen. My analog output appears when I re-plug, but I have to go in and select it, else it stays on the digital spdif connection.

There is a section for PulseAudio on the wiki with sound after resume issue, I tried that, didnt work either.

This line immediately changes from no to yes when I re-plug my speakers.

ports:
...
		analog-output-lineout: Line Out (priority 9900, latency offset 0 usec, available: yes)
			properties:
...

Offline

#7 2019-03-09 22:43:49

Matt3o
Member
From: Firenze, Italy
Registered: 2007-09-13
Posts: 177

Re: [SOLVED] snd_hda_intel issues after kernel upgrade to 5.0.arch1-1

you are right, re-plugging the speaker and re-selecting the device actually works. There must be a way we can force that from command line until a fix is found

Offline

#8 2019-03-15 07:43:47

Matt3o
Member
From: Firenze, Italy
Registered: 2007-09-13
Posts: 177

Re: [SOLVED] snd_hda_intel issues after kernel upgrade to 5.0.arch1-1

just a quick heads up, 5.0.1 still has the same issue

Offline

#9 2019-03-15 08:33:02

Ropid
Member
Registered: 2015-03-09
Posts: 1,069

Re: [SOLVED] snd_hda_intel issues after kernel upgrade to 5.0.arch1-1

When I had similar problems after suspend/resume at some point in the past, I used the following script to get the kernel to reinitialize the audio hardware:

$ cat restartaudio 
#!/bin/bash

[[ $UID = 0 ]] || exec sudo "$0"

echo 1 > '/sys/bus/pci/devices/0000:00:1b.0/remove'
sleep 1
echo 1 > /sys/bus/pci/rescan

The "0000:00:1b.0" in the script needs to be customized for the computer. It can be found with "lscpi -D".

Offline

#10 2019-03-16 07:07:01

Matt3o
Member
From: Firenze, Italy
Registered: 2007-09-13
Posts: 177

Re: [SOLVED] snd_hda_intel issues after kernel upgrade to 5.0.arch1-1

thanks @Ropid, that will work for now!

Offline

#11 2019-03-16 16:31:49

merilius
Member
Registered: 2012-06-15
Posts: 48

Re: [SOLVED] snd_hda_intel issues after kernel upgrade to 5.0.arch1-1

5.0.2-arch1-1-ARCH on "Asus ROG z170 Pro Gaming". Same issue here.
Both replugging and restartaudio are good workarounds for me.

My journal shows this:

-- The system has now entered the suspend sleep state.
Mar 15 13:26:59 Skylake kernel: PM: suspend entry (deep)
Mar 15 13:26:59 Skylake kernel: PM: Syncing filesystems ... done.
Mar 15 13:27:00 Skylake kernel: snd_hdac_bus_update_rirb: 89 callbacks suppressed
Mar 15 13:27:00 Skylake kernel: snd_hda_intel 0000:01:00.1: spurious response 0x80000000:0x0, last cmd=0x4f0900
Mar 15 13:27:00 Skylake kernel: snd_hda_intel 0000:01:00.1: spurious response 0x0:0x0, last cmd=0x4f0900
Mar 15 13:27:00 Skylake root[2173]: ACPI group/action undefined: jack/lineout / LINEOUT
Mar 15 13:27:00 Skylake root[2175]: ACPI group/action undefined: jack/videoout / VIDEOOUT
Mar 15 13:27:00 Skylake kernel: snd_hda_intel 0000:01:00.1: spurious response 0xc0000000:0x0, last cmd=0x4f2e08
Mar 15 21:51:15 Skylake kernel: snd_hda_intel 0000:01:00.1: spurious response 0x5f:0x0, last cmd=0x4f2f00
Mar 15 21:51:15 Skylake kernel: snd_hda_intel 0000:01:00.1: spurious response 0x80000010:0x0, last cmd=0x4f2f01
Mar 15 21:51:15 Skylake kernel: snd_hda_intel 0000:01:00.1: spurious response 0x80000000:0x0, last cmd=0x4f2f02
Mar 15 21:51:15 Skylake kernel: snd_hda_intel 0000:01:00.1: spurious response 0x80000008:0x0, last cmd=0x4f2f03
Mar 15 21:51:15 Skylake kernel: snd_hda_intel 0000:01:00.1: spurious response 0x80000000:0x0, last cmd=0x4f2f04
Mar 15 21:51:15 Skylake kernel: snd_hda_intel 0000:01:00.1: spurious response 0x8000006d:0x0, last cmd=0x4f2f05
Mar 15 21:51:15 Skylake kernel: snd_hda_intel 0000:01:00.1: spurious response 0x80000014:0x0, last cmd=0x4f2f06

Last edited by merilius (2019-03-16 16:35:58)

Offline

#12 2019-03-20 09:05:34

uoou
Member
Registered: 2017-05-22
Posts: 4

Re: [SOLVED] snd_hda_intel issues after kernel upgrade to 5.0.arch1-1

Same issue here on a Asus - Z170I PRO GAMING Mini ITX, similar motherboard to @merilius.

Has anyone filed a bug report?

Offline

#13 2019-03-20 10:42:42

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,798

Re: [SOLVED] snd_hda_intel issues after kernel upgrade to 5.0.arch1-1

Well since no one posted a bug report link I'd assume not. From what we know so far it seems to primarily affect ASUS boards. Making a bug report on kernel.org with the problematic dmesg excerpt might already help, even better would be if someone could bisect between 5.0 and 4.20 or whatever the last working kernel was and identify the problematic commit.

Offline

#14 2019-03-20 19:47:33

axel
Member
Registered: 2007-12-10
Posts: 77

Re: [SOLVED] snd_hda_intel issues after kernel upgrade to 5.0.arch1-1

I am also affected by this bug with a Gigabyte H170-D3HP-CF. So it looks snd_hda_intel is to be blamed.

This is my sound card:

    index: 2
        name: <alsa_card.pci-0000_00_1f.3>
        driver: <module-alsa-card.c>
        owner module: 8
        properties:
                alsa.card = "0"
                alsa.card_name = "HDA Intel PCH"
                alsa.long_card_name = "HDA Intel PCH at 0xdf240000 irq 136"
                alsa.driver_name = "snd_hda_intel"
                device.bus_path = "pci-0000:00:1f.3"
                sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
                device.bus = "pci"
                device.vendor.id = "8086"
                device.vendor.name = "Intel Corporation"
                device.product.id = "a170"
                device.product.name = "100 Series/C230 Series Chipset Family HD Audio Controller"
                device.form_factor = "internal"
                device.string = "0"
                device.description = "Built-in Audio"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        profiles:
                input:analog-stereo: Analog Stereo Input (priority 65, available: no)
                output:analog-stereo: Analog Stereo Output (priority 6500, available: unknown)
                output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (priority 6565, available: unknown)
                output:analog-surround-21: Analog Surround 2.1 Output (priority 1300, available: unknown)
                output:analog-surround-21+input:analog-stereo: Analog Surround 2.1 Output + Analog Stereo Input (priority 1365, available: unknown)
                output:analog-surround-40: Analog Surround 4.0 Output (priority 1200, available: unknown)
                output:analog-surround-40+input:analog-stereo: Analog Surround 4.0 Output + Analog Stereo Input (priority 1265, available: unknown)
                output:analog-surround-41: Analog Surround 4.1 Output (priority 1300, available: unknown)
                output:analog-surround-41+input:analog-stereo: Analog Surround 4.1 Output + Analog Stereo Input (priority 1365, available: unknown)
                output:analog-surround-50: Analog Surround 5.0 Output (priority 1200, available: unknown)
                output:analog-surround-50+input:analog-stereo: Analog Surround 5.0 Output + Analog Stereo Input (priority 1265, available: unknown)
                output:analog-surround-51: Analog Surround 5.1 Output (priority 1300, available: unknown)
                output:analog-surround-51+input:analog-stereo: Analog Surround 5.1 Output + Analog Stereo Input (priority 1365, available: unknown)
                output:analog-surround-71: Analog Surround 7.1 Output (priority 1200, available: unknown)
                output:analog-surround-71+input:analog-stereo: Analog Surround 7.1 Output + Analog Stereo Input (priority 1265, available: unknown)
                output:iec958-stereo: Digital Stereo (IEC958) Output (priority 5500, available: unknown)
                output:iec958-stereo+input:analog-stereo: Digital Stereo (IEC958) Output + Analog Stereo Input (priority 5565, available: unknown)
                off: Off (priority 0, available: unknown)
        active profile: <output:analog-surround-21>
        sinks:
                alsa_output.pci-0000_00_1f.3.analog-surround-21/#1: Built-in Audio Analog Surround 2.1
        sources:
                alsa_output.pci-0000_00_1f.3.analog-surround-21.monitor/#2: Monitor of Built-in Audio Analog Surround 2.1
        ports:
                analog-input-front-mic: Front Microphone (priority 8500, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "audio-input-microphone"
                analog-input-rear-mic: Rear Microphone (priority 8200, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "audio-input-microphone"
                analog-input-linein: Line In (priority 8100, latency offset 0 usec, available: no)
                        properties:

                analog-output-lineout: Line Out (priority 9900, latency offset 0 usec, available: yes)
                        properties:

                analog-output-headphones: Headphones (priority 9000, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "audio-headphones"
                iec958-stereo-output: Digital Output (S/PDIF) (priority 0, latency offset 0 usec, available: unknown)
                        properties:

Offline

#15 2019-03-21 03:48:26

cubethethird
Member
Registered: 2016-01-25
Posts: 61
Website

Re: [SOLVED] snd_hda_intel issues after kernel upgrade to 5.0.arch1-1

I too am experiencing this issue, using an MSI motherboard with an AMD Ryzen chip. That being said, it seems the same driver is being used here (alsa.driver_name = "snd_hda_intel").

Offline

#16 2019-03-21 11:33:16

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,965

Re: [SOLVED] snd_hda_intel issues after kernel upgrade to 5.0.arch1-1

snd_hda_intel drives the majority of sound chipsets that exist on modern systems.

aplay -L

can be used to determnine which chipsets are present.

example :

$ aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
jack
    JACK Audio Connection Kit
pulse
    PulseAudio Sound Server
default:CARD=Generic
    HD-Audio Generic, ALC1220 Analog
    Default Audio Device
sysdefault:CARD=Generic
    HD-Audio Generic, ALC1220 Analog
    Default Audio Device
front:CARD=Generic,DEV=0
    HD-Audio Generic, ALC1220 Analog
    Front speakers
surround21:CARD=Generic,DEV=0
    HD-Audio Generic, ALC1220 Analog
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=Generic,DEV=0
    HD-Audio Generic, ALC1220 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=Generic,DEV=0
    HD-Audio Generic, ALC1220 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Generic,DEV=0
    HD-Audio Generic, ALC1220 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Generic,DEV=0
    HD-Audio Generic, ALC1220 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Generic,DEV=0
    HD-Audio Generic, ALC1220 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Generic,DEV=0
    HD-Audio Generic, ALC1220 Digital
    IEC958 (S/PDIF) Digital Audio Output
usbstream:CARD=Generic
    HD-Audio Generic
    USB Stream Output
hdmi:CARD=HDMI,DEV=0
    HDA ATI HDMI, HDMI 0
    HDMI Audio Output
hdmi:CARD=HDMI,DEV=1
    HDA ATI HDMI, HDMI 1
    HDMI Audio Output
hdmi:CARD=HDMI,DEV=2
    HDA ATI HDMI, HDMI 2
    HDMI Audio Output
hdmi:CARD=HDMI,DEV=3
    HDA ATI HDMI, HDMI 3
    HDMI Audio Output
hdmi:CARD=HDMI,DEV=4
    HDA ATI HDMI, HDMI 4
    HDMI Audio Output
hdmi:CARD=HDMI,DEV=5
    HDA ATI HDMI, HDMI 5
    HDMI Audio Output
usbstream:CARD=HDMI
    HDA ATI HDMI
    USB Stream Output
$ 

The motherboard audio chipset is "HD-Audio Generic, ALC1220" while my videocard provides HDMI audio on "HDA ATI HDMI"
Both are driven by snd_hda_intel .

Are the issues related to suspend/resume or are there problems when booted normal ?
(I don't use suspend /resume and haven't noticed any problems).

Last edited by Lone_Wolf (2019-03-21 11:33:47)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#17 2019-03-21 16:38:44

wozi
Member
Registered: 2019-03-21
Posts: 1

Re: [SOLVED] snd_hda_intel issues after kernel upgrade to 5.0.arch1-1

Same issue here, MSI B250 PC MATE (MS-7A72) motherboard.

card 1: PCH [HDA Intel PCH], device 0: ALC887-VD Analog [ALC887-VD Analog]
alsa.driver_name = "snd_hda_intel"

I have also noticed that applications that were already using that audio output can still play audio to it just fine, I only notice it when I want to change my volume and can't because the output is gone.

@Ropid's script temporarily fixes the problem without needing to restart or replug headphones, thanks for that

Offline

#18 2019-03-22 08:48:46

uoou
Member
Registered: 2017-05-22
Posts: 4

Re: [SOLVED] snd_hda_intel issues after kernel upgrade to 5.0.arch1-1

Seems to be fixed as of 5.0.3.arch1-1. For me at least.

My mistake.

Last edited by uoou (2019-03-23 08:37:06)

Offline

#19 2019-03-23 05:49:58

axel
Member
Registered: 2007-12-10
Posts: 77

Re: [SOLVED] snd_hda_intel issues after kernel upgrade to 5.0.arch1-1

5.0.3 didn't fix it for me. HDA Intel PCH, ALC1150 Analog is my audio chipset.

$ aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
jack
    JACK Audio Connection Kit
pulse
    PulseAudio Sound Server
default
    Default ALSA Output (currently PulseAudio Sound Server)
sysdefault:CARD=PCH
    HDA Intel PCH, ALC1150 Analog
    Default Audio Device
front:CARD=PCH,DEV=0
    HDA Intel PCH, ALC1150 Analog
    Front speakers
surround21:CARD=PCH,DEV=0
    HDA Intel PCH, ALC1150 Analog
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=PCH,DEV=0
    HDA Intel PCH, ALC1150 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
    HDA Intel PCH, ALC1150 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
    HDA Intel PCH, ALC1150 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
    HDA Intel PCH, ALC1150 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
    HDA Intel PCH, ALC1150 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=PCH,DEV=0
    HDA Intel PCH, ALC1150 Digital
    IEC958 (S/PDIF) Digital Audio Output
usbstream:CARD=PCH
    HDA Intel PCH
    USB Stream Output
hdmi:CARD=NVidia,DEV=0
    HDA NVidia, HDMI 0
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=1
    HDA NVidia, HDMI 1
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=2
    HDA NVidia, HDMI 2
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=3
    HDA NVidia, HDMI 3
    HDMI Audio Output
usbstream:CARD=NVidia
    HDA NVidia
    USB Stream Output
usbstream:CARD=U0x46d0x825
    USB Device 0x46d:0x825
    USB Stream Output

Offline

#20 2019-03-23 07:36:32

Matt3o
Member
From: Firenze, Italy
Registered: 2007-09-13
Posts: 177

Re: [SOLVED] snd_hda_intel issues after kernel upgrade to 5.0.arch1-1

didn't fix it for me either

Offline

#21 2019-03-24 12:23:50

meal
Member
From: Poland
Registered: 2017-04-27
Posts: 4

Re: [SOLVED] snd_hda_intel issues after kernel upgrade to 5.0.arch1-1

I've updated topic and original post.

Updated to 5.0.3 and still no sound after resuming from suspend. Re-plugging jack doesn't help, neither do @Ropid's script. I can use any other output (headphones, digital) but not the analog out

[UPDATE] - after upgrade to 5.0.4 @Ropid's script helps

Last edited by meal (2019-03-24 18:01:33)


i7 7700K / 32GB / GTX 1070 / PRIME Z270-A

Offline

#22 2019-03-25 06:53:41

Matt3o
Member
From: Firenze, Italy
Registered: 2007-09-13
Posts: 177

Re: [SOLVED] snd_hda_intel issues after kernel upgrade to 5.0.arch1-1

I believe this is a bug that has to be reported. I wouldn't know where or what info to include to make the bug report meaningful

Offline

#23 2019-03-26 00:55:53

MartinRi
Member
Registered: 2019-03-21
Posts: 3

Re: [SOLVED] snd_hda_intel issues after kernel upgrade to 5.0.arch1-1

got the same issue on a msi z370 gaming pro carbon

did a git bisect and it looks like the offending commit is

[3baffc4a84d759ba54c461e8e4583bd8890c749a] ALSA: hda/intel: Refactoring PM code

https://git.kernel.org/pub/scm/linux/ke … d8890c749a

the bug did not trigger at every resume/suspend - therefore my testing consisted of doing multiple (> 5) 'systemctl suspend' while observing the results of 'pacmd list-sinks'
if the bug triggered I've dis/reconnected the jack and let it trigger again to confirm the bad commit
the (most likely) good commits are the ones I wasn't able to trigger the bug

git bisect log:

git bisect start
# bad: [1c163f4c7b3f621efff9b28a47abb36f7378d783] Linux 5.0
git bisect bad 1c163f4c7b3f621efff9b28a47abb36f7378d783
# good: [8fe28cb58bcb235034b64cbbb7550a8a43fd88be] Linux 4.20
git bisect good 8fe28cb58bcb235034b64cbbb7550a8a43fd88be
# bad: [af7ddd8a627c62a835524b3f5b471edbbbcce025] Merge tag 'dma-mapping-4.21' of git://git.infradead.org/users/hch/dma-mapping
git bisect bad af7ddd8a627c62a835524b3f5b471edbbbcce025
# bad: [792bf4d871dea8b69be2aaabdd320d7c6ed15985] Merge branch 'core-rcu-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
git bisect bad 792bf4d871dea8b69be2aaabdd320d7c6ed15985
# good: [eaa76499711535fd64d747cc4ef0d78ab0fd41c6] Merge tag 'mtd/for-4.21' of git://git.infradead.org/linux-mtd
git bisect good eaa76499711535fd64d747cc4ef0d78ab0fd41c6
# bad: [b1669432b3555954124ffd987a6ff2308344c88f] Merge tag 'regmap-v4.21' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap
git bisect bad b1669432b3555954124ffd987a6ff2308344c88f
# bad: [8e61e7b5c4de2bea534438bd7a008accd85492b0] Merge tag 'sound-4.21-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound
git bisect bad 8e61e7b5c4de2bea534438bd7a008accd85492b0
# bad: [d82b51c855a20eb456ac09f2f40ea98312373263] ALSA: HD-Audio: SKL+: force HDaudio legacy or SKL+ driver selection
git bisect bad d82b51c855a20eb456ac09f2f40ea98312373263
# good: [bc2610a6c4c92f0bf6bbf4c6641407536f30daaf] ASoC: max9867: Fix signal paths
git bisect good bc2610a6c4c92f0bf6bbf4c6641407536f30daaf
# good: [0f4967bc21de0bb9e107f9ad3ced852daf66acd2] ASoC: ti: Kconfig: Remove the deprecated options
git bisect good 0f4967bc21de0bb9e107f9ad3ced852daf66acd2
# good: [0085c6edabe85fd39d6ad4340dba2587511e2b3e] ALSA: fireface: share register for async transaction of MIDI messages
git bisect good 0085c6edabe85fd39d6ad4340dba2587511e2b3e
# bad: [ada79fa5a0b374dd2c2262137c734da7524a8263] ALSA: firewire-lib: fix wrong handling payload_length as payload_quadlet
git bisect bad ada79fa5a0b374dd2c2262137c734da7524a8263
# bad: [46594d3345f0432ddc83b9f3c1b04492fdfafd07] ALSA: hda/hdmi: Always set display_power_control for Intel HSW+ codecs
git bisect bad 46594d3345f0432ddc83b9f3c1b04492fdfafd07
# bad: [e454ff8e89b6db0a2054260d48635fbc781e94ce] ALSA: hda/intel: Drop superfluous AZX_DCAPS_I915_POWERWELL checks
git bisect bad e454ff8e89b6db0a2054260d48635fbc781e94ce
# bad: [029d92c289bdad08ed08e61bf31b17cdc9ee61cf] ALSA: hda: Refactor display power management
git bisect bad 029d92c289bdad08ed08e61bf31b17cdc9ee61cf
# bad: [3baffc4a84d759ba54c461e8e4583bd8890c749a] ALSA: hda/intel: Refactoring PM code
git bisect bad 3baffc4a84d759ba54c461e8e4583bd8890c749a
# first bad commit: [3baffc4a84d759ba54c461e8e4583bd8890c749a] ALSA: hda/intel: Refactoring PM code

Last edited by MartinRi (2019-03-26 00:57:00)

Offline

#24 2019-03-26 01:29:05

loqs
Member
Registered: 2014-03-06
Posts: 17,441

Re: [SOLVED] snd_hda_intel issues after kernel upgrade to 5.0.arch1-1

@MartinRi thank you for performing the bisection.
I would suggest checking linux 5.1-rc2 to check the issue has not already been resolved (possibly by https://git.kernel.org/pub/scm/linux/ke … 9698ce0adf)
If the issue remains please report it upstream,  I would suggest to the alsa-devel mailing list including a CC to the commits author.
https://www.kernel.org/doc/html/latest/ … -bugs.html

Last edited by loqs (2019-03-26 11:16:41)

Offline

#25 2019-03-26 10:12:00

MartinRi
Member
Registered: 2019-03-21
Posts: 3

Re: [SOLVED] snd_hda_intel issues after kernel upgrade to 5.0.arch1-1

@loqs I think you're right with your assumption
after applying 744c67ffeb06f2d2493f4049ba0bd19698ce0adf (on 3baffc4a84d759ba54c461e8e4583bd8890c749a) I wasn't able to reproduce the issue anymore
v5.1-rc2 looked fine, too - so far

Offline

Board footer

Powered by FluxBB