No sound after installation

I’ve just installed Leap 42.1 but I’m getting no sound.

I’ve been into Yast and had a fiddle around, but with no luck. Not that I know what I’m doing, so any and all suggestions are extremely welcome.

Seriously, no one knows how to configure a sound card in Leap 42.1 /Plasma 5?

Posts like this are unnecessary. This is a volunteer forum, and those that could help may not have noticed this thread yet or are busy with other things. Anyway, to get started we need more info about your sound hardware

/usr/sbin/hwinfo --sound

Post back with the output from that command

While waiting for further advice, I suggest you review the following sound guide

https://en.opensuse.org/SDB:Audio_troubleshooting

To not open another thread about the same… I tried https://en.opensuse.org/SDB:Audio_troubleshooting also tried http://opensuse-guide.org/codecs.php, moreover, tried to install using the old one click install .ymp. But nothing works

When I type

/usr/sbin/hwinfo --sound
09: PCI 03.0: 0403 Audio device                                 
  [Created at pci.366]
  Unique ID: 3hqH.Vb8yTZ1S3x1
  SysFS ID: /devices/pci0000:00/0000:00:03.0
  SysFS BusID: 0000:00:03.0
  Hardware Class: sound
  Model: "Intel Broadwell-U Audio Controller"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0x160c "Broadwell-U Audio Controller"
  SubVendor: pci 0x1028 "Dell"
  SubDevice: pci 0x0665 
  Revision: 0x09
  Memory Range: 0xf741c000-0xf741ffff (rw,non-prefetchable)
  IRQ: 16 (no events)
  Module Alias: "pci:v00008086d0000160Csv00001028sd00000665bc04sc03i00"
  Driver Info #0:
    Driver Status: snd_hda_intel is not active
    Driver Activation Cmd: "modprobe snd_hda_intel"
  Config Status: cfg=yes, avail=yes, need=no, active=unknown

13: PCI 1b.0: 0403 Audio device
  [Created at pci.366]
  Unique ID: u1Nb.Zacx4cfNPj4
  SysFS ID: /devices/pci0000:00/0000:00:1b.0
  SysFS BusID: 0000:00:1b.0
  Hardware Class: sound
  Model: "Intel Wildcat Point-LP High Definition Audio Controller"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0x9ca0 "Wildcat Point-LP High Definition Audio Controller"
  SubVendor: pci 0x1028 "Dell"
  SubDevice: pci 0x0665 
  Revision: 0x03
  Memory Range: 0xf7418000-0xf741bfff (rw,non-prefetchable)
  IRQ: 22 (no events)
  Module Alias: "pci:v00008086d00009CA0sv00001028sd00000665bc04sc03i00"
  Driver Info #0:
    Driver Status: snd_hda_intel is not active
    Driver Activation Cmd: "modprobe snd_hda_intel"
  Config Status: cfg=yes, avail=yes, need=no, active=unknown

Yes, the problem seem to be drivers (again). In this moment I’m upgrading the packages, maybe it helps.

@mrselberg: It is preferable to start your own new thread with suitable title, rather than hijack someone else’s thread. The problem you have may due to an entirely different reason than the OP’s.

> /usr/sbin/hwinfo --sound
21: PCI 1b.0: 0403 Audio device                                 
  [Created at pci.366]
  Unique ID: u1Nb.5_mZUmyIaH6
  SysFS ID: /devices/pci0000:00/0000:00:1b.0
  SysFS BusID: 0000:00:1b.0
  Hardware Class: sound
  Model: "Intel C610/X99 series chipset HD Audio Controller"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0x8d20 "C610/X99 series chipset HD Audio Controller"
  SubVendor: pci 0x1028 "Dell"
  SubDevice: pci 0x064c 
  Revision: 0x05
  Memory Range: 0xfb310000-0xfb313fff (rw,non-prefetchable)
  IRQ: 22 (no events)
  Module Alias: "pci:v00008086d00008D20sv00001028sd0000064Cbc04sc03i00"
  Driver Info #0:
    Driver Status: snd_hda_intel is not active
    Driver Activation Cmd: "modprobe snd_hda_intel"
  Config Status: cfg=yes, avail=yes, need=no, active=unknown

29: PCI 300.1: 0403 Audio device
  [Created at pci.366]
  Unique ID: kEn8.Pif0lMStQm8
  Parent ID: _Znp.RvGbYabrou1
  SysFS ID: /devices/pci0000:00/0000:00:02.0/0000:03:00.1
  SysFS BusID: 0000:03:00.1
  Hardware Class: sound
  Model: "nVidia GM204 High Definition Audio Controller"
  Vendor: pci 0x10de "nVidia Corporation"
  Device: pci 0x0fbb "GM204 High Definition Audio Controller"
  SubVendor: pci 0x10de "nVidia Corporation"
  SubDevice: pci 0x1116 
  Revision: 0xa1
  Memory Range: 0xfb080000-0xfb083fff (rw,non-prefetchable)
  IRQ: 37 (no events)
  Module Alias: "pci:v000010DEd00000FBBsv000010DEsd00001116bc04sc03i00"
  Driver Info #0:
    Driver Status: snd_hda_intel is not active
    Driver Activation Cmd: "modprobe snd_hda_intel"
  Config Status: cfg=yes, avail=yes, need=no, active=unknown
  Attached to: #10 (PCI bridge)


I’m not an audio guru, but I note that two devices are detected, both supported by the snd-hda-intel driver. That might be playing a part here with neither device being activated at boot. You might need to consider manual configuration eg /etc/modprobe.d/50-sound.conf

