Friday, 2020-09-11

T42Zero %lastname% was added by: Zero %lastname%07:59
piggzrinigus: running angelfish on pinephone gives error 127 and this on console:13:32
piggz[W] unknown:53 - file:///usr/share/flatpak-runner/qml/main.qml:53:26: Unable to assign [undefined] to bool13:32
piggzangelfish: error while loading shared libraries: cannot open shared object file: No such file or directory13:32
piggz[D] expression for onExit:59 - Skipping quit as it will hang the window. Proper exit is needed13:32
malpiggz: what? are you missing mesa-libglapi package from device?14:16
malnot even sure what that used for14:19
piggzmal: no, its installed14:21
malpiggz: strace?14:22
malpiggz: maybe it tells why it can't load it14:22
piggzmal:  it certainly does14:26
malpiggz: anything obvious?14:26
piggzweird places it looks14:26
piggzmust be a flatpak thing?14:27
malhmm, strange14:27
T42<Fusta==Yeryy %lastname%>
riniguspiggz: flatpak apps use their own openGL. I had to generate extension from hybris, for example14:55
piggzrinigus: so, can my mesa pinephone work?14:56
riniguspiggz: should be possible. there should be mesa in platform already, check by getting into flatpak env14:56
rinigusflatpak run --command=sh
rinigusls -l /usr and so on14:57
riniguspiggz: I wonder if you have to install some special mesa extension14:58
piggzrinigus: it looks like it is there14:59
piggzmaybe not in one of the folders shows in the strace14:59
piggz ./usr/lib/arm-linux-gnueabihf/GL/default/lib/
piggzstrace showed GL/host/....15:00
riniguspiggz: I may have disabled that annoying default in flatpak-runner. let's see15:00
piggzwhy is it annoying?15:01
riniguspiggz: it was interfering with hybris devices. so, I had to switch to 'host'15:01
riniguspiggz: in flatpak-runner config, you should be able to make a section [main] and set ld_library_path15:08
rinigusfor it to work, add set_ld_path=1 in the same section. ld_library_path=/usr/lib/arm-linux-gnueabihf/GL/default/lib should do the job15:09
riniguspiggz: code is at
piggzrinigus: where are the conifgs?15:10
riniguspiggz: ^15:10
rinigusbut I don't remember how I managed to get rid of default...15:11
riniguspiggz: or you could try to set set_ld_path=0 in that section and see what it does.15:13
rinigusif you run flatpak-runner from cmd line (flatpak-runner it will print you the used command line. that would show if it is using that path or not15:13
piggzrinigus: hmmmm15:21
piggznow its not even looking in the right place15:21
piggzrinigus: its in command line here
piggzbut its now not in the list
rinigustry to drop that LD_LIBRARY_PATH var by setting set_ld_path=015:28
riniguspiggz ^15:30
riniguspiggz: also one way to test is to run without flatpak-runner: WAYLAND_DISPLAY="../../display/wayland-0" flatpak run
rinigusjust minimize / restore will not work and many other things, but you could see if it starts in principle15:35
piggzlibEGL warning: MESA-LOADER: failed to open sun4i-drm (search paths /usr/lib/dri)15:36
piggzlibEGL warning: MESA-LOADER: failed to open swrast (search paths /usr/lib/dri)15:36
piggzlibEGL warning: MESA-LOADER: failed to open swrast (search paths /usr/lib/dri)15:36
piggz[W] unknown:0 - Failed to initialize EGL display 300115:36
piggzcan i copy libs intto the flatpak env?15:36
rinigusthat is if running plain flatpak?15:36
riniguspiggz: yes, you can for openGL. a sec15:37
riniguspiggz: copy them to ~/.local/share/flatpak/extension/
rinigusand then let flatpak-runner load with ld_path (so drop the settings disabling it)15:38
riniguspiggz: but mesa could be messy as a host extension - it may link to many things15:39
piggzrinigus: when copied to the extension, where should they appear?16:17
riniguspiggz : as they were in that ldpath, I think.16:22
rinigusDo they appear when you start flatpak with shell in it?16:29
riniguspiggz ^16:29
piggzrinigus: ends up here /usr/lib/arm-linux-gnueabihf/GL/host/lib/dri/sun4i-drm_dri.so16:52
piggzbut egl doesnt find it16:52
piggzbecuase its not in the search path16:56
piggzrinigus: maybe set LIBGL_DRIVERS_PATH16:57
riniguspiggz: yeah, any way to adjust that search path? (oh, you replied before me pressing enter)16:58
piggzrinigus: how do i do that for flatpak command?16:59
riniguspiggz: add it as --env=LIBGL_DRIVERS_PATH=/this/is/my/awesome/path16:59
rinigusbetween flatpak and org....17:00
piggzrinigus: i tried that and it said unknown param17:00
piggzangelfish: Unknown option 'env'.17:00
piggzthat is not using flatpak-runner17:00
riniguspiggz: flatpak run --env ...17:01
piggzok, thats different....17:02
rinigusfor flatpak runner approach should be the same: flatpak-runner --env=ABC=cba org.kde....17:02
piggzso, it looks like angelfish starts, but exits17:04
piggznothing displayed, exist code is 017:04
riniguspiggz: what with flatpak-runner?17:04
piggzno, just flatpak17:04
piggzflatpak-runner still has the glapi problem17:04
riniguswith --env?17:05
piggzrinigus: yes....17:20
piggzflatpak-runner --env=LIBGL_DRIVERS_PATH=/usr/lib/arm-linux-gnueabihf/GL/host/lib/dri/ --env=LD_LIBRARY_PATH=/usr/lib/arm-linux-gnueabihf/GL/default/lib/
piggzangelfish: error while loading shared libraries: cannot open shared object file: No such file or directory17:21
riniguspiggz: do those vars get incorporated into the command run by flatpak-runner?17:26
piggzrinigus: i set those vars when running flatpak-runner17:28
riniguspiggz: question is whether you see them in command that is reported on stdout by flatpak-runner17:34
riniguspiggz: sorry for response delays - trying to fix last bits on fedora build before we can get gui :)17:35
piggzrinigus: ah, ok .... no prob, im multi tasking also17:36
piggzprobably not on the tasks my amazifs users whant tho!17:36
riniguspiggz: :)17:39
attahPausmusik på konferensen
piggzrinigus: yes, those params are passed through17:43
attahwait, this is not the irc channel i think it is d'oh17:43
piggzi have to click it now17:44
riniguspiggz: then no clue. you would have to get the strace from normal sfos app, install flatpak Sdk with the same version that you have KDE, run flatpak run --command=sh -d
rinigusand then get strace from flatpak app.17:44
rinigusafter that, get them on PC and start comparing. lengthy and not very funny process :(17:45
piggzrinigus: hows nemo-on-fedora going?17:59
piggzno OBS further news afaict?17:59
riniguspiggz: no OBS news, I presume all are busy with the next sfos release18:00
riniguspiggz: re nemo: we are getting close to start gui the first time. resolving dependencies all over the place. no idea if it will start though :)18:02
mkolmanpiggz, rinigus: I'm involved in Fedora a bit (working on the Fedora installer), let me know if you hit some Fedora specific issues - I might know what it is or even how to fix it :)20:23
rinigusmkolman: thanks, will keep it in mind :)20:50
T42<neochapay> Happy programmers day21:55

Generated by 2.17.1 by Marius Gedminas - find it at!