How to fix the appearance of `sddm` for first login?

When I start EOS on my PC, the SDDM login screen has humongous sized elements on the screen:

SDDM first login screen

When I lock the screen or log out, SDDM shows normal sized elements.

How to fix this? The settings panel with ‘SDDM’ didn’t help. Regardless if I change the background or the SDDM theme, after the first login, all elements are huge, after lock or logout, they have normal sizes.

Have you tried to change the SDDM theme via KDEs System Settings > Color & Themes > Global Themes > Login Screen (SDDM) ?

Yes, this is what I meant when I said that SDDM settings panel didn’t help. I updated the information in the first post to make this clear.

Let me try to reproduce this, but it may take a while as I’m about to install new hardware currently.

I got it fixed. It most likely happened because I used SDDM with Wayland according to https://wiki.archlinux.org/title/SDDM#Wayland:

/etc/sddm.conf.d/10-wayland.conf

[General]
DisplayServer=wayland
GreeterEnvironment=QT_WAYLAND_SHELL_INTEGRATION=layer-shell

[Wayland]
CompositorCommand=kwin_wayland --drm --no-lockscreen --no-global-shortcuts --locale1

I had to follow ’ Match Plasma display configuration’ on the same page:

cp ~/.config/kwinoutputconfig.json /var/lib/sddm/.config/
chown sddm:sddm /var/lib/sddm/.config/kwinoutputconfig.json

Still not sure why it worked on all subsequent uses after the first login, but at least it’s fixed now. No, it’s not fixed. Still way too large elements. They don’t overlap now which is a plus, but they are still too big.

1 Like

Glad that you figured it out,
I unfortunately ran into unforeseen complications during hardware install which took me some time to resolve.

The Plasma 6.2 update might be to blame on for this one.

I fought with this for so long, and a minute after I make the effort to post it here, I’m like: “Why don’t I try this, I forgot if I have done it before” and voila! it works.

Well, at least now there’s a documented issue for others.

I revived this and removed the solution tag. First login is still too big, it’s better but still different from the lock or log user out screen.

Some more details would be helpful, e.g. if the early boot screen and grub are also aren’t at target resolution.
For instance, if the BIOS setting for the UEFI graphics mode is not set correctly (if you haven’t checked already).

Edit: Couldn’t reproduce it on my system that way be disabling UEFI Full HD graphics mode.

Am I guessing right that the Wayland sessions after the login are scaling correctly at least ?

Sorry, forget to mention that. Everything else, beginning from the early boot screen, grub etc is at target resolution. It’s only this login screen which isn’t – and by the way, the resolution of the screen itself should be fine. There is no pixelation or so, it’s proper full hd resolution. It’s only the elements on screen which are not.

Similar to when you switch text size to 125% or so.

So far I’ve checked the the various sddm.conf files on my machine and there isn’t something out of the ordinary which catches my eye.

Anyway, are there currently two different greeters available on my machine (one qt6 variant) and an older one which seems to be the correct one which I’m using. They are located in /usr/bin/ .

For both, the High-DPI Autoscaling is enabled when I call them manually.

% usr/bin/sddm-greeter
10:29:34.442] (II) GREETER: High-DPI autoscaling Enabled

Additionallly, if I’m not mistaken, you could use the drop in configs (eos-plasma-sddm-tconfig) to revert to the standard config provided by EOS.

This sounds promising. Just for confirmation: Do you also have a /etc/sddm.conf.d/10-wayland.conf file with similar contents to mine here?

I strongly suspect if I remove the experimental SDDM wayland config, I can solve this.

No, but kde_settings.conf, which is identical to eos-plasma-sddm-config