Bug 477238 - Display resolution and scaling settings not persistent
Summary: Display resolution and scaling settings not persistent
Status: RESOLVED UPSTREAM
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_kscreen (show other bugs)
Version: master
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: kscreen-bugs-null@kde.org
URL:
Keywords: qt6
: 478345 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-11-19 15:06 UTC by Rune
Modified: 2024-01-23 00:01 UTC (History)
12 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
journalctl --user-unit plasma-kwin_wayland --boot 0 (9.40 KB, text/plain)
2024-01-22 17:08 UTC, Thomas Kowaliczek-Schmer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rune 2023-11-19 15:06:33 UTC
STEPS TO REPRODUCE
1. Boot Neon unstable in a VM
2. Set display resolution and scaling
3. Reboot

OBSERVED RESULT
The display resolution is reset to 800x600 after reboot. Scaling is reset to 100%.

EXPECTED RESULT
The settings should persist after a reboot.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Linux 6.2.0-36-generic
(available in About System)
KDE Plasma Version: 5.81.80
KDE Frameworks Version: 5.245.0
Qt Version: 6.6.0
Comment 1 fanzhuyifan 2023-11-20 01:08:50 UTC
Can confirm on latest KDE neon unstable (wayland).

The display scaling, resolution, and relative position of multiple displays do not survive a logout-relogin.
Comment 2 Nate Graham 2023-11-26 16:51:54 UTC
Cannot reproduce on bare metal. Is this just in a VM?
Comment 3 fanzhuyifan 2023-11-26 18:13:30 UTC
(In reply to Nate Graham from comment #2)
> Cannot reproduce on bare metal. Is this just in a VM?

I am seeing this issue on a bare metal running the latest neon unstable. Let me know if there is any information I should provide!
Comment 4 fanzhuyifan 2023-11-29 03:19:52 UTC
Would someone be able to point me to the relevant code so I could try fixing this?
Comment 5 Nate Graham 2023-11-29 18:02:37 UTC
On Wayland, this stuff lives in KWin now.
Comment 6 fanzhuyifan 2023-12-10 23:51:36 UTC
*** Bug 478345 has been marked as a duplicate of this bug. ***
Comment 7 Rune 2023-12-19 13:43:24 UTC
Just tested: setting an ICC color profile is not remembered either
Comment 8 Thomas Kowaliczek-Schmer 2024-01-21 17:43:26 UTC
I have this problem to on Arch Linux KDE 6 RC1
Comment 9 Zamundaaa 2024-01-22 13:40:01 UTC
Please attach the output of
> journactl --user-unit plasma-kwin_wayland --boot 0
after reproducing the issue.
Comment 10 Stefan Hoffmeister 2024-01-22 14:10:54 UTC
Sounds like https://invent.kde.org/plasma/kwin/-/merge_requests/4913 which was only recently merged.
Comment 11 Thomas Kowaliczek-Schmer 2024-01-22 17:08:21 UTC
Created attachment 165136 [details]
journalctl --user-unit plasma-kwin_wayland --boot 0
Comment 12 Zamundaaa 2024-01-23 00:01:45 UTC
Okay, yeah, should be fixed by that MR. EDID parsing is failing for your display, which should be fixed in a future libdisplay-info release. https://invent.kde.org/plasma/kwin/-/merge_requests/5020 should ensure the config stays the same after that release too