No Sound on Asus B150M-A with opensuse 13.1, 42.1

Hi
After trying many things I hope this forum can help me.
I have new machines with an Asus B150M-A mainboard. I installed opensuse 13.1 and get no sound at all.
I tried alternatively with SLES 11.3, fedora 23, and even ubuntu 14.04 - all had sound working out of the box.
But I need opensuse 13.1!
Up to now I tried pavucontrol, model=auto / fixed in modprobe.d/50-sound.conf and so on.

following is all system information I could gather for both opensuse 13.1 and SLES 11.3:

opensuse 13.1:

lorentz:~ # cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version k3.11.10-29-desktop.

lorentz:~ # cat /proc/asound/modules
 0 snd_hda_intel

lorentz:~ # cat /proc/asound/cards
 0 [Intel          ]: HDA-Intel - HDA Intel
                      HDA Intel at 0xd1120000 irq 140

lorentz:~ # /sbin/lspci  | grep Audio
00:1f.3 Audio device: Intel Corporation Device a170 (rev 31)

lorentz:~ # aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC887-VD Analog [ALC887-VD Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC887-VD Digital [ALC887-VD Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 3: ID 2809 Digital [ID 2809 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

lorentz:~ # ls -l /dev/snd
total 0
drwxr-xr-x 2 root root       60 Dec 17 11:11 by-path
crw-rw---- 1 root audio 116,  9 Dec 17 11:11 controlC0
crw-rw---- 1 root audio 116,  8 Dec 17 11:11 hwC0D0
crw-rw---- 1 root audio 116,  7 Dec 17 11:11 hwC0D2
crw-rw---- 1 root audio 116,  6 Dec 17 10:14 pcmC0D0c
crw-rw---- 1 root audio 116,  5 Dec 17 10:37 pcmC0D0p
crw-rw---- 1 root audio 116,  4 Dec 17 10:14 pcmC0D1p
crw-rw---- 1 root audio 116,  3 Dec 17 11:11 pcmC0D2c
crw-rw---- 1 root audio 116,  2 Dec 17 10:14 pcmC0D3p
crw-rw---- 1 root audio 116,  1 Dec 17 11:11 seq
crw-rw---- 1 root audio 116, 33 Dec 17 11:11 timer

lorentz:~ # head -n 1 /proc/asound/card0/codec*
==> /proc/asound/card0/codec#0 <==
Codec: Realtek ALC887-VD

==> /proc/asound/card0/codec#2 <==
Codec: Intel ID 2809

lorentz:~ # hwinfo --sound                                                                                                            
20: PCI 1f.3: 0403 Audio device                                 
  [Created at pci.319]
  Unique ID: nS1_.hBRkVrdKTN7
  SysFS ID: /devices/pci0000:00/0000:00:1f.3
  SysFS BusID: 0000:00:1f.3
  Hardware Class: sound
  Model: "Intel Audio device"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0xa170 
  SubVendor: pci 0x1043 "ASUSTeK Computer Inc."
  SubDevice: pci 0x86c7 
  Revision: 0x31
  Driver: "snd_hda_intel"
  Driver Modules: "snd_hda_intel"
  Memory Range: 0xd1120000-0xd1123fff (rw,non-prefetchable)
  Memory Range: 0xd1100000-0xd110ffff (rw,non-prefetchable)
  IRQ: 140 (1522 events)
  Module Alias: "pci:v00008086d0000A170sv00001043sd000086C7bc04sc03i00"
  Driver Info #0:
    Driver Status: snd_hda_intel is active
    Driver Activation Cmd: "modprobe snd_hda_intel"
  Config Status: cfg=yes, avail=yes, need=no, active=unknown

and

lorentz:~ # /usr/sbin/alsa-info.sh
Your ALSA information is located at http://www.alsa-project.org/db/?f=e8f83f566e6c23db53ef720c9281ef20d4228c62
lorentz:~ # speaker-test -c2 -t wav

gives me

speaker-test 1.0.27.2

Playback device is default
Stream parameters are 48000Hz, S16_LE, 2 channels
WAV file(s)
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 2048 to 16384
Period size range from 1024 to 1024
Using max buffer size 16384
Periods = 4
was set period_size = 1024
was set buffer_size = 16384
 0 - Front Left

and gets stuck immediately, after pressing ctrl-c I get

Write error: -4,Interrupted system call
xrun_recovery failed: -4,Interrupted system call
Transfer failed: Interrupted system call

SLES 11.3:

