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.
- Is it caused by fake KMS support? (No, see Update 1)
- How to get full KMS support working? (No need, see Update 1)
- Is this related to the kernel version used?
- Do i need to compile a newer kernel?
Update 1
According to https://www.raspberrypi.org/forums/viewtopic.php?t=159853
using fake KMS
you will end up with Eric's arm side v3d driver, supporting desktop GL from X, but using the original firmware for the kms part.
and with full KMS
The official DSI display is not currently supported.
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
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