Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
does gnome require now pipewire?[solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
dimko
Apprentice
Apprentice


Joined: 12 Feb 2006
Posts: 205

PostPosted: Tue Jul 02, 2024 7:44 am    Post subject: does gnome require now pipewire?[solved] Reply with quote

Hi.
Don't want to install pipewire. For years we had pulse audio that sucked. Now it works more or less, now pipewire is shoved down the throats. And it sucks now too. I constantly have problem with microphone.

- media-video/pipewire-1.0.5::gentoo (masked by: package.mask)

(dependency required by "sys-apps/xdg-desktop-portal-1.18.4::gentoo" [ebuild])
(dependency required by "x11-base/xwayland-23.2.6::gentoo[libei]" [installed])
(dependency required by "x11-wm/mutter-45.5::gentoo[wayland]" [installed])
(dependency required by "@selected" [set])
(dependency required by "@world" [argument])


I checked USE flags of all those above, non have pipewire.

Yet https://packages.gentoo.org/packages/sys-apps/xdg-desktop-portal/dependencies
This one has it as dependency. So... Gentoo is basically telling us, no pipewire - no kde/gnome?
_________________
Just a user.


Last edited by dimko on Sun Jul 07, 2024 6:18 am; edited 1 time in total
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31351
Location: here

PostPosted: Tue Jul 02, 2024 8:01 am    Post subject: Re: does gnome require now pipewire? Reply with quote

dimko wrote:
This one has it as dependency. So... Gentoo is basically telling us, no pipewire - no kde/gnome?

Gentoo doesn't say anything at all, simply some kde or gnome packages require pipewire.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Ionen
Developer
Developer


Joined: 06 Dec 2018
Posts: 2884

PostPosted: Tue Jul 02, 2024 8:12 am    Post subject: Reply with quote

pipewire is not only for audio (screencast), and not all software's upstream bothers making use of its library optional like xdg-desktop-portal does (that package is not gnome-specific and is also pulled by plasma-meta, tend to be needed for proper DE integration).

That doesn't mean you have to stop using pulseaudio and setup pipewire though, much like how many packages will still want wayland libraries even if you still use X11.

That aside, migrating to pipewire isn't such a bad idea... but even if you do you'll find yourself still needing libpulse and USE=pulseaudio on packages :) You'll just have a different daemon running.
Back to top
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 2523

PostPosted: Tue Jul 02, 2024 8:46 am    Post subject: Reply with quote

You can still use pulse-audio as a sound server. Just enable daemon on pulseaudio and then resolve the conflicts. Pipewire is required for screencast and other stuff.

Best Regards,
Georgi
Back to top
View user's profile Send private message
dimko
Apprentice
Apprentice


Joined: 12 Feb 2006
Posts: 205

PostPosted: Sat Jul 06, 2024 11:17 pm    Post subject: Reply with quote

logrusx wrote:
You can still use pulse-audio as a sound server. Just enable daemon on pulseaudio and then resolve the conflicts.


Daemon is enabled. And conflicts are why I am here...
I will emerge pipewire and not use it. But I am pretty sure i will have problems with it installed.
Ill respond later once I have done it.
_________________
Just a user.
Back to top
View user's profile Send private message
szatox
Advocate
Advocate


Joined: 27 Aug 2013
Posts: 3477

PostPosted: Sat Jul 06, 2024 11:45 pm    Post subject: Reply with quote

I think you can get what you want by installing pipewire with USE='-sound-server'
_________________
Make Computing Fun Again
Back to top
View user's profile Send private message
dimko
Apprentice
Apprentice


Joined: 12 Feb 2006
Posts: 205

PostPosted: Sun Jul 07, 2024 6:17 am    Post subject: Thanks for suggestions Reply with quote

recompiled with "deep".
So far works. i can run pulseaudio and all seems to work.
_________________
Just a user.
Back to top
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 2523

PostPosted: Sun Jul 07, 2024 3:39 pm    Post subject: Reply with quote

