*** amccarthy is now known as Guest1082 | 09:49 | |
*** amccarthy_ is now known as amccarthy | 09: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#L407 | 13: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#L407 | 13:11 |
T42_ | <TheVancedGamer> any ideas? (edited) | 13:11 |
mal | how does fail? | 13:14 |
T42_ | <TheVancedGamer> getting NULL value | 13:14 |
mal | which device? | 13:14 |
T42_ | <TheVancedGamer> I don't think that's supposed to happen | 13:14 |
T42_ | <TheVancedGamer> FP2 running Halium 7 | 13:15 |
T42_ | <TheVancedGamer> ah, wait | 13:15 |
T42_ | <TheVancedGamer> it is probing for version 3 | 13:15 |
T42_ | <TheVancedGamer> is that problematic maybe? | 13:15 |
mal | if it fails in that line, how does it not find the symbol? I assume you meant it can't find eglCreateContext symbol | 13:17 |
T42_ | <TheVancedGamer> it does find eglCreateContext from libhybris, but I think it fails on android side, because the function just returns NULL | 13:18 |
mal | anything in logcat? | 13:18 |
T42_ | <NotKit> it could be that device simply doesn't support what it is asked of | 13:19 |
T42_ | <NotKit> how recent is GL ES 3.0? | 13:19 |
T42_ | <TheVancedGamer> 2012 | 13:20 |
T42_ | <TheVancedGamer> hm | 13:20 |
T42_ | <TheVancedGamer> how can I check if device has GLES3? | 13:20 |
T42_ | <NotKit> https://git.sr.ht/~eliasnaur/gio/commit/e690c14ddc9f | 13:20 |
T42_ | <TheVancedGamer> oh well | 13:21 |
T42_ | <TheVancedGamer> so it doesn't support GLES3 | 13:21 |
mal | hmm, I need test a bit | 13:22 |
T42_ | <NotKit> it's a bit confusing, as web search shows Snap 801 claimed to support 3.0 | 13:22 |
mal | in sailfish libhybris test_glesv3 works fine on fp2 | 13:23 |
T42_ | <TheVancedGamer> interesting | 13:24 |
T42_ | <TheVancedGamer> what blobs? | 13:24 |
mal | this is using the 18.04 release from fairphone | 13:25 |
T42_ | <TheVancedGamer> hm, we're using the same blobs | 13:25 |
mal | @TheVancedGamer have you tried that test_glesv3? | 13:26 |
T42_ | <TheVancedGamer> it turned on screen but it's blank :P | 13:27 |
mal | which EGL_PLATFORM? | 13:27 |
T42_ | <TheVancedGamer> empty | 13:27 |
mal | I use hwcomposer | 13:28 |
T42_ | <TheVancedGamer> it's segfaulting | 13:28 |
T42_ | <TheVancedGamer> weird | 13:28 |
T42_ | <TheVancedGamer> I stopped all UI too | 13:28 |
mal | @TheVancedGamer how did you test QtWebengine ? | 13:51 |
T42_ | <TheVancedGamer> just opening it normally with gpu compositing enabled | 13:52 |
T42_ | <TheVancedGamer> I found the issue anyway, it was indeed glesv3 not being supported | 13:52 |
T42_ | <TheVancedGamer> disabling it launched qtwebengine fine and accelerated | 13:52 |
mal | still odd why it works for me | 13:54 |
mal | I meant which program did you use for qtwebengine test | 13:54 |
T42_ | <TheVancedGamer> morph-browser | 13:55 |
T42_ | <TheVancedGamer> the native browser in UT | 13:55 |
mal | ok | 13:55 |
T42_ | <TheVancedGamer> mal: are you sure FP2 has proper, full GLESv3? the libraries seem to indicate it doesn't | 14:21 |
mal | not sure | 14:26 |
mal | this is what the test does https://github.com/libhybris/libhybris/blob/master/hybris/tests/test_glesv3.cpp#L77 | 14:27 |
mal | it does define context version 3 | 14:27 |
mal | still odd why that test fails for you but works for me | 14:30 |
mal | unless I have somehow manually enabled gles 3 in my build, can't be sure of that, so long when I did the port | 14:32 |
Mister_Magister | mal: how you doing? | 19:15 |
mal | ok | 19:17 |
Mister_Magister | thats better than me :P | 21:02 |
mal | why do you ask? | 21:14 |
Mister_Magister | cause 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/!