The officially official Devuan Forum!

You are not logged in.

#26 Yesterday 02:20:28

zapper
Member
Registered: 2017-05-29
Posts: 1,095  

Re: [SOLVED] No audio on Excalibur through pipewire on KDE wayland

@golinux two things... should I watch this conversation with popcorn?

tongue

And also, if you think my nonsense was painfully stupid, look up qanon and pizzagate. big_smile


Freedom is never more than one generation away from extinction. Feelings are not facts
If you wish to be humbled, try to exalt yourself long term  If you wish to be exalted, try to humble yourself long term
Favourite operating systems: Hyperbola Devuan OpenBSD
Peace Be With us All!

Offline

#27 Yesterday 02:21:26

golinux
Administrator
Registered: 2016-11-25
Posts: 3,511  

Re: [SOLVED] No audio on Excalibur through pipewire on KDE wayland

We have a weekly jitsi meet and you are welcome to join us. Also feel free to talk to us on our IRC channels where the devs hang out. The forum is more for user assistance than development issues.

Online

#28 Yesterday 02:22:28

golinux
Administrator
Registered: 2016-11-25
Posts: 3,511  

Re: [SOLVED] No audio on Excalibur through pipewire on KDE wayland

zapper . . . do you ever have anything useful to say?

Online

#29 Yesterday 02:26:15

zapper
Member
Registered: 2017-05-29
Posts: 1,095  

Re: [SOLVED] No audio on Excalibur through pipewire on KDE wayland

@golinux Not sure, just that this whole thread has been derailed pretty well.

I am almost jealous I didn't derail it this bad tongue

I am not a programmer either btw. I know as much on how to code as you do. just my two cents.


Freedom is never more than one generation away from extinction. Feelings are not facts
If you wish to be humbled, try to exalt yourself long term  If you wish to be exalted, try to humble yourself long term
Favourite operating systems: Hyperbola Devuan OpenBSD
Peace Be With us All!

Offline

#30 Yesterday 02:44:50

steve_v
Member
Registered: 2018-01-11
Posts: 482  

Re: [SOLVED] No audio on Excalibur through pipewire on KDE wayland

So, IOW "There is no formal procedure to become a Devuan contributor."

Why do I even bother. Guess I'll go see if #devuan-dev is still a whole bunch of resounding silence.

zapper . . . do you ever have anything useful to say?

Good to know I'm not the only one who has noticed. roll

derailed

The answer(s) to the original question and comments on the situation in general have been covered ad-nauseam in another thread, what else is there to do?

Last edited by steve_v (Yesterday 02:50:38)


Once is happenstance. Twice is coincidence. Three times is enemy action. Four times is Official GNOME Policy.

Online

#31 Yesterday 04:09:41

golinux
Administrator
Registered: 2016-11-25
Posts: 3,511  

Re: [SOLVED] No audio on Excalibur through pipewire on KDE wayland

So, IOW "There is no formal procedure to become a Devuan contributor."

Perhaps that task has been waiting for YOU to suggest it, set it up and keep track of all its moving parts. wink

Also, be aware that there are several irc channels that deal with different aspects of devuan's development.

Online

#32 Yesterday 05:13:20

steve_v
Member
Registered: 2018-01-11
Posts: 482  

Re: [SOLVED] No audio on Excalibur through pipewire on KDE wayland

Perhaps that task has been waiting for YOU to suggest it, set it up and keep track of all its moving parts.

Keep repeating the same bullshit Go, maybe it will come true. Or just go back to your CSS and conferences.
The dev channel is utterly dead, forum questions get canned responses, nothing ever changes. I'm done here.
This right here is why you have no new devs. If you can't figure that out, you have my sympathy... But not my motivation or any of my time. I'll spend those on a distro where somebody gives a fuck.

different aspects of devuan's development

How many aspects can *crickets* and that one dude giving up because *crickets* have?

Last edited by steve_v (Yesterday 05:23:31)


Once is happenstance. Twice is coincidence. Three times is enemy action. Four times is Official GNOME Policy.

Online

#33 Yesterday 15:01:01

radiatedradio
Member
Registered: 2025-08-19
Posts: 9  

Re: [SOLVED] No audio on Excalibur through pipewire on KDE wayland

I wrote the openRC init script, if you want to use it, replace "radio" with your own username, or if anyone works on maintaining stuff can figure out some solution to automatically fill in the user field, or maybe if I have some free time outside work, I'll make some kind of script that gets your users name and replaces it.

@steve_v

Indeed. While it is likely a dead horse, I'll flog it some more here: Devuan, as a supposed leader in systemd-free distros... Does precious little leading.
Where real work is needed to get things working without systemd, solutions are lifted from Gentoo (eudev, elogind, opentmpfiles etc.). Everything else is just banning packages rather than fixing them, or shipping broken setups like we see here with wayland and pipewire.
I have asked repeatedly what Devuan's direction and preferred solution for user-units is, and all I get is a bunch of "nothing, wait for Debian to fix it" wilful inaction.

