Sound died with zypper up 7 days ago

I started thus:

# zypper rm --clean-deps pulseaudio
...
# zypper -v in wireplumber-audio
...
The following 6 NEW packages are going to be installed:
  libwireplumber-0_4-0  0.4.9-150400.3.3.2
  pipewire              0.3.49-150400.1.5
  pipewire-spa-tools    0.3.49-150400.1.5
  pipewire-tools        0.3.49-150400.1.5
  wireplumber           0.4.9-150400.3.3.2
  wireplumber-audio     0.4.9-150400.3.3.2
...
CommitResult  (total 6, done 6, error 0, skipped 0, updateMessages 0)

Things only got worse, resulting in aplay without -D hwplug:1,0 refusing to pretend to play, or exit without Ctrl-C. So I tried going back to basics, eliminating as much of pipewire and pulseaudio as apps would allow, which meant some of pipewire and pulse had to be kept. In such condition, aplay still doesn’t work without -D hwplug:1,0:

# rpm -qa | egrep 'alsa|arts|audio|demult|gstr|jack|mix|pavu|puls|sof-|sound|vlc|wire|xdg' | sort
alsa-1.2.6.1-150400.1.4.x86_64
alsa-firmware-1.2.4-1.41.noarch
alsa-oss-1.1.8-150300.12.3.2.x86_64
alsa-plugins-1.2.6-150400.1.10.x86_64
alsa-plugins-jack-1.2.6-150400.1.10.x86_64
alsa-plugins-oss-1.2.6-150400.1.10.x86_64
alsa-plugins-speexrate-1.2.6-150400.1.10.x86_64
alsa-plugins-upmix-1.2.6-150400.1.10.x86_64
alsa-topology-conf-1.2.5-150400.1.5.noarch
alsa-ucm-conf-1.2.6.3-150400.1.4.noarch
alsa-utils-1.2.6-150400.1.4.x86_64
arts-1.5.10-lp154.44.1.x86_64
gstreamer-1.20.1-150400.1.5.x86_64
gstreamer-plugins-base-1.20.1-150400.1.9.x86_64
jack-1.9.12-150000.3.3.1.x86_64
kdelibs3-arts-3.5.10-lp154.256.1.x86_64
kdemultimedia3-3.5.10.1-lp154.81.1.x86_64
kdemultimedia3-arts-3.5.10.1-lp154.81.1.x86_64
kdemultimedia3-mixer-3.5.10.1-lp154.81.1.x86_64
kdemultimedia3-sound-3.5.10.1-lp154.81.1.x86_64
libasound2-1.2.6.1-150400.1.4.x86_64
libasound2-32bit-1.2.6.1-150400.1.4.x86_64
libaudiofile1-0.3.6-3.7.10.x86_64
libgstaudio-1_0-0-1.20.1-150400.1.9.x86_64
libgstreamer-1_0-0-1.20.1-150400.1.5.x86_64
libgstriff-1_0-0-1.20.1-150400.1.9.x86_64
libjack0-1.9.12-150000.3.3.1.x86_64
libjacknet0-1.9.12-150000.3.3.1.x86_64
libjackserver0-1.9.12-150000.3.3.1.x86_64
libopenshot-audio8-0.2.2-bp154.1.36.x86_64
libpipewire-0_3-0-0.3.49-150400.1.5.x86_64
libpulse0-15.0-150400.2.10.x86_64
libpulse0-32bit-15.0-150400.2.10.x86_64
libSDL_sound-1_0-1-1.0.3-bp154.1.132.x86_64
libvlc5-3.0.18-150400.2.6.pm.1.x86_64
libvlccore9-3.0.18-150400.2.6.pm.1.x86_64
libwebrtc_audio_processing1-0.3-1.35.x86_64
libwireshark15-3.6.14-150000.3.92.1.x86_64
libwiretap12-3.6.14-150000.3.92.1.x86_64
lsof-4.91-1.11.x86_64
pipewire-modules-0_3-0.3.49-150400.1.5.x86_64
pipewire-spa-plugins-0_2-0.3.49-150400.1.5.x86_64
python3-pyxdg-0.26-1.21.noarch
sof-firmware-2.0-150400.1.4.noarch
sound-theme-freedesktop-0.8-150400.12.7.noarch
vlc-3.0.18-150400.2.6.pm.1.x86_64
vlc-codecs-3.0.18-150400.2.6.pm.1.x86_64
vlc-noX-3.0.18-150400.2.6.pm.1.x86_64
vlc-opencv-3.0.18-150400.2.6.pm.1.x86_64
vlc-qt-3.0.18-150400.2.6.pm.1.x86_64
wireshark-3.6.14-150000.3.92.1.x86_64
wireshark-ui-qt-3.6.14-150000.3.92.1.x86_64
xdg-menu-0.2-1.23.noarch
xdg-utils-1.1.3+20201113-150400.1.4.noarch
yast2-sound-4.4.1-150400.1.6.x86_64
> aplay /usr/share/sounds/alsa/test.wav
ALSA lib pcm_dmix.c:1032:(snd_pcm_dmix_open) unable to open slave
aplay: main:831: audio open error: No such file or directory
> aplay -D hwplug:1,0 /usr/share/sounds/alsa/test.wav
ALSA lib pcm.c:2664:(snd_pcm_open_noupdate) Unknown PCM hwplug:1,0
aplay: main:831: audio open error: No such file or directory
>

