You are not logged in.
I added these lines to .profile:
wireplumber &
pipewire &
pipewire-pulse &
The sound was working fine this time. Only, as I have Nvidia GPU now, brave doesn't open. There are small quirks.
Edit: I inserted a RX550 instead, now Wayland session works. Sound also works. It didn't work before. Even brave opens.
Also with nvidia even commands like inxi -G doesn't work well. Weird.
Last edited by recklessswing (2025-02-15 00:20:15)
Offline
Hello.
For this purpose you can use Gnome auto-starting mechanism.
Offline
For this purpose you can use Gnome auto-starting mechanism.
Indeed and use something like this to ensure you do not get conflicting instances of it started as well.
zeus@9600k:~$ cat bin/pipewire_start.sh
#!/bin/bash
# Added to start pipewire on login to desktop
# https://dev1galaxy.org/viewtopic.php?id=5867
# was the ~/.xsessionrc -rw-rw-r-- permissions
# now ~/bin/pipewire_start.sh executable permissions
# as bash script loaded from KDE autostart in System Settings
# kill any existing pipewire instance to restore sound
pkill -u "$USER" -fx /usr/bin/pipewire-pulse 1>/dev/null 2>&1
pkill -u "$USER" -fx /usr/bin/wireplumber 1>/dev/null 2>&1
pkill -u "$USER" -fx /usr/bin/pipewire 1>/dev/null 2>&1
exec /usr/bin/pipewire &
# wait for pipewire to start before attempting to start related daemons
while [ "$(pgrep -f /usr/bin/pipewire)" = "" ] ; do
sleep 1
done
# start wireplumber
exec /usr/bin/wireplumber &
# start pipewire-pulse
exec /usr/bin/pipewire-pulse &
Offline