• Re: [gentoo-dev] [RFC] News Item v3: Plasma Profile to enable PipeWire,

    From Andreas Sturmlechner@21:1/5 to Ulrich Mueller on Tue May 16 19:55:04 2023
    Copy: gentoo-dev@lists.gentoo.org (gentoo-dev)
    Copy: pr@gentoo.org

    Restructured, not necessarily smaller, but maybe easier to follow.


    Title: Plasma Profile to enable 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

    Reasons
    =======

    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.

    In Wayland sessions, the video functionality of PipeWire is not only used for screensharing but also to take screenshots and -recordings or simply to cast window content onto task managers' window previews. This is why PipeWire and Wayland enablement are happening at the same time.

    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 [1]. Therefore it makes sense for Plasma profile to provide sane default settings.


    Changes
    =======

    New global USE flags enabled: pipewire, pulseaudio, screencast, wayland
    New package.use default: media-video/pipewire[sound-server]

    We want broad sound server support in packages, and these settings will make PipeWire act as our PulseAudio server where there is no native PipeWire support.


    Impact On Happy X Users
    =======================

    Minor. Most dependencies were already required with kde-plasma/plasma-desktop and its dependencies. Upcoming stable versions of kde-apps/spectacle and kde-apps/krfb will depend on (K)PipeWire unconditionally.

    No one will lose their X session, but will have the option to easily log in to a working Wayland session at any time.


    User Action Required
    ====================

    In order to enact all changes:

    emerge -1avUD @world
    Check out how to configure PipeWire for your purpose [2][3]

    In order to keep a PulseAudio or ALSA-only setup:

    Invert above new USE flag settings as needed, see also [2].

    In order to avoid media-video/pipewire completely:

    This can only be achieved by losing basic task manager, screenshot/screen
    recording/sharing functions as provided by Plasma and KDE applications.


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

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

    iQITBAABCgB9FiEEZD8Ftg7kXelMA262xdaC3679iIgFAmRjw3hfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDY0 M0YwNUI2MEVFNDVERTk0QzAzNkVCNkM1RDY4MkRGQUVGRDg4ODgACgkQxdaC3679 iIip2wv/ckGrj6r1iaOcrlPfHAOwTFziADtwdfEWf/UNN67kPWg1AwP6z0t4eIyc xRpLiuaMSuTY1/oWok6sBCWP3bhfpelerWfTwlzUxTIvForIvl8ZKMg2hHrUHI5h CKyJxVUIViMvoU39W1gC5/yZmP37x4qCTAOCBZUUdP6FPjM11iq2kGf+HpMYwDW+ LfzjWqqahxIEJm8nFQ68tHAlGprqTXLwisBGeUtiRYxVBNIh6nXq7gSX2MZk9UM7 HzdL27FKNboSgLxNHYEoYdLg/LkGjCePN1ENSyiH1EcGF+lElNl0mY6j+oPjIRxa T/lakldcTMG+dUm6xAgTM6bLh4HMLfsxBTiPiY4jorvLyV9w97rxtZBsLue3joSU 6uHX/W7hE3w8TICIAsJo+OtPw9u4ldrtqI1Ee6NaQ0LOW4Ddq8+mMkCFUwBpwL+p jii1DfvFaBM8JNIzToOm4bwjUDwgfRfHG839X1+1Sduz0Npgc6fLikwiYNZVExli
    iBjou1gF
    =dZ6F
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andreas Sturmlechner@21:1/5 to All on Tue May 16 21:09:34 2023
    On Dienstag, 16. Mai 2023 21:01:14 CEST Toralf Förster wrote:
    On 5/16/23 20:15, Sam James wrote:

    We should probably note that it's fine for people to use -wayland in make.conf if they want although we'd discourage it for the Plasma
    profile?

    We can do that, albeit at the same time make it clear that it does not really achieve any dependency savings nor make any difference in X sessions.


    IIRC I experienced a nagging issue with chromium in the past. Its window size wasn't resizeable:

    chromium --disable-extensions --disable-plugins --disable-sync -–no-experiments --new-window --app=https://teams.microsoft.com


    That's not really related to any certain USE flag setting though, right? I mean, www-client/chromium has USE=wayland but can still be started in X mode.

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

    iQITBAABCgB9FiEEZD8Ftg7kXelMA262xdaC3679iIgFAmRj1O5fFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDY0 M0YwNUI2MEVFNDVERTk0QzAzNkVCNkM1RDY4MkRGQUVGRDg4ODgACgkQxdaC3679 iIhDXAv9Ej7jLuKJSt1iRJ29G0UX9g2JdWWkSFTcmSwsk2qeGFi+x2e4JYFSNe2N 5Voih0aSknVl0IqqDl4fn4DUWozCe9bfBxozl9icbe3Gxs0pOqfy7Bg+xyJ6GWYR 5364POftsqqyf3AOzQfBOQJvv5jxUFQIv0WjP0dvXfjeslxnh3CkPdSms7AxEDmj Cza3hMCR/ohQty0PAXhg9JU/WKhc/VG7QAyKyJ2yDDSUE4rQb0pDQV60vjtXkdw9 V5o8M4sQQ7q2PHl8u0zscgBi6r2hvoEP+q6LgEHmswYtAmSa5eMtLDoHKTNtwfDc gAzYQcaFNhQLo20K3U99Tg0onCD/vK44G75XKegQiDDXhgXQkZB+SfX1+/nVQu5o Aoo7gFibcryLFLqSCyArlc25cGxGv+BJVInCoMe5ixcTOKwT34ZvDebA7MAwuuqK UrJH9pwmysicadzFUbe4ToJDLQ+2F/UMn1OHaJJ4fE7VN6/r/EKxCF3mrt/3yIom
    Qm1iODdm
    =zq1a
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?Toralf_F=c3=b6rster?=@21:1/5 to All on Tue May 16 21:10:01 2023
    This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------F0G0PAKjC9qf4PHjd6VVsWOL
    Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64

    T24gNS8xNi8yMyAyMDoxNSwgU2FtIEphbWVzIHdyb3RlOg0KPiBXZSBzaG91bGQgcHJvYmFi bHkgbm90ZSB0aGF0IGl0J3MgZmluZSBmb3IgcGVvcGxlIHRvIHVzZSAtd2F5bGFuZCBpbg0K PiBtYWtlLmNvbmYgaWYgdGhleSB3YW50IGFsdGhvdWdoIHdlJ2QgZGlzY291cmFnZSBpdCBm b3IgdGhlIFBsYXNtYQ0KPiBwcm9maWxlPw0KDQorMQ0KDQpJSVJDIEkgZXhwZXJpZW5jZWQg YSBuYWdnaW5nIGlzc3VlIHdpdGggY2hyb21pdW0gaW4gdGhlIHBhc3QuIEl0cyB3aW5kb3cg DQpzaXplIHdhc24ndCByZXNpemVhYmxlOg0KDQpjaHJvbWl1bSAtLWRpc2FibGUtZXh0ZW5z aW9ucyAtLWRpc2FibGUtcGx1Z2lucyAtLWRpc2FibGUtc3luYyANCi3igJNuby1leHBlcmlt ZW50cyAtLW5ldy13aW5kb3cgLS1hcHA9aHR0cHM6Ly90ZWFtcy5taWNyb3NvZnQuY29tDQoN Ci0tIA0KVG9yYWxmDQpQR1AgMjMyMTdEQTcgOUI4ODhGNDUNCg0K

    --------------F0G0PAKjC9qf4PHjd6VVsWOL--

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

    wsF5BAABCAAjFiEE4Aq096H1MGPqWQN3byNRLEwPvR0FAmRj0voFAwAAAAAACgkQbyNRLEwPvR1i DRAAoHTmU+wot41bqWDU6L2amnR5E2beM8st9QvMrQZWdLfFVNqnlFA+1p27ghx7mz7Fdacz0DV2 OGxKvyBMILfOEhGlAPFSKAN4vdhUgfnI6Fo+3ZUkxGPITrttxwmfpSs++PY4j+dzm7hI8IHA+mYH xWn78f5RcfMq/gxSNnJfBI6HTYqefLmdmAVXvI5TEh+ZsiTkO3wFnypAdOPNY+WoXHehUS8PEpLS U8egwGELNZaYNSbtTcmpvey9ZFte8SGcp2j4KgIdI3SNvZZvYXIuxxWs05QJbnlO1jGjk96HVgH2 0Auxz1vg/dx3CpLLKvSs+JFYtU1kqf2S8fE7CeSdcEqEKY17UmcgK9KxmiGVWxI7h7yprAZ54gpm ccBS3DDj+giLrQz22YYE2Oilwf08+tm0avNF1XDAKGSUG7OC0WqaQK/TzP6jhsHRWWR+3sbqf/ah eobKwRu3keog4O4GYcp6Xam4iZjnlRPI4zP2wuddAPIEbIoS5ys+S+Hnq7tYSn3MOp9UwbZ74HYn yj8Q7JXQfxX1kt4s4RWQYnUtM9IHbu2m8Rw6Cz+MLGrak/P5o+KJGJeFjSC3xZ0ZKErJN+KKtzHd HdEX3sg0h0+BswcVrX/cKWEgudVKYMZfnFY/fXzKPfWqA4cB/Y60q4nhZummv5KBtOZYomv/pIxg j44=
    =2iNm
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Sam James@21:1/5 to Andreas Sturmlechner on Tue May 16 20:20:01 2023
    Andreas Sturmlechner <asturm@gentoo.org> writes:

    Impact On Happy X Users
    =======================

    Minor. Most dependencies were already required with kde-plasma/plasma-desktop
    and its dependencies. Upcoming stable versions of kde-apps/spectacle and kde-apps/krfb will depend on (K)PipeWire unconditionally.

    No one will lose their X session, but will have the option to easily log in to
    a working Wayland session at any time.


    We should probably note that it's fine for people to use -wayland in
    make.conf if they want although we'd discourage it for the Plasma
    profile?

    I know we don't want to encourage people to set X or wayland manually
    on that profile, but I think it's worth us saying because I can
    absolutely see people asking about it.

    --=-=-Content-Type: application/pgp-signature; name="signature.asc"

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

    iOUEARYKAI0WIQQlpruI3Zt2TGtVQcJzhAn1IN+RkAUCZGPIn18UgAAAAAAuAChp c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0MjVB NkJCODhERDlCNzY0QzZCNTU0MUMyNzM4NDA5RjUyMERGOTE5MA8cc2FtQGdlbnRv by5vcmcACgkQc4QJ9SDfkZDJDgEA3LGzapcv/cPoT2aVHBrugXk1humW6uB6Dl0/ uZQ/S0UBALpwtGrBvAa5nlfjXgX71VWIJbyEkDjTfEHWcBg/qqYJ
    =lYyN
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?Toralf_F=c3=b6rster?=@21:1/5 to All on Tue May 16 21:40:01 2023
    This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------YXQgr2JG69H6CXfMgkAhxjcE
    Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64

    T24gNS8xNi8yMyAyMTowOSwgQW5kcmVhcyBTdHVybWxlY2huZXIgd3JvdGU6DQo+IFRoYXQn cyBub3QgcmVhbGx5IHJlbGF0ZWQgdG8gYW55IGNlcnRhaW4gVVNFIGZsYWcgc2V0dGluZyB0 aG91Z2gsIHJpZ2h0PyBJDQo+IG1lYW4sIHd3dy1jbGllbnQvY2hyb21pdW0gaGFzIFVTRT13 YXlsYW5kIGJ1dCBjYW4gc3RpbGwgYmUgc3RhcnRlZCBpbiBYIG1vZGUuDQoNCmluZGVlZC4N Cg0KLS0gDQpUb3JhbGYNClBHUCAyMzIxN0RBNyA5Qjg4OEY0NQ0KDQo=

    --------------YXQgr2JG69H6CXfMgkAhxjcE--

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

    wsF5BAABCAAjFiEE4Aq096H1MGPqWQN3byNRLEwPvR0FAmRj26IFAwAAAAAACgkQbyNRLEwPvR1z YxAAv9IebUvsfrI6c/JTHeJoQq7jU/f71TfZKjd/SKEuaWo9B32fck/4Sj98hDCnNMmh5hHo8fx1 EHPgeio1XCNB93+AfvE2OVX57SI51ieUpGArRqH+qEl+oC5q+sIvDCCsFBKv9Uy3mNQnwn3zU3Tz 1Lr9p08a9IOaLEkHz9XPmV9nW5ymsEN54VDTNhnjONoY8ViAu2TO9C+xFW+sO7/iIDFjWxHNJBA9 d0BHTNSjSLKb6PA8C37KiowgCQN6qZIAzEEQHuja3d0yWdUVrz5+7PPbsBEIH6oFS5uUONMFzIKm F7YDdzB70fSaY31GnE7T94zdgqVUAZEz4z1k9xDkdxn7y8c+NBUS4zvmu9W4fPxd7Cgy8MnQJUft k7W5JQghSZEzdpqnnUILGBOqZMFLvJj1LiM0fCfjtiRq1MPkpF3a43VccRpFpwxhrwQM74dl5REY Lo/ZhYL5mb0ECXhl/0PiifreW79/WFEE6Z8Fiyi5PIgMLZI2RYb9nlPc0iDMu/EiTJI3MZcOBsv6 yjmkPJ2UUrSS3R+8p5EXdLilnP4XZP7P/SQKKlGwhkWL7kdCt9EQVD8HO9Oqvde86Lt5RjxghyNe wAojuihOTX3Qxdq6sF5Q33v7PS5b15O+cM4kv4Lpo0NmoIiBXuYlLftE6jHypibF+bQ0eHVR2c1r 2T8=
    =Aqzi
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andreas Sturmlechner@21:1/5 to All on Wed May 17 22:52:51 2023
    Copy: pr@gentoo.org

    On Dienstag, 16. Mai 2023 20:15:44 CEST Sam James wrote:
    Andreas Sturmlechner <asturm@gentoo.org> writes:
    Impact On Happy X Users
    =======================

    Minor. Most dependencies were already required with kde-plasma/plasma-desktop and its dependencies. Upcoming stable versions
    of kde-apps/spectacle and kde-apps/krfb will depend on (K)PipeWire unconditionally.

    No one will lose their X session, but will have the option to easily log
    in to a working Wayland session at any time.

    We should probably note that it's fine for people to use -wayland in make.conf if they want although we'd discourage it for the Plasma
    profile?

    I know we don't want to encourage people to set X or wayland manually
    on that profile, but I think it's worth us saying because I can
    absolutely see people asking about it.

    "It is possible to set USE="-wayland" against these changes, but it will
    amount to no dependency savings, just micro-optimisation in affected
    packages."

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

    iQITBAABCgB9FiEEZD8Ftg7kXelMA262xdaC3679iIgFAmRlPqNfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDY0 M0YwNUI2MEVFNDVERTk0QzAzNkVCNkM1RDY4MkRGQUVGRDg4ODgACgkQxdaC3679 iIhq0gv/cfJtZkH77QxpEIrqVkWRxpFYdQamR0gP4maKlEdmoUIA8G7Ecz+oabc+ Hgpa6jDqPpbHTEzd/wF74DHyx/JriHzpFUQnkaEFO7ISfCPBz/mttrJoGqaZryp8 ChWEhF7rYUosE4w9lTpxwWBbQ7+LuacgUx+zsx9kv2zc2q71o93138+PnFjrxccW 7xfxPjJmIfJOmjTQdDqGA+MhvB/llrAUkPoA4xjiusfbTeNS5b4tFNkRvcOcAuL5 3Xw4ib+58pT2XLHoJ51C2A6hFQLYw1y9PAS8JnF+A4xPWtOJwBDWKUxVMTDHnftw uNteDzVzybHK4zWTFpMqvl1tJEk7fB5tuz7MfrmICI6HChuXuhtxYosuSmU/FYeN +j8VeKshhKlEpCNgpYWnOnXTO9kCtzc2b3GlzMp86fXQlJ0LuZK6kYC0z0IhSuBb FERaD3ZjkSnkPpn1E33aVdYqb5//L+EgySnKieH13v/cLrJR3v4fOYSAu8gBVTnc
    f/iUvrVu
    =VmJ6
    -----END PGP SIGNATURE-----

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