I have multiple 15.4 insallations on other PCs, some of which have working aplay and neither pulseaudio, pipewire-pulseaudio, pipewire nor wireplumber installed. So I know aplay does not require PA or PW to play, so there must be something fundamental going wrong here.

alsa-info.txt

I’d like to get this low level problem ID’d and fixed before fussing over PA or PW and application sounds.

Both PulseAudio and PipeWire both function as sound servers, running as an interface between applications and hardware devices via ALSA. So, no they are not essential, but modern desktop environments use them to facilitate streaming, handling multiple sinks and sources etc as required. Without being up close to your affected system(s) it is hard to comment or assist further with this. I have never had issues with either high-level sound server implementation, but I’m no sound guru, and typically only use Linux on a laptop environment at home. (At work, we have Linux servers for various specialised purposes, and sound is not a consideration at all).

Earlier in this thread, we already demonstrated that ALSA was working with the card providing the analog output, so I’m not sure what more you’re trying to achieve here really.

The alsa-info output looks ok to me. It showed that PipeWire was active (when you ran the script), and both cards are enumerated with card #1 being associated with the device of interest…

card 1: PCH [HDA Intel PCH], device 0: ALC887-VD Analog [ALC887-VD Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
!!-------Mixer controls for card PCH

Card sysdefault:1 'PCH'/'HDA Intel PCH at 0xf7d10000 irq 31'
  Mixer name	: 'Realtek ALC887-VD'
  Components	: 'HDA:10ec0887,1462d850,00100302'
  Controls      : 39
  Simple ctrls  : 20
Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 64
  Mono: Playback 44 [69%] [-20.00dB] [on]
Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 64
  Mono:
  Front Left: Playback 64 [100%] [0.00dB] [on]
  Front Right: Playback 64 [100%] [0.00dB] [on]
Simple mixer control 'PCM',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 255 [100%] [0.00dB]
  Front Right: Playback 255 [100%] [0.00dB]
Simple mixer control 'Front',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 64
  Mono:
  Front Left: Playback 64 [100%] [0.00dB] [on]
  Front Right: Playback 64 [100%] [0.00dB] [on]
Simple mixer control 'Front Mic',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 31 [100%] [12.00dB] [on]
  Front Right: Playback 31 [100%] [12.00dB] [on]
Simple mixer control 'Front Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 0 [0%] [0.00dB]
  Front Right: 0 [0%] [0.00dB]
Simple mixer control 'Surround',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 64
  Mono:
  Front Left: Playback 64 [100%] [0.00dB] [on]
  Front Right: Playback 64 [100%] [0.00dB] [on]
Simple mixer control 'Center',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 64
  Mono: Playback 64 [100%] [0.00dB] [on]
Simple mixer control 'LFE',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 64
  Mono: Playback 64 [100%] [0.00dB] [on]
Simple mixer control 'Line',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 31 [100%] [12.00dB] [on]
  Front Right: Playback 0 [0%] [-34.50dB] [on]
Simple mixer control 'Line Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 0 [0%] [0.00dB]
  Front Right: 0 [0%] [0.00dB]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 46
  Front Left: Capture 46 [100%] [30.00dB] [on]
  Front Right: Capture 46 [100%] [30.00dB] [on]
Simple mixer control 'Capture',1
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 46
  Front Left: Capture 0 [0%] [-16.00dB] [on]
  Front Right: Capture 0 [0%] [-16.00dB] [on]
Simple mixer control 'Auto-Mute Mode',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Enabled'
Simple mixer control 'Channel Mode',0
  Capabilities: enum
  Items: '2ch' '4ch' '6ch'
  Item0: '2ch'
Simple mixer control 'Input Source',0
  Capabilities: cenum
  Items: 'Front Mic' 'Rear Mic' 'Line'
  Item0: 'Rear Mic'
Simple mixer control 'Input Source',1
  Capabilities: cenum
  Items: 'Front Mic' 'Rear Mic' 'Line'
  Item0: 'Rear Mic'
Simple mixer control 'Loopback Mixing',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Disabled'
Simple mixer control 'Rear Mic',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 0 [0%] [-34.50dB] [on]
  Front Right: Playback 0 [0%] [-34.50dB] [on]
Simple mixer control 'Rear Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 2 [67%] [20.00dB]
  Front Right: 2 [67%] [20.00dB]

Current condition:
1-aplay works without -D plughw:1,0
2-KDE3 system sounds work
3-Youtube on Chromium works
4-test sound in KControl fails
5-Youtube sound in Mozillas fail
6-SMplayer plays nothing
7-VLC plays nothing

> aplay /usr/share/sounds/alsa/test.wav
Playing WAVE '/usr/share/sounds/alsa/test.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
## OK analog, and KDE3 system sounds :), and Chromium Youtube, but not Mozilla Youtube
> alsactl init
Absolute path to 'alsactl' is '/usr/sbin/alsactl', so running it may require superuser privileges (eg. root).
> /usr/sbin/alsactl init
Found hardware: "HDA-Intel" "Realtek ALC887-VD" "HDA:10ec0887,1462d850,00100302" "0x1462" "0xd850"
Hardware is initialized using a generic method
Found hardware: "HDA-Intel" "Intel Haswell HDMI" "HDA:80862807,80860101,00100000" "0x1462" "0x7850"
Hardware is initialized using a generic method
> head -n 1 /proc/asound/card0/codec*
Codec: Realtek ALC887-VD
> head -n 1 /proc/asound/card1/codec*
Codec: Intel Haswell HDMI
> grep index /etc/modprobe.d/99-local.conf
options snd-hda-intel index=1,0
> inxi -Aaz --vs
inxi 3.3.28-00 (2023-07-10)
Audio:
  Device-1: Intel Xeon E3-1200 v3/4th Gen Core Processor HD Audio
    vendor: Micro-Star MSI driver: snd_hda_intel v: kernel bus-ID: 00:03.0
    chip-ID: 8086:0c0c class-ID: 0403
  Device-2: Intel 8 Series/C220 Series High Definition Audio
    vendor: Micro-Star MSI driver: snd_hda_intel v: kernel bus-ID: 00:1b.0
    chip-ID: 8086:8c20 class-ID: 0403
  API: ALSA v: k5.14.21-150400.24.69-default status: kernel-api with:
    1: aoss type: oss-emulator 2: apulse type: pulse-emulator
    tools: alsactl,alsamixer,amixer
  Server-1: aRts v: 1.5.10 status: off with: artswrapper status: off
    tools: artsdsp
  Server-2: JACK v: 1.9.12 status: off tools: jack_control
> /usr/sbin/alsactl info
alsactl: Unknown command 'info'...
# rpm -qa | egrep 'alsa|arts|audio|demult|gstr|jack|mix|pavu|puls|sof-|sound|vlc|wire|xdg' | sort
alsa-1.2.6.1-150400.1.4.x86_64
alsa-firmware-1.2.4-1.41.noarch
alsa-oss-1.1.8-150300.12.3.2.x86_64
alsa-plugins-1.2.6-150400.1.10.x86_64
alsa-plugins-jack-1.2.6-150400.1.10.x86_64
alsa-plugins-oss-1.2.6-150400.1.10.x86_64
alsa-plugins-speexrate-1.2.6-150400.1.10.x86_64
alsa-plugins-upmix-1.2.6-150400.1.10.x86_64
alsa-topology-conf-1.2.5-150400.1.5.noarch
alsa-ucm-conf-1.2.6.3-150400.1.4.noarch
alsa-utils-1.2.6-150400.1.4.x86_64
apulse-0.1.13-bp154.1.41.x86_64
arts-1.5.10-lp154.44.1.x86_64
gstreamer-1.20.1-150400.1.5.x86_64
gstreamer-plugins-base-1.20.1-150400.1.9.x86_64
jack-1.9.12-150000.3.3.1.x86_64
kdelibs3-arts-3.5.10-lp154.256.1.x86_64
kdemultimedia3-3.5.10.1-lp154.81.1.x86_64
kdemultimedia3-arts-3.5.10.1-lp154.81.1.x86_64
kdemultimedia3-mixer-3.5.10.1-lp154.81.1.x86_64
kdemultimedia3-sound-3.5.10.1-lp154.81.1.x86_64
kernel-firmware-sound-20220509-150400.4.16.1.noarch
libasound2-1.2.6.1-150400.1.4.x86_64
libasound2-32bit-1.2.6.1-150400.1.4.x86_64
libaudiofile1-0.3.6-3.7.10.x86_64
libgstaudio-1_0-0-1.20.1-150400.1.9.x86_64
libgstreamer-1_0-0-1.20.1-150400.1.5.x86_64
libgstriff-1_0-0-1.20.1-150400.1.9.x86_64
libjack0-1.9.12-150000.3.3.1.x86_64
libjacknet0-1.9.12-150000.3.3.1.x86_64
libjackserver0-1.9.12-150000.3.3.1.x86_64
libopenshot-audio8-0.2.2-bp154.1.36.x86_64
libpipewire-0_3-0-0.3.49-150400.1.5.x86_64
libpulse0-15.0-150400.2.10.x86_64
libpulse0-32bit-15.0-150400.2.10.x86_64
libSDL_sound-1_0-1-1.0.3-bp154.1.132.x86_64
libvlc5-3.0.18-150400.2.6.pm.1.x86_64
libvlccore9-3.0.18-150400.2.6.pm.1.x86_64
libwebrtc_audio_processing1-0.3-1.35.x86_64
libwireshark15-3.6.14-150000.3.92.1.x86_64
libwiretap12-3.6.14-150000.3.92.1.x86_64
lsof-4.91-1.11.x86_64
pipewire-modules-0_3-0.3.49-150400.1.5.x86_64
pipewire-spa-plugins-0_2-0.3.49-150400.1.5.x86_64
python3-pyxdg-0.26-1.21.noarch
sof-firmware-2.0-150400.1.4.noarch
sound-theme-freedesktop-0.8-150400.12.7.noarch
vlc-3.0.18-150400.2.6.pm.1.x86_64
vlc-codecs-3.0.18-150400.2.6.pm.1.x86_64
vlc-noX-3.0.18-150400.2.6.pm.1.x86_64
vlc-opencv-3.0.18-150400.2.6.pm.1.x86_64
vlc-qt-3.0.18-150400.2.6.pm.1.x86_64
wireshark-3.6.14-150000.3.92.1.x86_64
wireshark-ui-qt-3.6.14-150000.3.92.1.x86_64
xdg-menu-0.2-1.23.noarch
xdg-utils-1.1.3+20201113-150400.1.4.noarch
yast2-sound-4.4.1-150400.1.6.x86_64
# pactl list cards
If 'pactl' is not a typo you can use command-not-found to lookup the package that contains it, like this:
    cnf pactl
> pactl list sinks
If 'pactl' is not a typo you can use command-not-found to lookup the package that contains it, like this:
    cnf pactl
# wpctl status
If 'wpctl' is not a typo you can use command-not-found to lookup the package that contains it, like this:
    cnf wpctl
> aplay -lL
null
    Discard all samples (playback) or generate zero samples (capture)
speexrate
    Rate Converter Plugin Using Speex Resampler
jack
    JACK Audio Connection Kit
oss
    Open Sound System
upmix
    Plugin for channel upmix (4,6,8)
default:CARD=PCH
    HDA Intel PCH, ALC887-VD Analog
    Default Audio Device
sysdefault:CARD=PCH
    HDA Intel PCH, ALC887-VD Analog
    Default Audio Device
front:CARD=PCH,DEV=0
    HDA Intel PCH, ALC887-VD Analog
    Front output / input
surround21:CARD=PCH,DEV=0
    HDA Intel PCH, ALC887-VD Analog
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=PCH,DEV=0
    HDA Intel PCH, ALC887-VD Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
    HDA Intel PCH, ALC887-VD Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
    HDA Intel PCH, ALC887-VD Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
    HDA Intel PCH, ALC887-VD Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
    HDA Intel PCH, ALC887-VD Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
hdmi:CARD=HDMI,DEV=0
    HDA Intel HDMI, HDMI 0
    HDMI Audio Output
hdmi:CARD=HDMI,DEV=1
    HDA Intel HDMI, HDMI 1
    HDMI Audio Output
hdmi:CARD=HDMI,DEV=2
    HDA Intel HDMI, HDMI 2
    HDMI Audio Output
hdmi:CARD=HDMI,DEV=3
    HDA Intel HDMI, HDMI 3
    HDMI Audio Output
hdmi:CARD=HDMI,DEV=4
    HDA Intel HDMI, HDMI 4
    HDMI Audio Output
**** 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 1: HDMI [HDA Intel HDMI], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA Intel HDMI], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA Intel HDMI], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA Intel HDMI], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA Intel HDMI], device 10: HDMI 4 [HDMI 4]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
#

