#Pipewire is no longer working
1 messages · Page 1 of 1 (latest)
Is xdg-desktop-portal running?
How can I check that is the question
ps aux | grep portal
~ ❯ ps aux | grep portal
leandro+ 27191 0.0 0.0 6400 2208 pts/0 S+ 16:43 0:00 grep --color=auto --exclude-dir=.bzr --exclude-dir=CVS --exclude-dir=.git --exclude-dir=.hg --exclude-dir=.svn --exclude-dir=.idea --exclude-dir=.tox portal```
wait
my user should be leandrobg...?
so no /usr/libexec/xdg-desktop-portal
0:00 fusermount3 -o rw,nosuid,nodev,fsname=portal,auto_unmount,subtype=portal
also that error happens when you have two instances of pipewire running
what DE/WM are you trying to use
the no such file or directory?
no the pipewire error
I am horrible with acronyms, sorry
well, I am and was using so far xfce4 working just fine, even the audio
hm some thoughts going through my brain
another instance of pipewire running (check ps aux or htop)
XDG_RUNTIME_DIR not set
just doing some quick googling
shouldn't restart stop all the pipewires
it may be hanging
this is an annoying error that I haven't had to deal with lol
most like issues here are
the other instance or permissions for your runtime dir
Ok, killed all pipewires and then:
gentoo-pipewire-launcher &
[1] 8172
[W][03161.070786] mod.rt | [ module-rt.c: 254 pw_rtkit_check_xdg_portal()] Can't find org.freedesktop.portal.Desktop. Is xdg-desktop-portal running?
[W][03161.070821] mod.rt | [ module-rt.c: 1015 pipewire__module_init()] found session bus but no portal
[W][03161.072223] mod.rt | [ module-rt.c: 254 pw_rtkit_check_xdg_portal()] Can't find org.freedesktop.portal.Desktop. Is xdg-desktop-portal running?
[W][03161.072255] mod.rt | [ module-rt.c: 1015 pipewire__module_init()] found session bus but no portal
~ ❯ M 16:56:07.173073 mod.rt ../pipewire-0.3.67/src/modules/module-rt.c:254:pw_rtkit_check_xdg_portal: Can't find org.freedesktop.portal.Desktop. Is xdg-desktop-portal running?
M 16:56:07.173102 mod.rt ../pipewire-0.3.67/src/modules/module-rt.c:1015:pipewire__module_init: found session bus but no portal
C 16:56:07.191956 GLib (null):(null):(null): Failed to set scheduler settings: Operation not permitted
M 16:56:07.197661 wp-device ../wireplumber-0.4.14/lib/wp/device.c:619:wp_spa_device_new_from_spa_factory: SPA handle 'api.v4l2.enum.udev' could not be loaded; is it installed?
M 16:56:07.197694 script/v4l2 v4l2.lua:164:chunk: PipeWire's V4L SPA missing or broken. Video4Linux not supported.
M 16:56:07.198037 wp-device ../wireplumber-0.4.14/lib/wp/device.c:619:wp_spa_device_new_from_spa_factory: SPA handle 'api.libcamera.enum.manager' could not be loaded; is it installed?
M 16:56:07.198048 script/libcamera libcamera.lua:173:chunk: PipeWire's libcamera SPA missing or broken. libcamera not supported.
W 16:56:07.852733 spa.bluez5 ../pipewire-0.3.67/spa/plugins/bluez5/bluez5-dbus.c:4538:get_managed_objects_reply: GetManagedObjects() failed: org.freedesktop.DBus.Error.NameHasNoOwner```
still no audio
~ ❯ LANG=C pactl info | grep "Server Name"
Server Name: PulseAudio (on PipeWire 0.3.67)
I wonder if your XDG_RUNTIME_DIR is not set properly
or lacking permissions
echo $XDG_RUNTIME_DIR```
but I had sound when that was unset. hm.
Xfce should automatically start xdg-desktop-portal
you can check if you have any of the versions installed using something like eix
~ ❯ echo $XDG_RUNTIME_DIR
/run/user/1000
I didn't have xdg installed, let me restart my PC
restarted, no audio
I think xfce would want the -gtk or -gnome variant but I'm unsure
no clue
the ammount of errors reduced tho
I'm just gonna try to figure it out based on the error message as pipewire works just fine for me
oh?
~ > gentoo-pipewire-launcher &
M 17:09:01.966569 wp-device ../wireplumber-0.4.14/lib/wp/device.c:619:wp_spa_device_new_from_spa_factory: SPA handle 'api.v4l2.enum.udev' could not be loaded; is it installed?
M 17:09:01.966644 script/v4l2 v4l2.lua:164:chunk: PipeWire's V4L SPA missing or broken. Video4Linux not supported.
M 17:09:01.971364 wp-device ../wireplumber-0.4.14/lib/wp/device.c:619:wp_spa_device_new_from_spa_factory: SPA handle 'api.libcamera.enum.manager' could not be loaded; is it installed?
M 17:09:01.971406 script/libcamera libcamera.lua:173:chunk: PipeWire's libcamera SPA missing or broken. libcamera not supported.
W 17:09:02.000810 spa.bluez5 ../pipewire-0.3.67/spa/plugins/bluez5/bluez5-dbus.c:4538:get_managed_objects_reply: GetManagedObjects() failed: org.freedesktop.DBus.Error.NameHasNoOwner
[W][00162.888643] mod.protocol-pulse | [ reply.c: 53 reply_error()] client 0x55830a33f3e0 [Firefox]: ERROR command:-1 (invalid) tag:2 error:25 (Input/output error)```
hm most of the errors I see that are similar to yours are still pipewire somehow being launched twice
there is no instance running right now right
when it comes to ensuring you have proper permissions this is what I have in my .zprofile
❯ ps aux|grep -E 'pipewire|wireplumber'
leandro+ 9446 5.6 0.1 256004 18780 pts/0 S<l+ 17:17 0:00 /usr/bin/wireplumber
leandro+ 9448 2.3 0.1 92508 17544 pts/0 S<l+ 17:17 0:00 /usr/bin/pipewire
leandro+ 9449 3.3 0.0 73012 13404 pts/0 S<Ll+ 17:17 0:00 /usr/bin/pipewire -c pipewire-pulse.conf
leandro+ 9489 0.0 0.0 6404 2208 pts/1 S+ 17:17 0:00 grep --color=auto --exclude-dir=.bzr --exclude-dir=CVS --exclude-dir=.git --exclude-dir=.hg --exclude-dir=.svn --exclude-dir=.idea --exclude-dir=.tox -E pipewire|wireplumber```
This is after running
```sh
pkill -term wireplumber
pkill -term pipewire
gentoo-pipewire-launcher &```
unset XDG_RUNTIME_DIR
export XDG_RUNTIME_DIR=$(mktemp -d /tmp/$(id -u)-runtime-dir.XXX)
idk if permissions will be the error here since it worked before
also those error messages
are harmless
[mia@Lain ~]$ PipeWire terminated.
M 19:17:51.125708 wp-device ../wireplumber-0.4.14/lib/wp/device.c:620:wp_spa_device_new_from_spa_factory: SPA handle 'api.v4l2.enum.udev' could not be loaded; is it installed?
M 19:17:51.125725 script/v4l2 v4l2.lua:164:chunk: PipeWire's V4L SPA missing or broken. Video4Linux not supported.
M 19:17:51.126357 wp-device ../wireplumber-0.4.14/lib/wp/device.c:620:wp_spa_device_new_from_spa_factory: SPA handle 'api.libcamera.enum.manager' could not be loaded; is it installed?
M 19:17:51.126364 script/libcamera libcamera.lua:173:chunk: PipeWire's libcamera SPA missing or broken. libcamera not supported.
pipewire is running, if we know that permissions work for sure then we can check pulse audio server emulation and device settings
but these errors are meaningless and don't impact sound
so the true error is
[W][00655.196303] mod.protocol-pulse | [ reply.c: 53 reply_error()] client 0x55566bc0b6d0 [Firefox]: ERROR command:-1 (invalid) tag:2 error:25 (Input/output error)
[W][00655.196427] mod.protocol-pulse | [ reply.c: 53 reply_error()] client 0x55566bc0b6d0 [Firefox]: ERROR command:-1 (invalid) tag:2 error:25 (Input/output error)
yes it is interesting
sry it's taking a while I don't know this issue off of the top of my head
I might ask someone that has worked with pipewire earlier but out of interest
can you emerge -pv pulseaudio pipewire wireplumber pulseaudio-daemon libpulse
that's odd
Yeah, thought so, pulse audio should be not installed
looking through previous issues
#support-archive message
#chat-archive message
maybe try reading through some of these
do you see any devices in pavucontrol
yes
I have thought so, let me update then
Yeah, that's how usually goes, when I cannot fix something, it's a bug or a no fix
yeah, pipewire has an update, let's hope
alsamixer -c 0 or -c 1 ?
that worked
your asoundrc is fucked
how can I unfuck it
do you have a / what's in your
/etc/asound.conf
seems like it's defaulting to a sound card
that doesnt exist or work
If you start alsamixer without "-c0", it will attach to the default device, which is by default also card 0. But in your .asoundrc, you define a different default device:
just a matter figuring out where it's setting the wrong default device
daheck cat: /etc/asound.conf: No such file or directory
cat: /etc/asound/cards: No such file or directory
everything was working, when sudenly no more working
I will just purge anything related to audio except players...
yes, both of them
are you on a custom kernel?
ish
it was working before, did not change anything in the kernel at all since first install
are you still running that old kernel?
I am stupid.
I just realized I mistyped a directory
it's /proc/asound
not etc
idk why I did that
lmao.
~ ❯ ls /proc/asound
card0 card1 cards devices hwdep modules NVidia oss PCH pcm seq timers version```
and try setting your default card to your desired card here
~ ❯ cat /proc/asound/cards
0 [PCH ]: HDA-Intel - HDA Intel PCH
HDA Intel PCH at 0xdd128000 irq 133
1 [NVidia ]: HDA-Intel - HDA NVidia
HDA NVidia at 0xdd080000 irq 17
should just be 0
idk why your default soundcard is overriden somewhere
if setting it here doesn't fix it some audio config is making it smth else
Nvidia stuff should not be there?
no no tht's fine
as in your default sound card
is 0
and when you did
alsamixer -c 0
it worked
specifying card 0
if setting that as your default in the asound.conf doesn't work some place is changing thta
like if you have a .asoundrc or smth like that
maybe an update or something changed it
did you try setting this to 0
and yes, the output was going to the intel card
hm
let me change to arch to see if my damn speaker is working, although the headphones were not working either
try setting your default soundcard with something like wpctl/pavucontrol
would be curious to see what sink wpctl status is showing
just seems like it set the wrong default output device
I did
it's just still playing through the wrong sink
`s off
Do you think it`s playing trough my monitor even though the nvidia card is set to off in pavucontrol
for pipewire you can check with wpctl status
everything works in arch
maybe we changed a setting that wasn't reloaded
I did restart
hmm, probably I hada file in my home that arch went like "Nah mate, here, let me fix for you"
@charred wave well, anyways, thank you
I tried my best with my tired brain 
@charred wave And now it`s not working even in arch xD