dimko wrote:
But I am pretty sure i will have problems with it installed.


That sounds unfounded. It's in fact not likely. Pipewire doesn't interfere with pulseaudio.

Best Regards,
Georgi
Back to top
View user's profile Send private message
dimko
Apprentice
Apprentice


Joined: 12 Feb 2006
Posts: 205

PostPosted: Mon Jul 08, 2024 10:38 am    Post subject: Reply with quote

logrusx wrote:
dimko wrote:
But I am pretty sure i will have problems with it installed.


That sounds unfounded. It's in fact not likely. Pipewire doesn't interfere with Pulseaudio.

Best Regards,
Georgi


I can easily see one situation when both running together is impossible.
Alsa with no dmix, for purpose of better latency. Both will try to access ALSA and one will fail, since hardware resource of second process will be inaccessible.

And then potential second issue, Pipewire for purpose of using as sound daemon. If pulse is running same time, any process that tries to connect to ALSA or Pulseaudio can cause issues or will have issues. If two servers allow for pulse connection, how is decision made to connect to one of those?
_________________
Just a user.
Back to top
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 2523

PostPosted: Mon Jul 08, 2024 11:15 am    Post subject: Reply with quote

dimko wrote:
logrusx wrote:
dimko wrote:
But I am pretty sure i will have problems with it installed.


That sounds unfounded. It's in fact not likely. Pipewire doesn't interfere with Pulseaudio.

Best Regards,
Georgi


I can easily see one situation when both running together is impossible.
Alsa with no dmix, for purpose of better latency. Both will try to access ALSA and one will fail, since hardware resource of second process will be inaccessible.

And then potential second issue, Pipewire for purpose of using as sound daemon. If pulse is running same time, any process that tries to connect to ALSA or Pulseaudio can cause issues or will have issues. If two servers allow for pulse connection, how is decision made to connect to one of those?


You can't have pipewire with sound-server enabled at the same time with pulseaudio-daemon. You can either have pulseaudio-daemon or pipewire[sound-server].

Best Regards,
Georgi
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 22867

PostPosted: Mon Jul 08, 2024 12:07 pm    Post subject: Reply with quote

dimko wrote:
logrusx wrote:
dimko wrote:
But I am pretty sure i will have problems with it installed.
That sounds unfounded. It's in fact not likely. Pipewire doesn't interfere with Pulseaudio.
I can easily see one situation when both running together is impossible.
Alsa with no dmix, for purpose of better latency. Both will try to access ALSA and one will fail, since hardware resource of second process will be inaccessible.

And then potential second issue, Pipewire for purpose of using as sound daemon. If pulse is running same time, any process that tries to connect to ALSA or Pulseaudio can cause issues or will have issues. If two servers allow for pulse connection, how is decision made to connect to one of those?
You are conflating two arguments. First you said you will have problems with it installed, and logrusx disputed that. I agree with logrusx: having both packages installed at the same time should be fine. Later, you posit that both packages are in use at the same time, and that such use will fail. That seems possible, but that is not what you said first, and thus not what logrusx responded to.
Back to top
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 2523

PostPosted: Mon Jul 08, 2024 1:26 pm    Post subject: Reply with quote

Hu wrote:
Later, you posit that both packages are in use at the same time, and that such use will fail. That seems possible, but that is not what you said first, and thus not what logrusx responded to.


If it's up to portage, it's impossible. Pipewire[sound-server] is blocking pulesaudio-daemon:

pipewire-1.0.7-r1.ebuild wrote:
sound-server? ( !media-sound/pulseaudio-daemon )


and pulseaudio-daemon is blocking pipewire[sound-server]:

pulseaudio-daemon-16.1-r7.ebuild wrote:
!media-video/pipewire[sound-server(+)]


To make it possible you need an out of tree installation for one of the packages.

Otherwise I saw the two arguments conflation but I kind of expected it'll go that direction and didn't find necessary to address it.

Best Regards,
Georgi
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum