PipeWire integration discussion?

Message
Author
DeepDayze
Posts: 174
Joined: Tue Jan 18, 2022 3:34 pm

Re: PipeWire integration discussion?

#41 Post by DeepDayze »

dolphin_oracle wrote: Sat Oct 15, 2022 9:15 pm
DeepDayze wrote: Sat Oct 15, 2022 9:09 pm
dolphin_oracle wrote: Sat Oct 15, 2022 9:06 pm oh @DeepDayze one other thing. you cannot actually remove pulseaudio at the moment unless you also remove firefox...
Yes can confirm firefox would be removed in MX-21 but was able to purge pulse on my Sid box even with firefox installed, as MX-21's firefox was built to depend on pulse. So all I did on my MX-21 install was to simply mask the pulse service to keep it from starting and left the packages installed.

If somehow pipewire-pulse was added as another option for depends for the MX build of firefox and make pulse suggested maybe then pulse can be completely removed except the pipewire-pulse package.
hmm... they moved pulseaudio to a "suggests" in sid. @mmikeinsantarosa might be something to consider for our firefox packages...
I may be willing to test that firefox package if one's built that makes pulse a suggests in MX. That would be useful going forward for some future MX release as debian is moving towards pipewire.

Another idea came to mind is perhaps making an MX package for something like pipewire-scripts to set up pipewire and wireplumber for running on sysvinit that people can install to set up PW and WP for them.
Real Men Use Linux

User avatar
asqwerth
Developer
Posts: 8032
Joined: Sun May 27, 2007 5:37 am

Re: PipeWire integration discussion?

#42 Post by asqwerth »

I'm not interested in tinkering with pipewire, but recall reading a Void Linux (runit init) discussion thread that stated that PW isn't dependent on systemd or inits at all, and could be run with autostart entries.

Of course, MX might need some adjustment since we ship with 2 co-existing inits.
Desktop: Intel i5-4460, 16GB RAM, Intel integrated graphics
Clevo N130WU-based Ultrabook: Intel i7-8550U (Kaby Lake R), 16GB RAM, Intel integrated graphics (UEFI)
ASUS X42D laptop: AMD Phenom II, 6GB RAM, Mobility Radeon HD 5400

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

Re: PipeWire integration discussion?

#43 Post by dolphin_oracle »

DeepDayze wrote: Sat Oct 15, 2022 9:16 pm Another idea came to mind is perhaps making an MX package for something like pipewire-scripts to set up pipewire and wireplumber for running on sysvinit that people can install to set up PW and WP for them.
pretty much what I'm doing, working with the debian-backports packages for now...
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
mmikeinsantarosa
Developer
Posts: 2250
Joined: Thu May 01, 2014 10:12 am

Re: PipeWire integration discussion?

#44 Post by mmikeinsantarosa »

dolphin_oracle wrote: Sat Oct 15, 2022 9:15 pm hmm... they moved pulseaudio to a "suggests" in sid. @mmikeinsantarosa might be something to consider for our firefox packages...
I am trying to follow along and toss a dart at it.

D.O.'s configs will handle the pulse stuff for a pipewire-pulse install.
move "pulseaudio | apulse," to Suggests

and replace them with
pipewire-pulse
in Depends

so the section of interest in firefox's control file might look something like:

Code: Select all

Package: firefox
Architecture: i386 amd64
Depends: libgtk-3-0 (>= 3.4),
         libglib2.0-0 (>= 2.32.0),
         libpango1.0-0 (>= 1.30.0),
         pipewire-pulse (>= 0.3.58-2),
         libavcodec58 | libavcodec-extra58 |libavcodec57 | libavcodec-extra57 |libavcodec56 | libavcodec-extra56
Recommends:
Suggests: pulseaudio | apulse 
Provides: x-www-browser, www-browser
Breaks: iceweasel
Replaces: firefox-amd64, firefox-i686, iceweasel
Conflicts: firefox-amd64, firefox-i686, iceweasel
Is any of this close?

- mike
Last edited by mmikeinsantarosa on Sun Oct 16, 2022 8:20 am, edited 1 time in total.
LT: MX19.1 Quad Core model: Intel Core i7-6820HQ Kernel: 5.0.0-7.1-liquorix-amd64 x86_64

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

Re: PipeWire integration discussion?

#45 Post by dolphin_oracle »

mmikeinsantarosa wrote: Sun Oct 16, 2022 12:13 am
dolphin_oracle wrote: Sat Oct 15, 2022 9:15 pm hmm... they moved pulseaudio to a "suggests" in sid. @mmikeinsantarosa might be something to consider for our firefox packages...
Kinda got my hands full atm. I can take a look next week. The first sets will definitely need to go into test until it all gets sorted out. If anyone wants to jump on this ahead of me, feel free to do so.

What's palemoon doing?

- mike
There is no hurry. Should just be a minor adjustment to the control file some day.
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
dolphin_oracle
Developer
Posts: 22654
Joined: Sun Dec 16, 2007 12:17 pm

Re: PipeWire integration discussion?

#46 Post by dolphin_oracle »

here is a test deb that tries to set up pipewire after its installed. it depends on the 0.3.58 or higher, so packages in debian-backports right now.

the pipewire-setup-mx deb also provides a pulseaudio virtual package, so the real pulseaudio can be removed without removing firefox.

pipewire-setup-mx_22.10.03_all.deb

edit **new deb, previous does not uninstall correctly
Last edited by dolphin_oracle on Sun Oct 16, 2022 9:34 pm, edited 1 time in total.
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/

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

Re: PipeWire integration discussion?

#47 Post by Steve »

Steve wrote: Fri Oct 14, 2022 7:25 am
Steve wrote: Tue Oct 11, 2022 7:48 am
AVLinux wrote: Fri Oct 07, 2022 5:16 pm Ugh, apparently the current Wireplumber (0.4.11) is broken and doesn't request the system ALSA device properly, that's a pretty major bug, this seems like a big mess right now... :confused: :frown:
@AVLinux

I know this is a Mx discussion… but with Debian 11 and the wiki instructions everything that I have is working, with 3.19… and qjackctl to do any needful routing. did not try to up to the latest.
Kinda neat. I would recommend only using the debian11 non free iso and do the install after booting into the live environment if you wish to try it out. No issues with alsa,
Will work it harder later this week…see if it holds up :crossfingers: steve

Update- no x-runs :number1: so far anyway. Tried recording audio and midi from midi guitar 2 vst in Reaper, always got a few x runs with just playing mg2’s presets. Midi guitar stayed in the middle of the cpu graph no spikes… Great hopes here for smooth sailing. :island:
Update 2 …
Still no x runs some weird shuddering of the mg2 vst at the start sometimes…click on the window and it stops and does not happen again in that session. Reaper locked up when I tried to save last night…
Reaper asked if I wished to close the non-responding window and shut it down all my work was saved when I loaded reaper up again. The reaper shows less than 10% on the fox cpu meter. Later…
Update 3
3.58 upgrade
No shuddering vst :happy:
This is 👍🏻

Tried my Mx side :rolleyes:
I see that a Mx setup package is available, will try that later :crossfingers:

User avatar
Stevo
Developer
Posts: 14822
Joined: Fri Dec 15, 2006 7:07 pm

Re: PipeWire integration discussion?

#48 Post by Stevo »

The MX Firefox isn't built from source by us, unlike Debian Sid's version. Because of ever-increasing requirements for versions of rust and cargo build-depends that aren't available in Stable, we just put Mozilla's binary builds into a deb package, and they are built against CentOS's or whatever libpulse by Mozilla the last time I looked.

We added "apulse" as an alternative dependency if you didn't want pulse, so I'd just add pipewire-pulse as another alternative so our FF will still suit all comers.

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

Re: PipeWire integration discussion?

#49 Post by Steve »

Steve wrote: Sun Oct 16, 2022 11:42 am
Steve wrote: Fri Oct 14, 2022 7:25 am
Steve wrote: Tue Oct 11, 2022 7:48 am
@AVLinux

I know this is a Mx discussion… but with Debian 11 and the wiki instructions everything that I have is working, with 3.19… and qjackctl to do any needful routing. did not try to up to the latest.
Kinda neat. I would recommend only using the debian11 non free iso and do the install after booting into the live environment if you wish to try it out. No issues with alsa,
Will work it harder later this week…see if it holds up :crossfingers: steve

Update- no x-runs :number1: so far anyway. Tried recording audio and midi from midi guitar 2 vst in Reaper, always got a few x runs with just playing mg2’s presets. Midi guitar stayed in the middle of the cpu graph no spikes… Great hopes here for smooth sailing. :island:
Update 2 …
Still no x runs some weird shuddering of the mg2 vst at the start sometimes…click on the window and it stops and does not happen again in that session. Reaper locked up when I tried to save last night…
Reaper asked if I wished to close the non-responding window and shut it down all my work was saved when I loaded reaper up again. The reaper shows less than 10% on the fox cpu meter. Later…
Update 3
3.58 upgrade
No shuddering vst :happy:
This is 👍🏻

Tried my Mx side :rolleyes:
I see that a Mx setup package is available, will try that later :crossfingers:
Didn’t work very well…sticking with Debian for now. With pipewire.

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

Re: PipeWire integration discussion?

#50 Post by AVLinux »

dolphin_oracle wrote: Sun Oct 16, 2022 10:24 am here is a test deb that tries to set up pipewire after its installed. it depends on the 0.3.58 or higher, so packages in debian-backports right now.

the pipewire-setup-mx deb also provides a pulseaudio virtual package, so the real pulseaudio can be removed without removing firefox.

pipewire-setup-mx_22.10.03_all.deb

edit **new deb, previous does not uninstall correctly
Thanks so much D_O!, I know I opened the thread a couple of weeks ago and since then have been very busy offline, It was not my intention to have one person do all the heavy lifting or for the integration to be so immediate on this but I certainly appreciate all the replies and responses and although I have yet to test on a production system it would appear many of the kinks are already worked out so I am hoping to give this full intention on a rainy afternoon this week!

Are you recommending MX-21 users to remain with the Debian-backports PW packages instead of in-house MX stuff? or is this kind of 'proof of concept' at this point to be added to MX Repos in the future once the recipe is figured out completely?

Post Reply

Return to “Package Requests - MX-21”