No sound card

Hello everyone!

I’m writing because recently I installed Opensuse LEAP 42.1 in a new computer. I had some install problems, but finally managed to solve everything thanks to the people of this forum :slight_smile:
The thing is, that after some point - I don’t remember if I updated or installed something new- the sound stopped working, and it worked perfectly!! (and everything else). I checked pulseaudio and the only output I could find is “Dummy audio” and nothing else. So I started looking for information on how to solve this issue, but unfortunately without success.

So I’m posting here what I found and what I did. Also, I will post all hardware information I think is relevant.

First of all, I discovered that a lot of people suffered this problem, but mostly ubuntu users. Even so, I tried to follow almost every forum post and guide I found on how to solve it, but without success. (It’s worth mention than almost every guide says more or less the same things, so not really a lot of things to do).

  • Installed pavucontrol and it shows the same as pulseaudio: “Dummy output”.
  • Removed and reinstalled all alsa packages and pulseaudio, then reboot and see that I fixed nothing. Everything was the same.
  • I put my user in audio group, but nothing changed.

Then, I started looking if opensuse recognizes, in some way, my audio drivers.

EDIT: I don’t know why I posted before finishing the post, sorry for that, please wait while I finish it :slight_smile:

I can’t edit for more than 10 minutes and right now, I don’t have time for finish the initial post, please someone delete this thread and I will make a new one when I have time.

I already contacted the admin, but just in case I post here also.

Thank you and I’m sorry for the inconvenience!

Well, seen that the thread is still open, I’ll post here the rest of the issue instead of opening a new one.

I just needed to add the outputs of some commands that I used for test the hardware. Here they are:

  • If I run in therminal
aplay --list-devices

I get the output

aplay: device_list:268: no soundcards found...
  • If I run the code
modprobe snd_hda_intel

I get the output

modprobe: ERROR: ctx=0x1af6010 path=/lib/modules/4.1.31-30-default/kernel/sound/pci/hda/snd-hda-controller.ko error=No such file or directory
modprobe: ERROR: ctx=0x1af6010 path=/lib/modules/4.1.31-30-default/kernel/sound/pci/hda/snd-hda-controller.ko error=No such file or directory
modprobe: ERROR: could not insert 'snd_hda_intel': Unknown symbol in module, or unknown parameter (see dmesg)
  • And finally, I tested the whole hardware by running
/usr/sbin/hwinfo

and, got a really big list, but I discovered that yes, opensuse recognizes I have 2 audio hardware, one for NVidia and other for the motherboard (realtek hd audio), here is the information about the two sound cards I have:

23: PCI 1b.0: 0403 Audio device
  [Created at pci.366]
  Unique ID: u1Nb.KQcCGfWUeXB
  SysFS ID: /devices/pci0000:00/0000:00:1b.0
  SysFS BusID: 0000:00:1b.0
  Hardware Class: sound
  Model: "Intel 9 Series Chipset Family HD Audio Controller"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0x8ca0 "9 Series Chipset Family HD Audio Controller"
  SubVendor: pci 0x1458 "Gigabyte Technology Co., Ltd"
  SubDevice: pci 0xa182 
  Memory Range: 0xf7310000-0xf7313fff (rw,non-prefetchable)
  IRQ: 11 (no events)
  Module Alias: "pci:v00008086d00008CA0sv00001458sd0000A182bc04sc03i00"
  Driver Info #0:
    Driver Status: snd_hda_intel is not active
    Driver Activation Cmd: "modprobe snd_hda_intel"
  Config Status: cfg=no, avail=yes, need=no, active=unknown

33: PCI 100.1: 0403 Audio device
  [Created at pci.366]
  Unique ID: NXNs.iz6+xsCfMIA
  Parent ID: vSkL.3rEhpzAE0V6
  SysFS ID: /devices/pci0000:00/0000:00:01.0/0000:01:00.1
  SysFS BusID: 0000:01:00.1
  Hardware Class: sound
  Model: "nVidia Audio device"
  Vendor: pci 0x10de "nVidia Corporation"
  Device: pci 0x10f1 
  SubVendor: pci 0x1458 "Gigabyte Technology Co., Ltd"
  SubDevice: pci 0x3716 
  Revision: 0xa1
  Memory Range: 0xf7080000-0xf7083fff (rw,non-prefetchable)
  IRQ: 10 (no events)
  Module Alias: "pci:v000010DEd000010F1sv00001458sd00003716bc04sc03i00"
  Driver Info #0:
    Driver Status: snd_hda_intel is not active
    Driver Activation Cmd: "modprobe snd_hda_intel"
  Config Status: cfg=no, avail=yes, need=no, active=unknown
  Attached to: #19 (PCI bridge)


