KMix no longer finds the primary sound card after 2015-11-20 update

After today’s (20th of November 2015) updates, KMix no longer finds the primary sound card.**** In YaST the primary sound card tests OK. ****

KMix only finds the 2nd device – the Cape Verde/Pitcairn HDMI Audio [Radeon HD 7700/7800 Series] device on the graphics card.


# systemctl | grep -i soun
sys-devices-pci0000:00-0000:00:02.0-0000:01:00.1-sound-card1.device                                   loaded active plugged   Cape Verde/Pitcairn HDMI Audio [Radeon HD 7700/7800 Series]
sys-devices-pci0000:00-0000:00:14.2-sound-card0.device                                                loaded active plugged   SBx00 Azalia (Intel HDA)
sound.target                                                                                          loaded active active    Sound Card
#
# aplay -l
**** Liste der Hardware-Geräte (PLAYBACK) ****
Karte 0: SB [HDA ATI SB], Gerät 0: ALC887-VD Analog [ALC887-VD Analog]
  Sub-Geräte: 0/1
  Sub-Gerät #0: subdevice #0
Karte 0: SB [HDA ATI SB], Gerät 1: ALC887-VD Digital [ALC887-VD Digital]
  Sub-Geräte: 1/1
  Sub-Gerät #0: subdevice #0
Karte 1: HDMI [HDA ATI HDMI], Gerät 3: HDMI 0 [HDMI 0]
  Sub-Geräte: 1/1
  Sub-Gerät #0: subdevice #0
#
# pactl info
Server String: unix:/run/user/1000/pulse/native
Library Protocol Version: 29
Server Protocol Version: 29
Is Local: yes
Client Index: 19
Tile Size: 65472
User Name: xxx
Host Name: xxxx
Server Name: pulseaudio
Server Version: 5.0-rebootstrapped
Default Sample Specification: s16le 2ch 44100Hz
Default Channel Map: front-left,front-right
Default Sink: alsa_output.pci-0000_01_00.1.hdmi-stereo
Default Source: alsa_output.pci-0000_01_00.1.hdmi-stereo.monitor
Cookie: c6d0:fa78
#

The history of today’s updates is:


2015-11-20 09:31:32|install|virtualbox-guest-kmp-desktop|5.0.10_k3.16.7_29-194.3|x86_64|
2015-11-20 09:31:36|install|virtualbox-host-kmp-desktop|5.0.10_k3.16.7_29-194.3|x86_64|
2015-11-20 09:31:37|install|virtualbox-guest-tools|5.0.10-194.3|x86_64|
# 2015-11-20 09:31:39 virtualbox-5.0.10-194.3.x86_64.rpm installed ok
# Additional rpm output:
# setting /usr/lib/virtualbox/VBoxNetDHCP to root:vboxusers 4750. (wrong permissions 0750)
# setting /usr/lib/virtualbox/VBoxNetAdpCtl to root:vboxusers 4750. (wrong permissions 0750)
# setting /usr/lib/virtualbox/VBoxHeadless to root:vboxusers 4750. (wrong permissions 0750)
# setting /usr/lib/virtualbox/VBoxSDL to root:vboxusers 4750. (wrong permissions 0750)
#
2015-11-20 09:31:39|install|virtualbox|5.0.10-194.3|x86_64|
# 2015-11-20 09:31:40 virtualbox-qt-5.0.10-194.3.x86_64.rpm installed ok
# Additional rpm output:
# setting /usr/lib/virtualbox/VirtualBox to root:vboxusers 4750. (wrong permissions 0750)
#
2015-11-20 09:31:40|install|virtualbox-qt|5.0.10-194.3|x86_64|
2015-11-20 09:31:40|install|python-virtualbox|5.0.10-194.3|x86_64|
2015-11-20 09:31:40|install|ImageMagick-doc|6.8.9.8-15.1|noarch|
2015-11-20 09:31:41|install|libMagickCore-6_Q16-2|6.8.9.8-15.1|x86_64|
# 2015-11-20 09:31:41 xorg-x11-server-7.6_1.16.1-22.1.x86_64.rpm installed ok
# Additional rpm output:
# Updating /etc/sysconfig/displaymanager...
#
2015-11-20 09:31:41|install|xorg-x11-server|7.6_1.16.1-22.1|x86_64|
2015-11-20 09:31:42|install|xscreensaver-data-extra|5.29-2.4.3|x86_64|
2015-11-20 09:31:42|install|libMagickWand-6_Q16-2|6.8.9.8-15.1|x86_64|
2015-11-20 09:31:42|install|ImageMagick|6.8.9.8-15.1|x86_64|
2015-11-20 09:31:42|install|ImageMagick-devel|6.8.9.8-15.1|x86_64|
# 2015-11-20 09:31:42 Output of virtualbox-guest-kmp-desktop-5.0.10_k3.16.7_29-194.3.x86_64.rpm %posttrans script:
#     /usr/lib/module-init-tools/regenerate-initrd-posttrans: line 59: mkinitrd: command not found
2015-11-20 14:37:57|install|krb5|1.12.2-18.1|x86_64|
2015-11-20 14:37:57|install|krb5-32bit|1.12.2-18.1|x86_64|
2015-11-20 14:37:57|install|krb5-devel|1.12.2-18.1|x86_64|

