Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 935166 - >=x11-misc/sddm-0.21.0 when using Wayland backend probably needs dev-libs/weston[kiosk]
Summary: >=x11-misc/sddm-0.21.0 when using Wayland backend probably needs dev-libs/wes...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: LxQt maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-30 09:44 UTC by Niklāvs Koļesņikovs
Modified: 2024-07-01 21:49 UTC (History)
1 user (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 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(-)