You are not logged in.
I installed it in a pretty simple way,
sudo apt install pipewire wireplumber pipewire-alsa pipewire-pulse pipewire-jack -y
After that, I added an executable file in /usr/local/bin
And now, my PC boots up without sound.
If I try to manually start up pipewire with pipewire & wireplumber & pipewire-pulse &
I get this mess:
[E][00154.666492] mod.protocol-native | [module-protocol-: 731 lock_socket()] server 0x557364dc1780: unable to lock lockfile '/run/user/1000/pipewire-0.lock': Resource temporarily unavailable (maybe another daemon is running)
[E][00154.666616] pw.conf | [ conf.c: 594 load_module()] 0x557364da4df0: could not load mandatory module "libpipewire-module-protocol-native": Resource temporarily unavailable
[E][00154.666735] default | [ pipewire.c: 125 main()] failed to create context: Resource temporarily unavailable
Help? Thank you!
Both depressed, And obsessed with tech!
That's me
-DavidRLTG
Offline
I tried again later, Instead I got this hell:
[E][00577.029114] spa.dbus | [ dbus.c: 349 impl_connection_get()] Failed to connect to session bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[E][00577.029215] mod.portal | [ module-portal.c: 346 pipewire__module_init()] Failed to connect to session bus: Input/output error
[W][00577.031192] mod.protocol-pulse | [ server.c: 615 start_unix_server()] server 0x55691ed861a0: unlinking stale socket '/run/user/1000/pulse/native'
[E][00577.031871] spa.dbus | [ dbus.c: 349 impl_connection_get()] Failed to connect to session bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
Failed to connect to bus: The connection is closed
M 18:03:07.719138 wireplumber ../src/main.c:364:on_disconnected: disconnected from pipewire
Both depressed, And obsessed with tech!
That's me
-DavidRLTG
Offline
So apparently, Pulseaudio was not removed, so I removed it. Audio is still not working, but these are my errors:
https://imgur.com/WTh3hzj.png
Both depressed, And obsessed with tech!
That's me
-DavidRLTG
Offline
Offline
I also tried the script from the bottom of the page,
It fixed the issue for just ONE session
I ran it from Downloads.
Tried moving it to Startup
It doesn't work anymore, tried moving to downloads and running again, I get the previous errors.
This is so weird!
And now, I tried restarting, and running it from downloads! It fixed it again, but gave this error!
[E][00237.711905] mod.protocol-pulse | [ utils.c: 199 create_pid_file()] failed to open pid file: Permission denied
[W][00237.712002] mod.protocol-pulse | [ pulse-server.c: 5648 pw_protocol_pulse_new()] 0x559d6ebc30b0: can't create pid file: Permission denied
C 18:30:18.076323 GLib (null):(null):(null): Failed to set scheduler settings: Operation not permitted
M 18:30:18.092637 wp-device ../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 18:30:18.092669 script/libcamera libcamera.lua:168:chunk: PipeWire's libcamera SPA missing or broken. libcamera not supported.
W 18:30:18.675761 m-portal-permissio ../modules/module-portal-permissionstore.c:63:wp_portal_permissionstore_plugin_lookup: <WpPortalPermissionStorePlugin:0x55c8b00e88b0> Failed to call Lookup: GDBus.Error:org.freedesktop.portal.Error.NotFound: No entry for camera
I have no idea what to do anymore
Both depressed, And obsessed with tech!
That's me
-DavidRLTG
Offline
Small update:
https://imgur.com/L34NmZU.png
Both depressed, And obsessed with tech!
That's me
-DavidRLTG
Offline
After that, I added an executable file
And for what purpose did you do it? Apt configures packages automatically....
I have no idea what to do anymore
The fact that you manually moved those files to places they don't belong is very bad. I don't know what to advise. You can try to manually remove those files and install the package group with command
sudo apt install pipewire-audio
But to be honest, I don't know if it will help...it's worth a try.
Online
Also, StopAI, I didn't add them before but after installing it didn't work. So I tried adding custom files. Didn't help. I removed them all now and tried the command, no shot. Still a mess.
Both depressed, And obsessed with tech!
That's me
-DavidRLTG
Offline
Agh, I ended up switching back to Pulseaudio after all, as this has been a painful experience.
Thank you all for trying to help, and have a great day
Both depressed, And obsessed with tech!
That's me
-DavidRLTG
Offline
Following that guide exactly did work for me. Pipewire works flawlessly on my travelling laptop.
Offline
When I configured for pipewire all I did was install pipewire-media-session
That's the magic that worked for me. it conflicts with wireplumber so it will be uninstalled.
Then I added /usr/bin/pipewire and /usr/bin/pipewire-media-session to my startup
It works fine for me. Maybe it will work for you.
Offline
this has been discussed here .... I suggest, please use the search function before you post.
pic from 1993, new guitar day.
Offline
this has been discussed here
this has been discussed here .... I suggest, please use the search function before you post.
This was covered upthread. The user said he already tried it.
https://dev1galaxy.org/viewtopic.php?pid=47526#p47526
Offline
I have been using in .xsessionrc
/usr/bin/daemon --bind --respawn --pidfiles=$XDG_RUNTIME_DIR --name=pipewire /usr/bin/pipewire
/usr/bin/daemon --bind --respawn --pidfiles=$XDG_RUNTIME_DIR --name=pipewire-pulse /usr/bin/pipewire-pulse
/usr/bin/daemon --bind --respawn --pidfiles=$XDG_RUNTIME_DIR --name=pipewire-wireplumber /usr/bin/wireplumber
but sometimes I have to log out and log in again for the sound card to be recognised. The sound card is fine and I don't have to do anything more than logging out and in again, but it would be great if it worked every time.
Last edited by mirrortokyo (2024-09-25 14:20:08)
Offline
daemon is on the repos and i will say is a good solution all things considered.
regardless i'm still working on this: https://github.com/eylles/shed with the goal of perhaps having a release this month.
Offline
KDE/Plasma seems to keep reading a lot of stuff from disk on inital login, which may be holding up something that pipewire start-up needs.
Once it is all cached in RAM, a logout/login cycle avoids the reading from disk.
Offline