Some of the output of /usr/sbin/alsa-info.sh is:


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

snd_hda_intel
snd_hda_intel


!!Sound Servers on this system
!!----------------------------

Pulseaudio:
      Installed - Yes (/usr/bin/pulseaudio)
      Running - Yes

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

Jack:
      Installed - Yes (/usr/bin/jackd)
      Running - No


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

 0 [SB             ]: HDA-Intel - HDA ATI SB
                      HDA ATI SB at 0xfeaf4000 irq 16
 1 [HDMI           ]: HDA-Intel - HDA ATI HDMI
                      HDA ATI HDMI at 0xfebf8000 irq 44


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

00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 Azalia (Intel HDA)
01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Cape Verde/Pitcairn HDMI Audio [Radeon HD 7700/7800 Series]

Setting up a new user doesn’t help either – the new user can only find the 2nd device . . .
Which update possibly caused this issue?

On the other hand, on this machine [Laptop – the other is a Desktop] – openSUSE 13.2 (Harlequin) (x86_64); AMD A10-5750M APU with Radeon™ HD Graphics; Richland [Radeon HD 8650G] – there was no issue raised with respect to KMix following today’s 2015-11-20 update:{ Both are AMD CPU/Motherboard/Graphic devices machines . . . }


2015-11-20 18:45:14|install|libMagickCore-6_Q16-2|6.8.9.8-15.1|x86_64|
# 2015-11-20 18:45:15 xorg-x11-server-7.6_1.16.1-22.1.x86_64.rpm installed ok
# Additional rpm output:
# Updating /etc/sysconfig/displaymanager...
#
2015-11-20 18:45:15|install|xorg-x11-server|7.6_1.16.1-22.1|x86_64|
2015-11-20 18:45:18|install|xscreensaver-data-extra|5.29-2.4.3|x86_64|
2015-11-20 18:45:19|install|krb5|1.12.2-18.1|x86_64|
2015-11-20 18:45:19|install|krb5-32bit|1.12.2-18.1|x86_64|
2015-11-20 18:45:20|install|libMagickWand-6_Q16-2|6.8.9.8-15.1|x86_64|
2015-11-20 18:45:20|install|krb5-devel|1.12.2-18.1|x86_64|
2015-11-20 18:45:21|install|ImageMagick|6.8.9.8-15.1|x86_64|
2015-11-20 18:45:21|install|ImageMagick-devel|6.8.9.8-15.1|x86_64

ALSA information:


# systemctl | grep -i 'soun'
sys-devices-pci0000:00-0000:00:01.1-sound-card0.device                                    loaded active plugged   Trinity HDMI Audio Controller
sys-devices-pci0000:00-0000:00:14.2-sound-card1.device                                    loaded active plugged   FCH Azalia Controller
sound.target                                                                              loaded active active    Sound Card
# 
# aplay -l
**** Liste der Hardware-Geräte (PLAYBACK) ****
Karte 0: HDMI [HDA ATI HDMI], Gerät 3: HDMI 0 [HDMI 0]
  Sub-Geräte: 1/1
  Sub-Gerät #0: subdevice #0
Karte 1: Generic [HD-Audio Generic], Gerät 0: CX20757 Analog [CX20757 Analog]
  Sub-Geräte: 1/1
  Sub-Gerät #0: subdevice #0
# 
# pactl info
Server String: unix:/run/user/1000/pulse/native
Library Protocol Version: 29
Server Protocol Version: 29
Is Local: yes
Client Index: 21
Tile Size: 65472
User Name: xxx
Host Name: xxxx
Server Name: pulseaudio
Server Version: 5.0-rebootstrapped
Default Sample Specification: s16le 2ch 44100Hz
Default Channel Map: front-left,front-right
Default Sink: alsa_output.pci-0000_00_14.2.analog-stereo
Default Source: alsa_input.pci-0000_00_14.2.analog-stereo
Cookie: 185b:f5eb
#

