Bug 511940

Summary: Plasma6 x11 session can not load desktop (black screen) when the screen resolution is 5k (5120x2880)
Product: [Plasma] kwin Reporter: wacke <cao88yu>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: REPORTED ---    
Severity: normal CC: kdedev, natalie_clarius
Priority: NOR Keywords: X11-only
Version First Reported In: 6.5.1   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: black screen with screen edge serched app running
edid binarys (studio display and 4k preferred 5k max)

Description wacke 2025-11-11 01:29:16 UTC
Created attachment 186685 [details]
black screen with screen edge serched app running

SUMMARY
Chose the x11 session and enter the password on sddm screen(sddm screen showed correctly 5k resolution),the plasma6 x11 session starting to load, then got a black screen with a mouse cursor, but the screen edges working (can serch app to run).
But, if there is a screen (or just edid) that with 4k resolution preferred and 5k resolution max, the desktop would be loaded just fine, and then 5k resolution will also working.

STEPS TO REPRODUCE
1. Install the NVIDIA driver and plug a 5k resolution screen;
2. Chose plasma6 x11 session, enter the login password;

OBSERVED RESULT
The desktop can not load currectly, black screen with mouse cursor and screen edges.

EXPECTED RESULT
Load the x11 desktop session currectly.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma:  openSUSE Tumbleweed
KDE Plasma Version: 6.5.1
KDE Frameworks Version: 6.19.0
Qt Version: 6.10.0

ADDITIONAL INFORMATION
Hardware:
AMD 5950x/ASUS x570e/NVIDIA RTX 3070/Apple studiodisplay;
AMD 9900x/MSI x870e/NVIDIA RTX 5060/Apple studiodisplay;
Tested with same results.
Comment 1 wacke 2025-11-11 01:40:58 UTC
Created attachment 186686 [details]
edid binarys (studio display and 4k preferred 5k max)
Comment 2 TraceyC 2025-12-01 22:03:01 UTC
Thanks for the bug report. Do you also have this problem with a Wayland session, if you log into a Wayland session?
Comment 3 wacke 2025-12-01 23:49:01 UTC
(In reply to TraceyC from comment #2)
> Thanks for the bug report. Do you also have this problem with a Wayland
> session, if you log into a Wayland session?

Thanks for the reply. There was no such problem when I logged into a Wayland session.
ps:  I've also tested the Plasma 5.27 x11 session, there was no problem too.
Comment 4 TraceyC 2025-12-02 17:26:14 UTC
Thanks for confirming and for the additional testing. Those with more experience in this area will have to look into it from here.