options snd_hda_intel enable=1 index=0 model=auto vid=8086 pid=8d20
options snd_hda_intel enable=1 index=1 model=auto vid=10de pid=0fbb

If desired, the devices can be disabled individually, or consider commenting the applicable device entry with a ‘#’ character at the start of the line.

Then restart ALSA with

systemctl restart alsasound

Note what is reported by

aplay -l

Use the troubleshootng guide to test the sound and check your mixer settings as well
https://en.opensuse.org/SDB:Audio_troubleshooting#STEP-1:_How_to_test_your_sound

If you can’t get sound working, it may be helpful to run the ALSA diagnstic script (/usr/sbin/alsa-info.sh) to generate useful diagnostic information as described here

https://en.opensuse.org/SDB:Audio_troubleshooting#Script_to_run_to_obtain_detailed_information

The link to the uploaded file it generates can be posted here for others to review further.

I commented each entry in 50-sound.conf out in turn, and ran aplay. For each I got

aplay: device_list:268: no soundcards found...


I got the same running it with neither commented out.

I have since relogged. The output from aplay with neither commented out is

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


The output from either entry commented out is identical.

Did you check the mixer settings with ‘alsamixer’ or ‘amixer’ yet? Make sure levels are correct and not muted, as outlined in the guide, and run the audio tests using the commands given in the diagnostic guide. If you don’t get sound while doing those tests, move on to running the diagnostic script and report back with the link to it.

Remind me again, please, of the place where I can paste large amounts of output? I use it so rarely I always forget.

The alsa-info.sh script will take care of uploading the output for you and provide the URL automatically. That’s explained in the troubleshooting guide.

It put it in a file in the /tmp folder. I can copy and paste that anywhere you like. There’s quite a few lines.

Normally, the diagnostic script will upload to an online server and will provide the URL for remote viewing, but I guess you elected to save it to local file instead. In this case, you’ll need to upload it to http://paste.opensuse.org/ (or similar), and post the link that it provides here.

I don’t recall having an option as to where the output went, but maybe I missed it. Anyway, the output is at http://paste.opensuse.org/78350755

Is there anyone who can help me decipher this? Or has any other suggestions. I’m starting to get very frustrated now, since I’ve become dependent on my commuter having sound.

Any and all suggestions gratefully received.

First - what is your test to check the sound ? In the past I have had dozens of users tell me their PC sound did not work, but in fact their PC sound did work, but they did not have the correct codecs installed and hence their multimedia applications did not work for sound. If you tell us exactly what you are doing for a sound test we may have a better chance of providing a more exact recommendation.

Now to the information you have provided (and thankyou for that) …

From the diagnostic script I note two separate instances of the snd_hda_intel alsa sound driver module loaded.


!!Loaded ALSA modules
!!-------------------
 
snd_hda_intel
snd_hda_intel

If other configurations are not setup exactly, that can cause problems wrt the sound putput.

I also note this from the script:


!!Soundcards recognised by ALSA
!!-----------------------------
 
 0 [PCH            ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0xfb310000 irq 37
 1 [NVidia         ]: HDA-Intel - HDA NVidia
                      HDA NVidia at 0xfb080000 irq 36

From that I note “Intel PCH” is card-0 and “HDA NVidia” is card-1. Note by default all audio out will go to card-0 and not card-1.

I also note:


!!Aplay/Arecord output
!!--------------------
 
APLAY
 
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: CA0132 Analog [CA0132 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 1: CA0132 Digital [CA0132 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

From that it is obvious - the NVidia is an HDMI device and the Intel is the CA0132 analog device.

How are your speakers setup up ? Are you trying to send sound to the HDMI (typically connected to a TV or monitor) or are you trying to send sound to the Analog device (typically a set of stand alone speakers) ?

That information is key and must be provided to help.

Please note that in LEAP (and also in earlier versions of openSUSE) that pulse audio provides the functionality for sound to be sent to each output audio device on a per application basis. Hence it makes sense to use a pulse audio volume control application (pavucontrol) to configure pulse audio for each multimeida application.

Thus I recommend you install the application ‘pavucontrol’ and use it to configure your sound for each application.

Please answer the questions above, and also try pavucontrol - and then give us a status as to your progress.

Thanks, Oldcpu. There’s a lot to be getting on with there. I’ll be back when I’ve got through it.

It occurs to me that it might be worth reporting in bits, just in case I say something significant as I go along.

Starting from the hardware: I have external speaker connected to the PC via a KVM. I also have a PC running openSUSE 13.2 connected to the same KVM and the speakers work when I switch to tat machine. To check that there isn’t a problem with the KVM I have switched the connections between the two machines with the same results: I get sound from the 13.2 machine and no sound from the :LEAP 42.1 one.

I’ve forgotten how I was alerted to the sound problem, but it was while I was configuring the LEAP 42.1 machine, before I even got around to doing anything relating to the applications. I’m now testing the speakers by using

speaker-test -Dplug:front -c2 -l5 -twav

First question, I suppose, is whether I’ve got the cards in the right order. And the one after that is, if the NVidia one is the key one, then which of the 12 options I can specify in the configuration shoud I choose. It’s on a random one at the moment.

I’ve installed ‘pavucontrol’. I had looked for the Pulse Audio controls and been puzzled not to find them. I’d fogotten that you had to install it specifically (you can tell I don’t do this sort of thing very often). The speakers aren’t muted and I’ve locked the channels together. Just to make sure, I’be rebooted, but still to no effect.

Comments at this stage will be well appreciated.