Upgrade to Plasma 6 2nd try - no sound

On the 2nd try upgraded from console and it works more or less fine in Plasma X11 mode however sound completely disappeared now. Yast2 sound module is absent as well. What to do? Any tips? Thanks!

Ah, I remember, need to issue 2 magic commands after every zypper dup with kernel upgrade:

> sudo systemctl --user --global unmask pipewire-pulse.socket pipewire-pulse.service
> systemctl --user enable --now pipewire pipewire-pulse

How to avoid doing this every time?! Thanks!

That module is deprecated. For the vast majority of users no explicit (ALSA) configuration should be required.

Really? Why do I need to execute these commands on every dup then? How to avoid?

Well YaST Sound has nothing to do with the systemd services. I don’t use Tumbleweed, but I’ve never needed to re-enable the user services following any update work.

I forced to do this every time:

And no solution yet. Any suggestions? Thanks!

Because something is messed up with your setup. That is clear. You should not have to do to get it working. Show us what this says:

rpm -qa | grep pipewire

I tried to figure out what in several topics - no solution yet.

Here:

> rpm -qa | grep pipewire
gstreamer-plugin-pipewire-1.0.7-1.1.x86_64
pipewire-tools-1.0.7-1.1.x86_64
pipewire-aptx-1.0.1-1699.1.pm.4.x86_64
pipewire-alsa-32bit-1.0.7-1.1.x86_64
pipewire-1.0.7-1.1.x86_64
kpipewire-imports-5.27.11-1.2.x86_64
kpipewire6-imports-6.0.5-1.1.x86_64
pipewire-alsa-1.0.7-1.1.x86_64
libpipewire-0_3-0-32bit-1.0.7-1.1.x86_64
pipewire-lang-1.0.7-1.1.noarch
pipewire-spa-plugins-0_2-32bit-1.0.7-1.1.x86_64
pipewire-modules-0_3-32bit-1.0.7-1.1.x86_64
pipewire-modules-0_3-1.0.7-1.1.x86_64
libpipewire-0_3-0-1.0.7-1.1.x86_64
pipewire-spa-tools-1.0.7-1.1.x86_64
pipewire-spa-plugins-0_2-1.0.7-1.1.x86_64
pipewire-pulseaudio-1.0.7-1.1.x86_64

Please show: sudo systemctl status pipewire*

Nothing, empty.

I think the correct command is:

systemctl --user status pipewire*

(pipewire runs on a per-user base AFAIK)

> systemctl --user status pipewire*
● pipewire.socket - PipeWire Multimedia System Sockets
     Loaded: loaded (/usr/lib/systemd/user/pipewire.socket; enabled; preset: enabled)
     Active: active (running) since Tue 2024-06-18 14:40:55 EEST; 1h 50min ago
   Triggers: ● pipewire.service
     Listen: /run/user/1000/pipewire-0 (Stream)
             /run/user/1000/pipewire-0-manager (Stream)
     CGroup: /user.slice/user-1000.slice/user@1000.service/app.slice/pipewire.socket

июн 18 14:40:55 Aleksey systemd[5930]: Listening on PipeWire Multimedia System Sockets.

● pipewire-pulse.socket - PipeWire PulseAudio
     Loaded: loaded (/usr/lib/systemd/user/pipewire-pulse.socket; enabled; preset: enabled)
     Active: active (running) since Tue 2024-06-18 14:40:55 EEST; 1h 50min ago
   Triggers: ● pipewire-pulse.service
     Listen: /run/user/1000/pulse/native (Stream)
     CGroup: /user.slice/user-1000.slice/user@1000.service/app.slice/pipewire-pulse.socket

июн 18 14:40:55 Aleksey systemd[5930]: Listening on PipeWire PulseAudio.

● pipewire.service - PipeWire Multimedia Service
     Loaded: loaded (/usr/lib/systemd/user/pipewire.service; enabled; preset: disabled)
     Active: active (running) since Tue 2024-06-18 14:40:55 EEST; 1h 50min ago
TriggeredBy: ● pipewire.socket
   Main PID: 5942 (pipewire)
      Tasks: 3 (limit: 4915)
        CPU: 1.060s
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire.service
             └─5942 /usr/bin/pipewire

июн 18 14:40:55 Aleksey systemd[5930]: Started PipeWire Multimedia Service.

● pipewire-pulse.service - PipeWire PulseAudio
     Loaded: loaded (/usr/lib/systemd/user/pipewire-pulse.service; enabled; preset: disabled)
     Active: active (running) since Tue 2024-06-18 14:40:55 EEST; 1h 50min ago
TriggeredBy: ● pipewire-pulse.socket
   Main PID: 5944 (pipewire-pulse)
      Tasks: 3 (limit: 4915)
        CPU: 1.167s
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire-pulse.service
             └─5944 /usr/bin/pipewire-pulse

июн 18 14:40:55 Aleksey systemd[5930]: Started PipeWire PulseAudio.

Happened again after yesterday upgrade, issued the command to fix:

sudo systemctl --user --global unmask pipewire-pulse.socket pipewire-pulse.service && systemctl --user enable --now pipewire pipewire-pulse

Any solution?

Think problem is the following: on zypper dup it does:

(26/44) Installing: pipewire-1.2.4-1.1.x86_64 ................................................................................................................................[ready]
Created symlink '/etc/systemd/user/pipewire-pulse.socket' -> '/dev/null'.
Created symlink '/etc/systemd/user/pipewire-pulse.service' -> '/dev/null'.

Why it redirects user sound to /dev/null?! So only the above command helps to re-enable the sound.