Bug 508678 - Graphical artifacts when the application window exceeds texture size limits
Summary: Graphical artifacts when the application window exceeds texture size limits
Status: CONFIRMED
Alias: None
Product: kwin
Classification: Plasma
Component: compositing (other bugs)
Version First Reported In: 6.4.4
Platform: Other Linux
: NOR minor
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-08-24 15:43 UTC by chosensoul404
Modified: 2025-10-13 15:29 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:
chosensoul404: Intel+
chosensoul404: Mesa+


Attachments
Video demo (82 bytes, text/plain)
2025-08-24 15:48 UTC, chosensoul404
Details
Video (82 bytes, text/plain)
2025-08-27 20:41 UTC, chosensoul404
Details
B (2.65 MB, video/mp4)
2025-08-27 21:01 UTC, chosensoul404
Details

Note You need to log in before you can comment on or make changes to this bug.
Description chosensoul404 2025-08-24 15:43:23 UTC
SUMMARY
An application window that is too large causes graphical artifacts to display the plasma Wayland session

STEPS TO REPRODUCE
1. Open any program (qt, not sure about gtk)
2. Changing the width/height of an application can be done outside of the root screen 

OBSERVED RESULT
We observe how the parent window and applications are artifacting (plasma session:Wayland)

SOFTWARE/OS VERSIONS

Linux: Linux 6.16.1-arch
KDE Plasma Version: 6.4.4
KDE Frameworks Version: 6.17.0
Qt Version: 6.9.1
Comment 1 chosensoul404 2025-08-24 15:48:37 UTC
Created attachment 184401 [details]
Video demo
Comment 2 TraceyC 2025-08-27 19:51:36 UTC
(In reply to chosensoul404 from comment #1)
> Created attachment 184401 [details]
> Video demo

Thanks for the bug report. Unfortunately, that attachment only has a URL for a resource on Google Drive. Please attach the video directly to this report. Thanks.
Comment 3 chosensoul404 2025-08-27 20:40:04 UTC
(In reply to TraceyC from comment #2)
> (In reply to chosensoul404 from comment #1)
> > Created attachment 184401 [details]
> > Video demo
> 
> Thanks for the bug report. Unfortunately, that attachment only has a URL for
> a resource on Google Drive. Please attach the video directly to this report.
> Thanks.

https://drive.google.com/file/d/1P8r3SOVPQuYAjz-ECwZENmh_oIFoDyiC/view?usp=sharing
Comment 4 chosensoul404 2025-08-27 20:41:18 UTC
Created attachment 184509 [details]
Video
Comment 5 chosensoul404 2025-08-27 20:44:03 UTC
Can't I insert the link or I didn't insert it correctly
Comment 6 chosensoul404 2025-08-27 21:01:48 UTC
Created attachment 184511 [details]
B
Comment 7 TraceyC 2025-08-28 17:24:11 UTC
Thanks for attaching the video, that's helpful. What I see:

A Konsole window and a OBS window on a single display
- Click on the Konsole window
- Move it to the left until the left side is off the visual display
- Repeatedly change the width by dragging the right side left and right (using Meta + right mouse button) until the glitch happens. In the video, this is on the 8th widening.
- When it happens, all the windows, panels and desktop behind the Konsole window flicker when resizing or moving it until it's closed.
Comment 8 Zamundaaa 2025-10-13 15:29:47 UTC
Not sure what to do about this tbh. At some texture size, the GPU just doesn't support it anymore, so uploading the buffer from the app just won't work... Maybe we could force the maximum size of each window to be less than the maximum texture size of the GPU, but as that can be different between GPUs, that's not so simple to do.

Perhaps the best thing to do instead is to replace the window with some solid color or other placeholder. That way we'd at least avoid the OpenGL errors and more terrible glitches.