Summary: | Broken rendering with OpenGL compositing on i915 | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Balló György <ballogyor> |
Component: | compositing | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | nate, rachid, sam, vlad.zahorodnii, xaver.hugl, zawertun |
Priority: | NOR | ||
Version: | 6.0.1 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=489229 | ||
Latest Commit: | https://invent.kde.org/plasma/kwin/-/commit/b819606a740e44cf689781175fab7cf7731f162c | Version Fixed In: | 6.1.1 |
Sentry Crash Report: |
Description
Balló György
2024-03-08 12:47:13 UTC
Want to mention that KWin 5 worked fine on this hardware when I set the QT_QUICK_BACKEND=software environment variable. With KWin 6, this no longer works, and complex shaders are used even if this environment variable is set. Having a "limited opengl" mode is probably not feasible, but we can try to compile a shader with all the features used in compositing and fall back to CPU rendering if that fails This still happens on the lasted 6.1.0 version (Gentoo) with the same issues. A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/5991 Git commit 5a0ecdba333dba233d54124909028971260b0f78 by Xaver Hugl. Committed on 25/06/2024 at 13:49. Pushed by zamundaaa into branch 'master'. opengl/eglcontext: bail out early if we can't use complex shaders Some old hardware is very limited in the amount of instructions it can support. In order to not have KWin fail to composite, reject using hardware acceleration in this case and fall back to llvmpipe or QPainter M +10 -1 src/opengl/openglcontext.cpp https://invent.kde.org/plasma/kwin/-/commit/5a0ecdba333dba233d54124909028971260b0f78 Git commit b819606a740e44cf689781175fab7cf7731f162c by Xaver Hugl. Committed on 25/06/2024 at 13:59. Pushed by zamundaaa into branch 'Plasma/6.1'. opengl/eglcontext: bail out early if we can't use complex shaders Some old hardware is very limited in the amount of instructions it can support. In order to not have KWin fail to composite, reject using hardware acceleration in this case and fall back to llvmpipe or QPainter (cherry picked from commit 5a0ecdba333dba233d54124909028971260b0f78) Co-authored-by: Xaver Hugl <xaver.hugl@gmail.com> M +10 -1 src/opengl/openglcontext.cpp https://invent.kde.org/plasma/kwin/-/commit/b819606a740e44cf689781175fab7cf7731f162c |