Trying to add any of Pipewire/Pulseaudio/Wireplumber than is currently installed causes less to work, or nothing to work.

The juxtaposed order between HDMI and PCH was originally solved when the motherboard was new in 2015 by Tiwai’s recommended options snd-hda-intel index=1,0 line in /etc/modprobe.d/, which was originally in 99-local.conf. Somewhere along the way I know not when, I renamed it 99-local.con to disable it. Now that it’s back I have my KDE3 system sounds back, and aplay works without -D plughw:1,0, but that’s only token progress.

Current alsa-info.txt is attached to the knotify_libjack audio kcrash bug.

For me, on Tumbleweed:

aplay /usr/share/sounds/alsa/test.wav
Playing WAVE ‘/usr/share/sounds/alsa/test.wav’ : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
/usr/sbin/alsactl --version
alsactl version 1.2.9
ls -l /usr/sbin/alsactl
-rwxr-xr-x 1 root root 126360 Jun 14 23:42 /usr/sbin/alsactl

So it the problem not that the access rights for alsactl are somehow wrong?

Not sure why you try to use the pactl (supplied by pulseaudio-utils) and wpctl (pipewire) commands when you are not using pulseuadio (or pipewire pulseaudio) and pipewire respectively.

As you have found alsa works for your needs stay with using that I guess.

