Audio problems (can't configure soundcard and devices missing)

I just updated to Suse 15.2 and I’m facing several audio problems. AFAIK, they weren’t present on 15.1 (and my hardware didn’t change between the upgrade). I’m loving 15.2 so far … except for the audio problems obviously.

  • On boot, I have no sound. there is no audio devices detected. It takes about 1 minute for them to show up (without me doing anything, they just pop up of their own accord.)
  • I have an audio device missing. I have a TV connected to my pc via hdmi, and I could output the sound to the TV. Now, the TV isn’t detected anymore at all.
  • I can not configure my soundcard (or even delete it). I get an error message (and it kills any audio device that was detected).
    [LIST]
  • it appears as “Not configured” right now and I can’t configure it (I actually need to, because I need to add an option to never turn on power save mode, otherwise after a minute of silence, whenever a sound is played, there is a distinct “crack”).
  • I remember there was 2 entries in the Sound Configuration field of YaST with 2 different Card Models (probably the computer’s and the TV’s hdmi, I don’t remember), and here there is only 1.
  • The error I get is :

[/LIST]

An error occurred during the installation of

Z77 Extreme4 motherboard

The kernel module snd-hda-intel for sound support  could not be loaded. This can be caused by incorrect  module parameters, including invalid IO or IRQ parameters.


I tried:

  • adding adding my user to the groups “audio, pulse, pulse-access”,
  • I tried to add “options snd-hda-intel model=generic” to /etc/modprobe.d/50-alsa.conf (I read it could fix the problem - it didn’t)
  • deleting /etc/modprobe.d/50-alsa.conf and 50-sound.conf.YaST2save (and they were not created again on the next boot)

Please help. I’m not tech savy enough to fix it myself and with all the stories I heard about how the audio on linux is a total mess it’d probably take me too long to even figure where to start lol.

Read the https://en.opensuse.org/SDB:Audio_troubleshooting guide. In particular, it might be useful to run the alsa-info.sh script and let it upload the output to an online server. Share the link to it here so that others can then advise further.

Thanks deano_ferrari

I forgot to mention I had also checked this link and did some of the steps there though it didn’t help.

In the end, I ended up reinstalling Linux (root and home were on separate partitions to it was painless) and it fixed all the problems except one which I’ll explain. I had a hunch something was wrong somehow in the installer because it made me manually configure the network connection before installing anything (like, the very first step before showing even the EULA), and I’ve been using Leap since 42.0 and it never asked me to do that before…

So anyway, the only issue left is regarding my hdmi output and I didn’t see anything that could help me get it to work there.
It just doesn’t appear (and there’s still an entry missing in the yast sound configuration window, there used to be 2 on 15.1… unfortunately I can’t remember which one it was, though it’s probably linked to the missing hdmi).

I’ve ran the script :
http://alsa-project.org/db/?f=02d199efdb4bdb8153121924787dbd78b1325139 and I hope it can be useful.

Thanks.

The uploaded diagnostic output confirms only one sound card device detected (by the kernel)…

!!Soundcards recognised by ALSA
!!-----------------------------

 0 [PCH            ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0xf7910000 irq 35


!!PCI Soundcards installed in the system
!!--------------------------------------

00:1b.0 Audio device [0403]: Intel Corporation 7 Series/C216 Chipset Family High Definition Audio Controller [8086:1e20] (rev 04)
	Subsystem: ASRock Incorporation Z77 Extreme4 motherboard [1849:1898]

The Intel card does have HDMI devices listed, although not in the ‘amixer’ output for some reason…

card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Some more research needed…

You could try upgrading the kernel perhaps…

sudo zypper ar https://download.opensuse.org/repositories/Kernel:/stable/standard/ kernel:stable
sudo zypper dup --from kernel:stable

I tried to do as you said and updated the kernel, but unfortunately, still only one output appears, and only one soundcard in YaST to configure, so it didn’t help.
if you have any other ideas I’d love to hear them.

Is it the graphics card audio that is missing in action here?

Share the output from

/sbin/lspci -nnk

aplay shows the HDMI:


!!Aplay/Arecord output
!!--------------------

APLAY

**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC898 Analog [ALC898 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 1: ALC898 Digital [ALC898 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Based on the above, your hdmi is either hw:0,3 … or hw:0,7 .

Its possible the IEC958 may be related to your HDMI in the mixer albeit I am not certain - so if it were me I would switch that ON (and not have off - see the ‘red’ below):


Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback** [off]**
Simple mixer control 'IEC958 Default PCM',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',1
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',16
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]

However since the above you have installed a new kernel now and likely made other changes so its hard to know what to recommend given what may have been changed.

I definitely do NOT understand why this blacklist is in place in the /etc/modprobe.d/50-sound.conf (I think). Did you put this there?


!!Modprobe options (Sound related)
!!--------------------------------

snd_hda_intel: pm_blacklist=1 power_save=0

What is the reason for this “pm_blacklist=1”. Do you have experience that tells you it is needed?

oldcpu, I’m glad you bring the kernel change up. To be honest, I’d rather not change it, as I need vmware to work, and I already had to apply a custom fix (that I found on these forums) to make it wok on 15.2.
My root partition is a BTRFS partition so I have access to snapshot, I currently rolled back and I’m using the vanilla 15.2 kernel.
I don’t mind updating the kernel, if you also help me get vmware working again, lol.

I definitely do NOT understand why this blacklist is in place in the /etc/modprobe.d/50-sound.conf (I think). Did you put this there?
Code:

!!Modprobe options (Sound related)
!!--------------------------------

snd_hda_intel: pm_blacklist=1 power_save=0
What is the reason for this “pm_blacklist=1”. Do you have experience that tells you it is needed?

Regarding this, yes, I added it myself manually, the reason is that my audio card tends to go into a “power save” mode of some sort after a few seconds of non activity, and upon exiting it, it makes a very annoying “crack” sound, and this prevents it from going into power save, afaik. (I used that in my 15.1 installation, and it didn’t have any negative effect, I still had the hdmi output).

@deano_ferrari
Regarding my post now, and me preferring not upgrade my kernel, do you still want me to go through with that? since I can rollback, I don’t mind too much but it complicates my life a bit considering I need vmware as well.

@deano_ferrari
Regarding my post now, and me preferring not upgrade my kernel, do you still want me to go through with that? since I can rollback, I don’t mind too much but it complicates my life a bit considering I need vmware as well.

No it is easy to roll back. It was just a test to see if any differnece. Like olcpu mentioned, HDMI outputs are present as already mentioned back in post #4, however not explicitly enumerated as such in the amixer output.

And I am still curious to know about any other audio device which you claim that is not present. The lspci command needs to be run and output shared to help with that.

Ok then, let me try to be more clear.

My TV is connected via hdmi to my compter.
In my audio devices window (when you click on the speaker icon), I used to have the choice between the line out and HDMI output. Now, after the upgrade, I only have the Line Out option, no more HDMI device (TV) I can output to.
In YaST (YasT/Sound), before the upgrade, I used to have 2 entries present, and now after the upgrade, I only have one. I can only imagine the missing HDMI output and the missing entry are connected somehow.

I just want to be able to output the sound to my TV, basically :stuck_out_tongue:

here’s the command’s result :


00:00.0 Host bridge [0600]: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor DRAM Controller [8086:0150] (rev 09)
        Subsystem: ASRock Incorporation Motherboard [1849:0150]
        Kernel driver in use: ivb_uncore
        Kernel modules: ie31200_edac
00:01.0 PCI bridge [0604]: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor PCI Express Root Port [8086:0151] (rev 09)
        Kernel driver in use: pcieport
00:01.1 PCI bridge [0604]: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor PCI Express Root Port [8086:0155] (rev 09)
        Kernel driver in use: pcieport
00:02.0 Display controller [0380]: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller [8086:0162] (rev 09)
        Subsystem: ASRock Incorporation Motherboard [1849:0162]
        Kernel driver in use: i915
        Kernel modules: i915
00:14.0 USB controller [0c03]: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller [8086:1e31] (rev 04)
        Subsystem: ASRock Incorporation Motherboard [1849:1e31]
        Kernel driver in use: xhci_hcd
        Kernel modules: xhci_pci
00:16.0 Communication controller [0780]: Intel Corporation 7 Series/C216 Chipset Family MEI Controller #1 [8086:1e3a] (rev 04)
        Subsystem: ASRock Incorporation Motherboard [1849:1e3a]
        Kernel driver in use: mei_me
        Kernel modules: mei_me
00:1a.0 USB controller [0c03]: Intel Corporation 7 Series/C216 Chipset Family USB Enhanced Host Controller #2 [8086:1e2d] (rev 04)
        Subsystem: ASRock Incorporation Motherboard [1849:1e2d]
        Kernel driver in use: ehci-pci
        Kernel modules: ehci_pci
00:1b.0 Audio device [0403]: Intel Corporation 7 Series/C216 Chipset Family High Definition Audio Controller [8086:1e20] (rev 04)
        Subsystem: ASRock Incorporation Z77 Extreme4 motherboard [1849:1898]
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel
00:1c.0 PCI bridge [0604]: Intel Corporation 7 Series/C216 Chipset Family PCI Express Root Port 1 [8086:1e10] (rev c4)
        Kernel driver in use: pcieport
00:1c.5 PCI bridge [0604]: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 6 [8086:1e1a] (rev c4)
        Kernel driver in use: pcieport
00:1c.7 PCI bridge [0604]: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 8 [8086:1e1e] (rev c4)
        Kernel driver in use: pcieport
00:1d.0 USB controller [0c03]: Intel Corporation 7 Series/C216 Chipset Family USB Enhanced Host Controller #1 [8086:1e26] (rev 04)
        Subsystem: ASRock Incorporation Motherboard [1849:1e26]
        Kernel driver in use: ehci-pci
        Kernel modules: ehci_pci
00:1f.0 ISA bridge [0601]: Intel Corporation Z77 Express Chipset LPC Controller [8086:1e44] (rev 04)
        Subsystem: ASRock Incorporation Motherboard [1849:1e44]
        Kernel driver in use: lpc_ich
        Kernel modules: lpc_ich
00:1f.2 SATA controller [0106]: Intel Corporation 7 Series/C210 Series Chipset Family 6-port SATA Controller [AHCI mode] [8086:1e02] (rev 04)
        Subsystem: ASRock Incorporation Motherboard [1849:1e02]
        Kernel driver in use: ahci
00:1f.3 SMBus [0c05]: Intel Corporation 7 Series/C216 Chipset Family SMBus Controller [8086:1e22] (rev 04)
        Subsystem: ASRock Incorporation Motherboard [1849:1e22]
        Kernel driver in use: i801_smbus
        Kernel modules: i2c_i801
02:00.0 VGA compatible controller [0300]: NVIDIA Corporation GP106 [GeForce GTX 1060 6GB] [10de:1c03] (rev a1)
        Subsystem: Gigabyte Technology Co., Ltd Device [1458:371a]
        Kernel driver in use: nvidia
        Kernel modules: nouveau, nvidia_drm, nvidia
04:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 06)
        Subsystem: ASRock Incorporation Motherboard (one of many) [1849:8168]
        Kernel driver in use: r8169
        Kernel modules: r8169
05:00.0 SATA controller [0106]: ASMedia Technology Inc. ASM1062 Serial ATA Controller [1b21:0612] (rev 01)
        Subsystem: ASRock Incorporation Motherboard [1849:0612]
        Kernel driver in use: ahci

…and that is why I requested to see the entire lspci output. You have two graphics cards present, and this is likely impacting here…


00:02.0 Display controller [0380]: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller [8086:0162] (rev 09)
        Subsystem: ASRock Incorporation Motherboard [1849:0162]
        Kernel driver in use: i915
        Kernel modules: i915
00:1b.0 Audio device [0403]: Intel Corporation 7 Series/C216 Chipset Family High Definition Audio Controller [8086:1e20] (rev 04)
        Subsystem: ASRock Incorporation Z77 Extreme4 motherboard [1849:1898]
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel       
02:00.0 VGA compatible controller [0300]: NVIDIA Corporation GP106 [GeForce GTX 1060 6GB] [10de:1c03] (rev a1)
        Subsystem: Gigabyte Technology Co., Ltd Device [1458:371a]
        Kernel driver in use: nvidia
        Kernel modules: nouveau, nvidia_drm, nvidia

A similar thread describing a recent regression with Nvidia HDMI Audio, (albeit tumbleweed) but perhaps a kernel patch also affecting openSUSE 15.2? I don’t know bu here it is anyway…
https://www.reddit.com/r/openSUSE/comments/f3r1a6/new_update_doesnt_detect_sound_from_nvidia_card/

yea, I guess my CPU counts as a graphics card since it has outputs, and my nvidia card as well (and it’s my nvidia card that has the HDMI outputs).

https://www.reddit.com/r/openSUSE/co…m_nvidia_card/

This sounds like it describes my issue, yes.

so, is Suse 15.2 out of question for me if I want to have my tv play sound AND vmware? or what options do I have?

Hopefully it will be fixed soon. A quick search of bugzilla turned up this
https://bugzilla.opensuse.org/show_bug.cgi?id=1173720
Although I note that the reporter’s system does at least show 'snd_hda_intel loaded for their NVIDIA audio controller.

FWIW, I also found this long-running Nvidia thread…
https://forums.developer.nvidia.com/t/gtx-1060-no-audio-over-hdmi-only-hda-intel-detected-azalia/53463/4
…where HDMI audio apparently disabled. There are workarounds discussed to enable it (I’ll leave you to digest that, although it may not be relevant to your situation).

Thanks for your help.

As you probably understood by now, I’m not too knowledgeable about Linux and issues, so one more question. It’s the kernel that is at fault ; does the kernel get patched during a release lifecycle on Tumbleweed, or is it only during upgrading (so potentially, 15.3) ?

(So in other words : should I wait for a patch that may (or not) come eventually, or go back to 15.1)?

I’m sure that any regression like this will be patched soon. You could also add to the existing bug report I guess.

There are some excellent suggestions in that thread worth trying as a work around.

I’m not convinced this is the same issue (albeit I could be wrong).

I would recommend a separate bug report be written in Bugzilla and let the packagers decide if it is the same problem.

Yes, you’re probably correct about that Lee.