2023-04-03, 22:16
(2023-04-03, 20:19)garbear Wrote: I have a PR up to fix the memory exhaustion bug: 23098 (PR).
Great to hear that!
In the meantime, I've successfully built the GL shaders in LibreELEC and even in CoreELEC, because I was curious whether the ARM boxes are actually capable of using the shaders. I've tested the LibreELEC first, running on the Rockchip RK3399. With the shader support for the DMA renderer added, I've got some basic shaders working, but the performance is poor for most of the shaders. I thought that it might be caused partly by the reverse-engineered panfrost OpenGL ES 3.1 driver, so I went to try CoreELEC on Amlogic S922X with the vendor-supplied OpenGL ES 3.2 driver. However, the performance was about the same, and there are plenty of graphic bugs with the vendor OpenGL ES driver when compared to the panfrost driver in LibreELEC (even less shaders work and there is even more bugs).
So the conclusion is that the code is working (at least it can be built, and some shaders are working), but most of the ARM boxes probably are not powerful enough for most of the shaders.
The code is in this branch (https://github.com/KOPRajs/xbmc/commits/video-shaders). The commit from https://github.com/xbmc/xbmc/pull/22211 was also included in my testing builds.