Open rnixx opened 5 years ago
Update. Just tried libdrm 2.4.89 and mesa 18.2.3, still flickering :/
Here's the GL related part of kivy startup log
[INFO ] [Window ] Provider: sdl2(['window_egl_rpi'] ignored)
[INFO ] [GL ] OpenGL version <2.1 Mesa 18.2.3 (git-d219361b42)>
[INFO ] [GL ] OpenGL vendor <Broadcom>
[INFO ] [GL ] OpenGL renderer <VC4 V3D 2.1>
[INFO ] [GL ] OpenGL parsed version: 2, 1
[INFO ] [GL ] Shading version <1.20>
[INFO ] [GL ] Texture max size <2048>
[INFO ] [GL ] Texture max units <16>
[DEBUG ] [Shader ] Fragment compiled successfully
[DEBUG ] [Shader ] Vertex compiled successfully
Update Just compiled SDL2-2.0.8, SDL2_image-2.0.2, SDL2_mixer-2.0.2, SDL2_ttf-2.0.14 from scratch and recompiled kivy master, still flickering
As follow up to https://www.raspberrypi.org/forums/viewtopic.php?f=66&t=216804&sid=ec34b06448df3af11a672114c671adfd&start=25 i decided to give custom compilation a try and ended up with this procedure https://gist.github.com/rnixx/a5fad25f181c0f985211c0cab70cae7e
Basically i built the lowest possible versions of libdrm and mesa addressing the memory leak (libdrm 2.4.75, mesa 18.1.6)
After building kivy against the new libs, i was able to start a kivy app when enabling fake KMS support (full KMS support failed entirely -> black screen).
The driver seems to fix the memory leak, however, the UI is flickering heavily.
Update 1
According to https://www.raspberrypi.org/forums/viewtopic.php?t=159853
using fake KMS
and with full KMS
Since I am testing with the DSI display, full KMS is not an option then.
--
May you be so kind and point me some hints?
Thanks for your patience