This is a 15.4 thread:

# ls -l /usr/share/sounds/alsa/test.wav
-rw-r--r-- 1 root root 1340684 May  7  2022 /usr/share/sounds/alsa/test.wav

I did the following:

# zypper in pulseaudio pulseaudio-util
...
# rpm -qa | grep puls | sort
apulse-0.1.13-bp154.1.41.x86_64
libpulse-mainloop-glib0-15.0-150400.2.10.x86_64
libpulse0-15.0-150400.2.10.x86_64
libpulse0-32bit-15.0-150400.2.10.x86_64
pulseaudio-15.0-150400.2.10.x86_64
pulseaudio-setup-15.0-150400.2.10.x86_64
pulseaudio-utils-15.0-150400.2.10.x86_64
system-user-pulse-15.0-150400.2.10.noarch
#

Only change is that Youtube sound in Chromium is now absent.

…and what does pavucontrol tell you about the profile and audio sinks for these applications?

My memory about which provides what output in this matrix has mostly holes in it. In 15.4, alsactl info doesn’t even exist.

3 working out of 7 is not working for my needs. Someday I hope to find a combination that allows at least 6 out of 7, including KDE3 system sounds and Youtube (regardless which web browser). Maybe in October when TDM 14.1.1 includes a fix for audio that broke >2 years ago I can upgrade 15.4 to 15.5 and switch to TDM and a more evolved wireplumber-audio.

