PipeWire integration discussion?

Message
Author
User avatar
oops
Posts: 2018
Joined: Tue Apr 10, 2018 5:07 pm

Re: PipeWire integration discussion?

#111 Post by oops »

dolphin_oracle wrote: Sun Oct 23, 2022 12:21 pm ...not likely. right now the required pipewire packages are not backported to mx19 or to debain 10 buster.
OK, thanks for the info.

FI: Tested into Icewm on MX21 amd64 and x32 ... that works great too ($ pactl info) :

Code: Select all

# ============ launch pipewire into IceWM startup ======================
export XDG_RUNTIME_DIR=/run/user/1000

#start pulseaudio before volumeicon so unmute works
#start-pulseaudio-x11 &
#launch pipewire
pipewire-start &
sleep 

#then 
volumeicon &
# ==================================
Pour les nouveaux utilisateurs: Alt+F1 pour le manuel, ou FAQS, MX MANUEL, et Conseils MX Conseils Debian - Info. système “quick-system-info-mx” (QSI) ... Ici: System: MX-19-23_x64 & antiX23_x32 runit

User avatar
ceeslans
Posts: 859
Joined: Sun Apr 14, 2019 3:48 am

Re: PipeWire integration discussion?

#112 Post by ceeslans »

after successfully installing pipewire on MX21 Fluxbox, I noticed following (rtkit-related) dbus error-messages in ~/.xsession-errors :

Code: Select all

init [5]
start pipewire
[W][02381.956429] mod.rt       | [     module-rt.c:  278 pw_rtkit_check_xdg_portal()] Can't find xdg-portal: (null)
[W][02381.956454] mod.rt       | [     module-rt.c:  991 pipewire__module_init()] found session bus but no portal
[W][02381.956763] mod.rt       | [     module-rt.c:  278 pw_rtkit_check_xdg_portal()] Can't find xdg-portal: (null)
[W][02381.956784] mod.rt       | [     module-rt.c:  991 pipewire__module_init()] found session bus but no portal
[W][02381.958003] mod.rt       | [     module-rt.c:  297 translate_error()] RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
[W][02381.958085] mod.rt       | [     module-rt.c:  622 set_nice()] could not set nice-level to -11: No such file or directory
[W][02381.958643] mod.rt       | [     module-rt.c:  297 translate_error()] RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
[W][02381.958960] mod.rt       | [     module-rt.c:  297 translate_error()] RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
[W][02381.959071] mod.rt       | [     module-rt.c:  622 set_nice()] could not set nice-level to -11: No such file or directory
[W][02381.959456] mod.rt       | [     module-rt.c:  297 translate_error()] RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
M 03:29:27.098021             mod.rt ../src/modules/module-rt.c:278:pw_rtkit_check_xdg_portal: Can't find xdg-portal: (null)
M 03:29:27.098076             mod.rt ../src/modules/module-rt.c:991:pipewire__module_init: found session bus but no portal
[W][02381.960379] mod.protocol-pulse | [        server.c:  612 start_unix_server()] server 0x55b4490f70d0: unlinking stale socket '/run/user/1000/pulse/native'
M 03:29:27.099172             mod.rt ../src/modules/module-rt.c:297:translate_error: RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
M 03:29:27.099279             mod.rt ../src/modules/module-rt.c:622:set_nice: could not set nice-level to -11: No such file or directory
M 03:29:27.099691             mod.rt ../src/modules/module-rt.c:297:translate_error: RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
[W][02381.962765] mod.rt       | [     module-rt.c:  297 translate_error()] RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
M 03:29:27.101316             mod.rt ../src/modules/module-rt.c:297:translate_error: RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
[W][02381.963387] mod.rt       | [     module-rt.c:  297 translate_error()] RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
[W][02381.963397] mod.rt       | [     module-rt.c:  843 impl_acquire_rt()] could not make thread 55268 realtime using RTKit: No such file or directory
[W][02381.963666] mod.rt       | [     module-rt.c:  297 translate_error()] RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
M 03:29:27.102224             mod.rt ../src/modules/module-rt.c:297:translate_error: RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
M 03:29:27.102241             mod.rt ../src/modules/module-rt.c:843:impl_acquire_rt: could not make thread 55269 realtime using RTKit: No such file or directory
[W][02381.964322] mod.rt       | [     module-rt.c:  297 translate_error()] RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
[W][02381.964336] mod.rt       | [     module-rt.c:  843 impl_acquire_rt()] could not make thread 55270 realtime using RTKit: No such file or directory
I assume that installing the rtkit package would take care of most of these errors; but aat the same time realize that this is basically a systemd component.
Is it safe to install/run it on my sysvinit setup?
Last edited by ceeslans on Mon Oct 24, 2022 6:17 am, edited 1 time in total.
Sony Vaio VPCF23P (2011), Intel Core i7-2670, 6gb RAM, 240gb SSD, MX-Linux 23 based Fluxbox v/1.3.7+
Lenovo Thinkpad L560 (2016), Intel Core i5-6200, 16gb RAM, 240gb SSD, Devuan Daedalus based Fluxbox v/1.3.7+

User avatar
dolphin_oracle
Developer
Posts: 22679
Joined: Sun Dec 16, 2007 12:17 pm

Re: PipeWire integration discussion?

#113 Post by dolphin_oracle »

Should be
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
Live system help document: https://mxlinux.org/wiki/help-antix-live-usb-system/

User avatar
AVLinux
Posts: 3167
Joined: Wed Jul 15, 2020 1:15 am

Re: PipeWire integration discussion?

#114 Post by AVLinux »

dolphin_oracle wrote: Mon Oct 24, 2022 6:11 am Should be
I'm seeing the same messages running constantly, should rtkit be a dependency of the pipewire setup package then? These could balloon the User xsessions errors file over time.

It odd that PipeWire's server is calling for it constantly and yet upstream hasn't made rtkit a dependency, nor have I seen it mentioned obviously in any of the PW wikis I've skimmed.

User avatar
dolphin_oracle
Developer
Posts: 22679
Joined: Sun Dec 16, 2007 12:17 pm

Re: PipeWire integration discussion?

#115 Post by dolphin_oracle »

AVLinux wrote: Mon Oct 24, 2022 9:43 am
dolphin_oracle wrote: Mon Oct 24, 2022 6:11 am Should be
I'm seeing the same messages running constantly, should rtkit be a dependency of the pipewire setup package then? These could balloon the User xsessions errors file over time.

It odd that PipeWire's server is calling for it constantly and yet upstream hasn't made rtkit a dependency, nor have I seen it mentioned obviously in any of the PW wikis I've skimmed.
installing rtkit did not remove my messages. got rid of a few, but not all. but I only got one set, at startup. they didn't keep hitting. I'll try to watch for that tonight.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
Live system help document: https://mxlinux.org/wiki/help-antix-live-usb-system/

User avatar
AVLinux
Posts: 3167
Joined: Wed Jul 15, 2020 1:15 am

Re: PipeWire integration discussion?

#116 Post by AVLinux »

Hi,

Perhaps for future Packaging consideration, here is a tool being developed to easily change the PipeWire Audio settings which currently are cryptically buried in the config files, I'm not thrilled that it relies on a KDE lib though, I would guess something simpler using simple QT or even Yad could probably be developed, unfortunately that's a bit beyond my current scripting skills... Perhaps a similar or adapted MX Tool could do the same. For people doing Pro Audio work on Linux the settings and parameters are important and one of the biggest complaints about PipeWire is that is is not easy to change params, this would change that..

For your consideration: https://github.com/portaloffreedom/pipecontrol

More info and images here: https://linuxmusicians.com/viewtopic.ph ... 80#p149580

User avatar
AVLinux
Posts: 3167
Joined: Wed Jul 15, 2020 1:15 am

Re: PipeWire integration discussion?

#117 Post by AVLinux »

Hi,

Obviously there will be continuous new releases of PipeWire and there's little sense in taking valuable Packager time to put every release in MX Test, the 0.3.60 release has some important fixes that may be worth looking at an update so just passing that along:

https://www.phoronix.com/news/PipeWire-0.3.60-Released

This point in particular looks of interest:
- The alsa plugin will now only start playback when there is data. This results in better sync and lower latency between capture and playback.

User avatar
dolphin_oracle
Developer
Posts: 22679
Joined: Sun Dec 16, 2007 12:17 pm

Re: PipeWire integration discussion?

#118 Post by dolphin_oracle »

pushing up a new pipewire-setup-mx package, because the the new pipewire packages in test will probably cause pipewire-setup-mx to be removed if upgraded. and then sound won't work on sysVinit.

basically the old pipewire-setup-mx conflicts with the newer pipewire-alsa packages due to the new pipewire-alsa package providing more .conf files OOTB.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
Live system help document: https://mxlinux.org/wiki/help-antix-live-usb-system/

User avatar
AVLinux
Posts: 3167
Joined: Wed Jul 15, 2020 1:15 am

Re: PipeWire integration discussion?

#119 Post by AVLinux »

Thanks dolphin_oracle!

Steve
Posts: 143
Joined: Wed Nov 24, 2021 8:08 pm

Re: PipeWire integration discussion?

#120 Post by Steve »

dolphin_oracle wrote: Thu Dec 22, 2022 10:06 pm pushing up a new pipewire-setup-mx package, because the the new pipewire packages in test will probably cause pipewire-setup-mx to be removed if upgraded. and then sound won't work on sysVinit.

basically the old pipewire-setup-mx conflicts with the newer pipewire-alsa packages due to the new pipewire-alsa package providing more .conf files OOTB.
Absolutely will… lol spent hours yesterday with it pulsesudio was masked on the systemd side but not in sysVinit. No jack or alsa in available in pipewire.
Pipewire-setup-Mx gave a error 1 in the installer window. Everything was from the Mx back ports.

I used the MX xfce dec snapshot on a usb drive…1st as a live usb as that didn’t work I installed to the usb drive
and that worked as described above….will try with the new package when it’s available.

Thanks that setup package saves a lot of configuration :happy:

Post Reply

Return to “Package Requests - MX-21”