| Summary: | Desktop Effects that involve squash and stretch are obscured by white pixels | ||
|---|---|---|---|
| Product: | [Plasma] kwin | Reporter: | pawlowski486 |
| Component: | effects-various | Assignee: | KWin default assignee <kwin-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | nate, pawlowski486, vlad.zahorodnii, xaver.hugl |
| Priority: | NOR | Keywords: | qt6 |
| Version First Reported In: | 5.91.0 | ||
| Target Milestone: | --- | ||
| Platform: | openSUSE | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/plasma/kwin/-/commit/6c6be75fdf6e6ab10c00cad506501778b12cd931 | Version Fixed/Implemented In: | 6.0 |
| Sentry Crash Report: | |||
| Attachments: |
Output from journalctl --user-unit plasma-kwin_wayland --boot 0
Output from journalctl with source Output from journalctl still broken |
||
|
Description
pawlowski486
2024-01-02 01:27:39 UTC
This looks like some shader doesn't compile. Please attach the output of
> journalctl --user-unit plasma-kwin_wayland --boot 0
after triggering one of the effects, it should contain warnings about why that's happening
Created attachment 164835 [details]
Output from journalctl --user-unit plasma-kwin_wayland --boot 0
Text file with console output is attached. Please note that I only get output when running in a Wayland session and only when not using sudo. If I'm in X11 or I append sudo to the start of the command, I get -- No entries -- Hopefully this helps; I don't see anything specifically mentioning desktop effects in there but I also don't know what I'd be looking for. A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/4902 Okay, there's definitely a shader not compiling. It's hard to say what exactly is going on without the shader source though; that MR should help diagnose these kinds of problems. Git commit 427ce522a22fde6d9ea5ec46e3749195281cdc84 by Xaver Hugl. Committed on 12/01/2024 at 21:42. Pushed by zamundaaa into branch 'master'. opengl/glshader: print the shader source if compilation fails The shader log is almost entirely useless without the source M +5 -0 src/opengl/glshader.cpp https://invent.kde.org/plasma/kwin/-/commit/427ce522a22fde6d9ea5ec46e3749195281cdc84 A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/4905 Git commit df4657c9636a570e8dfb43d5852a4a9e01a7ed90 by Xaver Hugl. Committed on 12/01/2024 at 22:17. Pushed by zamundaaa into branch 'Plasma/6.0'. opengl/glshader: print the shader source if compilation fails The shader log is almost entirely useless without the source (cherry picked from commit 427ce522a22fde6d9ea5ec46e3749195281cdc84) M +5 -0 src/opengl/glshader.cpp https://invent.kde.org/plasma/kwin/-/commit/df4657c9636a570e8dfb43d5852a4a9e01a7ed90 Created attachment 164939 [details]
Output from journalctl with source
I think this version has the source you're looking for. It definitely looks different than the old version.
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/4944 Git commit ed339de9536aab453701fff3488e0f9ea2f4de91 by Xaver Hugl. Committed on 16/01/2024 at 14:42. Pushed by zamundaaa into branch 'master'. opengl/glshadermanager: add missing newline M +1 -1 src/opengl/glshadermanager.cpp https://invent.kde.org/plasma/kwin/-/commit/ed339de9536aab453701fff3488e0f9ea2f4de91 Git commit 12c3197ca6839a2a470d3712a4bad4f6c71aa3ef by Xaver Hugl. Committed on 16/01/2024 at 14:55. Pushed by zamundaaa into branch 'Plasma/6.0'. opengl/glshadermanager: add missing newline (cherry picked from commit ed339de9536aab453701fff3488e0f9ea2f4de91) M +1 -1 src/opengl/glshadermanager.cpp https://invent.kde.org/plasma/kwin/-/commit/12c3197ca6839a2a470d3712a4bad4f6c71aa3ef Created attachment 165027 [details]
Output from journalctl still broken
I am still seeing the issue on both X11 and Wayland on my laptop. Hopefully I have the latest updates from KDE and it was appropriate for me to reopen this bug report. I have attached a new journalctl output since it is significantly different.
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/4992 A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/4993 Git commit 0284610effee77a5295aa969eb5ba168a667a328 by Vlad Zahorodnii. Committed on 19/01/2024 at 15:44. Pushed by vladz into branch 'master'. opengl: Fix parsing of the else branch `it` points to `#else`. We need to move to the next line. M +1 -0 src/opengl/glshadermanager.cpp https://invent.kde.org/plasma/kwin/-/commit/0284610effee77a5295aa969eb5ba168a667a328 Git commit 7ba7ddfee8ae51827646c1419dcd368917ca2ba9 by Vlad Zahorodnii. Committed on 19/01/2024 at 15:57. Pushed by vladz into branch 'master'. opengl: Let OpenGL implementation handle if preprocessor directive It's less error prone and handles cases like if/elif/else better, etc. M +2 -2 src/opengl/colormanagement.glsl M +0 -37 src/opengl/glshadermanager.cpp https://invent.kde.org/plasma/kwin/-/commit/7ba7ddfee8ae51827646c1419dcd368917ca2ba9 Git commit 617acb537f4f224a17da4239adaf05484e787caf by Vlad Zahorodnii. Committed on 22/01/2024 at 09:33. Pushed by vladz into branch 'Plasma/6.0'. opengl: Let OpenGL implementation handle if preprocessor directive It's less error prone and handles cases like if/elif/else better, etc. (cherry picked from commit 7ba7ddfee8ae51827646c1419dcd368917ca2ba9) M +2 -2 src/opengl/colormanagement.glsl M +0 -37 src/opengl/glshadermanager.cpp https://invent.kde.org/plasma/kwin/-/commit/617acb537f4f224a17da4239adaf05484e787caf Git commit 6c6be75fdf6e6ab10c00cad506501778b12cd931 by Vlad Zahorodnii. Committed on 22/01/2024 at 09:33. Pushed by vladz into branch 'Plasma/6.0'. opengl: Fix parsing of the else branch `it` points to `#else`. We need to move to the next line. (cherry picked from commit 0284610effee77a5295aa969eb5ba168a667a328) M +1 -0 src/opengl/glshadermanager.cpp https://invent.kde.org/plasma/kwin/-/commit/6c6be75fdf6e6ab10c00cad506501778b12cd931 |