Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 818253 - plasma profile: Set IUSE="pipewire,pulseaudio,screencast,wayland" in make.defaults, set media-video/pipewire[sound-server] in package.use
Summary: plasma profile: Set IUSE="pipewire,pulseaudio,screencast,wayland" in make.def...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2021-10-15 10:53 UTC by Till Schäfer
Modified: 2023-05-21 07:06 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Till Schäfer 2021-10-15 10:53:44 UTC
When the screencast useflag is disabled for kde-plasma/plasma-desktop-5.23, kde-plasma/kwin-5.23, and sys-apps/xdg-desktop-portal-5.23 the window thumbnails for the task manager are not displayed in a wayland session. 

See also upstream bug report: https://bugs.kde.org/show_bug.cgi?id=443719

Thus, the above packages should enable the useflag by default for wayland users. However, I am unsure about the proper way to do so. Maybe the plasma-desktop or plasma-meta metapackage should add a wayland useflag that adds the dependency. 

If wayland is unconditionally enabled for plasma theses days (i.e., the global wayland use-flag must not be set globally to enable wayland support), the screencast useflag should perhaps simply enabled by default. 


Reproducible: Always
Comment 1 Reva Denis 2021-10-16 10:37:02 UTC
Simply warn about it, i think. I don't use window tumbnails as example
Comment 2 Till Schäfer 2021-10-16 22:55:31 UTC
I would expect basic functionality as a task manager to work out of the box. In my understanding  a useflag should enable/disable functionality, but not break the package in a way, that it does behave in an unexpected way. 

Thus, I would still prefer a solution, that enables the useflags at least as a dependency for wayland useflag enabled systems.
Comment 3 Andreas Sturmlechner gentoo-dev 2021-10-17 00:00:21 UTC
IUSE=screencast will become default enabled in plasma profile for sure, at one point or another, but media-video/pipewire has not been proven to be stable enough, and leads to problems with pulseaudio unless manually configured. IUSE=wayland has not had priority either as long as there are more important errata still existing.
Comment 4 Till Schäfer 2021-10-18 07:27:04 UTC
OK... Pipewire replaced my PA and I have not noticed it. Thought, that another step to activate Pipewire and deactivate PA is necessary.
Comment 5 Igor V. Kovalenko 2022-07-12 16:51:06 UTC
Now we have local USE sound-server on pipewire package https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21f12bb743b94242f73cef85ef24fdf6ff703eed

With that, I would consider video function of pipewire to be really separated from audio function. Also the runtime conflict between pipewire with audio function enabled and pulseaudio daemon over audio hardware is no longer a concern, because simultaneous installation of pipewire[sound-server] and pulseaudio-daemon is blocked.

Hope this helps with enabling USE screencast in plasma profile.

On a side note, there are now 9 packages with local USE screencast, the function of this USE flag is pretty well defined (screen cast portal integration using media-video/pipewire) - so USE screencast can now be made global.
Comment 6 Andreas Sturmlechner gentoo-dev 2022-07-14 13:10:03 UTC
I am considering enabling +screencast default in plasma profile with our first 5.25.x stabilisation. Any arguments against that?
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-07-14 14:29:28 UTC
Sounds good!
Comment 8 Larry the Git Cow gentoo-dev 2022-07-20 05:15:40 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=252b10a3e7c5b5b482c98dec8cd217eba4c67c20

commit 252b10a3e7c5b5b482c98dec8cd217eba4c67c20
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-07-15 07:57:35 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-07-20 05:12:43 +0000

    profiles: add "screencast" global USE
    
    Bug: https://bugs.gentoo.org/744622
    Bug: https://bugs.gentoo.org/818253
    Signed-off-by: Sam James <sam@gentoo.org>

 profiles/use.desc | 1 +
 1 file changed, 1 insertion(+)
Comment 9 Larry the Git Cow gentoo-dev 2023-05-21 07:05:28 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cca1077a7664f1fe6d3d9350f57bf5fa0ec10714

commit cca1077a7664f1fe6d3d9350f57bf5fa0ec10714
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2022-10-10 11:02:22 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2023-05-21 07:04:53 +0000

    profiles: desktop/plasma: Set IUSE=screencast,wayland in make.defaults
    
    Bug: https://bugs.gentoo.org/818253
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 profiles/targets/desktop/plasma/make.defaults | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)