After upgrading from Leap 42.2, I lost sound for regular users. Only root had sound. Thinking this was a permission problem, I added audio,pulse to the regular users groups to no avail.
Digging a little further, I noticed that root was sending audio output to a “Default Device” in KDE Multimedia whereas for a regular user, it was attempting to send the output to HDMI Audio Output. Since I only had Analog Stereo Output, I fired up Pulse Audio Control (pavucontrol) and attempted to change the output device to Analog Stereo. This was not possible since there was no such option.
So, to temporarily get audio working for a regular user, I disabled pulseaudio in Yast -> Sound. Now, audio works for a regular user.
But, I’d like to get pulseaudio working again. How do I get pulseaudio to allow me to direct output to Analog Stereo Speakers if that option does not exist in the GUI? Do I have to change a pulseaudio or modprobe/sound configuration file?
After upgrading from Leap 42.2, I lost sound for regular users. Only root had sound. Thinking this was a permission problem, I added audio,pulse to the regular users groups to no avail.
Digging a little further, I noticed that root was sending audio output to a “Default Device” in KDE Multimedia whereas for a regular user, it was attempting to send the output to HDMI Audio Output. Since I only had Analog Stereo Output, I fired up Pulse Audio Control (pavucontrol) and attempted to change the output device to Analog Stereo. This was not possible since there was no such option.
This might useful as well
aplay -L
Perhaps start by cleaning out the PA user config (or rename it). It will get recreated when PA next starts anyway.
rm -rf ~/.config/pulse/
Then do
sudo setup-pulseaudio --enable
pulseaudio -Dv
What is reported by the following?
pactl list
Thanks for any help! My kid looked at what I was doing to get audio working and said “You linux people are crazy”
anand@agape-server:~> aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
default
Default ALSA Output (currently PulseAudio Sound Server)
sysdefault:CARD=PCH
HDA Intel PCH, ALC892 Analog
Default Audio Device
front:CARD=PCH,DEV=0
HDA Intel PCH, ALC892 Analog
Front speakers
surround21:CARD=PCH,DEV=0
HDA Intel PCH, ALC892 Analog
2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=PCH,DEV=0
HDA Intel PCH, ALC892 Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
HDA Intel PCH, ALC892 Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
HDA Intel PCH, ALC892 Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
HDA Intel PCH, ALC892 Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
HDA Intel PCH, ALC892 Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
hdmi:CARD=HDMI,DEV=0
HDA ATI HDMI, HDMI 0
HDMI Audio Output
Re-enabled pulseaudio after deleting the .config/pulse directory. Rebooted.
Checked the default sink in .config/pulse
anand@agape-server:~/.config/pulse> more 74fc18841ff54a7f8e09f6b58d4bad53-default-sink
alsa_output.pci-0000_01_00.1.hdmi-stereo
It still gives me just one hdmi option (as does the pavucontrol GUI). No Analog Stereo. Is pulseaudio getting the wrong info from alsa somehow? Can I hardcode the analog stereo output as the default somewhere for pulseaudio to pick up?
I don’t think so. Think only the HDMI output is shown. Don’t understand why the Analog Stereo Output doesn’t show up. I get sound on my analog audio speakers for root (and users when not using pulseaudio).
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 05)
01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Caicos HDMI Audio [Radeon HD 6400 Series]
OK, I tried making the Intel device primary and the Caicos device secondary, rebooted and restarted pulseaudio. No dice. (I did the edits in 50-sound.conf as well.)
Sorry, but I have to give up because of real world pressures. I’ve disabled pulseaudio, removed the Caicos card from Yast -> Sound and I get sound as a regular user now. (I understand I’ll be giving up per application sound control but the extra configuration headache just doesn’t seem worth it. FWIW, I still see the Caicos card HDMI output as an option in KDE Settings -> Multimedia when I enable pulseaudio, despite the fact that I disabled it in Yast. IMHO, this is confusing and should not be allowed.)
Thanks for all your help. It’s amazing to see this much commitment to make open source desktops work in 2017, so thanks again.