The officially official Devuan Forum!

You are not logged in.

#1 2025-02-10 23:37:25

recklessswing
Member
From: Türkiye
Registered: 2020-12-18
Posts: 125  

Got wayland on gnome working(AMDGPU only, nvidia has problems)

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

#2 2025-02-11 13:33:23

stopAI
Member
Registered: 2023-04-04
Posts: 215  

Re: Got wayland on gnome working(AMDGPU only, nvidia has problems)

Hello.

For this purpose you can use Gnome auto-starting mechanism.

Offline

#3 2025-02-11 16:07:30

RedGreen925
Member
Registered: 2024-12-07
Posts: 95  

Re: Got wayland on gnome working(AMDGPU only, nvidia has problems)

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

Board footer