> man pavucontrol
No manual entry for pavucontrol
>

How do I make it produce something I can copy and paste? It’s animated when Youtube is playing to the PCM dummy output, just with no sound from speakers, as it claims there is no hardware output device.

Are you sure that TDM has anything to do with this? The KDE3 desktop may well do of course.

The dummy output you refer to occurs when PA cannot access your (ALSA) playback devices for some reason. As they do show up when you examine the alsa-info.sh script and aplay commands, I don’t know how to assist further.

You can review this section of the audio troubleshooting guide…
https://en.opensuse.org/SDB:Audio_troubleshooting#Determining_which_application_is_using_sound_device
…although we essentially did that with the fuser command earlier in this thread.

The pactl command fulfills that purpose. If using PulseAudio (and NOT PipeWire with pipewire-pulse support), then pacmd is another similar CLI utility that can be used. I prefer the former CLI utility as it is compatible with both situations.

man pactl
man pacmd
> pactl get-default-source
alsa_input.pci-0000_00_1b.0.analog-stereo
> pactl get-default-sink
auto_null
> pactl info
Server String: /run/user/####/pulse/native
Library Protocol Version: 35
Server Protocol Version: 35
Is Local: yes
Client Index: 23
Tile Size: 65472
User Name: me
Host Name: my
Server Name: pulseaudio
Server Version: 15.0
Default Sample Specification: s16le 2ch 44100Hz
Default Channel Map: front-left,front-right
Default Sink: auto_null
Default Source: alsa_input.pci-0000_00_1b.0.analog-stereo
Cookie: 337b:f60e

0 man page examples. Lots of sets. Few gets (aka list/show/info). :frowning:

I’ve given you all that you need in regards to pactl, and it has already been established that the expected sinks are missing. Nothing has changed with respect to that. Something stops PA from accessing the output device of interest, (in particular the speaker output).

Any journal errors related to ‘pulseaudio’?

Does stopping and starting pulseaudio change this (while logged in to TDE)?

systemctl --user restart pulseaudio
pactl list sinks

Any way to kill kmix perhaps?

Mostly just checking in to see if any advice already given would have been or should be different for 15.5.

Instead of beating my head on this wall again today, I selected another. I removed most content from the 15.3 filesystem, disconnected the RAID, then NET installed a minimal 15.5 on it, first fresh installation on this PC since 42.1. I’m only running a test user and root on it so far, until I get enough tweaking and package catchup done. Brother drivers are yet to do, and I haven’t tried any web browser yet. I’d like to make the Brother print and scan drivers functional without installing all 95 32bit packages that 15.4 has on it, if I can without making it another multi-day project.

