LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 08-23-2021, 11:54 AM   #91
fourtysixandtwo
Member
 
Registered: Jun 2021
Location: Alberta
Distribution: Slackware...mostly
Posts: 314

Rep: Reputation: 209Reputation: 209Reputation: 209

Quote:
Originally Posted by LuckyCyborg View Post
Who is "we" ? Anybody who used on having interest on running PipeWire as audio-server.

Is obvious that that PulseAudio file for XDG autostart would be reinstalled on package upgrade, even is not stated "clearly" if you have a vague idea what PulseAudio package contains.
Obvious if you remember, but very easy to overlook and forget about and anybody new to trying out pipewire on slackware needs to be aware of even if it's just a reminder until pipewire "is" a default configurable option.

Your use of "we" is very contradictory in this case. Remember that not everyone lives and breathes this stuff to the same level/intensity that you appear to do.
 
1 members found this post helpful.
Old 08-23-2021, 02:53 PM   #92
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,097

Rep: Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275
Quote:
Originally Posted by fourtysixandtwo View Post
Obvious if you remember, but very easy to overlook and forget about and anybody new to trying out pipewire on slackware needs to be aware of even if it's just a reminder until pipewire "is" a default configurable option.

Your use of "we" is very contradictory in this case. Remember that not everyone lives and breathes this stuff to the same level/intensity that you appear to do.
That maybe my problem.
I spent a couple hours two weeks ago working on this project, another two or three hours again yesterday and all this morning today and pipewire does not work. There must be something so fundamental that it is obvious to others with more knowledge and experience, but I don't see it.
Are they there any dependencies that are not included with -current?
 
Old 08-23-2021, 03:00 PM   #93
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,356

Rep: Reputation: 4068Reputation: 4068Reputation: 4068Reputation: 4068Reputation: 4068Reputation: 4068Reputation: 4068Reputation: 4068Reputation: 4068Reputation: 4068Reputation: 4068
Quote:
Originally Posted by cwizardone View Post
That maybe my problem.
I spent a couple hours two weeks ago working on this project, another two or three hours again yesterday and all this morning today and pipewire does not work. There must be something so fundamental that it is obvious to others with more knowledge and experience, but I don't see it.
Are they there any dependencies that are not included with -current?
Do you have something in your : ~/.run ?

This is where pipewire puts its .pid files

Last edited by marav; 08-23-2021 at 03:02 PM.
 
Old 08-23-2021, 03:21 PM   #94
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,500

Rep: Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308
Quote:
Originally Posted by marav View Post
Do you have something in your : ~/.run ?

This is where pipewire puts its .pid files
Just to be clear...

The PipeWire "daemons" are just ordinary programs, which has no ideas regarding PID files and other daemon-like things. They do not put PID files anywhere.

The one which puts PID files there is our daemon supervisor - the little program which controls the PipeWire "daemons" and executes/stops them as instructed.

However, even for the daemon supervisor those PipeWire daemons are just ordinary programs too and it has nothing to do with PipeWire itself.

It's a generic daemon supervisor, capable to supervise things even on init system - in fact for this purpose it was created years ago.

For example, I have a friend who uses the daemon supervisor to automatically start and stop a VPN client executed on user side.

Last edited by LuckyCyborg; 08-23-2021 at 03:23 PM.
 
Old 08-23-2021, 04:30 PM   #95
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,097

Rep: Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275
Quote:
Originally Posted by marav View Post
Do you have something in your : ~/.run ?

This is where pipewire puts its .pid files
No such directory.
 
Old 08-23-2021, 04:37 PM   #96
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,500

Rep: Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308
Quote:
Originally Posted by cwizardone View Post
No such directory.
Great Wizard, the biggest question is: what desktop environment you use?

And IF you use the solution described on OP of this thread and the XFCE as I suspect, did you read my comments regarding XFCE and running its desktop services?

Last edited by LuckyCyborg; 08-23-2021 at 04:41 PM.
 
Old 08-23-2021, 04:47 PM   #97
fourtysixandtwo
Member
 
Registered: Jun 2021
Location: Alberta
Distribution: Slackware...mostly
Posts: 314

Rep: Reputation: 209Reputation: 209Reputation: 209
Quote:
Originally Posted by cwizardone View Post
That maybe my problem.
I spent a couple hours two weeks ago working on this project, another two or three hours again yesterday and all this morning today and pipewire does not work. There must be something so fundamental that it is obvious to others with more knowledge and experience, but I don't see it.
Are they there any dependencies that are not included with -current?
I just set it up on another -current machine without issue.

You should see the following processes and files in ~/.daemon or ~/.run (depending on pidfile location specified)
Code:
# ps -eaf|egrep "pipew|pulse|jack"
test      3337     1  0 15:14 ?        00:00:00 /usr/bin/daemon -f -n pipewire-pulse /usr/bin/pipewire-pulse
test      3340  3337  0 15:14 ?        00:00:00 pipewire-pulse: /usr/bin/pipewire-pulse
test      3341     1  0 15:14 ?        00:00:00 /usr/bin/daemon -f -n pipewire /usr/bin/pipewire
test      3345  3341  0 15:14 ?        00:00:00 pipewire: /usr/bin/pipewire
test      3352     1  0 15:14 ?        00:00:00 /usr/bin/daemon -f -n pipewire-media-session /usr/bin/pipewire-media-session
test      3357  3352  0 15:14 ?        00:00:00 pipewire-media-session: /usr/bin/pipewire-media-session
root      3466  1347  0 15:16 pts/0    00:00:00 grep -E pipew|pulse|jack