I've been on and off using devuan for ~3 years. My original post came off as uneducated, but that's because I never even used pipewire before, or wayland too much. If possible at least some kind of warning when installing any wayland/pipewire based desktop should come up, that you might run into issues, or that you should check the forum.

heres the init script, don't just copy it in, change the user name. It works fine for me with KDE, probably would work with any other desktop. It's quite makeshift, I've written very few init scripts before, but it gets the job done. The killing processes part could be removed, I just went off of the one I found here.

#!/sbin/openrc-run

name="pipewire"
description="pipewire"
command_user="radio"

depend() {
    after bootmisc
}

start() {
    ebegin "Starting Pipewire"
    
# kill 
    pkill -u "radio" -fx /usr/bin/pipewire-pulse 1>/dev/null 2>&1
    pkill -u "radio" -fx /usr/bin/wireplumber 1>/dev/null 2>&1
    pkill -u "radio" -fx /usr/bin/pipewire 1>/dev/null 2>&1
    
    # start 
    start-stop-daemon --start --background --make-pidfile --pidfile /var/run/pipewire.pid \
        --user radio --exec /usr/bin/pipewire
    
    # wait
    local timeout=10
    while [ $timeout -gt 0 ] && [ "$(pgrep -u radio -f /usr/bin/pipewire)" = "" ]; do
        sleep 1
        timeout=$((timeout - 1))
    done
    
    if [ "$(pgrep -u radio -f /usr/bin/pipewire)" = "" ]; then
        eend 1 "no workie"
        return 1
    fi
    
    # wireplumber
    start-stop-daemon --start --background --make-pidfile --pidfile /var/run/wireplumber.pid \
        --user radio --exec /usr/bin/wireplumber
    
    # pulse
    start-stop-daemon --start --background --make-pidfile --pidfile /var/run/pipewire-pulse.pid \
        --user radio --exec /usr/bin/pipewire-pulse
    
    eend 0
}

stop() {
    ebegin "Stopping Pipewire"
    
    start-stop-daemon --stop --pidfile /var/run/pipewire-pulse.pid
    start-stop-daemon --stop --pidfile /var/run/wireplumber.pid
    start-stop-daemon --stop --pidfile /var/run/pipewire.pid
    
    pkill -u "radio" -fx /usr/bin/pipewire-pulse 1>/dev/null 2>&1
    pkill -u "radio" -fx /usr/bin/wireplumber 1>/dev/null 2>&1
    pkill -u "radio" -fx /usr/bin/pipewire 1>/dev/null 2>&1
    
    rm -f /var/run/pipewire.pid /var/run/wireplumber.pid /var/run/pipewire-pulse.pid
    
    eend 0
}

restart() {
    stop
    sleep 1
    start
}

Last edited by radiatedradio (Yesterday 15:03:39)

Offline

#34 Yesterday 15:10:59

radiatedradio
Member
Registered: 2025-08-19
Posts: 9  

Re: [SOLVED] No audio on Excalibur through pipewire on KDE wayland

Also it's amazing how fast this thread turned into not a discussion about pipewire and things like that, just bickering between forum members, never expected this when I just wanted to ask a question on here.

Offline

#35 Yesterday 16:42:01

radiatedradio
Member
Registered: 2025-08-19
Posts: 9  

Re: [SOLVED] No audio on Excalibur through pipewire on KDE wayland

I wrote an autoinstall script for it, because I got bored. Run as the user you're starting your desktop with, supports both doas and sudo for priv escalation. It's extremely janky, but it works:

if command -v sudo &> /dev/null; then
    export SUDO_OR_DOAS="sudo"
elif command -v doas &> /dev/null; then
    export SUDO_OR_DOAS="doas"
fi

mkdir ~/pipewire
cd ~/pipewire

tee ~/pipewire/pipewire << 'EOF'
#!/sbin/openrc-run

name="pipewire"
description="pipewire"
command_user="USER"

depend() {
    after bootmisc
}

start() {
    ebegin "Starting Pipewire"
    
    # start 
    start-stop-daemon --start --background --make-pidfile --pidfile /var/run/pipewire.pid \
        --user USER --exec /usr/bin/pipewire
    
    # wait
    local timeout=10
    while [ $timeout -gt 0 ] && [ "$(pgrep -u USER -f /usr/bin/pipewire)" = "" ]; do
        sleep 1
        timeout=$((timeout - 1))
    done
    
    if [ "$(pgrep -u USER -f /usr/bin/pipewire)" = "" ]; then
        eend 1 "no workie"
        return 1
    fi
    
    # wireplumber
    start-stop-daemon --start --background --make-pidfile --pidfile /var/run/wireplumber.pid \
        --user USER --exec /usr/bin/wireplumber
    
    # pulse
    start-stop-daemon --start --background --make-pidfile --pidfile /var/run/pipewire-pulse.pid \
        --user USER --exec /usr/bin/pipewire-pulse
    
    eend 0
}

