Artix Linux Forum

Artix Linux => Installation / Migration / Configuration => Topic started by: rrx on 09 March 2022, 20:38:47

Title: pipewire disabled after sleep or logout
Post by: rrx on 09 March 2022, 20:38:47
Hi there. I've replaced pulseaudio with pipewire as described in wiki (https://wiki.artixlinux.org/Site/PipewireInsteadPulseaudio) on my suite-66 Plasma version of Artix and added a login script with the following lines:
Code: [Select]
#!/bin/sh
 /usr/bin/pipewire & /usr/bin/pipewire-pulse & /usr/bin/pipewire-media-session
It seems to work, but if I log out and back in (manually or due to sleep mode) the audio stops working and I have to run the script again. Is there a way to avoid that?
Title: Re: pipewire disabled after sleep or logout
Post by: strajder on 09 March 2022, 22:03:20
See: https://forum.artixlinux.org/index.php/topic,3532.msg22928.html#msg22928
and the rest of that thread. Nothing to do with 66, this is a Pipewire issue.
Title: Re: pipewire disabled after sleep or logout
Post by: rrx on 13 March 2022, 11:34:57
See: https://forum.artixlinux.org/index.php/topic,3532.msg22928.html#msg22928
and the rest of that thread. Nothing to do with 66, this is a Pipewire issue.

Thanks. I've installed wireplumber which replaced pipewire-media-session. Initially it wasn't cooperating well with the browser when I was switching codecs on bluetooth earphones, so I reverted. Then I decided to give it another shot, installed wireplumber again, then rebooted, and it seems to be working fine now, BT even starts up on its own after sleep and logging out.