Summary: | SDDM kwin_wayland ignores set screen resolution | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | tagwerk19 |
Component: | wayland-generic | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | REOPENED --- | ||
Severity: | normal | CC: | nate, xaver.hugl |
Priority: | NOR | ||
Version First Reported In: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Neon | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
kscreen/output - Virtual-0 (QXL)
kscreen/output - Virtual-1 (Virtio) SDDM screen - As seen when using X11 SDDM screen - As seen with Wayland and QXL video SDDM screen - As seen with Wayland and Virtio video User Session - After logging on with X11 User Session - After logging on with Wayland and Virtio Video |
Description
tagwerk19
2023-09-19 06:52:17 UTC
You need to synchronize the user settings to sddm in the sddm settings. This is not something that's currently done automatically (In reply to Zamundaaa from comment #1) > You need to synchronize the user settings to sddm in the sddm settings. This > is not something that's currently done automatically In System Settings > Startup and Shutdown > Login Screen (SDDM) and Apply Plasma Settings? On Neon Unstable, this inserts some "themeing" information into /etc/sddm.conf.d/kde_settings.conf. I don't think there's anything there about screen size. If I logout/reboot, I still get the 1024/768 logon screen. This does seem related to having "DisplayServer=wayland" (as is set in F38), reopening if that's OK.... Yes. It doesn't only add theming settings to that config, but it also copies KScreen configs to the sddm user directory (so into /var/lib/sddm/.local/share/kscreen) that KWin is then supposed to pick up. If it does copy those files for you but it still doesn't set the correct mode, then maybe something is broken specifically for virtual machines (In reply to Zamundaaa from comment #3) > ... so into /var/lib/sddm/.local/share/kscreen ... That's cheating! It's hidden folder! 8-) > ... If it does copy those files for you but it still doesn't set the correct mode ... Looks like I've got two json files under /var/lib/sddm/.local/share/kscreen/output The info, for both Virtual-0 and Virtual-1, looks similar to that in my: /etc/share/X11/xorg.conf.d/50-monitor.conf > ... then maybe something is broken specifically for virtual machines ... I've only tried this on VMs, so yes it could be specific. Let me try moving the VM to a different host Created attachment 161794 [details]
kscreen/output - Virtual-0 (QXL)
Created attachment 161795 [details]
kscreen/output - Virtual-1 (Virtio)
Created attachment 161796 [details]
SDDM screen - As seen when using X11
Without any sddm.conf setup, maybe falling back to X
Created attachment 161797 [details]
SDDM screen - As seen with Wayland and QXL video
A corner of the screen anyway...
Created attachment 161798 [details]
SDDM screen - As seen with Wayland and Virtio video
Same corner, slightly larger logon screen...
Created attachment 161799 [details]
User Session - After logging on with X11
The full 1440/900 screen size...
Created attachment 161800 [details]
User Session - After logging on with Wayland and Virtio Video
Screen size for both X11 and Wayland has been set to 1440/900 in system settings - and seems to work
(In reply to tagwerk19 from comment #4) > ... Let me try moving the VM to a different host ... That was far messier than I had expected but I've now got a consistant setup; Fedora 38 KVM host with Fedora 38 (plus Neon Unstable) guests. The behaviour changes and seems to point to something VM related. If SDDM is configured for Wayland and VM set up with QXL video, the SDDM screen is 1024/768. With Virtio video, the screen is "nearly" 1440/900, not full screen but the aspect ratio looks better. I've attached the kscreen/output files and some screenshots of (corners of) the SDDM screen: With SDDM using X, with it using Wayland and QXL and Virtio video, and after logon, with X11 and Wayland Virtio. |