stop() {
    ebegin "Stopping Pipewire"
    
    start-stop-daemon --stop --pidfile /var/run/pipewire-pulse.pid
    start-stop-daemon --stop --pidfile /var/run/wireplumber.pid
    start-stop-daemon --stop --pidfile /var/run/pipewire.pid
    
    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
    
    rm -f /var/run/pipewire.pid /var/run/wireplumber.pid /var/run/pipewire-pulse.pid
    
    eend 0
}

restart() {
    stop
    sleep 1
    start
}
EOF
\
sed -i "s/USER/$USER/g" ~/pipewire/pipewire &&
$SUDO_OR_DOAS mv ~/pipewire/pipewire /etc/init.d/pipewire &&
$SUDO_OR_DOAS chown root:root /etc/init.d/pipewire &&
$SUDO_OR_DOAS chmod 755 /etc/init.d/pipewire &&
$SUDO_OR_DOAS rc-update add pipewire &&
$SUDO_OR_DOAS rc-service pipewire start

Offline

#36 Yesterday 19:19:05

rbit
Member
Registered: 2018-06-12
Posts: 68  

Re: [SOLVED] No audio on Excalibur through pipewire on KDE wayland

I wrote the openRC init script, if you want to use it, replace "radio" with your own username, or if anyone works on maintaining stuff can figure out some solution to automatically fill in the user field, or maybe if I have some free time outside work, I'll make some kind of script that gets your users name and replaces it.

There are a few ways to do this.  Replace command_user="radio" with command_user="$USER" is one way (probably the way that makes the most sense).  Another option is command_user="$(whoami)".  If you want a non-sensical solution, use command_user="$(env | grep ^USER= | cut -c 6-)" (but that is a very strange way to get the USER).

Offline

#37 Yesterday 19:21:42

radiatedradio
Member
Registered: 2025-08-19
Posts: 9  

Re: [SOLVED] No audio on Excalibur through pipewire on KDE wayland

@rbit if you check my last post, my auto install script fixes that.

Offline

#38 Yesterday 19:23:35

rbit
Member
Registered: 2018-06-12
Posts: 68  

Re: [SOLVED] No audio on Excalibur through pipewire on KDE wayland

Yeah, I see, the sed command makes it work :-)   that's what I get for posting before carefully reading to the end

Offline

#39 Yesterday 20:08:30

zapper
Member
Registered: 2017-05-29
Posts: 1,095  

Re: [SOLVED] No audio on Excalibur through pipewire on KDE wayland

@steve_v OOF I didn't expect you to swear, and the F-word at that...

Dear lord... you are super pissed.

As for you going elsewhere, only gotta say, later then, if ever...


Freedom is never more than one generation away from extinction. Feelings are not facts
If you wish to be humbled, try to exalt yourself long term  If you wish to be exalted, try to humble yourself long term
Favourite operating systems: Hyperbola Devuan OpenBSD
Peace Be With us All!

Offline

#40 Today 00:37:18

steve_v
Member
Registered: 2018-01-11
Posts: 482  

Re: [SOLVED] No audio on Excalibur through pipewire on KDE wayland

radiatedradio wrote:

heres the init script, don't just copy it in, change the user name. It works fine for me with KDE, probably would work with any other desktop.

That'll work, but it probably won't play nice with a multi-user/multi-seat system.

The killing processes part could be removed, I just went off of the one I found here.

Killing processes is a dirty hack to prevent pipewire lingering after a user logs out - which will tie up the sound devices so that a new user logging in will have no audio.
That's one of the things we need real user-services for, this kind of shell-hackery is all well-and-good for a single-user box, but unix/linux is and always has been multi-user. Getting that to work properly means tying the pipewire daemons to the login seat lifecycle somehow, or hacking pipewire to run as a system-wide service (which it absolutely wasn't designed for).

zapper wrote:

As for you going elsewhere, only gotta say, later then, if ever.

I already am "elsewhere". I have exactly one headless box still running Devuan, and if the next upgrade is as much of a disaster as I expect it will be, that one will move to Gentoo as well.

As for being pissed... I'm being told to "go code" by a self-important bureaucrat who can't code, and directed to dead channels to engage with absent devs in non-existent onboarding processes.
And they wonder why anyone who might contribute gives up and goes elsewhere. That airfare to amsterdam go is so proud of? That could have paid someone to start sorting out this mess.

Case in point, let's recap 24 hours of the devuan-dev channel:

Xenguy: LeePen, I can't seem to get any response except crickets around here...
Xenguy: So, you push the keyring.html Live when you want, if and when you want, please.  I'm done with it.
Xenguy: .oO( Like herding cats ... )
golinux: Just updated the pad regarding some upcoming changes. Please have a look and comment before end of day Tuesday

Let's see... No development, one guy giving up because there's nobody around, and golinux dropping some bureaucratic chaff nobody cares about.
And this is right on a major release window. Trixie just dropped, where is everyone?

Why bother? Even the most stalwart rats must be making for the mooring lines by now, with all possible haste. Might as well join them, no?

Last edited by steve_v (Today 00:38:38)


Once is happenstance. Twice is coincidence. Three times is enemy action. Four times is Official GNOME Policy.

Online

Board footer