LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 07-29-2022, 05:26 PM   #316
0XBF
Member
 
Registered: Nov 2018
Distribution: Slackware
Posts: 781

Rep: Reputation: 895Reputation: 895Reputation: 895Reputation: 895Reputation: 895Reputation: 895Reputation: 895

pulseaudio is still the default, and the script still needs to be run to switch it over to pipewire.
 
1 members found this post helpful.
Old 07-29-2022, 06:19 PM   #317
Jan K.
Member
 
Registered: Apr 2019
Location: Esbjerg
Distribution: Windows 7...
Posts: 773

Rep: Reputation: 489Reputation: 489Reputation: 489Reputation: 489Reputation: 489
Hasn't the slackware pipewire matured so much, it could be the other way round, ie pipewire default?

Would that cause any issues?
 
2 members found this post helpful.
Old 07-30-2022, 09:57 AM   #318
kevmccor
Member
 
Registered: Aug 2004
Location: Texas
Distribution: slackware
Posts: 158

Rep: Reputation: 44
Quote:
Originally Posted by 0XBF View Post
pulseaudio is still the default, and the script still needs to be run to switch it over to pipewire.
The script presumably is "# /usr/sbin/pipewire-enable.sh" which activates the pipewire files in /etc/xdg/autostart/ and deactivates PulseAudio files there.

Question: Is is advisable to install on 15.0 the updated pipewire from Slackware-current? I see some problems fixed in the change logs, but there may be some requirements that are not met in 15.0.
 
1 members found this post helpful.
Old 07-30-2022, 12:09 PM   #319
0XBF
Member
 
Registered: Nov 2018
Distribution: Slackware
Posts: 781

Rep: Reputation: 895Reputation: 895Reputation: 895Reputation: 895Reputation: 895Reputation: 895Reputation: 895
Quote:
Originally Posted by Jan K. View Post
Hasn't the slackware pipewire matured so much, it could be the other way round, ie pipewire default?

Would that cause any issues?
I've flip-flopped between pulseaudio and pipewire a few times in the last year or so. From what I can tell pipewire works as advertised and could be used full time. The only issues I've noticed were with some Wayland features broken if not using Pipewire (in Plasma and GNOME), and things like screen recording not working in GNOME unless pipewire is used. I would guess that as DEs move to wayland, pipewire will start being adopted more and more until it becomes a requirement.

I only know of Fedora and the latest Ubuntu going to pipewire as default, The rest including slackware still use pulseaudio as default for now. I dont have a problem with Slackware staying conservative and having pulseaudio default still. It's easy enough to switch to pipewire if a user wants to.

Quote:
Originally Posted by kevmccor View Post
The script presumably is "# /usr/sbin/pipewire-enable.sh" which activates the pipewire files in /etc/xdg/autostart/ and deactivates PulseAudio files there.
Yes thats the one that we were talking about. There's also a second one to switch it back to pulseaudio.

Quote:
Originally Posted by kevmccor View Post
Question: Is is advisable to install on 15.0 the updated pipewire from Slackware-current? I see some problems fixed in the change logs, but there may be some requirements that are not met in 15.0.
I cant say for sure because I haven't been paying too much attention to current since 15.0 came out. I'm not sure what libraries pipewire is compiled against but if those underlying libs changed in current too then installing binaries from -current might lead to unforseen issues.

If I were to try to install a newer pipewire version from current I would use the SlackBuilds from the source/ directory in current and compile them on 15.0 so they are built against that system's libraries.
 
2 members found this post helpful.
Old 07-30-2022, 10:10 PM   #320
fourtysixandtwo
Member
 
Registered: Jun 2021
Location: Alberta
Distribution: Slackware...mostly
Posts: 325

Rep: Reputation: 216Reputation: 216Reputation: 216
Quote:
Originally Posted by kevmccor View Post
The script presumably is "# /usr/sbin/pipewire-enable.sh" which activates the pipewire files in /etc/xdg/autostart/ and deactivates PulseAudio files there.