Meanwhile I’m still using 15.4, with no remaining plans to make sound on it work reasonably, but so far, 15.5 is not looking good in the aplay dept. Monday I need to be out most of day. Hopefully by Wed. I can be on 15.5 full time, maybe even with sound working.

Not really. The troubleshooting steps conducted so far are the same. In my last post, I gave you something to try. Just pursuing the angle that kmix might be preventing PA from accessing the devices somehow. The fuser (or lsof) commands can help identify that theory as demonstrated already.

Now, it might be that a bug report is required to help progress this.

Deano, your extensive updates to SDB:Audio troubleshooting - openSUSE Wiki were noticed and useful. :slight_smile:

Current 15.5 state is as follows:

> cat /etc/modprobe.d/99-local.conf
alias snd-card-1 snd-hda-intel
alias snd-card-0 snd-hda-intel

options snd-hda-intel id=PCH index=0
options snd-hda-intel id=HDMI index=1
> inxi -Aaz
Audio:
  Device-1: Intel Xeon E3-1200 v3/4th Gen Core Processor HD Audio
    vendor: Micro-Star MSI driver: snd_hda_intel v: kernel bus-ID: 00:03.0
    chip-ID: 8086:0c0c class-ID: 0403
  Device-2: Intel 8 Series/C220 Series High Definition Audio
    vendor: Micro-Star MSI driver: snd_hda_intel v: kernel bus-ID: 00:1b.0
    chip-ID: 8086:8c20 class-ID: 0403
  API: ALSA v: k5.14.21-150500.55.7-default status: kernel-api
    tools: alsactl,alsamixer,amixer
  Server-1: aRts v: 1.5.10 status: off with: artswrapper status: off
    tools: artsdsp
  Server-2: JACK v: 1.9.12 status: off tools: jack_control
  Server-3: PipeWire v: 0.3.64 status: off with: wireplumber status: off
    tools: pw-cat,pw-cli,wpctl
> /usr/sbin/alsactl info
#
# Sound card
#
- card: 0
  id: PCH
  name: HDA Intel PCH
  longname: HDA Intel PCH at 0xf7d10000 irq 31
  driver_name: HDA-Intel
  mixer_name: Realtek ALC887-VD
  components: HDA:10ec0887,1462d850,00100302
  controls_count: 39
  pcm:
    - stream: PLAYBACK
      devices:
        - device: 0
          id: ALC887-VD Analog
          name: ALC887-VD Analog
          subdevices:
            - subdevice: 0
              name: subdevice #0
    - stream: CAPTURE
      devices:
        - device: 0
          id: ALC887-VD Analog
          name: ALC887-VD Analog
          subdevices:
            - subdevice: 0
              name: subdevice #0
        - device: 2
          id: ALC887-VD Alt Analog
          name: ALC887-VD Alt Analog
          subdevices:
            - subdevice: 0
              name: subdevice #0
/usr/sbin/alsactl: rawmidi_device_list:105: snd_ctl_rawmidi_next_device
> aplay -lL
null
    Discard all samples (playback) or generate zero samples (capture)
jack
    JACK Audio Connection Kit
default:CARD=PCH
    HDA Intel PCH, ALC887-VD Analog
    Default Audio Device
sysdefault:CARD=PCH
    HDA Intel PCH, ALC887-VD Analog
    Default Audio Device
front:CARD=PCH,DEV=0
    HDA Intel PCH, ALC887-VD Analog
    Front output / input
surround21:CARD=PCH,DEV=0
    HDA Intel PCH, ALC887-VD Analog
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=PCH,DEV=0
    HDA Intel PCH, ALC887-VD Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
    HDA Intel PCH, ALC887-VD Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
    HDA Intel PCH, ALC887-VD Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
    HDA Intel PCH, ALC887-VD Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
    HDA Intel PCH, ALC887-VD Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
hdmi:CARD=HDMI,DEV=0
    HDA Intel HDMI, HDMI 0
    HDMI Audio Output
hdmi:CARD=HDMI,DEV=1
    HDA Intel HDMI, HDMI 1
    HDMI Audio Output
hdmi:CARD=HDMI,DEV=2
    HDA Intel HDMI, HDMI 2
    HDMI Audio Output
**** 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 1: HDMI [HDA Intel HDMI], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA Intel HDMI], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA Intel HDMI], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
# rpm -qa | egrep 'alsa|arts|audio|demult|gstr|jack|mix|pavu|puls|sof-|sound|vlc|wire|xdg' | sort
alsa-1.2.8-150500.1.1.x86_64
alsa-firmware-1.2.4-1.41.noarch
alsa-plugins-jack-1.2.7.1-150500.1.1.x86_64
alsa-ucm-conf-1.2.8-150500.1.1.noarch
alsa-utils-1.2.8-150500.1.2.x86_64
arts-1.5.10-lp155.44.1.x86_64
gstreamer-1.22.0-150500.1.1.x86_64
jack-1.9.12-150000.3.3.1.x86_64
kdelibs3-arts-3.5.10-lp155.256.1.x86_64
kdemultimedia3-3.5.10.1-lp155.81.4.x86_64
kdemultimedia3-arts-3.5.10.1-lp155.81.4.x86_64
kdemultimedia3-mixer-3.5.10.1-lp155.81.4.x86_64
kdemultimedia3-sound-3.5.10.1-lp155.81.4.x86_64
kernel-firmware-sound-20230320-150500.1.1.noarch
libasound2-1.2.8-150500.1.1.x86_64
libaudiofile1-0.3.6-3.7.10.x86_64
libgstreamer-1_0-0-1.22.0-150500.1.1.x86_64
libjack0-1.9.12-150000.3.3.1.x86_64
libjacknet0-1.9.12-150000.3.3.1.x86_64
libjackserver0-1.9.12-150000.3.3.1.x86_64
libpipewire-0_3-0-0.3.64-150500.1.2.x86_64
libpulse-mainloop-glib0-15.0-150400.2.10.x86_64
libpulse0-15.0-150400.2.10.x86_64
libvlc5-3.0.18-bp155.1.12.x86_64
libvlccore9-3.0.18-bp155.1.12.x86_64
libwebrtc_audio_processing1-0.3-1.35.x86_64
libwireplumber-0_4-0-0.4.13-150500.1.2.x86_64
pavucontrol-qt-1.2.0-bp155.1.5.x86_64
pipewire-0.3.64-150500.1.2.x86_64
pipewire-modules-0_3-0.3.64-150500.1.2.x86_64
pipewire-spa-plugins-0_2-0.3.64-150500.1.2.x86_64
pipewire-spa-tools-0.3.64-150500.1.2.x86_64
pipewire-tools-0.3.64-150500.1.2.x86_64
sof-firmware-2.2.4-150500.1.1.noarch
vlc-3.0.18-bp155.1.12.x86_64
vlc-noX-3.0.18-bp155.1.12.x86_64
vlc-qt-3.0.18-bp155.1.12.x86_64
wireplumber-0.4.13-150500.1.2.x86_64
wireplumber-audio-0.4.13-150500.1.2.noarch
xdg-menu-0.2-1.23.noarch
xdg-utils-1.1.3+20210805-150500.1.1.noarch
> wpctl status
PipeWire 'pipewire-0' [0.3.64, moz@00srv, cookie:1136575840]
 └─ Clients:
        31. WirePlumber                         [0.3.64, moz@00srv, pid:934]
        32. WirePlumber [export]                [0.3.64, moz@00srv, pid:934]
        43. wpctl                               [0.3.64, moz@00srv, pid:3662]

Audio
 ├─ Devices:
 │      38. Built-in Audio                      [alsa]
 │      39. Built-in Audio                      [alsa]
 │  
 ├─ Sinks:
 │  
 ├─ Sink endpoints:
 │  
 ├─ Sources:
 │  *   40. Built-in Audio Analog Stereo        [vol: 1.00]
 │  
 ├─ Source endpoints:
 │  
 └─ Streams:

Video
 ├─ Devices:
 │  
 ├─ Sinks:
 │  
 ├─ Sink endpoints:
 │  
 ├─ Sources:
 │  
 ├─ Source endpoints:
 │  
 └─ Streams:

Settings
 └─ Default Configured Node Names:
> systemctl --user status pipewire.{service,socket}
○ pipewire.service - PipeWire Multimedia Service
     Loaded: loaded (/usr/lib/systemd/user/pipewire.service; disabled; vendor preset: disabled)
     Active: inactive (dead)
TriggeredBy: ● pipewire.socket

● pipewire.socket - PipeWire Multimedia System Socket
     Loaded: loaded (/usr/lib/systemd/user/pipewire.socket; enabled; vendor preset: enabled)
     Active: active (listening) since Mon 2023-07-24 17:17:23 EDT; 8min ago
   Triggers: ● pipewire.service
     Listen: /run/user/2000/pipewire-0 (Stream)
     CGroup: /user.slice/user-2000.slice/user@2000.service/app.slice/pipewire.socket

Jul 24 17:17:23 00srv systemd[936]: Listening on PipeWire Multimedia System Socket.
> systemctl --user status wireplumber
○ wireplumber.service - Multimedia Service Session Manager
     Loaded: loaded (/usr/lib/systemd/user/wireplumber.service; enabled; vendor preset: enabled)
     Active: inactive (dead)
