libera/#maemo-leste/ Tuesday, 2023-01-03

freemangordonWizzup: qt gl load fails on beowulf as well, I guess the reason being https://github.com/qt/qtbase/commit/aa21ac1043d58b9749077a237aab51e14f06d16e09:09
freemangordonso, we have no option but to build 'our' gl plugins09:10
freemangordonWizzup: https://github.com/maemo-leste/qt-platform-maemo/pull/109:28
Wizzupfreemangordon: ty, building for chimaera10:27
freemangordonWizzup: tried to build locally on d4, ended up with:10:28
freemangordondpkg-shlibdeps: warning: symbol __aeabi_atexit@CXXABI_ARM_1.3.3 used by debian/qt-platform-maemo/usr/lib/arm-linux-gnueabihf/libQt5XcbMaemoQpa.so.5.15.2 found in none of the libraries10:28
freemangordonany idea what that might be?10:28
freemangordonhmm https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=97855110:30
Wizzupfreemangordon: looks like CI failed too10:32
Wizzupbut only on amd6410:32
freemangordonfailed? weird, I saw no issue in the VM10:33
Wizzupsorry10:34
Wizzupamd64 was fine10:34
Wizzuparmhf/arm64 is not10:34
freemangordonoh10:34
freemangordon#include <xcb/glx.h>10:34
freemangordonforgot that dependency10:35
freemangordonlemme fix it10:35
Wizzupok10:35
Wizzupfreemangordon: you can push & retag, no need for a new PR10:35
freemangordonsure10:36
freemangordonWTF? :10:40
freemangordon"maemo platform not yet supported"10:40
Wizzuphm?10:40
freemangordonqtwebbrowser10:40
Wizzupyes this is what uvos said10:40
Wizzupit hardcodes some platforms it seems10:40
freemangordonhow nice10:40
Wizzupiiuc10:40
freemangordonseems I have missed what uvos said :)10:41
freemangordonso, who maintains that?10:41
Wizzupwell the package is maintained by him, but it's not clear if this is in the package or in the lib the package uses10:42
Wizzupgrep -r platform doesn't give any hits in the repo10:42
freemangordon/usr/lib/arm-linux-gnueabihf/libQt5WebEngineCore.so.510:44
Wizzupyeah. if we can avoid forking that...10:44
freemangordonlemme see10:44
Wizzupmaybe we can change our name in the json and not in the plugin or something silly10:44
freemangordonyeah10:44
Wizzupsee maemo.json for the name I think10:45
WizzupQ_PLUGIN_METADATA(IID QPlatformIntegrationFactoryInterface_iid FILE "maemo.json")10:45
freemangordonlemme first see what it looks for10:45
Wizzup17:45 < uvos> qwebengine is (or was in beowulf at least) hardcoded to only try gles on xcb or wayland platform modules10:46
Wizzup17:46 < uvos> it tests(ed) on name10:46
freemangordonhttps://code.qt.io/cgit/qt/qtwebengine.git/tree/src/core/content_browser_client_qt.cpp?h=5.15.12#n23410:50
freemangordonwe cannot easily duplicate the platform name10:57
freemangordonas we don;t control the order the plugins are created in10:57
freemangordonI think what we shall do is replace xcb plugin11:00
freemangordondpkg-divert and such11:00
uvos__thats a terrible idea11:17
uvos__since plenty of applications dont work with the maemo plugin11:17
uvos__also since for now qwebengine not using gles is a blessing in disguise, since it renders black with plenty of errors11:18
uvos__so we have time11:18
freemangordonuvos__: well, what is the other option? fork qwebengine?11:19
uvos__so why dont we try petition qt to add "maemo" or give qwebengine a envvar to overide the list11:19
freemangordonI am fine, but Wizzup does not seem to like it :)11:19
uvos__sure we would have to fork it then at least until debian next11:20
freemangordonok11:20
freemangordonand we have to fix chrome engine to actually work11:20
uvos__wrt opengl errors11:21
freemangordonright11:21
uvos__yeah that needs to be fixed first11:21
uvos__unill then it trying gles is good anyhow11:21
uvos__*no trying11:21
uvos__*not11:21
uvos__grr11:21
freemangordonwell, we already fixed that on chimaera11:21
freemangordon'fixed'11:22
freemangordonso it tries and fails11:22
uvos__ok11:22
freemangordonI wonder why it aborts instead if just not loading gl11:22
uvos__ok11:23
uvos__this is different than on beowulf11:23
uvos__there it rendered black11:23
uvos__but otherwise "worked"11:23
freemangordonno, it is same11:23
freemangordonif you do QT_QPA_PLATFORM=xcb it will render black11:24
uvos__yes ok its the same11:24
uvos__i thougt abort ment it asserted or something11:24
freemangordonwith QT_QPA_PLATFORM=maemo (and fixed maemo platform plugin), it aborts, because of https://code.qt.io/cgit/qt/qtwebengine.git/tree/src/core/content_browser_client_qt.cpp?h=5.15.12#n26011:24
freemangordonyes,, qFatal()11:24
uvos__right i mean with xcb11:25
uvos__with maemo it did not abort on beowulf11:25
uvos__it worked in sw11:25
freemangordonWizzup: please, fork qtwebengine from chimaera11:25
freemangordonuvos__: right, but maemo platform plugin was not supporting gl plugins11:26
freemangordonnow it does https://github.com/maemo-leste/qt-platform-maemo/commit/613a6e48eca1679bf315e4720079b1dae764afc911:26
uvos__hmm but it got to the code there "%s platform not yet supported"11:26
uvos__on beowulf11:26
uvos__thats how i knew11:26
uvos__about this list11:26
freemangordonno idea how did you manage to do it11:27
uvos__hm11:27
norayrI broke my xperia's screen in the late december so for days i only have droid4 and pinephone. I don't want another android phone and i dont want to spend money on such a thing, so i will exclusively live under these two - droid4 and  pp.12:48
norayrOn pp under maemo currently it is impossible to charge the kbd and phone. If left alone without load on charge it looses 2% per day.12:50
norayrI know there are kbd charging improvements in newer kernels on pmos, not sure about mainline.12:51
sicelo2% per day? that's kbd or phone?13:01
Wizzupfreemangordon: we can fork it but it will take days to compile iirc13:03
freemangordonWizzup: so, what are the options?13:05
freemangordonthere is some bug in chromium we shall fix either ways13:05
Wizzupok13:06
WizzupI just hope it will work on ci13:06
Wizzupwe'll see13:06
freemangordongit does not13:06
freemangordonapt-get source did13:06
freemangordon(in VM)13:06
Wizzupright, we need to get it from salsa13:07
freemangordonyes, from salsa ;)13:07
Wizzupuvos__: btw, any info and code you can share on elogind is welcome, I can't even install blueman without it13:08
Wizzupor just a status so I can take a look and start helping out13:09
freemangordonudisks2 depends on it too13:14
uvos__Wizzup: theres not more than is packaged, besides some hacks to vaious init scipts i have on a local machine to avoid loading things that break in the xdg session, avoid loading the xsession etc13:16
uvos__so packaged here is autologin/h-s/tindm13:17
uvos__but as mentined before the session work is tangential, since you dont have to use elogind, jus have it installed13:18
uvos__so what we really need is expiramental packages that remove the conflicts with elogind and remvoe the forks that disable it (like in xorg)13:18
uvos__and then running the old xsession and seeing what breaks13:19
uvos__i can runn most everything via hildon-session in vm however with elogind with no issues13:19
uvos__that i have found anyhow13:19
uvos__(besides dependancy hell in the init scripts)13:19
Wizzupuvos__: ok, so I need to start with the packages you made and then check conflicts?13:50
Wizzupwhat will run the x session?13:50
uvos__h-s runs the scripts of the xsession itself13:51
uvos__well most of them, i have jus the basic ones in there on vm13:51
uvos__Wizzup: best thing for you to do13:52
uvos__would be first to remvoe elogind conflicts and the xorg logind disable and depends on the xsession/xorg/h-d init script in expiramental13:53
uvos__since setting up hildon-session with those in place is a pain13:53
uvos__(you have to build x + meta localy and edit alot of scripts to get anything to work)13:54
Wizzupuvos__: ok14:10
Wizzupuvos__: I will set up the chimaera -testing, -devel and -experimental parts14:11
Wizzupnorayr: that sounds good @ kbd14:18
Wizzupfreemangordon: chimaera, chimaera-testing, chimaera-devel, chimaera-experimental ?14:46
freemangordonmhm14:47
freemangordonuvos__: seems glslcompiler error is 'fixed' if --no-sandbox is passed to chromium15:31
uvos__that makes sense15:34
uvos__not that i know why exactly its hapening15:34
uvos__but the engine sanbox is a pretty radical enviroment to dlopen a lib in15:35
Wizzupfreemangordon: so do you want me to try to build qtwebengine fork?16:05
freemangordonyes, why not16:05
Wizzupok16:06
Wizzupthis is to patch qt platform filter?16:06
freemangordonnot only16:06
freemangordonand to hopefully fix qtwebengine to work on PVR16:06
freemangordon31161 @1 glTexSubImage2D(target = GL_TEXTURE_2D, level = 0, xoffset = 0, yoffset = 0, width = 256, height = 256, format = GL_BGRA, type = GL_UNSIGNED_BYTE, pixels = blob(262144))16:14
freemangordon31161: warning: glGetError(glTexSubImage2D) = GL_INVALID_OPERATION16:14
freemangordonthat's our issue with qtwebengine16:14
freemangordonglTexSubImage2D does not support GL_BGRA in es216:15
freemangordonafaik16:16
freemangordonhmm, actually it should be supported16:18
freemangordonbecause driver supports EXT_texture_format_BGRA888816:18
Wizzupfreemangordon: this is the jail problem?16:59
freemangordonno16:59
freemangordonthis is why qtwebbrowser does not work17:00
Wizzupok17:00
freemangordonhmm, this smells like a bug in pvr driver :(17:29
Wizzupwe have afd at least :)17:31
freemangordondo we?17:31
freemangordonI guess I have to create a basic test-case17:33
freemangordonWizzup: do you remember how PVR trace was enabled?17:51
Wizzupfreemangordon: no,sorry18:26
freemangordonoh, maybe the issue is with our mesa:21:01
freemangordonMesa warning: Couldn't add glTexStorage2DEXT to the Mesa dispatch table21:01
freemangordonoh, ok, we have a couple of those21:05
freemangordonyep, this is the issue21:58
freemangordonour mesa does not support GL_EXT_texture_storage/glTexStorage2DEXT21:59
freemangordonwhy it returns pointer to noop function instead of NULL when eglGetProcAddress("glTexStorage2DEXT") is called is mystery to me :(22:01

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