Bug 477913

Summary: Window does not render properly at sizes larger than 16384x16384
Product: [Plasma] kwin Reporter: level-128
Component: compositingAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal CC: xaver.hugl
Priority: NOR    
Version First Reported In: git master   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description level-128 2023-12-02 14:15:13 UTC
SUMMARY

Window does not render properly at size larger than 16384x16384 under both Xorg and Wayland sessions.

STEPS TO REPRODUCE
1. Stretch the window horizontally or vertically to greater than 16384 pixels.

OBSERVED RESULT
Window Cannot render properly. The window will appear black or include only random artifacts at the time when the size exceeds 16384 pixels horizontally or vertically.

EXPECTED RESULT
Window should display normally. 

SOFTWARE/OS VERSIONS
It appears on any major Plasma versions. The issue persists on Plasma 6.0 Dev.
Comment 1 Zamundaaa 2023-12-02 17:48:00 UTC
16384 is the maximum texture size most GPUs (or at least the drivers) can handle, and thus without trickery on the application side, the maximum size of a window. There's nothing we can do about this.