After upgrading to KDE 6, my SDDM theme stopped working. Error message is: (II) DAEMON: Loading theme configuration from "/usr/share/sddm/themes/breeze/theme.conf" (WW) DAEMON: The theme at "/usr/share/sddm/themes/breeze" requires missing "/usr/bin/sddm-greeter-qt6" . Using fallback theme. This binary is build if SDDM gets Qt6 enabled: https://github.com/sddm/sddm/blob/cc03fabf2f3025842cee30b5f05d20f56b6a2270/CMakeLists.txt#L21 System build with USE=qt6. SDDM ebuild doesn't support this useflag. Reproducible: Always
SDDM should use the its default theme in that case. It certainly does in my case.
*** Bug 925942 has been marked as a duplicate of this bug. ***
(In reply to Andreas Sturmlechner from comment #1) > SDDM should use the its default theme in that case. It certainly does in my > case. It does, but I think the OP is asking to have the option of building sddm with qt6, so that it can use Plasma 6 themes.
This was established via IRC. But when the OP is talking about an error we must first establish that the software does keep working to assess the severity of a bug.
Created attachment 886547 [details] sddm-0.21.0-r1.ebuild For what it's worth this is a quick and dirty ebuild I made with qt6 support for sddm. I'm not 100% sure qt6 dependencies are right and qt5 and qt6 support are mutually exclusive (which is against some Gentoo policy, I think), but it builds, tests, installs and works fine on my system. Signed-off-by: Paolo Pedroni <paolo.pedroni@iol.it> If anyone thinks it's PR worthy, let me know and I'll try to wip up one.
@Paolo: See "InOverlay" KEYWORD, => qt overlay Remember that there are revdeps not prepared at all for a non-Qt5 SDDM in ::gentoo.
(In reply to Andreas Sturmlechner from comment #6) > @Paolo: See "InOverlay" KEYWORD, => qt overlay > > Remember that there are revdeps not prepared at all for a non-Qt5 SDDM in > ::gentoo. Thanks for the explanation.
To add, if the experimental wayland mode for sddm is enabled it will fail to show any greeter at all after upgrading to Plasma 6 (though as already noted reverting to X mode makes sddm usable again, albeit with the wrong theme). This issue is resolved by the live ebuild in the Qt overlay.
I've replicated this bug in my own migration to KDE6. Initially reported to the KDE team but was stated by them to be a Gentoo packaging issue: https://bugs.kde.org/show_bug.cgi?id=482059 Observed behavior is that on first boot after KDE6 migration, SDDM is using fallback default greeter theme. Applying the "Breeze" SDDM theme in KDE System Settings does not affect SDDM appearance, SDDM continues presenting fallback default theme greeter. Expected behavior: SDDM utilizes "Breeze" themed greeter. The problem: journalctl --unit=sddm presents the following lines: Apr 23 08:08:25 integrity sddm[874]: Loading theme configuration from "/usr/share/sddm/themes/breeze/theme.conf" Apr 23 08:08:25 integrity sddm[874]: The theme at "/usr/share/sddm/themes/breeze" requires missing "/usr/bin/sddm-greeter-qt6" . Using fallback theme. Apr 23 08:08:25 integrity sddm[874]: Loaded empty theme configuration ls /usr/bin | grep sddm presents the following output: sddm sddm-greeter sddmthemeinstaller Specifically, the problem is a missing /usr/bin/sddm-greeter-qt6 executable in the SDDM package. From emerge -av sddm: [ebuild R ] x11-misc/sddm-0.21.0::gentoo USE="systemd (-elogind) -test" Shows my installed SDDM package and associated flags.
Matthew, we know that it is missing, since we keep it disabled, as is documented here. I, personally, can not ship SDDM with Qt6 enabled since it is utterly broken on my system, while the fallback theme at least works. Another maintainer would have to decide that it is in acceptable shape and do it on their responsibility.
I personally don't use a display manager, and as such, have unfortunately been neglecting this one quite a bit (it was LXQt-maintained before my time). I will try to at least give this a go soon, and see how it fares, although I completely trust Andreas's judgement here, and will likely go with that in the end as well.
FWIW the live sddm ebuild with USE=-qt5 works quite well on my end with the breeze theme and kwin_wayland as the compositor (but n=1). I have not yet tried porting the changes from the live ebuild to v0.21.0 locally.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e38dfc25fd9f07b845e167a3b4da426ce4d6a00 commit 8e38dfc25fd9f07b845e167a3b4da426ce4d6a00 Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2024-05-27 22:00:07 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2024-05-27 22:23:28 +0000 x11-misc/sddm: add 0.21.0_p20240302, Qt6-only Closes: https://bugs.gentoo.org/925866 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> profiles/package.mask | 1 + x11-misc/sddm/Manifest | 1 + .../files/sddm-0.20.0-respect-user-flags.patch | 16 ++- x11-misc/sddm/sddm-0.21.0_p20240302.ebuild | 148 +++++++++++++++++++++ 4 files changed, 165 insertions(+), 1 deletion(-) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9a06f29b016dc906fd210c831917c689b5be839 commit e9a06f29b016dc906fd210c831917c689b5be839 Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2024-05-27 22:06:05 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2024-05-27 22:23:29 +0000 kde-plasma/plasma-meta: Depend on first Qt6-based x11-misc/sddm version Bug: https://bugs.gentoo.org/925866 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> .../{plasma-meta-6.0.90.ebuild => plasma-meta-6.0.90-r1.ebuild} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8757d208518c75ed2841b7002d6d8384be7a897 commit a8757d208518c75ed2841b7002d6d8384be7a897 Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2024-05-27 22:04:40 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2024-05-27 22:23:29 +0000 kde-plasma/plasma-meta: Limit :5 to <x11-misc/sddm-0.21.0_p20240302 Bug: https://bugs.gentoo.org/925866 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> .../{plasma-meta-5.27.11.ebuild => plasma-meta-5.27.11-r1.ebuild} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)