Question: Is is advisable to install on 15.0 the updated pipewire from Slackware-current? I see some problems fixed in the change logs, but there may be some requirements that are not met in 15.0.
I'm running the latest pipewire along with marav's wireplumber-current slackbuild on 15.0. https://gitlab.com/maravtdm/wireplumber-current
 
2 members found this post helpful.
Old 08-05-2022, 08:02 AM   #321
kevmccor
Member
 
Registered: Aug 2004
Location: Texas
Distribution: slackware
Posts: 158

Rep: Reputation: 44
The updated pipewire from Slackware-current http://dfw.mirror.rackspace.com/slac...ce/l/pipewire/ can be downloaded from any mirror of Slackware-current, under /source/l/pipewire. Download the files to a folder and run the slackbuild (# ./pipewire.Slackbuild then # upgradepkg /tmp/pipewire...). It seems to work fine with my Slackware-15.0. I was able to use my new headphones and the microphone with zoom-linux.
 
Old 08-05-2022, 09:55 AM   #322
bl0tt0
Member
 
Registered: Aug 2005
Location: The Glorious People's Republic of Austin
Posts: 178

Rep: Reputation: 62
Just to add to this thread, last week I discovered two config files pertinent to enabling pipewire in the alsa stack:

Code:
:~# cd /etc/alsa/conf.d/
:/etc/alsa/conf.d# ln -sf /usr/share/alsa/alsa.conf.d/50-pipewire.conf .
:/etc/alsa/conf.d# unlink /usr/share/alsa/alsa.conf.d/50-pulseaudio.conf
:/etc/alsa/conf.d# ln -sf /usr/share/alsa/alsa.conf.d/99-pipewire-default.conf .
With those symlinks in place, you can remove the /etc/asound.conf file (or maybe just copy /usr/share/alsa/alsa.conf.d/99-pipewire-default.conf in its place), and pipewire becomes the default system in use with ALSA.
 
Old 08-30-2022, 03:10 PM   #323
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,407

Rep: Reputation: 4140Reputation: 4140Reputation: 4140Reputation: 4140Reputation: 4140Reputation: 4140Reputation: 4140Reputation: 4140Reputation: 4140Reputation: 4140Reputation: 4140
Quote:
Originally Posted by marav View Post
+ Added 2 patches from Gentoo:

wireplumber-0.4.11-dbus-reconnect-crash.patch
wireplumber-0.4.11-alsa-lua-crash.patch
+ wireplumber-0.4.11-loop.patch
Code:
PATCH: policy-node: fix potential rescan loop
https://gitlab.com/maravtdm/wireplumber-current
 
2 members found this post helpful.
Old 09-02-2022, 03:55 AM   #324
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,407

Rep: Reputation: 4140Reputation: 4140Reputation: 4140Reputation: 4140Reputation: 4140Reputation: 4140Reputation: 4140Reputation: 4140Reputation: 4140Reputation: 4140Reputation: 4140
Pipewire 0.3.57

