Haven't rid the whole chain but seems like yje service ain't happy being ran as a root user, am I wrong? "ConditionUser=!root was not met"


On 25 July 2023 08:19:34 EEST, Felix Miata <mrmazda@earthlink.net> wrote:
Felix Miata composed on 2023-07-08 23:23 (UTC-0400):

This is my 24/7 15.4 system.

aplay /usr/share/sounds/alsa/test.wav
Playing WAVE '/usr/share/sounds/alsa/test.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
produces nothing from speakers, as neither the video player build into Chromium,
nor KDE3 system sounds.

Anyone else have this happen?

Given the lack of progress finding a solution, I did a fresh installation of
15.5 in the space formerly occupied by 15.3. The forum thread has the latest
status of 15.5, but I did some experimenting with 15.4 a while ago and have
determined that for aplay to play .wav files without any switches, and for
KDE3 system sounds (but not KControl test sound), neither arts nor jack is
required, other than libjack0:

# 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 --vs --zl --hostname
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: PulseAudio v: 15.0 status: off tools: pacat,pactl,pavucontrol
# rpm -qa | egrep 'alsa|arts|audio|demult|gstr|jack|mix|pavu|puls|sof-|sound|vlc|wire|xdg' | sort > sndpkgs-msi85-s154-202307242345.txt
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-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
gstreamer-1.20.1-150400.1.5.x86_64
gstreamer-plugins-base-1.20.1-150400.1.9.x86_64
kdemultimedia3-3.5.10.1-lp154.81.1.x86_64
kdemultimedia3-mixer-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
libopenshot-audio8-0.2.2-bp154.1.36.x86_64
libpipewire-0_3-0-0.3.49-150400.1.5.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
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
pavucontrol-5.0-150400.1.8.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
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
python3-pyxdg-0.26-1.21.noarch
sof-firmware-2.0-150400.1.4.noarch
sound-theme-freedesktop-0.8-150400.12.7.noarch
system-user-pulse-15.0-150400.2.10.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
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
# systemctl --global --user status pulseaudio.{service,socket}
○ pulseaudio.service - Sound Service
Loaded: loaded (/usr/lib/systemd/user/pulseaudio.service; enabled; vendor preset: disabled)
Active: inactive (dead)
TriggeredBy: ○ pulseaudio.socket
Condition: start condition failed at Mon 2023-07-24 23:44:53 EDT; 2min 13s ago
└─ ConditionUser=!root was not met

Jul 24 23:44:53 00srv systemd[1051]: Condition check resulted in Sound Service being skipped.

○ pulseaudio.socket - Sound System
Loaded: loaded (/usr/lib/systemd/user/pulseaudio.socket; enabled; vendor preset: enabled)
Active: inactive (dead)
Triggers: ● pulseaudio.service
Condition: start condition failed at Mon 2023-07-24 23:44:53 EDT; 2min 13s ago
└─ ConditionUser=!root was not met
Listen: /run/user/0/pulse/native (Stream)

Jul 24 23:44:53 00srv systemd[1051]: Condition check resulted in Sound System being skipped.
# 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, but nothing from web browsers, vlc, smplayer or mpv
# pavucontrol claims no output devices

Mental exhaustion set in before I could determine what it takes to make any
other audio work.