I’ve also uploaded the full list of hardware information, just in case. You can download it here: https://www.dropbox.com/s/0blxdziiumvz24b/hardware.txt?dl=0

  • I used also others commands of alsa, but they all say the same: that the sound card doesn’t exist or, a few, say the same information as above.
  • Also, I tried to download and install manually the realtek audio drivers, but got some error in the installation process.

And I think that’s pretty much it. In the posts I read about the same issue, the people could solve it normally by manually change some files related with “modprobe snd_hda_intel” but my computer appears not to have those files.
I don’t know what to do, but I’m sure I can fix it because when I did the installation, the sound worked properly and then stopped. Any guesses? Maybe is because I have two sound cards?

Thank you very much for your time!!

Go to Yast sound set up and see what is there. Note the device 0 is the default so sometime changing the order of the drivers can help. There are also test sounds that can be played

Please read the openSUSE audio_troubleshooting guide. It will show you how to test your sound with specific commands.

If you can’t make progress on your own, then it maybe necessary to provide more info about your audio hardware. This can be done by running the following diagnostic script

/usr/sbin/alsa-info.sh

It will upload the output to an online server and generate a URL that you canpost here so that we can view it online.

I tried that, but is impossible to me to find any sound output appart from “Dummy output” see here (same for pavuaudio):
http://i68.tinypic.com/euewb5.png

Also, in section YaST > Hardware should be a “Sound” menu option, but I don’t have it. See here:
http://i63.tinypic.com/kb381v.png

I also navigated through all the YaST’s menus, but found nothing appart from hardware information.

I followed the guide steps, but without sucess. I typed the code

/usr/sbin/alsa-info.sh

and the result can be found here: http://www.alsa-project.org/db/?f=9107788cd2b8338aadcdf0e74b1e8a0f40bdf55f
In some part says the following:

ESound Daemon:
      Installed - Yes (/usr/bin/esd)
      Running - No

Maybe the problem is that ESound Daemon is not running? If so, how can I make it to run?
Thank you very much for your help :slight_smile:

No you are missing things. Like the sound drivers and the yast sound modal

Never saw those missing so at a lose of what went wrong. :open_mouth:

The hardware is not exotic and should work but you have to have the drivers working and normally that is done via yast-sound modual which is also missing :\

Have you done all updates? Assuming you have not added a bunch of non-standard repos I’d give zypper dup a try If in doubt show us zypper lr -d before you do the dup

If that fails then a reinstall using the upgrade option.

I’ve tried before doing a zypper update and zypper dup, but nothing happened, then a few minutes ago, I just tried again and… magically says I have some updates pending!!, all of them were alsa related!!, so I did de dup and… now I have the **Sound **menu in **YaST>Hardware!! **Some progress at least, but nothing else is changed (respect to the sound), I still have the same “Dummy output”. The only thing that is changed is that I get now an error in log-in saying something like “oops, there were a login problem…” but it logs-in after that screen is shown.

Well, I’ve tried changing the sound cards in that “new” menu and I got some error. I’ll post here the images and you can see:

When I click on sound menu I get this:
http://i68.tinypic.com/mcr811.png

Ok, now, If I click edit one of those (no matter which one) I get this:
http://i68.tinypic.com/eu20jn.png

And finally, If I choose quick, normal or advanced mode, I get the same error in both sound cards:
http://i65.tinypic.com/2i760jn.png

The difference is that in advanced mode, previous to get that error, I see a menu with different options, this one:
http://i65.tinypic.com/2dqpsba.png

Coming back to the repositories thing, when I first installed opensuse, the first thing I did was add packman and nvidia repositories, then do a zypper up and installed around 700-800 new packages. I’m not sure if that has something to do, but in that moment, after installing all of them and reboot, I still had sound. I just noticed a minor problem: when I log-in with my user, the first attempt of password never let me log-in, but if I do ESC and try again, it works (it still happens and is kind of annoying :confused: ). In any case, the output of zypper lr -d is the following:

# | Alias                               | Name                              | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                                          | Service
--+-------------------------------------+-----------------------------------+---------+-----------+---------+----------+--------+------------------------------------------------------------------------------+--------
1 | download.nvidia.com-leap            | nVidia Graphics Drivers           | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.nvidia.com/opensuse/leap/42.1                                |        
2 | download.opensuse.org-non-oss       | Main Repository (NON-OSS)         | Yes     | (r ) Yes  | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/leap/42.1/repo/non-oss/            |        
3 | ftp.gwdg.de-suse                    | Packman Repository                | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://ftp.gwdg.de/pub/linux/packman/suse/openSUSE_Leap_42.1/                |        
4 | http-download.opensuse.org-2dbf1981 | X11:terminals                     | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/X11:/terminals/openSUSE_Leap_42.1/ |        
5 | repo-oss                            | openSUSE-Leap-42.1-Oss            | Yes     | (r ) Yes  | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/leap/42.1/repo/oss/                |        
6 | repo-update                         | openSUSE-Leap-42.1-Update         | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/42.1/oss/                           |        
7 | repo-update-non-oss                 | openSUSE-Leap-42.1-Update-Non-Oss | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/42.1/non-oss/                       |   

Thank you again!

Launch pavucontrol again, and configure your output as required.

Try removing any existing sound configuration you have in /etc/modprobe.d/50-sound.conf (using an editor as root)

and add the following

options snd_hda_intel index=0 model=auto vid=8086 pid=8ca0
options snd_hda_intel index=1 model=auto vid=10de pid=10f1

Save when done and restart. Don’t try reconfiguring with YaST. Check the sound system again. Any different?

If necessary run the diagnostic script again, and share the online output here again.

I tried, but pavucontrol says exactly the same as pulseaudio, that only Dummy Output exist.

I don’t have the file 50-sound.conf, but I do have a file called 50-alsa.conf, so I did what you said to that file, but nothing happened.

I ran again the test command** /usr/sbin/alsa-info.sh **and this is the output: http://www.alsa-project.org/db/?f=500e7004f59d4301eda0af55a348e124294caa98

And again, thank you!

Don’t mod random files if the one mentioned does not exist just report here. roll back any change you made to the 50-alsa.conf :open_mouth:

Ok, I reverted the changes.

Today, a few minutes ago, I received the notification of a new important update available, it was a kernel update. After updating and rebooting, the sound is working perfectly again!! This is so strange, I don’t know why this stuff happened :confused: It seems that I just had to wait until the system recognizes I needed the update…

In any way, thank you very much for your time, dedication and help, I really appreciate it :slight_smile:

Thanks for the update. Enjoy your working sound. :slight_smile:

Glad to read this is working for you.

I usually try to help with sound, but between work being very busy and me ill for part of the week I did not make it to the forum for some days so I’m happy you came up with a solution (via a kernel update).

wrt the diagnostic script: http://www.alsa-project.org/db/?f=9107788cd2b8338aadcdf0e74b1e8a0f40bdf55f

there is a lot of information there, but if one studies it one can see it often points to the problem where one’s attention should be focussed. In your case when the PCs sound was not working , note this from the script output:


!!---------------

!!Kernel Information
!!------------------

Kernel release:    4.1.31-30-default
....
!!ALSA Version
!!------------
Driver version:     
Library version:    1.0.29
Utilities version:  1.0.29
...
!!Loaded ALSA modules
!!-------------------


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


!!PCI Soundcards installed in the system
!!--------------------------------------
00:1b.0 Audio device: Intel Corporation 9 Series Chipset Family HD Audio Controller
01:00.1 Audio device: NVIDIA Corporation Device 10f1 (rev a1)

Note what is in Red. There is nothing under “Loaded ALSA modules”. There is nothing under “Soundcards recognised by ALSA”. Even thou the sound cards are recognized by openSUSE they are not recognized by Alsa.

The problem clearly was that the alsa sound modules were not loaded. Hence the focus for the problem had to be on how to load the alsa modules. In your case, installing a new kernel possibly meant different alsa version (speculation on my part) and may thus addressed that problem.
.

I’m assuming that openSUSE enumerates the sound cards by their device class (04) eg

lspci -nnk|grep '\04'

but that doesn’t mean that kernel support exists for a given device of course

The problem clearly was that the alsa sound modules were not loaded. Hence the focus for the problem had to be on how to load the alsa modules. In your case, installing a new kernel possibly meant different alsa version (speculation on my part) and may thus addressed that problem.
.

More specifically, a newer kernel version would employ a newer snd-hda-intel module with explicit support for the vid=8086 pid=8ca0 and vid=10de pid=10f1 chipsets

This can be shown using

modinfo snd-hda-intel|egrep "10f1|8ca0"

The current openSUSE kernel (4.1.31-30-default) doesn’t include these chipsets.

Oh :O, thank you for the new tips! I’ll take them in count for next time.

By the way, my kernel version is now 4.1.34-33-default

Just in case if someone has the same problem :wink:

Thank you for all your help!