Sunday, 2024-04-14

*** amccarthy is now known as Guest108209:49
*** amccarthy_ is now known as amccarthy09:49
T42_<TheVancedGamer> mal: figured you're the best person to ask this; having some issues with GPU compositing in QtWebengine, apitraced it, and this is what I got:13:10
T42_<TheVancedGamer> ```13:10
T42_<TheVancedGamer> 5538 @1 eglCreateContext(dpy = 0x1, config = 0x9, share_context = 0xb7581220, attrib_list = [EGL_CONTEXT_MAJOR_VERSION, 3, EGL_CONTEXT_MINOR_VERSION, 0, EGL_NONE]) = NULL```13:10
T42_<TheVancedGamer> 13:10
T42_<TheVancedGamer> it seems interesting, that would hint that libhybris is failing here:13:10
T42_<TheVancedGamer> https://github.com/libhybris/libhybris/blob/9dea23ce225eb03e2c2f9091ea1cde0b33c6098c/hybris/egl/egl.c#L40713:10
T42_<TheVancedGamer> any ideas?13:10
T42_<TheVancedGamer> mal: figured you're the best person to ask this; having some issues with GPU compositing in QtWebengine, apitraced it, and this is what I got:13:11
T42_<TheVancedGamer> ```13:11
T42_<TheVancedGamer> 5538 @1 eglCreateContext(dpy = 0x1, config = 0x9, share_context = 0xb7581220, attrib_list = [EGL_CONTEXT_MAJOR_VERSION, 3, EGL_CONTEXT_MINOR_VERSION, 0, EGL_NONE]) = NULL```13:11
T42_<TheVancedGamer> 13:11
T42_<TheVancedGamer> it seems interesting, that would hint that libhybris is failing here:13:11
T42_<TheVancedGamer> https://github.com/libhybris/libhybris/blob/9dea23ce225eb03e2c2f9091ea1cde0b33c6098c/hybris/egl/egl.c#L40713:11
T42_<TheVancedGamer> any ideas? (edited)13:11
malhow does fail?13:14
T42_<TheVancedGamer> getting NULL value13:14
malwhich device?13:14
T42_<TheVancedGamer> I don't think that's supposed to happen13:14
T42_<TheVancedGamer> FP2 running Halium 713:15
T42_<TheVancedGamer> ah, wait13:15
T42_<TheVancedGamer> it is probing for version 313:15
T42_<TheVancedGamer> is that problematic maybe?13:15
malif it fails in that line, how does it not find the symbol? I assume you meant it can't find eglCreateContext symbol13:17
T42_<TheVancedGamer> it does find eglCreateContext from libhybris, but I think it fails on android side, because the function just returns NULL13:18
malanything in logcat?13:18
T42_<NotKit> it could be that device simply doesn't support what it is asked of13:19
T42_<NotKit> how recent is GL ES 3.0?13:19
T42_<TheVancedGamer> 201213:20
T42_<TheVancedGamer> hm13:20
T42_<TheVancedGamer> how can I check if device has GLES3?13:20
T42_<NotKit> https://git.sr.ht/~eliasnaur/gio/commit/e690c14ddc9f13:20
T42_<TheVancedGamer> oh well13:21
T42_<TheVancedGamer> so it doesn't support GLES313:21
malhmm, I need test a bit13:22
T42_<NotKit> it's a bit confusing, as web search shows Snap 801 claimed to support 3.013:22
malin sailfish libhybris test_glesv3 works fine on fp213:23
T42_<TheVancedGamer> interesting13:24
T42_<TheVancedGamer> what blobs?13:24
malthis is using the 18.04 release from fairphone13:25
T42_<TheVancedGamer> hm, we're using the same blobs13:25
mal@TheVancedGamer have you tried that test_glesv3?13:26
T42_<TheVancedGamer> it turned on screen but it's blank :P13:27
malwhich EGL_PLATFORM?13:27
T42_<TheVancedGamer> empty13:27
malI use hwcomposer13:28
T42_<TheVancedGamer> it's segfaulting13:28
T42_<TheVancedGamer> weird13:28
T42_<TheVancedGamer> I stopped all UI too13:28
mal@TheVancedGamer how did you test QtWebengine ?13:51
T42_<TheVancedGamer> just opening it normally with gpu compositing enabled13:52
T42_<TheVancedGamer> I found the issue anyway, it was indeed glesv3 not being supported13:52
T42_<TheVancedGamer> disabling it launched qtwebengine fine and accelerated13:52
malstill odd why it works for me13:54
malI meant which program did you use for qtwebengine test13:54
T42_<TheVancedGamer> morph-browser13:55
T42_<TheVancedGamer> the native browser in UT13:55
malok13:55
T42_<TheVancedGamer> mal: are you sure FP2 has proper, full GLESv3? the libraries seem to indicate it doesn't14:21
malnot sure14:26
malthis is what the test does https://github.com/libhybris/libhybris/blob/master/hybris/tests/test_glesv3.cpp#L7714:27
malit does define context version 314:27
malstill odd why that test fails for you but works for me14:30
malunless I have somehow manually enabled gles 3 in my build, can't be sure of that, so long when I did the port14:32
Mister_Magistermal: how you doing?19:15
malok19:17
Mister_Magisterthats better than me :P21:02
malwhy do you ask?21:14
Mister_Magistercause i consider u a friend :)21:15
mal:)21:18

Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!