LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-03-2022, 05:50 AM   #211
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,385

Rep: Reputation: 4103Reputation: 4103Reputation: 4103Reputation: 4103Reputation: 4103Reputation: 4103Reputation: 4103Reputation: 4103Reputation: 4103Reputation: 4103Reputation: 4103

Pipewire 0.3.45

https://gitlab.freedesktop.org/pipew.../-/tags/0.3.45
Code:
Highlights
- Zoom, telegram and other apps should be able to play sound again.
- Implement a better way to force and lock JACK buffersize.
- Default sink and source names and properties are improved.
- The config loader can now load and merge fragments in conf.d directories for easier user configuration of config files.
- Many small bug fixes and improvements.
 
2 members found this post helpful.
Old 02-07-2022, 11:23 AM   #212
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,385

Rep: Reputation: 4103Reputation: 4103Reputation: 4103Reputation: 4103Reputation: 4103Reputation: 4103Reputation: 4103Reputation: 4103Reputation: 4103Reputation: 4103Reputation: 4103
Wireplumber 0.4.8

https://gitlab.freedesktop.org/pipew...r/-/tags/0.4.8

Code:
Highlights:

- Added bluetooth profile auto-switching support. Bluetooth headsets will now
automatically switch to the HSP/HFP profile when making a call and go back
to the A2DP profile after the call ends (#90)
- Added an option (enabled by default) to auto-switch to echo-cancel virtual
device nodes when the echo-cancel module is loaded in pipewire-pulse, if
there is no other configured default node
slackbuild updated
https://gitlab.com/maravtdm/wireplumber-slackbuild
 
Old 02-07-2022, 06:45 PM   #213
Tonus
Senior Member
 
Registered: Jan 2007
Location: Paris, France
Distribution: Slackware-15.0
Posts: 1,407
Blog Entries: 3

Rep: Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514
Tested our BDFL scripts for pipewire on a new install.

Would it worth another couple to get wireplumber ?
 
Old 02-07-2022, 09:37 PM   #214
YellowApple
Member
 
Registered: Mar 2013
Location: Reno, Nevada, United States
Distribution: Slackware, OpenBSD, openSUSE, Android
Posts: 95

Rep: Reputation: 37
Howdy y'all! Quick PSA for folks hoping to use Alien Bob's pipewire-jack package: the version in his repo is older than the version of pipewire shipped in Slackware 15.0 (0.3.39 v. 0.3.44), so I needed to build it myself:

Code:
# As root:
mkdir pipewire-jack
cd pipewire-jack
# Download the SlackBuild...
wget http://www.slackware.com/~alien/slackbuilds/pipewire-jack/build/pipewire-jack.SlackBuild
wget http://www.slackware.com/~alien/slackbuilds/pipewire-jack/build/slack-desc
wget http://www.slackware.com/~alien/slackbuilds/pipewire-jack/build/slack-required
# ...and the source
wget https://mirrors.slackware.com/slackware/slackware64-15.0/source/l/pipewire/pipewire-0.3.44.tar.lz
# The SlackBuild needs the real JACK's development libraries present, so install jack2, too:
wget http://www.slackware.com/~alien/slackbuilds/jack2/pkg64/15.0/jack2-1.9.20-x86_64-1alien.txz
installpkg jack2-1.9.20-x86_64-1alien.txz
# Build it
export TAG=yellowapple  # optional, but makes it obvious who built it
export VERSION=0.3.44  # required
./pipewire-jack.SlackBuild
upgradepkg /tmp/pipewire-jack-${VERSION}-x86_64-1${TAG}.txz
removepkg jack2  # To guarantee we're actually using PipeWire's JACK server
Before I did this, the version mismatch produced SIGSEGVs whenever I tried to run anything using JACK (tested against Ardour and QJackCtl); now everything works perfectly. One of those things that seems obvious now that I figured it out, but was driving me nuts all night before I spotted my mistake. Posting here in case anyone else runs into this in the hopes that it saves someone from the elevated blood pressure
 
Old 02-08-2022, 03:29 AM   #215
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,385

Rep: Reputation: 4103Reputation: 4103Reputation: 4103Reputation: 4103Reputation: 4103Reputation: 4103Reputation: 4103Reputation: 4103Reputation: 4103Reputation: 4103Reputation: 4103
Quote:
Originally Posted by YellowApple View Post
Howdy y'all! Quick PSA for folks hoping to use Alien Bob's pipewire-jack package: the version in his repo is older than the version of pipewire shipped in Slackware 15.0 (0.3.39 v. 0.3.44), so I needed to build it myself:
...
Before I did this, the version mismatch produced SIGSEGVs whenever I tried to run anything using JACK (tested against Ardour and QJackCtl); now everything works perfectly. One of those things that seems obvious now that I figured it out, but was driving me nuts all night before I spotted my mistake. Posting here in case anyone else runs into this in the hopes that it saves someone from the elevated blood pressure
https://slackware.nl/people/alien/sbrepos/ChangeLog.txt
Code:
Tue Feb  8 07:39:14 UTC 2022
pipewire-jack: update to 0.3.44. Slackware 15.0 and -current.
 
Old 02-13-2022, 02:57 AM   #216
franzen
Member
 
Registered: Nov 2012
Distribution: slackware
Posts: 535

Rep: Reputation: 379Reputation: 379Reputation: 379Reputation: 379
I made a SlackBuild pipewire-native-jack

This package provides the PipeWire JACK API, to be used as
replacement for jack. Jack apps need to be built with
the libraries from this package.

The idea is not to have jack installed and run jackd, just pipewire is running.
I got the idea from https://www.linuxquestions.org/quest...ml#post6322854

http://computer-nr3.de/stuff/pipewire-native-jack/
 
2 members found this post helpful.
Old 02-13-2022, 04:41 AM   #217
Windu
Member
 
Registered: Aug 2021
Distribution: Arch Linux, Debian, Slackware
Posts: 591

Rep: Reputation: Disabled
Quote:
Originally Posted by franzen View Post
I made a SlackBuild pipewire-native-jack

This package provides the PipeWire JACK API, to be used as
replacement for jack. Jack apps need to be built with
the libraries from this package.

The idea is not to have jack installed and run jackd, just pipewire is running.
I got the idea from https://www.linuxquestions.org/quest...ml#post6322854

http://computer-nr3.de/stuff/pipewire-native-jack/
I first thought it was the same as http://www.slackware.com/~alien/slac...pipewire-jack/ but actually you disable direct Jack server support and only leave the Pipewire compatibility layer for Jack clients. So it is different.
 
Old 02-13-2022, 05:33 AM   #218
franzen
Member
 
Registered: Nov 2012
Distribution: slackware
Posts: 535

Rep: Reputation: 379Reputation: 379Reputation: 379Reputation: 379
Quote:
Originally Posted by Windu View Post
I first thought it was the same as http://www.slackware.com/~alien/slac...pipewire-jack/ but actually you disable direct Jack server support and only leave the Pipewire compatibility layer for Jack clients. So it is different.
Yes, this means one package(jack) including daemon less, but still jack support.
For Jack clients pipewire looks like a jack-server, clients may be connected as usual with e.g. the QjacktCtl patchbay.
 
Old 02-13-2022, 05:42 AM   #219
Windu
Member
 
Registered: Aug 2021
Distribution: Arch Linux, Debian, Slackware
Posts: 591

Rep: Reputation: Disabled
Quote:
Originally Posted by franzen View Post
Jack apps need to be built with the libraries from this package.
Does this mean a package I installed which depends on Jack libraries will no longer work if I remove the jack package and install pipewire-native-jack instead?
That would be a no-go area for me.
I have no control over all the Jack-dependent applications I use. And Pipewire is still not on-par with Jack so I would like to be able to choose at runtime what I want to use, not compile-time.
 
Old 02-13-2022, 07:17 AM   #220
franzen
Member
 
Registered: Nov 2012
Distribution: slackware
Posts: 535

Rep: Reputation: 379Reputation: 379Reputation: 379Reputation: 379
Quote:
Originally Posted by Windu View Post
Does this mean a package I installed which depends on Jack libraries will no longer work if I remove the jack package and install pipewire-native-jack instead?
I didn't try, but i guess it's very unlikely that the libraries are identical.
Quote:
And Pipewire is still not on-par with Jack so I would like to be able to choose at runtime what I want to use, not compile-time.
Then pipewire-native-jack is not for you. DAW users might have to stick to jack/pipewire-jack for while, but i hope pipewire evolves so it's jack-component when matured might end up in slackware 15.x.
Pipewire can be build to be able to choose at runtime which jack to use(pw-jack is for that), but it feels not handy to me and it is
unclear to me how jack-clients should be built then.

So atm pipewire-native-jack provides an easy way to have jack-support in slackware 15.0 without having to deal with jackd management(configuration, manually start/stop, jackd blocking the audio-device(when connected directly to alsa) etc.), and see what works and what not.
 
Old 02-13-2022, 10:55 AM   #221
Windu
Member
 
Registered: Aug 2021
Distribution: Arch Linux, Debian, Slackware
Posts: 591

Rep: Reputation: Disabled
Do you think that Wireplumber (https://fedoramagazine.org/wireplumb...ssion-manager/) could be something that will help switch between Jack and Pipewire-Jack libraries?
 
Old 02-13-2022, 11:09 AM   #222
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,385

Rep: Reputation: 4103Reputation: 4103Reputation: 4103Reputation: 4103Reputation: 4103Reputation: 4103Reputation: 4103Reputation: 4103Reputation: 4103Reputation: 4103Reputation: 4103
You can find usefull information in the changelog

https://gitlab.freedesktop.org/pipew...aster/NEWS.rst
For example:
Code:
WirePlumber 0.4.0
This is the first stable release of the 0.4.x series, which is expected to be
an API & ABI stable release series to go along with PipeWire 0.3.x. It is
a fundamental goal of this series to maintain compatibility with
pipewire-media-session, making WirePlumber suitable for a desktop PulseAudio &
JACK replacement setup, while supporting other setups as well (ex. automotive)
by making use of its brand new Lua scripting engine, which allows making
customizations easily.

Last edited by marav; 02-13-2022 at 11:11 AM.
 
1 members found this post helpful.
Old 02-14-2022, 08:47 AM   #223
Lockywolf
Member
 
Registered: Jul 2007
Posts: 683

Rep: Reputation: 253Reputation: 253Reputation: 253
I tried to make a reasonably featureful DE based on Sway, and it seems that pipewire is necessary for anything multimedia-related to work on Wayland.

However it insists on having something called rtkit (realtimekit) dbus service. I am planning to write a slackbuild, but firstly I wanted to ask people here. How do you manage to work without rtkit? Just running pipewire from console seems to require rtkit.

Shall it be added to the main tree?
 
Old 02-14-2022, 10:34 AM   #224
Windu
Member
 
Registered: Aug 2021
Distribution: Arch Linux, Debian, Slackware
Posts: 591

Rep: Reputation: Disabled
Quote:
Originally Posted by Lockywolf View Post
I tried to make a reasonably featureful DE based on Sway, and it seems that pipewire is necessary for anything multimedia-related to work on Wayland.

However it insists on having something called rtkit (realtimekit) dbus service. I am planning to write a slackbuild, but firstly I wanted to ask people here. How do you manage to work without rtkit? Just running pipewire from console seems to require rtkit.

Shall it be added to the main tree?
From https://gitlab.freedesktop.org/pipew...e-tuning#rtkit

Code:
Realtime scheduling
Realtime priorities are given to the data processing threads in both the clients and the server.
Since 0.3.44 there is a single module-rt that can use RTKit and fall back to native thread implementation automatically.
The RTKit implementation is potentially better because it can implement a global policy and does not require extra permissions from the client. It however needs DBus and is currently not configured optimally in many distributions. It also does not work with flatpaks because it does not know about the namespace of the thread ids in the sandbox.
Seeing that rtkit is optional and only "potentially" better, it is safe to say that Pipewire in Slackware should already work adequately, right?
 
Old 02-14-2022, 11:32 AM   #225
Jan K.
Member
 
Registered: Apr 2019
Location: Esbjerg
Distribution: Windows 7...
Posts: 773

Rep: Reputation: 489Reputation: 489Reputation: 489Reputation: 489Reputation: 489
A vote for including it.

Might as well start trimming the distro now for the long run...
 
  


Reply

Tags
pipewire, pulseaudio



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Pipewire pulseaudio emulation without pulseaudio installed (works) adcdam Slackware 18 04-02-2021 01:34 AM
Plasma 5.20 Beta? It is rock solid, excluding the taskbar thumbnails on Wayland - or rather because Pipewire needs "per user" init scripts LuckyCyborg Slackware 3 09-21-2020 02:50 PM
LXer: This Week in Linux 94: Mesa 20, PipeWire, Linux Be Scary, MyPaint, GTK, Microsoft Defender LXer Syndicated Linux News 0 02-26-2020 07:23 PM
LXer: Improved multimedia support with Pipewire in Fedora 27 LXer Syndicated Linux News 0 09-20-2017 02:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration