Connection to the sound service lost after startup

Problem

After startup of my desktop I cannot use any audio interface. I’m using KDE Plasma and the volume control shows “Connection to the sound service lost”. This problem did not exist for me in the Fedora 40 installation.

Cause

Not yet known.

Related Issues

Workarounds

Restart the pipewire service using:

systemctl --user restart wireplumber pipewire pipewire-pulse

Welcome to Fedora @swillage

systemctl --user status wireplumber pipewire pipewire-pulse
Can you see some errors while showing the status?

Good idea, thanks.
This is the output of the command:

○ wireplumber.service - Multimedia Service Session Manager
     Loaded: loaded (/usr/lib/systemd/user/wireplumber.service; enabled; preset: enabled)
    Drop-In: /usr/lib/systemd/user/service.d
             └─10-timeout-abort.conf
     Active: inactive (dead)

○ pipewire.service - PipeWire Multimedia Service
     Loaded: loaded (/usr/lib/systemd/user/pipewire.service; disabled; preset: disabled)
    Drop-In: /usr/lib/systemd/user/pipewire.service.d
             └─00-uresourced.conf
             /usr/lib/systemd/user/service.d
             └─10-timeout-abort.conf
     Active: inactive (dead)
TriggeredBy: ● pipewire.socket

○ pipewire-pulse.service - PipeWire PulseAudio
     Loaded: loaded (/usr/lib/systemd/user/pipewire-pulse.service; disabled; preset: disabled)
    Drop-In: /usr/lib/systemd/user/service.d
             └─10-timeout-abort.conf
     Active: inactive (dead)
TriggeredBy: ● pipewire-pulse.socket

after I restart the audio with my command above all three servicec switch to Active.

Best

/sw

Ok, as you can see the status of pipewire & pipewire-pulse is presenting the preset status as disabled.

Try to activate the the two inactive services with the command as described here:

foo is the placeholder for the service names you want to activate. You can substitute it with the two service names

Enable a service to be started on boot:

# systemctl enable foo

Thank you. I enabled all three services, now after startup status shows this one:

wireplumber.service - Multimedia Service Session Manager
     Loaded: loaded (/usr/lib/systemd/user/wireplumber.service; enabled; preset: enabled)
    Drop-In: /usr/lib/systemd/user/service.d
             └─10-timeout-abort.conf
     Active: active (running) since Thu 2024-12-05 20:19:02 CET; 30s ago
 Invocation: bba66b9242544ae1acd1e282deffa6c5
   Main PID: 1582 (wireplumber)
      Tasks: 9 (limit: 18844)
     Memory: 7.2M (peak: 7.8M)
        CPU: 244ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/wireplumber.service
             └─1582 /usr/bin/wireplumber

Dez 05 20:19:02 LinuxGamer systemd[1551]: Started wireplumber.service - Multimedia Service Session Manager.
Dez 05 20:19:03 LinuxGamer wireplumber[1582]: spa.bluez5: BlueZ system service is not available
Dez 05 20:19:03 LinuxGamer wireplumber[1582]: [0:00:23.597241269] [1582]  INFO Camera camera_manager.cpp:325 libcamera v0.3.2

● pipewire.service - PipeWire Multimedia Service
     Loaded: loaded (/usr/lib/systemd/user/pipewire.service; enabled; preset: disabled)
    Drop-In: /usr/lib/systemd/user/pipewire.service.d
             └─00-uresourced.conf
             /usr/lib/systemd/user/service.d
             └─10-timeout-abort.conf
     Active: active (running) since Thu 2024-12-05 20:19:02 CET; 30s ago
 Invocation: 9141def14f264bf2bd88c6f5908322f0
TriggeredBy: ● pipewire.socket
   Main PID: 1580 (pipewire)
      Tasks: 3 (limit: 18844)
     Memory: 4.4M (peak: 6.3M)
        CPU: 40ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire.service
             └─1580 /usr/bin/pipewire

Dez 05 20:19:02 LinuxGamer systemd[1551]: Started pipewire.service - PipeWire Multimedia Service.

● pipewire-pulse.service - PipeWire PulseAudio
     Loaded: loaded (/usr/lib/systemd/user/pipewire-pulse.service; enabled; preset: disabled)
    Drop-In: /usr/lib/systemd/user/service.d
             └─10-timeout-abort.conf
     Active: active (running) since Thu 2024-12-05 20:19:02 CET; 30s ago
 Invocation: cdccc0fd4e22407db38e9aef37fc803c

The audio still does not work after startup. After my restart command above it works again. Status now is more or less unchanged.