Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 935166

Summary: >=x11-misc/sddm-0.21.0 when using Wayland backend probably needs dev-libs/weston[kiosk]
Product: Gentoo Linux Reporter: Niklāvs Koļesņikovs <89q1r14hd>
Component: Current packagesAssignee: LxQt maintainers <lxqt>
Status: RESOLVED FIXED    
Severity: normal CC: kde
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Niklāvs Koļesņikovs 2024-06-30 09:44:47 UTC
I could be wrong but it seems that SDDM 0.21.0 onwards when using the optional Wayland backend will attempt to load Weston with its kiosk shell. I'm, again, stumbling in the dark but it seems like previously it was using the fullscreen shell instead. If my guess is correct, users who already had working Wayland backend for SDDM may get caught by this gotcha when upgrading from earlier versions to 0.21.0 or newer.

If my guess is true, this dependency on dev-libs/weston[kiosk] should probably be expressed in the SDDM ebuild.

Reproducible: Always

Steps to Reproduce:
To reproduce, try the following SDDM configuration:

```
[General]
DisplayServer=wayland
```

The above snippet should be placed in one of the supported configuration file locations such as /etc/sddm.conf.d/wayland.conf . Afterwards, log out and as long as SDDM has been restarted, it should attempt to use the Wayland backend.
Actual Results:  
When Weston is installed but without the kiosk shell, SDDM 0.21.0 onwards will fail to properly start up and a black screen will be shown instead. After I enabled the kiosk USE flag and rebuilt weston, SDDM was again functioning as expected.
Comment 2 Andreas Sturmlechner gentoo-dev 2024-06-30 21:55:10 UTC
Thanks for the info, but there is not any kind of wayland support in our package yet anyway. I guess we can update our [EXPERIMENTAL] optfeature message though.
Comment 3 Larry the Git Cow gentoo-dev 2024-07-01 18:04:39 UTC
The bug has been closed via the following commit(s):

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

commit c6c197ff4e1350d3d63a6e95064307e6cfe9e475
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2024-07-01 18:00:52 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2024-07-01 18:04:26 +0000

    x11-misc/sddm: re-add optfeature to p20240302, advertise weston[kiosk]
    
    Closes: https://bugs.gentoo.org/935166
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 x11-misc/sddm/sddm-0.21.0.ebuild           | 4 ++--
 x11-misc/sddm/sddm-0.21.0_p20240302.ebuild | 5 ++++-
 2 files changed, 6 insertions(+), 3 deletions(-)
Comment 4 Larry the Git Cow gentoo-dev 2024-07-01 21:49:41 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/qt.git/commit/?id=aa9966c05405006588c07f288b92b0553473bf25

commit aa9966c05405006588c07f288b92b0553473bf25
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2024-07-01 18:00:52 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2024-07-01 21:49:27 +0000

    x11-misc/sddm: re-add optfeature advertise weston[kiosk]
    
    Bug: https://bugs.gentoo.org/935166
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 x11-misc/sddm/sddm-9999.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)