https://bugs.kde.org/show_bug.cgi?id=431217

            Bug ID: 431217
           Summary: Kwin_x11 crashes on rk3399 when OpenGL is enabled with
                    Mesa 20.3 or above
           Product: kwin
           Version: 5.20.4
          Platform: Manjaro
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: scene-opengl
          Assignee: kwin-bugs-n...@kde.org
          Reporter: st...@manjaro.org
  Target Milestone: ---

Created attachment 134607
  --> https://bugs.kde.org/attachment.cgi?id=134607&action=edit
kwin_x11 crash log

SUMMARY
Since Mesa 20.3 release, Kwin 5.20.4 has not been able to run with OpenGL
support on rk3399 ARM boards, like the Rock Pi 4 and Pinebook Pro.

I did a git bisect on mesa to see what commit of theirs caused this behaviour
and found it to be:
https://gitlab.freedesktop.org/mesa/mesa/-/commit/60ebeb4608a871ba89ba081c1c6e7ebdd5efec9a

While, undoing this commit, does indeed give me back OpenGL compositing, the
Mesa devs pointed out in my bug report to them, that it's likely a kwin issue
instead.
Mesa bug report: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4042

STEPS TO REPRODUCE
1. Install Mesa 20.3 on an rk3399 based device (Pinebook Pro was used here)
2. Make sure OpenGL 2.0 is selected in System Settings -> Display -> Compositor
3. Reboot

OBSERVED RESULT
When the Plasma session starts, Kwin_x11 immediately crashes with the attached
output in the crash handler.

EXPECTED RESULT
OpenGL compositing should work just as it does on mesa 20.2.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.20.4
KDE Frameworks Version: 5.77.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to