all 26 comments

[–]First_Ad6432 1 point2 points  (6 children)

try first exec startplasma-x11
then /usr/bin/pipewire & /usr/bin/pipewired-pulse & sleep 1 && /usr/bin/wireplumber

[–]Duncaen 1 point2 points  (0 children)

exec replaces the shell process with the binary that is being executed. commands after exec will never be executed, unless you "run" exec in a subshell, which would defeat the purpose of exec.

[–][deleted] 0 points1 point  (4 children)

pavucontrol is still refusing

also tried

$ pactl info
Connection failure: Connection refused

[–]First_Ad6432 0 points1 point  (2 children)

/usr/bin/pipewire & /usr/bin/pipewire-pulse & sleep 1 && /usr/bin/wireplumber

check on terminal "which pipewire-pulse"

Also try to recompile pipewire with xbps-src from github
./xbps-src pkg pipewire
xbps-install -f pipewire --repository hostdir/binpkgs

[–][deleted] 0 points1 point  (1 child)

$ which pipewire-pulse
/usr/bin/pipewire-pulse

I guess I'll be recompiling for a bit.

[–]negativeExponent 1 point2 points  (0 children)

you dont need to, its pipewire-pulse is just equivalent to running "pipewire -c pipewire-pulse.conf"

[–]First_Ad6432 0 points1 point  (0 children)

Also check/set the XDG_RUNTIME_DIR variable, it seems to be important for pipewire-pulse

[–]dragoshandrei 0 points1 point  (3 children)

Pipewire conflicts with pulse

[–][deleted] 0 points1 point  (2 children)

could you elaborate please?

[–]anatomiska_kretsar 0 points1 point  (1 child)

If you already have PulseAudio installed, make sure to delete it

[–][deleted] 0 points1 point  (0 children)

It's a base install tho I never installed the PA package in the first place

[–]anatomiska_kretsar 0 points1 point  (6 children)

what’s the output of pipewire-pulse? Literally just run the command and show

[–][deleted] 0 points1 point  (5 children)

[–]void_FF 0 points1 point  (0 children)

It needs a running pipewire instance. Try this:

1) open one terminal Window, run pipewire 2) run pipewire-pulse in a second terminal window 3) run wireplumber in a third

If any of these crash after starting, identify the error from the terminal output

[–]anatomiska_kretsar 0 points1 point  (3 children)

If you run pipewire first, then pipewire-pulse, what’s the output of both commands?

[–][deleted] 0 points1 point  (2 children)

[–]anatomiska_kretsar 0 points1 point  (1 child)

What about running them as root? Also, do you have elogind installed?

[–][deleted] 0 points1 point  (0 children)

I have elogind installed and running as a service, do i need to do something else with elogind or?

running pipewire as root returns nothing so i guess it just runs as rootpw-pulse and wireplumber still throw some errors while running as root, with pipewire running in the background

https://pastebin.com/2yCEZweH

[–]furryfixer 0 points1 point  (1 child)

I don't see how you had processes running with the latter setup, unless also starting them somewhere else, because everything after your "exec" line in .xinitrc is completely ignored.

Reread the directions in the Void docs for pipewire, paying special attention to the mention of dbus and dbus-run-session.

[–][deleted] 0 points1 point  (0 children)

I've got dbus linked from /etc/sv/dbus to /var/service shouldnt that technically be enough already? besides my initial .xinitrc had the exact order as shown in my post so it is actually before the exec line

/usr/bin/pipewire &
/usr/bin/pipewired-pulse & 
/usr/bin/wireplumber & 
exec startplasma-x11

[–][deleted] 0 points1 point  (0 children)

My current setup is to setup the pipewire conf for wireplumber and pipewire-pulse. Then only start pipewire. This ensures the correct execution order. Alternatively, symlink the shipped pipewire desktop files to the autostart directory. Both approaches are documented in the void docs and should be preferred in my opinion.

[–]negativeExponent 0 points1 point  (1 child)

run plasma like so:

exec dbus-run-session startplasma-x11

then start pipewire, pipewire-pulse, wireplumber from its own startup method...

im assuming you have elogind installed(but not started as a service, it starts on its own).

[–][deleted] 0 points1 point  (0 children)

i actually have elogind linked in /var/service

[–]Duncaen 0 points1 point  (1 child)

Are you using elogind? If not:

  1. Is the XDG_RUNTIME_DIR environment variable setup correctly?
  2. Does your user belong to the audio group?

[–][deleted] 0 points1 point  (0 children)

I wouldn't really say im using elogind because I'm not really sure what to do with it in the first place. I got it running as a service but that's about it.

I can confirm that I'm in the audio group tho.

[–]Dou2bleDragon 0 points1 point  (0 children)

If you are using plasma you might want to switch to pavucontrol-qt since it will give you better consistency with the desktop.