LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Mobile (https://www.linuxquestions.org/questions/linux-mobile-81/)
-   -   Very glitchy gtk4 with mobile linux gles (https://www.linuxquestions.org/questions/linux-mobile-81/very-glitchy-gtk4-with-mobile-linux-gles-4175729133/)

darkc0der 09-20-2023 01:09 PM

Very glitchy gtk4 with mobile linux gles
 
When i open a gtk4 app, it seems gtk does not auto-detect gles on my phone, and throws a shader compilation error because of wrong glsl version, probably uses desktop opengl who knows... Result is that it totally runs on software and performance is poor, like scrolling and animations and stuff. I later figured that setting the environment variable GDK_DEBUG=gl-gles, when launching gtk4 app, actually enables the gles mode of gtk...but now i get weird glitches here and there when interacting with the app. Here is a short video link that describes the problem better (it is a gtk4 demo app):

https://drive.google.com/file/d/1FGB...usp=drive_link

====Graphics====
gpu: powervr ge8320
gles_version: 3.2
drivers: android compatibility layer (libhybris)
display_server_backend: wayland(supports X) with egl
compositor: phosh compositor phoc


All times are GMT -5. The time now is 04:07 AM.