> speaker-test -Dplug:front -c2 -l5 -twav

speaker-test 1.2.8

Playback device is plug:front
Stream parameters are 48000Hz, S16_LE, 2 channels
WAV file(s)
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 64 to 1048576
Period size range from 32 to 524288
Using max buffer size 1048576
Periods = 4
was set period_size = 262144
was set buffer_size = 1048576
 0 - Front Left
 1 - Front Right
^C		# OK
> aplay -D plughw:1,0 /usr/share/sounds/alsa/test.wav
aplay: main:831: audio open error: No such file or directory
> aplay -D plughw:0,1 /usr/share/sounds/alsa/test.wav
aplay: main:831: audio open error: No such file or directory
> aplay /usr/share/sounds/alsa/test.wav		# works
Playing WAVE '/usr/share/sounds/alsa/test.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
Chromium Youtube sound OK
Falkon Youtube sound OK
Firefox ESR 102 no Youtube sound
KDE3 KControl sound system test sound: only silence
KDE3 system sounds OK
MPV local .webm sound OK
SeaMonkey 2.53.16  no Youtube sound
SMplayer local .webm sound OK
VLC local .webm crashes, but old .mpeg sound OK
#

It’s not done, but available sound is certainly more than enough to get by on. There still are the print/scan operations yet to perform.

I tried for more via installing various combinations of pipew and pulse packages, but always the result was fewer or zero successes. This hasn’t been just about the OS or hardware either. I reached this point using only test login and root login. On first open of regular user, neither aplay nor KDE3 system sounds worked. Back & forth a few times between test and normal users was consistent, until I removed ~/.kde/share/config/ files kmixctrlrc and kmixrc, and did yet another alsactl init in normal, which brought this cantankerous pair of producers to life.

Before attacking Mozilla sound again, I may leave 15.5 as-is for a while, and try to get 15.4 working with test user and without kmix and/or jack and/or arts, but that’s really what my test boxes are supposed to be for. It’s just on those, there’s no better rhyme or reason than here to the combinations there that work or not. Plus there’s also whether they’re configured to use PCM or digital outputs, mostly digital for newer hardware and analog for older. Also, I very rarely have meaningful need of sound on any of them.

Given the time invested in this, plus that invested on the other PCs where sound isn’t actually needed, it’s hard to fathom how, no less than that, sound is supposed to “just work”.

Appreciated. :slight_smile:

I note that the output you shared shows that PipeWire and WirePlumber are both off. You can enable and start those services if desired (although given you are using TDE I’m not sure this will be of added value)…

https://en.opensuse.org/openSUSE:Pipewire

With that done, you could then probably have PA (or PW) working as expected as they won’t be competing for the same audio device access.

I’m not sure where JACK comes into it, but KDE3 (TDE?) used the aRts framework…

Long gone now though.

Methinks not so much:

# grep RETT /etc/os-release
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
# aptitude search arts | egrep -vi 'parts|hearts|harts|lang|barts|devel|tart|dart|dbg|debug' | sort
i  arts-trinity - sound system from the official TDE release
p  artsbuilder-trinity - synthesizer designer for aRts
p  pluma-plugin-smartspaces - Smart Spaces plugin for pluma
...
# grep RETT /etc/os-release
PRETTY_NAME="openSUSE Leap 15.5"
# zypper se -s arts | egrep -vi 'parts|hearts|harts|lang|barts|devel|tart|dart|dbg|debug'
Loading repository data...
Reading installed packages...

S  | Name                        | Type       | Version                                    | Arch   | Repository
---+-----------------------------+------------+--------------------------------------------+--------+-----------
i+ | arts                        | package    | 1.5.10-lp155.44.1                          | x86_64 | KDE3
   | arts                        | srcpackage | 1.5.10-lp155.44.1                          | noarch | KDE3
   | arts-gmcop                  | package    | 1.5.10-lp155.44.1                          | x86_64 | KDE3
   | gedit-plugin-smartspaces    | package    | 42.1-bp155.1.10                            | x86_64 | OSS
   | kde3-k3b-arts               | package    | 1.0.5-lp155.72.2                           | x86_64 | KDE3
i+ | kdelibs3-arts               | package    | 3.5.10-lp155.256.1                         | x86_64 | KDE3
i+ | kdemultimedia3-arts         | package    | 3.5.10.1-lp155.81.4                        | x86_64 | KDE3
   | kdemultimedia3-arts-mad     | package    | 3.5.10.1-lp155.81.4                        | x86_64 | KDE3
#

Yes, I meant for the majority of us running contemporary desktops. I get that you are using TDE (kind of like MATE is to Gnome). :slight_smile:

In this context I don’t think there is value in having PA or PW present, unless you are using applications that depend on them?