Highlights:
Code:
- Support masking of conf.d/ files. (#2629)
- Use org.freedesktop.portal.Realtime when available. This does the correct PID/TID 
mappings to make realtime also work from flatpaks.
- Fix rate adjustement logic in pulse-tunnel. This would cause increasing delays and
 hickups when using tunnels. (#2548)
- Add OPUS as a new vendor codec. Add OPUS-A2DP spec. PipeWire can now send and reveive 
OPUS data over bluetooth.
- An AAC decoder was added so that PipeWire can now also function as an A2DP AAC receiver.
- Fix some issues where the wrong samplerate was used. (#2614)
- Fix rate match for sources. This fixes an error where follower sources would generate 
many resync warnings.
- Many more bugfixes and improvements.
https://gitlab.freedesktop.org/pipew.../-/tags/0.3.57
 
2 members found this post helpful.
Old 09-07-2022, 04:47 AM   #325
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,407

Rep: Reputation: 4140Reputation: 4140Reputation: 4140Reputation: 4140Reputation: 4140Reputation: 4140Reputation: 4140Reputation: 4140Reputation: 4140Reputation: 4140Reputation: 4140
FYI

Wireplumber can be compiled in pipewire (instead of pipewire-session-manager)
Code:
--- pipewire.SlackBuild.orig    2022-09-07 11:38:21.116496680 +0200
+++ pipewire.SlackBuild 2022-09-07 11:33:07.652283766 +0200
@@ -107,6 +108,7 @@
   -Dvulkan=enabled \
   -Djack=disabled \
   -Dpipewire-jack=disabled \
+  -Dsession-managers=wireplumber \
   .. || exit 1
   "${NINJA:=ninja}" $NUMJOBS || exit 1
   DESTDIR=$PKG $NINJA install || exit 1
It works pretty well so far

Last edited by marav; 09-07-2022 at 04:49 AM.
 
2 members found this post helpful.
Old 09-07-2022, 12:33 PM   #326
fourtysixandtwo
Member
 
Registered: Jun 2021
Location: Alberta
Distribution: Slackware...mostly
Posts: 325

Rep: Reputation: 216Reputation: 216Reputation: 216
Quote:
Originally Posted by marav View Post
FYI

Wireplumber can be compiled in pipewire (instead of pipewire-session-manager)
<snip>
It works pretty well so far
That with or without the extra patches you include in your wireplumber-current slackbuild?

Would also have to fix the enable/disable scripts eh.

Last edited by fourtysixandtwo; 09-07-2022 at 12:35 PM.
 
Old 09-07-2022, 12:36 PM   #327
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,407

Rep: Reputation: 4140Reputation: 4140Reputation: 4140Reputation: 4140Reputation: 4140Reputation: 4140Reputation: 4140Reputation: 4140Reputation: 4140Reputation: 4140Reputation: 4140
Quote:
Originally Posted by fourtysixandtwo View Post
That with or without the extra patches you include in your wireplumber-current slackbuild?

Would also have to fix the enable/disable scripts eh.
I didn't check if it was possible to include the patches
So no
 
Old 09-07-2022, 01:14 PM   #328
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,407

Rep: Reputation: 4140Reputation: 4140Reputation: 4140Reputation: 4140Reputation: 4140Reputation: 4140Reputation: 4140Reputation: 4140Reputation: 4140Reputation: 4140Reputation: 4140
For the moment, nobody builds it like that (neither fedora, arch or gentoo ...).
I think it is wiser to stay as before

Last edited by marav; 09-07-2022 at 02:13 PM.
 
1 members found this post helpful.
Old 09-15-2022, 04:24 AM   #329
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,407

Rep: Reputation: 4140Reputation: 4140Reputation: 4140Reputation: 4140Reputation: 4140Reputation: 4140Reputation: 4140Reputation: 4140Reputation: 4140Reputation: 4140Reputation: 4140
Pipewire 0.3.58

Highlights:
Code:
- Fix a regression that could cause audio crackling.
- Fix a regression in RTKit because rlimit was not set correctly.
- JAVA sound applications will now alsa work with the pulseaudio-alsa plugin.
- pw-top will now show the negotiated formats of devices and streams.
- Fix some potential crashes when starting streams.
- The ALSA plugin has had improved timing reporting and poll descriptor handling that should improve compatibility.
- Many more improvements and bugfixes.
https://gitlab.freedesktop.org/pipew.../-/tags/0.3.58
 
1 members found this post helpful.
Old 09-15-2022, 06:19 AM   #330
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,407

Rep: Reputation: 4140Reputation: 4140Reputation: 4140Reputation: 4140Reputation: 4140Reputation: 4140Reputation: 4140Reputation: 4140Reputation: 4140Reputation: 4140Reputation: 4140
edit: pfff

Last edited by marav; 09-15-2022 at 07:20 AM.
 
  


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 10:59 AM.

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