Part of /usr/sbin/alsa-info.sh output:


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

snd_hda_intel
snd_hda_intel


!!Sound Servers on this system
!!----------------------------

Pulseaudio:
      Installed - Yes (/usr/bin/pulseaudio)
      Running - Yes

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

Jack:
      Installed - Yes (/usr/bin/jackd)
      Running - No


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

 0 [HDMI           ]: HDA-Intel - HDA ATI HDMI
                      HDA ATI HDMI at 0xf0344000 irq 48
 1 [Generic        ]: HDA-Intel - HD-Audio Generic
                      HD-Audio Generic at 0xf0340000 irq 16


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

00:01.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Trinity HDMI Audio Controller
00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD] FCH Azalia Controller (rev 01)

This machine has no KMix sound issues – the other is however suffering a lack of sound issue . . . :frowning:

I don’t know if this would be of any use to you, but I eventually realized that the reason YaST had sound was that I was super user. Once I realized that only root had normal audio, I found a number of posts from people suggesting that I remove Pulse Audio. I did, and it fixed my sound.

Maybe adding your user to the audio group may have worked. Also since root worked did you try a different normal user. the config files in your home can get messed up sometime.

Yes, I had added myself to sound, pulse, and pulse-access. It didn’t help. I didn’t think that those groups were used any more.

The sound device is owned by user root and group audio, that hasn’t changed. A different user has to be part of the group audio to have access.
And in openSUSE PulseAudio is started by/for the user, so the user does need to have access to the sound card or PulseAudio won’t work either.

Nowadays, a user that is logged in locally will get granted access automatically by systemd’s logind (via ACLs).
But the current problem with polkit could prevent this.

The other two groups are probably only relevant if PulseAudio is running as system-wide daemon, which it is not by default in openSUSE.

But just to be clear: you need to logout and login (or reboot) after adding your user to some group for the change to take effect.

Another thing that might help: delete the folder ~/.config/pulse/ to reset pulseaudio’s user settings.

I had this exact same problem after I updated today (21st of November 2015) using yast. None of the KDE notification sounds worked thereafter. Yast had insisted on a repo change for gstreamer and related packages from openSUSE to packman to meet dependencies. So, I reverted to an rsync backup that I had just previously made and I did the same update again with zypper instead of yast which did not complain about any dependencies. After doing the update with zypper, sound is working fine. However, if I now do a software update with yast then it insists on this same repo change for gstreamer and related packages whereas zypper says “Nothing to do.”. FWIW, Apper does not try to do the repo change either. So, something strange is going on with yast while the software update goes just fine with zypper. In my case, sound quite working because yast insisted on switching repos from openSUSE to packman for gstreamer and related packages. I don’t know if this helps or why yast has become confused but I bet that may be the source of your problem too.

You may want to check the repo that gstreamer and related packages is using and, if they are using packman, then use zypper to set the repo back to openSUSE instead of packman since that is the only difference in my install that made sound stop working after this update.

Gordon

Having read the previous posts, I began to realise that I had also enabled the systemd Timidity service – stopped and disabled timidity.service – et voilà! :shame:

  • Internal Analogue Stereo
    reappeared – no logout/login required; - disabled the Cape Verde/Pitcairn HDMI Audio
    ; - pushed the Internal Analogue Stereo
    back to number 1 in the KMix audio device list.

Need to check if the other users also have sound again.

Yeah, right. I totally forgot about this again.
That’s actually one of the reasons why I don’t use PulseAudio…

If timidity is running as system service, it blocks PulseAudio (started as user) to gain exclusive access to the sound card, thus breaking audio if PulseAudio is enabled.
So, if you want to use timidity (as system-wide daemon), you need to disable PulseAudio.
It is also possible to run timidity as user, in combination with PulseAudio though. See /usr/share/doc/packages/timidity/README.SUSE for how to do that.

That “problem” exists since years though, not just since recent updates…

Hi dcurtisfra](https://forums.opensuse.org/member.php/42186-dcurtisfra),

Answering your question in my thread in this thread…

I never had timidity loading or any MIDI software AFAIK. I did change my sound server from ESOUND to Audio Pulse and then back, but I spent (read wasted) most of my time trying to reconfigure client software.