View previous topic :: View next topic |
Author |
Message |
grdrg n00b
Joined: 30 Jan 2023 Posts: 14
|
Posted: Wed Feb 01, 2023 5:23 pm Post subject: pipewire could not load mandatory module libpipewire-modul |
|
|
hi
when i run pipewire i get this error, my user is in audio group
Code: |
pipewire
[W][06856.484719] mod.rt | [ module-rt.c: 278 pw_rtkit_check_xdg_portal()] Can't find xdg-portal: (null)
[W][06856.484767] mod.rt | [ module-rt.c: 991 pipewire__module_init()] found session bus but no portal
[W][06856.486273] mod.rt | [ module-rt.c: 297 translate_error()] RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
[W][06856.486411] mod.rt | [ module-rt.c: 622 set_nice()] could not set nice-level to -11: No such file or directory
[W][06856.486790] mod.rt | [ module-rt.c: 297 translate_error()] RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
[E][06856.487211] mod.protocol-native | [module-protocol-: 731 lock_socket()] server 0x55f46f286f30: unable to lock lockfile '/tmp/1000-runtime-dir.am4/pipewire-0.lock': Resource temporarily unavailable (maybe another daemon is running)
[E][06856.487304] pw.conf | [ conf.c: 594 load_module()] 0x55f46f26ada0: could not load mandatory module "libpipewire-module-protocol-native": Resource temporarily unavailable
[E][06856.487520] default | [ pipewire.c: 125 main()] failed to create context: Resource temporarily unavailable
|
wireplumber output
Code: |
wireplumber
M 18:15:06.815172 mod.rt ../pipewire-0.3.63/src/modules/module-rt.c:278:pw_rtkit_check_xdg_portal: Can't find xdg-portal: (null)
M 18:15:06.815271 mod.rt ../pipewire-0.3.63/src/modules/module-rt.c:991:pipewire__module_init: found session bus but no portal
M 18:15:06.816838 mod.rt ../pipewire-0.3.63/src/modules/module-rt.c:297:translate_error: RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
M 18:15:06.816980 mod.rt ../pipewire-0.3.63/src/modules/module-rt.c:622:set_nice: could not set nice-level to -11: No such file or directory
M 18:15:06.817362 mod.rt ../pipewire-0.3.63/src/modules/module-rt.c:297:translate_error: RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
M 18:15:06.819508 mod.rt ../pipewire-0.3.63/src/modules/module-rt.c:297:translate_error: RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
M 18:15:06.819924 mod.rt ../pipewire-0.3.63/src/modules/module-rt.c:297:translate_error: RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
M 18:15:06.819950 mod.rt ../pipewire-0.3.63/src/modules/module-rt.c:843:impl_acquire_rt: could not make thread 29261 realtime using RTKit: No such file or directory
M 18:15:06.851568 wp-device ../wireplumber-0.4.13/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:15:06.851611 script/libcamera libcamera.lua:168:chunk: PipeWire's libcamera SPA missing or broken. libcamera not supported.
M 18:15:06.860073 wp-device ../wireplumber-0.4.13/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 18:15:06.860119 script/v4l2 v4l2.lua:164:chunk: PipeWire's V4L SPA missing or broken. Video4Linux not supported.
M 18:15:06.876152 wp-device ../wireplumber-0.4.13/lib/wp/device.c:619:wp_spa_device_new_from_spa_factory: SPA handle 'api.bluez5.enum.dbus' could not be loaded; is it installed?
M 18:15:06.876193 script/bluez bluez.lua:277:createMonitor: PipeWire's BlueZ SPA missing or broken. Bluetooth not supported.
|
package.use
Code: |
app-admin/doas persist
media-sound/pipewire pipewire-alsa
media-sound/pulseaudio -daemon
media-libs/mesa video_cards_radeonsi
media-video/mpv sdl
media-libs/libsdl2 opengl
x11-libs/libdrm video_cards_amdgpu
virtual/opengl
|
make.conf
Code: |
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
COMMON_FLAGS="-march=native -O2 -pipe"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"
MAKEOPTS="-j8"
VIDEO_CARDS="amdgpu radeonsi"
ACCEPT_LICENSE="*"
USE="X amdgpu radeon video_cards_radeonsi udev vulkan xinerama saveconfig elogind -systemd xorg -jack cjk nls unicode -flatpak ffmpeg pulseaudio -rust -qt4 gtk -vala system-llvm dbus -wayland /
-bluetooth /
drm -aqua -css -ios -ipod -emacs -iee1394 -xemacs -motif -emboss -3dfx -altivec -smartcard -ibm -nas -neon -quicktime -nvidia -kde -gnome sound-server /
vulkan-overlay opengl sdl alsa"
#INPUT_DEVICES="libinput keyboard mouse joystick"
INPUT_DEVICES="$INPUT_DEVICES evdev mouse keyboard joystick"
L10="en-US ja-JP"
# NOTE: This stage was built with the bindist Use flag enabled
# This sets the language of build output to English.
# Please keep this setting intact when reporting bugs.
LC_MESSAGES=C
GRUB_PLATFORMS="efi-64"
|
|
|
Back to top |
|
|
Anon-E-moose Watchman
Joined: 23 May 2008 Posts: 6097 Location: Dallas area
|
Posted: Wed Feb 01, 2023 6:04 pm Post subject: |
|
|
Key is
unable to lock lockfile '/tmp/1000-runtime-dir.am4/pipewire-0.lock': Resource temporarily unavailable (maybe another daemon is running)
So either you have tried to start pipewire more than once, for your user OR you don't have permissions for /tmp/1000... _________________ PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland |
|
Back to top |
|
|
grdrg n00b
Joined: 30 Jan 2023 Posts: 14
|
Posted: Wed Feb 01, 2023 10:12 pm Post subject: |
|
|
Anon-E-moose wrote: | Key is
unable to lock lockfile '/tmp/1000-runtime-dir.am4/pipewire-0.lock': Resource temporarily unavailable (maybe another daemon is running)
So either you have tried to start pipewire more than once, for your user OR you don't have permissions for /tmp/1000... |
i get if i run it in root
Code: |
[E][10562.115209] mod.protocol-native | [module-protocol-: 687 init_socket_name()] server 0x5587708aa820: name pipewire-0 is not an absolute path and no runtime dir found. Set one of PIPEWIRE_RUNTIME_DIR, XDG_RUNTIME_DIR or USERPROFILE in the environment
[E][10562.115305] pw.conf | [ conf.c: 594 load_module()] 0x558770892b80: could not load mandatory module "libpipewire-module-protocol-native": No such file or directory
[E][10562.115494] default | [ pipewire.c: 125 main()] failed to create context: No such file or directory
|
|
|
Back to top |
|
|
Anon-E-moose Watchman
Joined: 23 May 2008 Posts: 6097 Location: Dallas area
|
Posted: Thu Feb 02, 2023 12:59 pm Post subject: |
|
|
root doesn't know anything about the env vars that your user has, so running as root isn't the answer
What are the permissions on /tmp/1000<whatever>
What does "pgrep pipwire" show _________________ PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland |
|
Back to top |
|
|
grdrg n00b
Joined: 30 Jan 2023 Posts: 14
|
Posted: Thu Feb 02, 2023 3:58 pm Post subject: |
|
|
Anon-E-moose wrote: |
What does "pgrep pipwire" show |
nothing |
|
Back to top |
|
|
|