• [RFC] Plasma Profile to switch on PipeWire, Wayland support

    From Andreas Sturmlechner@21:1/5 to gentoo-dev on Tue May 16 13:35:41 2023
    Copy: pr@gentoo.org

    Title: Plasma Profile to switch on PipeWire, Wayland support
    Author: Andreas Sturmlechner <asturm@gentoo.org>
    Posted: 2023-05-20
    Revision: 1
    News-Item-Format: 2.0
    Display-If-Profile: default/linux/amd64/17.1/desktop/plasma
    Display-If-Profile: default/linux/amd64/17.1/desktop/plasma/systemd Display-If-Profile: default/linux/amd64/17.1/desktop/plasma/systemd/merged-usr Display-If-Profile: default/linux/amd64/23.0/desktop/plasma
    Display-If-Profile: default/linux/amd64/23.0/desktop/plasma/systemd

    1. PipeWire

    Gentoo's Plasma profile has not had any sound server enabled since the days of KDE's own aRts. As the way we output sound has changed dramatically in the years since - using wireless or often several devices, dynamically connected and shared between multiple systems, a modern desktop environment is expected to handle this effortlessly by default.

    This means the profile will enable both USE="pipewire,pulseaudio" globally, and enable media-video/pipewire[sound-server] to make it act as our PulseAudio server.

    User action required:
    - Check out what, if anything, you should configure to make PipeWire work for your purpose [1].
    - For kde-apps/kmix users, a second sound mixer will appear in system tray: kde-plasma/plasma-pa as pulled in by kde-plasma/plasma-meta. Quit KMix and it will not re-appear on next startup.
    - If you want to keep your PipeWire or ALSA-only setup, invert above USE flag settings globally, as needed.

    2. Wayland

    Plasma Wayland support has come a long way and we consider it stable enough
    for daily use with a lot - if not all - systems, even if some known papercuts remain [2]. For those willing to switch it makes sense for Plasma profile
    to already provide sane settings. For everyone else it means only negligible impact in dependencies, as most of it was already inevitable with kde-plasma/plasma-desktop and its dependencies.

    Plasma profile will enable both USE="wayland,screencast" globally. The latter flag is tied to the video functionality of PipeWire, and e.g. used to 'cast' window content onto task managers' window previews. This is why PipeWire and Wayland enablement are happening at the same time.

    User action required:
    - If you want to keep your PipeWire or ALSA-only setup with Wayland, note that media-video/pipewire installation can not be avoided, but configuration not to act as a sound server is possible [1].
    - None. No one will lose their X session, but will have the option to easily log into a working Wayland session instead.

    [1] https://www.gentoo.org/support/news-items/2022-07-29-pipewire-sound-server.html
    [2] https://community.kde.org/Plasma/Wayland_Showstoppers

    -----BEGIN PGP SIGNATURE-----

    iQITBAABCgB9FiEEZD8Ftg7kXelMA262xdaC3679iIgFAmRjao5fFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDY0 M0YwNUI2MEVFNDVERTk0QzAzNkVCNkM1RDY4MkRGQUVGRDg4ODgACgkQxdaC3679 iIjdlgv/blpfYzpdykKErLW8WN1Dy8qgqJpSPpsBBPZ605XUxuN7Yh/1+QQQczKf o4x7lDyMEkWumz2hMnpBqvm/X3vBcPEX5w7Fs/x725Fd3vELCN69mLo7NBRRHAle Ex7apuXzKwiUUmHPvkDDOy30Gilzq1hjMwuKdURR50/BBEdFz0Ks56bbXo0W066x Pa3EwnBmYmlS/iy6jToIf0qkYeXX39iTMfPGvl6eXuAnvyiFCLSfLyxcxjdk2Fam QbQzFuAZuJVAfA5X7aNuSeLP3C2cfxMBtpO/+MuSy8K36QrFJ8GW1WNd3Nu8ZdjY RLfknTOeariBdWoAjaKSiO64Pwfjki8E7rGH0uO92YarC6MoUUXbHk6bh6f+mfJz ETuCxWpXVBk4WgsNpeIOu+4azrieVzMQn0LzFATPQlok2omOIuz1PGz6ylfHLmF/ 7c8k0K53y3o2n+uWdYLUYtmjvMcTgfYEamAaOkp9XrRTYgMydJ3SRmyK6pW71PG0
    qoOdUe6i
    =eBq2
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andreas Sturmlechner@21:1/5 to gentoo-dev on Tue May 16 14:16:49 2023
    Copy: pr@gentoo.org
    Copy: asturm@gentoo.org (Andreas Sturmlechner)

    Title: Plasma Profile to switch on PipeWire, Wayland support
    Author: Andreas Sturmlechner <asturm@gentoo.org>
    Posted: 2023-05-20
    Revision: 1
    News-Item-Format: 2.0
    Display-If-Profile: default/linux/amd64/17.1/desktop/plasma
    Display-If-Profile: default/linux/amd64/17.1/desktop/plasma/systemd Display-If-Profile: default/linux/amd64/17.1/desktop/plasma/systemd/merged-usr Display-If-Profile: default/linux/amd64/23.0/desktop/plasma
    Display-If-Profile: default/linux/amd64/23.0/desktop/plasma/systemd

    1. PipeWire

    Gentoo's Plasma profile has not had any sound server enabled since the days of KDE's own aRts. As the way we output sound has changed dramatically in the years since - using wireless or often several devices, dynamically connected and shared between multiple systems, a modern desktop environment is expected to handle this effortlessly by default.

    This means the profile will enable both USE="pipewire,pulseaudio" globally, and enable media-video/pipewire[sound-server] to make it act as our PulseAudio server.

    User action required:
    - Check out what, if anything, you should configure to make PipeWire work for your purpose [1][2].
    - For kde-apps/kmix users, a second sound mixer will appear in system tray: kde-plasma/plasma-pa as pulled in by kde-plasma/plasma-meta. Quit KMix and it will not re-appear on next startup.
    - If you want to keep your PulseAudio or ALSA-only setup, invert above USE flag settings globally, as needed.

    2. Wayland

    Plasma Wayland support has come a long way and we consider it stable enough
    for daily use with a lot - if not all - systems, even if some known papercuts remain [3]. For those willing to switch it makes sense for Plasma profile
    to already provide sane settings. For everyone else it means only negligible impact in dependencies, as most of it was already inevitable with kde-plasma/plasma-desktop and its dependencies.

    Plasma profile will enable both USE="wayland,screencast" globally. The latter flag is tied to the video functionality of PipeWire, and e.g. used to 'cast' window content onto task managers' window previews. This is why PipeWire and Wayland enablement are happening at the same time.

    User action required:
    - If you want to keep your Pulseaudio or ALSA-only setup with Wayland, note that media-video/pipewire installation can not be avoided, but configuration not to act as a sound server is possible [1].
    - None. No one will lose their X session, but will have the option to easily log into a working Wayland session instead.

    [1] https://www.gentoo.org/support/news-items/2022-07-29-pipewire-sound-server.html
    [2] https://wiki.gentoo.org/wiki/PipeWire
    [3] https://community.kde.org/Plasma/Wayland_Showstoppers

    -----BEGIN PGP SIGNATURE-----

    iQITBAABCgB9FiEEZD8Ftg7kXelMA262xdaC3679iIgFAmRjdDFfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDY0 M0YwNUI2MEVFNDVERTk0QzAzNkVCNkM1RDY4MkRGQUVGRDg4ODgACgkQxdaC3679 iIgiawv+NLDIwHpWEgLijzukgJ7jFumf958ih2MeELyYnFal/PvG0RwMYWeIZ49y ac/6PuA85zanR/TzwZs4f/VPC5mzHfoNVbWd9AsyXsVJHa5oqQhbSpVfBOpl+vTm 4Z1MLqt7bEyMbK+1qkZNYbILCzak9IE6AjgKIq1/5hjWlpPdqrGaPqf7RPijrR54 kvT18ACgBDJSyp4uyu13YsJvSwIQByBtXFo4A2SqNNVWtVzQVFCK5+iN9x4MYhS9 JbLqneUzl8bO4SfsznpRM+T7DLcW5DsiBE8rp6J88g4Oyq6Y7D3B98fLi1H9XHOc uKPoZA0KWnDZuxYe2mrPtE7itBrbJ5+vCZdleczZIy+g9UEjOuntS1GhcnlSkHXU bmO9Ics/igAof9CR/y5S0Y2p20DSi8R73Dds93n7FxnGKGazAjBLs1R8S+Z9SpXU wTR/06jE9rxfqGUle/wRsGdoYLXtBZmDEQofmNFWQ8ALZwTfhsJBAiezHBAj44Qt
    rbiwoysQ
    =rouj
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ulrich Mueller@21:1/5 to All on Tue May 16 16:00:01 2023
    On Tue, 16 May 2023, Andreas Sturmlechner wrote:

    Title: Plasma Profile to switch on PipeWire, Wayland support
    00000000011111111112222222222333333333344444444445555
    12345678901234567890123456789012345678901234567890123

    The title is slightly too long, GLEP 42 says 50 chars maximum.

    The news item seems to combine two topics which are only loosely
    related, and contains a lot of information. Did you consider splitting
    it into two items?

    Ulrich

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andreas Sturmlechner@21:1/5 to All on Tue May 16 16:04:25 2023
    On Dienstag, 16. Mai 2023 15:59:13 CEST Ulrich Mueller wrote:
    The news item seems to combine two topics which are only loosely
    related, and contains a lot of information. Did you consider splitting
    it into two items?

    Ulrich

    PipeWire and Wayland support are intertwined and the news text tells as much.
    I am open to cutting prose but users shouldn't have to look at two news items to come to a conclusion, with both telling them to configure the same thing.

    Regards
    -----BEGIN PGP SIGNATURE-----

    iQITBAABCgB9FiEEZD8Ftg7kXelMA262xdaC3679iIgFAmRjjWlfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDY0 M0YwNUI2MEVFNDVERTk0QzAzNkVCNkM1RDY4MkRGQUVGRDg4ODgACgkQxdaC3679 iIjTDQv/WIJBn81rzhy1QdFhGZpQ0nYMjL8pgFotYrC1xD7lxv9jFIaXhXKiwJ+3 0xD1F3ehmj/lehZ1dYRN+El0a/rL4wAPtgsqKYGcP9caozZjxQMJlGvgp/a/QaQZ i4G/pQfH9qWLUsLllaqOueJkCspNsFWW7M+EuE0s/zYAuh/2WjkjxWHZVJnqiawb uUdsXMz5N1X31MXL/RCcBVrVJfe1n6s3EaWoJRneDXiI2Uuy9I60cWmNOhx9GKKl hl+izlXgFdyeaVcPQYXYyRaSuA5rB3FwJ2PKtve7ediIPhIljh2otNzLoJN63nqI 53XMmeusYobV1kiNl+bjtrdao1xAekz0EvJxAZ9/Gb/PQI2KM7KDjcYiOfwvAttZ ZcJqJOutW1hsPypn2dot/mYMPsys8nkKde34r4JDveDrzeBqUzPwkmaTLynqk5x3 9htnvBkljqHTxV/PsLVkKh0+o00E8G3Lm66ehO0/JA7nuJN1b+YWzIbT19t5/Ojy
    S5Kg0jf8
    =NXky
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)