:: [devuan-dev] bug#936: pipewire not …
Top Page
Delete this message
Reply to this message
Author: michael mccool
Date:  
To: submit
Subject: [devuan-dev] bug#936: pipewire not honoring env.vars
Package: pipewire-bin
Version: 1.4.2-1

although package pipewire-bin has not been forked by devuan, i am encountering
behavior contrary to documentation. i am not sure if this discrepancy is due to
the absence of systemd or some other devuan difference.

the executables /usr/bin/pipewire and /usr/bin/wireplumber do not honor/accept
pipewire ENV variables. this odd behavior is not present on my debian-13 VM.

on my devuan excalibur box, /usr/bin/pipewire and /usr/bin/wireplumber output
a bunch of error messages. these error messages are expected as i have removed
package rtkit and disabled all things bluetooth. these are the error messages:
--------------------------------------------------------------------------------
[W][16:24:20.860721] mod.rt       | [     module-rt.c:  330 translate_error()] RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
[W][16:24:20.860753] mod.rt       | [     module-rt.c:  995 do_rtkit_setup()] RTKit does not give us MaxRealtimePriority, using 1
[W][16:24:20.860913] mod.rt       | [     module-rt.c:  330 translate_error()] RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
[W][16:24:20.860919] mod.rt       | [     module-rt.c: 1000 do_rtkit_setup()] RTKit does not give us MinNiceLevel, using 0
[W][16:24:20.861090] mod.rt       | [     module-rt.c:  330 translate_error()] RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
[W][16:24:20.861095] mod.rt       | [     module-rt.c: 1005 do_rtkit_setup()] RTKit does not give us RTTimeUSecMax, using -1
[W][16:24:21.412091] mod.rt       | [     module-rt.c:  330 translate_error()] RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
[W][16:24:21.412172] mod.rt       | [     module-rt.c:  995 do_rtkit_setup()] RTKit does not give us MaxRealtimePriority, using 1
[W][16:24:21.412572] mod.rt       | [     module-rt.c:  330 translate_error()] RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
[W][16:24:21.412584] mod.rt       | [     module-rt.c: 1000 do_rtkit_setup()] RTKit does not give us MinNiceLevel, using 0
[W][16:24:21.413375] mod.rt       | [     module-rt.c:  330 translate_error()] RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
[W][16:24:21.413388] mod.rt       | [     module-rt.c: 1005 do_rtkit_setup()] RTKit does not give us RTTimeUSecMax, using -1
W 16:24:21.420450             mod.rt ../src/modules/module-rt.c:330:translate_error: RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
W 16:24:21.420527             mod.rt ../src/modules/module-rt.c:995:do_rtkit_setup: RTKit does not give us MaxRealtimePriority, using 1
W 16:24:21.420788             mod.rt ../src/modules/module-rt.c:330:translate_error: RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
W 16:24:21.420799             mod.rt ../src/modules/module-rt.c:1000:do_rtkit_setup: RTKit does not give us MinNiceLevel, using 0
W 16:24:21.421145             mod.rt ../src/modules/module-rt.c:330:translate_error: RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
W 16:24:21.421155             mod.rt ../src/modules/module-rt.c:1005:do_rtkit_setup: RTKit does not give us RTTimeUSecMax, using -1
N 16:24:21.423831 wp-internal-comp-l ../lib/wp/private/internal-comp-loader.c:945:wp_internal_comp_loader_load: Loading profile 'main'
N 16:24:21.564733          wp-device ../lib/wp/device.c:710:wp_spa_device_new_from_spa_factory: SPA handle 'api.bluez5.enum.dbus' could not be loaded; is it installed?
N 16:24:21.564748         s-monitors bluez.lua:411:createMonitor: PipeWire's BlueZ SPA plugin is missing or broken. Bluetooth devices will not be supported.
N 16:24:21.567353          wp-device ../lib/wp/device.c:710:wp_spa_device_new_from_spa_factory: SPA handle 'api.bluez5.midi.enum' could not be loaded; is it installed?
N 16:24:21.567366         s-monitors bluez-midi.lua:95:createMonitor: PipeWire's BlueZ MIDI SPA missing or broken. Bluetooth not supported.
E 16:24:21.567413        pw.resource ../src/pipewire/resource.c:255:pw_resource_errorf_id: can't create node: No such file or directory
W 16:24:21.567419            wp-node ../lib/wp/node.c:913:wp_impl_node_new_from_pw_factory: failed to create node from factory 'spa-node-factory'
N 16:24:21.567423         s-monitors bluez-midi.lua:130:createServers: Failed to create BLE MIDI server.
N 16:24:21.571165          wp-device ../lib/wp/device.c:710:wp_spa_device_new_from_spa_factory: SPA handle 'api.libcamera.enum.manager' could not be loaded; is it installed?
N 16:24:21.571180 s-monitors-libcame enumerate-device.lua:30:chunk: PipeWire's libcamera SPA plugin is missing or broken. Some camera types may not be supported.
--------------------------------------------------------------------------------


as my KDE terminals are black text/white background the above error messages are
not readable due to them being colorized. according to the pipewire man page,
the colorization and other logging behavior can be changed using env. variables.

on my debian-13 VM (qemu/kvm) i did this to test out pipewire behavior:
   systemctl --user stop pipewire pipewire.socket
   NO_COLOR=1 /usr/bin/pipewire               <-- WORKS! no colorized output
   PIPEWIRE_LOG_COLOR=false /usr/bin/pipewire <-- WORKS! no colorized output
   PIPEWIRE_LOG_LINE=false  /usr/bin/pipewire <-- WORKS! line numbers omitted


my devuan excalibur box does not behave this way. none of the three ENV vars
above (NO_COLOR=1, PIPEWIRE_LOG_COLOR=false, PIPEWIRE_LOG_LINE=false) alter
the behavior of /usr/bin/pipewire and /usr/bin/wireplumber.

maybe there is some subtle difference in the devuan runtime that influences how
pipewire behaves? or maybe this package gets built anew on devuan servers? or
maybe it is just me?

perhaps nothing can be done, but i wanted to report it nonetheless.

uname -a says:
Linux linux7 6.17.13+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.17.13-1~bpo13+1 (2025-12-28) x86_64 GNU/Linux

regards,
m.mccool