# ls -l ~test/.daemon/
total 24
-rw-r--r-- 1 test users 5 Aug 23 15:14 pipewire-media-session.clientpid
-rw-r--r-- 1 test users 5 Aug 23 15:14 pipewire-media-session.pid
-rw-r--r-- 1 test users 5 Aug 23 15:14 pipewire-pulse.clientpid
-rw-r--r-- 1 test users 5 Aug 23 15:14 pipewire-pulse.pid
-rw-r--r-- 1 test users 5 Aug 23 15:14 pipewire.clientpid
-rw-r--r-- 1 test users 5 Aug 23 15:14 pipewire.pid
On my main desktop, which is using digital out, I may have had to configure that output from the Audio control panel again.

Does your audio work without pipewire configured? I had to reinstall alsa-lib and pulseaudio-15 after a recent update (if you haven't been following that recent audio not working thread).
 
Old 08-23-2021, 05:02 PM   #98
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,097

Rep: Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275
Quote:
Originally Posted by fourtysixandtwo View Post
I just set it up on another -current machine without issue.

You should see the following processes and files in ~/.daemon or ~/.run (depending on pidfile location specified)............
Neither directory exists on this system.
Pulseaudio works just fine.
 
Old 08-23-2021, 05:42 PM   #99
fourtysixandtwo
Member
 
Registered: Jun 2021
Location: Alberta
Distribution: Slackware...mostly
Posts: 314

Rep: Reputation: 209Reputation: 209Reputation: 209
Quote:
Originally Posted by cwizardone View Post
Neither directory exists on this system.
Pulseaudio works just fine.
That will happen if pidfiles isn't specified in either the /etc/daemon.conf.d/pipewire.conf from my example or the "Exec" line in the pipewire*.desktop files from the OG post of this thread. I still got sound but daemon is unable to kill the processes after logging out from that shell.

You did see the 6 daemon/pipewire processes running?

Last edited by fourtysixandtwo; 08-23-2021 at 05:43 PM.
 
Old 08-23-2021, 05:48 PM   #100
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,356

Rep: Reputation: 4068Reputation: 4068Reputation: 4068Reputation: 4068Reputation: 4068Reputation: 4068Reputation: 4068Reputation: 4068Reputation: 4068Reputation: 4068Reputation: 4068
Quote:
Originally Posted by mumahendras3 View Post
Personally, regarding pulseaudio.desktop file, I just copied /etc/xdg/autostart/pulseaudio.desktop to ~/.config/autostart/pulseaudio.desktop then added "Hidden=true" to it. That way, I don't have to remember editing /etc/xdg/autostart/pulseaudio.desktop after upgrading the pulseaudio package. Seems to be working so far for a couple of months here on my system.
Certainly the best way
 
Old 08-24-2021, 02:46 PM   #101
Candelabrus
Member
 
Registered: Apr 2015
Location: Ponta Grossa - PR
Distribution: Slackware64
Posts: 173

Rep: Reputation: 26
So far i have not been able to figure out the problem when i start Cinnamon it takes about 15s to load, this does not happen in other environments such as XFCE or Enlightenment.

And this only started after using these .desktop on XDG / Autostart

Does anyone have any idea how to solve?
 
Old 08-25-2021, 10:40 AM   #102
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,097

Rep: Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275
Quote:
Originally Posted by LuckyCyborg View Post
Great Wizard, the biggest question is: what desktop environment you use?..........
KDE-4 running on -current (5.14-rc7 kernel), but without fcitx, ibus, libpinyin, noto-fonts and OpenCC.

Last edited by cwizardone; 08-25-2021 at 08:18 PM.
 
Old 08-26-2021, 03:12 PM   #103
gbschenkel
Member
 
Registered: Nov 2010
Location: Porto Alegre, Brazil
Distribution: Slackware, Proxmox, AlpineLinux, Devuan, TurnkeyLinux
Posts: 99

Rep: Reputation: 60
Quote:
Originally Posted by cwizardone View Post
KDE-4 running on -current (5.14-rc7 kernel), but without fcitx, ibus, libpinyin, noto-fonts and OpenCC.
Maybe your problem is because Plasma 4 don't have support on Pipewire?
 
Old 08-26-2021, 05:08 PM   #104
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,097

Rep: Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275
Quote:
Originally Posted by gbschenkel View Post
Maybe your problem is because Plasma 4 don't have support on Pipewire?
Looked into that, but couldn't find anything definitive on the matter.
 
Old 08-26-2021, 05:26 PM   #105
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,356

Rep: Reputation: 4068Reputation: 4068Reputation: 4068Reputation: 4068Reputation: 4068Reputation: 4068Reputation: 4068Reputation: 4068Reputation: 4068Reputation: 4068Reputation: 4068
Quote:
Originally Posted by cwizardone View Post
Looked into that, but couldn't find anything definitive on the matter.
Perhaps, some interesting points. not about audio, but ...
Code:
We use xdg-desktop-portal (+ backend implementation) for communication between the app requesting 
to share a screen and between desktop (Plasma or Gnome). You need xdg-desktop-portal, which is the
 middle man between the app and backend implementation, compiled with screencast portal.
Code:
For backend implementation, if you are using Plasma, you need xdg-desktop-portal-kde from Plasma 5.13.x,
 again compiled with screencast portal, which is build when PipeWire is present.
http://jgrulich.cz/2018/07/04/how-to...ng-on-wayland/

Last edited by marav; 08-26-2021 at 05:28 PM.
 
1 members found this post helpful.
  


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 12:22 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