condor:~ # cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.24.

condor:~ # cat /proc/asound/modules
 0 snd_hda_intel

condor:~ # cat /proc/asound/cards
 0 [PCH            ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0xd1120000 irq 140

condor:~ # /sbin/lspci  | grep Audio
00:1f.3 Audio device: Intel Corporation Device a170 (rev 31)

condor:~ # aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC887-VD Analog [ALC887-VD Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: ALC887-VD Digital [ALC887-VD Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

condor:~ # ls -l /dev/snd
total 0
drwxr-xr-x 2 root root       60 Dec 16 21:23 by-path
crw-rw---- 1 root audio 116,  8 Dec 16 21:23 controlC0
crw-rw---- 1 root audio 116,  7 Dec 16 21:23 hwC0D0
crw-rw---- 1 root audio 116,  6 Dec 16 21:23 hwC0D2
crw-rw---- 1 root audio 116,  5 Dec 16 14:24 pcmC0D0c
crw-rw---- 1 root audio 116,  4 Dec 16 14:24 pcmC0D0p
crw-rw---- 1 root audio 116,  2 Dec 16 21:23 pcmC0D2c
crw-rw---- 1 root audio 116,  3 Dec 16 14:24 pcmC0D3p
crw-rw---- 1 root audio 116,  1 Dec 16 21:24 seq
crw-rw---- 1 root audio 116, 33 Dec 16 21:23 timer

condor:~ # head -n 1 /proc/asound/card0/codec*
==> /proc/asound/card0/codec#0 <==
Codec: Realtek ALC887-VD

==> /proc/asound/card0/codec#2 <==
Codec: Intel ID 2809

condor:~ # hwinfo --sound                                                                                                            
20: PCI 1f.3: 0403 Audio device
  [Created at pci.323]
  UDI: /org/freedesktop/Hal/devices/pci_8086_a170
  Unique ID: nS1_.hBRkVrdKTN7
  SysFS ID: /devices/pci0000:00/0000:00:1f.3
  SysFS BusID: 0000:00:1f.3
  Hardware Class: sound
  Model: "Intel Audio device"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0xa170
  SubVendor: pci 0x1043 "ASUSTeK Computer Inc."
  SubDevice: pci 0x86c7
  Revision: 0x31
  Driver: "HDA Intel"
  Driver Modules: "snd_hda_intel"
  Memory Range: 0xd1120000-0xd1123fff (rw,non-prefetchable)
  Memory Range: 0xd1100000-0xd110ffff (rw,non-prefetchable)
  IRQ: 140 (1333 events)
  Module Alias: "pci:v00008086d0000A170sv00001043sd000086C7bc04sc03i00"
  Driver Info #0:
    Driver Status: snd_hda_intel is active
    Driver Activation Cmd: "modprobe snd_hda_intel"
  Config Status: cfg=no, avail=yes, need=no, active=unknown

and

condor:~ # /usr/sbin/alsa-info.sh
Your ALSA information is located at http://www.alsa-project.org/db/?f=8fbce8cf3e701d57b1f7d35bc99f3dba718ce7bd

I can’t install SLES everywhere and DON’T want to move to another distro just because of sound problems.

I would apprechiate it very much if anyone could help me with any suggestion on how to fix this

What driver(s) do you see in Yast -sound???

Get test sounds from Yast sound setup??

If more then one driver shown try changing the order

What desktop? Have you tied configuring sound in the Desktop setup???

Have you installed the proprietary codecs?

only snd-hda-intel

no, nowhere

kde, gnome, LXDE, … nowhere sound

what are the proprietary codecs? do I need any ? (as SLES is working fine without)

You don’t need codecs to get sound you do need to play certain file types that use patented tech.Find instruction at the top of this sub forum in the sticky there

but back to your sound problem did you check the volume levels?

You may want to look here

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

Volume is up,
SDB:Audio_troubleshooting is where I got the hints about pavucontrol, model=auto and disable/enable Pulseaudio

Basically the first difference between installations with working sound (SLES, fedora, ubuntu) and not (opensuse) is this:
openSUSE:

cat /proc/asound/cards
 0 [Intel          ]: HDA-Intel - HDA Intel
                      HDA Intel at 0xd1120000 irq 140

all the others:

cat /proc/asound/cards
 0 [PCH            ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0xd1120000 irq 140

I don’t know whether this makes the difference.
All systems use the same codec and so on.

Above my pay grade need to get oldcpu on it.

Thanks anyway.

So now I’m waiting for further help by anyone else (oldcpu?)
In the meantime I’ll try 12.3 and sles 12 (as I have no idea what to do in 13.1)

Tried Leap 42.1 now.
Sound ok out of the box, alsa tells me card is PCH,
yast-sound tells me card is not configured and when trying to configure it can’t load kernel module snd-hda-intel.
after this attempt sound is working again only after rebooting the box (still not configured in yast).
weird!
nevertheless I"d like to stick to 13.1 as long as it is supported by evergreen.

data from Leap 42.1:

lorentz:~ # cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version k4.1.13-5-default.

lorentz:~ # cat /proc/asound/modules
 0 snd_hda_intel

lorentz:~ # cat /proc/asound/cards
 0 [PCH            ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0xd1120000 irq 125

lorentz:~ # /sbin/lspci  | grep Audio
00:1f.3 Audio device: Intel Corporation Sunrise Point-H HD Audio (rev 31)

lorentz:~ # aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC887-VD Analog [ALC887-VD Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 1: ALC887-VD Digital [ALC887-VD 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
card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

lorentz:~ # ls -l /dev/snd
total 0
drwxr-xr-x  2 root root       60 Dec 21 12:27 by-path                 
crw-rw----+ 1 root audio 116,  2 Dec 21 12:27 controlC0               
crw-rw----+ 1 root audio 116, 10 Dec 21 12:27 hwC0D0                   
crw-rw----+ 1 root audio 116, 11 Dec 21 12:27 hwC0D2                   
crw-rw----+ 1 root audio 116,  4 Dec 21 12:27 pcmC0D0c                 
crw-rw----+ 1 root audio 116,  3 Dec 21 12:34 pcmC0D0p                  
crw-rw----+ 1 root audio 116,  5 Dec 21 12:27 pcmC0D1p                  
crw-rw----+ 1 root audio 116,  6 Dec 21 12:27 pcmC0D2c                    
crw-rw----+ 1 root audio 116,  7 Dec 21 12:27 pcmC0D3p                    
crw-rw----+ 1 root audio 116,  8 Dec 21 12:27 pcmC0D7p                    
crw-rw----+ 1 root audio 116,  9 Dec 21 12:27 pcmC0D8p                    
crw-rw----+ 1 root audio 116,  1 Dec 21 12:27 seq                          
crw-rw----+ 1 root audio 116, 33 Dec 21 12:27 timer                        

lorentz:~ # head -n 1 /proc/asound/card0/codec*
==> /proc/asound/card0/codec#0 <==                                         
Codec: Realtek ALC887-VD                                                   
                                                                            
==> /proc/asound/card0/codec#2 <==                                          
Codec: Intel Skylake HDMI                                                    

lorentz:~ # hwinfo --sound                                                                                                            
20: PCI 1f.3: 0403 Audio device                                 
  [Created at pci.366]
  Unique ID: nS1_.hBRkVrdKTN7
  SysFS ID: /devices/pci0000:00/0000:00:1f.3
  SysFS BusID: 0000:00:1f.3
  Hardware Class: sound
  Model: "Intel Sunrise Point-H HD Audio"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0xa170 "Sunrise Point-H HD Audio"
  SubVendor: pci 0x1043 "ASUSTeK Computer Inc."
  SubDevice: pci 0x86c7 
  Revision: 0x31
  Driver: "snd_hda_intel"
  Driver Modules: "snd_hda_intel"
  Memory Range: 0xd1120000-0xd1123fff (rw,non-prefetchable)
  Memory Range: 0xd1100000-0xd110ffff (rw,non-prefetchable)
  IRQ: 125 (2266 events)
  Module Alias: "pci:v00008086d0000A170sv00001043sd000086C7bc04sc03i00"
  Driver Info #0:
    Driver Status: snd_hda_intel is active
    Driver Activation Cmd: "modprobe snd_hda_intel"
  Config Status: cfg=no, avail=yes, need=no, active=unknown

and

lorentz:~ # /usr/sbin/alsa-info.sh
Your ALSA information is located at http://www.alsa-project.org/db/?f=4bec895ac4737bf3c3d5bd53a7413526df9b3173

btw: can I change thread title from “ASUS B150M-A” to “Intel chipset B150 (Realtek ALC887 Audio)” ?

What if you

modprobe snd_hda_intel

Then yast2-sound-edit-quick setup

modprobe snd-hda-intel returns nothing, yast2-sound-edit-quick setup just shows the configuration as previous.
When I remove 50-alsa.conf and 50-sound.conf from /etc/modprobe.d then I get

An error occured during the installation of 
"Intel Corporation"
The kernel module snd-hda-intel for sound support could not be loaded....

Was this working in openSUSE 13.1?
Try installing the alsa firmware.

IF your monitor is plugged in the hdmi display set off the hdmi audio in your sound manager app. It worked for me.

I’m on vacation in Asia ( a continent away from home) with minimal internet access (I’m currently using my mobile phone as an internet hotspot).

Did you try that speaker test in run level-3 ?


speaker-test -c2 -t wav

I note from aplay:


APLAY

**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC887-VD Analog [ALC887-VD Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC887-VD Digital [ALC887-VD Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 3: ID 2809 Digital [ID 2809 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Its not clear to me, which is your speaker device ? hw:0,0, or hw:0,1, or hw:0,3 ?

the advantage of doing such a test in run level 3 , is if it works there, but not in your GUI then that helps localize where the problem may be. Also try in run level 3:


aplay -D hw:0,0 -vv /usr/share/sounds/alsa/test.wav


aplay -D hw:0,1 -vv /usr/share/sounds/alsa/test.wav


aplay -D hw:0,3 -vv /usr/share/sounds/alsa/test.wav

I also note in the dmesg from the script you ran, this entry:


   14.551246] ALSA patch_realtek.c:490 realtek: **No valid SSID**, checking pincfg 0x4046c629 for NID 0x1d

Its possible openSUSE-13.1’s older kernel misidentified your hardware SSID ? < thats speculation of mine >

hence if all else fails we can to force a setting for your ALC887 VD… I note from the /usr/src/linux-version-number-here/Documentation/sound/alsa/HD-Audio-Models.txt file these settings:


ALC88x/898/1150
======================
  acer-aspire-4930g	Acer Aspire 4930G/5930G/6530G/6930G/7730G
  acer-aspire-8930g	Acer Aspire 8330G/6935G
  acer-aspire		Acer Aspire others
  inv-dmic		Inverted internal mic workaround
  no-primary-hp		VAIO Z/VGC-LN51JGB workaround (for fixed speaker DAC)

worst comes to worst - we can try those one at a time in the 50-sound.conf file with the appropriate syntax. But one thing at a time. Try booting to run-level 3 and send those 4 different commands I gave, with regular user permissions, and also with root permissions.

Do any yield sound ?
.

alsa-firmware already installed (version 10.0.17-1.21)
I can’t say it was working. It just gave no error messages - module snd-hda-intel was loaded.
When I copy back 50-alsa.conf and 50-sound.conf to /etc/modprobe.d I get


lorentz:~ # hwinfo --sound
  20: PCI 1f.3: 0403 Audio device
  (...)
  Driver Info #0:
    Driver Status: snd_hda_intel is active
    Driver Activation Cmd: "modprobe snd_hda_intel"
  Config Status: cfg=yes, avail=yes, need=no, active=unknown

as before (and still no sound)

Did you try the tests I recommended from run level 3 ?
.

(back again, missed your post last year)

result is the same as in runlevel 5 - silence

not clear to me either.
Note that in SLES 11.3 I get


condor:~ # aplay -l 
**** List of PLAYBACK Hardware Devices **** 
card 0: PCH [HDA Intel PCH], device 0: ALC887-VD Analog [ALC887-VD Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0 
card 0: PCH [HDA Intel PCH], device 3: ALC887-VD Digital [ALC887-VD Digital]
   Subdevices: 1/1 
  Subdevice #0: subdevice #0  

AND sound

Result (all 3): aplay: pcm_write:1940: write error: Input/output error

13.1 has kernel 3.11.10-29 (no sound), SLES 11.3 has kernel 3.0.101-68 (sound)

ok. (basically not ok) - next I’ll try ALC88x in 50-sound.conf as suggested (what exactly do I have to write where?)
in 50-sound.conf I currently have:

options snd-hda-intel model=auto
options snd slots=snd-hda-intel
# nS1_.hBRkVrdKTN7:Intel Corporation
alias snd-card-0 snd-hda-intel

and in 50-alsa.conf I currently have:

install snd /sbin/install-snd-module snd $CMDLINE_OPTS
install snd-pcm /sbin/install-snd-module snd-pcm $CMDLINE_OPTS
install snd-seq /sbin/install-snd-module snd-seq $CMDLINE_OPTS

If no sound in run level 3 then that suggests the problem is at alsa driver level and not at desktop level.

Ok … well it appears model=auto is not working.

So edit the 50-sound.conf to this:


options snd-hda-intel model=acer-aspire-4930g
options snd slots=snd-hda-intel
# nS1_.hBRkVrdKTN7:Intel Corporation
alias snd-card-0 snd-hda-intel

reboot and test.

If no sound, then edit the 50-sound.conf to this:


options snd-hda-intel model=acer-aspire-8930g
options snd slots=snd-hda-intel
# nS1_.hBRkVrdKTN7:Intel Corporation
alias snd-card-0 snd-hda-intel

reboot and test.

If no sound, then edit the 50-sound.conf to this:


options snd-hda-intel model=acer-aspire
options snd slots=snd-hda-intel
# nS1_.hBRkVrdKTN7:Intel Corporation
alias snd-card-0 snd-hda-intel

reboot and test.

If no sound, then edit the 50-sound.conf to this:


options snd-hda-intel model=inv-dmic
options snd slots=snd-hda-intel
# nS1_.hBRkVrdKTN7:Intel Corporation
alias snd-card-0 snd-hda-intel

reboot and test

If no sound, then edit the 50-sound.conf to this:


options snd-hda-intel model=no-primary-hp
options snd slots=snd-hda-intel
# nS1_.hBRkVrdKTN7:Intel Corporation
alias snd-card-0 snd-hda-intel

reboot and test

If no sound, then edit the 50-sound.conf to this (with no model options):


options snd slots=snd-hda-intel
# nS1_.hBRkVrdKTN7:Intel Corporation
alias snd-card-0 snd-hda-intel

Reboot and test.

If no sound, remove the 50-sound.conf file entirely, reboot and test.

tried all suggestions, result: no sound.
(at least one effect: “speaker-test -c2 -t wav” has no error message any more and pretends to play sound, same does “aplay -D …”)

What drives me crazy is the fact that nearly every other version/distro plays sound out of the box.
Up to now i tried sucessfully SLES/SLED 11.3/11.4, ubuntu, and fedora.
No sound in opensuse 13.1
In Leap 42.1 no sound, when upgrading from 13.1
A fresh install of 42.1 has sound, but plasma isn’t working at all, only iceWMfor 1 login, after logoff graphics is completely distorted - so 42.1 is no option at all.

Hi,

I have the smiillar motherboard --B150-M (but mine is MSI make… But the chipset is same – Intel sunrise point)… Here are my hw info

linux-cyht:~ # cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version k4.3.3-6-default.

linux-cyht:~ # cat /proc/asound/modules
0 snd_hda_intel

linux-cyht:~ # lspci | grep -i audio
00:1f.3 Audio device: Intel Corporation Sunrise Point-H HD Audio (rev 31)

linux-cyht:~ # uname -a
Linux linux-cyht 4.3.3-6-default #1 SMP PREEMPT Fri Jan 8 18:34:17 UTC 2016 (da39cbd) x86_64 x86_64 x86_64 GNU/Linux

I have no issues with audio. Please try Tumbleweed. It has newer kernel, and I believe better support for skylake platform in general.

Here is my alsa info
http://www.alsa-project.org/db/?f=5a06e773e1654c691a2e7b993d4db129caaa45f5hope this helps
Vijay

I appreciate that 13.1 has a problem with sound for your hardware. Clearly 42.1 does not have a problem with sound for your hardware if you do a clean install.

Presumeably you would only try Tumbleweed if you think Plasma will work better with graphics than how it works in 42.1. … I don’t know if that will be the case. You could check with users who have same graphic hardware who run Tumbleweed.

What I do not understand is why you would chose 13.1 over 13.2 (where 13.2 is still supported). Does sound also not work in 13.2 ?

I want to use 13.1 evergreen as I want to use the same version on all my linux computers and don’t want to upgrade (zypper dup) too often.
13.1 evergreen should be supported until 11/2016 (hopefully longer), 13.2 not longer than until 03/2017, and 42.1 until 05/2017.
If I had enough money I could use SLES 11.4 everywhere (supported until 03/2022) but that’s no option either.

Now I tried 13.2 - exactly the same config and result as 31.1: no sound.
Then tried tumbleweed: sound ok, graphics ok but no remote login via xdmcp possible (not with sddm, not with lightdm, only with xdm) and this is what I need also.

So now: can you name me a souncard (not too expensive) 13.1 works with?