T42 | Zero %lastname% was added by: Zero %lastname% | 07:59 |
---|---|---|
piggz | rinigus: 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 bool | 13:32 |
piggz | angelfish: error while loading shared libraries: libglapi.so.0: cannot open shared object file: No such file or directory | 13:32 |
piggz | [D] expression for onExit:59 - Skipping quit as it will hang the window. Proper exit is needed | 13:32 |
mal | piggz: what? are you missing mesa-libglapi package from device? | 14:16 |
mal | not even sure what that used for | 14:19 |
piggz | mal: no, its installed | 14:21 |
mal | piggz: strace? | 14:22 |
mal | piggz: maybe it tells why it can't load it | 14:22 |
piggz | mal: it certainly does | 14:26 |
mal | piggz: anything obvious? | 14:26 |
piggz | https://paste.mozilla.org/nUKSgVO6 | 14:26 |
piggz | weird places it looks | 14:26 |
piggz | must be a flatpak thing? | 14:27 |
mal | hmm, strange | 14:27 |
T42 | <Fusta==Yeryy %lastname%> T.me/BECKER_OPTIONS | 14:54 |
rinigus | piggz: flatpak apps use their own openGL. I had to generate extension from hybris, for example | 14:55 |
piggz | rinigus: so, can my mesa pinephone work? | 14:56 |
rinigus | piggz: should be possible. there should be mesa in platform already, check by getting into flatpak env | 14:56 |
rinigus | flatpak run --command=sh org.kde.mobile.angelfish | 14:57 |
rinigus | ls -l /usr and so on | 14:57 |
rinigus | piggz: I wonder if you have to install some special mesa extension | 14:58 |
piggz | rinigus: it looks like it is there | 14:59 |
piggz | however | 14:59 |
piggz | maybe not in one of the folders shows in the strace | 14:59 |
piggz | ./usr/lib/arm-linux-gnueabihf/GL/default/lib/libglapi.so.0 | 14:59 |
piggz | strace showed GL/host/.... | 15:00 |
rinigus | piggz: I may have disabled that annoying default in flatpak-runner. let's see | 15:00 |
piggz | why is it annoying? | 15:01 |
rinigus | piggz: it was interfering with hybris devices. so, I had to switch to 'host' | 15:01 |
rinigus | piggz: in flatpak-runner config, you should be able to make a section [main] and set ld_library_path | 15:08 |
rinigus | for 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 job | 15:09 |
rinigus | piggz: code is at https://github.com/sailfishos-flatpak/flatpak-runner/blob/master/src/runner.cpp#L140 | 15:09 |
piggz | rinigus: where are the conifgs? | 15:10 |
rinigus | .config/flatpak-runner/ | 15:10 |
rinigus | piggz: ^ | 15:10 |
rinigus | but I don't remember how I managed to get rid of default... | 15:11 |
rinigus | piggz: or you could try to set set_ld_path=0 in that section and see what it does. | 15:13 |
rinigus | if you run flatpak-runner from cmd line (flatpak-runner org.kde.mobile.angelfish) it will print you the used command line. that would show if it is using that path or not | 15:13 |
piggz | rinigus: hmmmm | 15:21 |
piggz | now its not even looking in the right place | 15:21 |
piggz | rinigus: its in command line here https://paste.mozilla.org/KrUJzaGw | 15:23 |
piggz | but its now not in the list https://paste.mozilla.org/UxpMhuPN | 15:24 |
rinigus | try to drop that LD_LIBRARY_PATH var by setting set_ld_path=0 | 15:28 |
rinigus | piggz ^ | 15:30 |
rinigus | piggz: also one way to test is to run without flatpak-runner: WAYLAND_DISPLAY="../../display/wayland-0" flatpak run org.kde.mobile.angelfish | 15:34 |
rinigus | just minimize / restore will not work and many other things, but you could see if it starts in principle | 15:35 |
piggz | rinigus: | 15:36 |
piggz | libEGL warning: MESA-LOADER: failed to open sun4i-drm (search paths /usr/lib/dri) | 15:36 |
piggz | libEGL warning: MESA-LOADER: failed to open swrast (search paths /usr/lib/dri) | 15:36 |
piggz | libEGL warning: MESA-LOADER: failed to open swrast (search paths /usr/lib/dri) | 15:36 |
piggz | [W] unknown:0 - Failed to initialize EGL display 3001 | 15:36 |
piggz | can i copy libs intto the flatpak env? | 15:36 |
rinigus | that is if running plain flatpak? | 15:36 |
piggz | yes | 15:37 |
rinigus | piggz: yes, you can for openGL. a sec | 15:37 |
rinigus | piggz: copy them to ~/.local/share/flatpak/extension/org.freedesktop.Platform.GL.host/arm/1.4/lib | 15:38 |
rinigus | and then let flatpak-runner load with ld_path (so drop the settings disabling it) | 15:38 |
rinigus | piggz: but mesa could be messy as a host extension - it may link to many things | 15:39 |
piggz | rinigus: when copied to the extension, where should they appear? | 16:17 |
rinigus | piggz : as they were in that ldpath, I think. | 16:22 |
rinigus | Do they appear when you start flatpak with shell in it? | 16:29 |
rinigus | piggz ^ | 16:29 |
piggz | rinigus: ends up here /usr/lib/arm-linux-gnueabihf/GL/host/lib/dri/sun4i-drm_dri.so | 16:52 |
piggz | but egl doesnt find it | 16:52 |
piggz | becuase its not in the search path | 16:56 |
piggz | rinigus: maybe set LIBGL_DRIVERS_PATH | 16:57 |
rinigus | piggz: yeah, any way to adjust that search path? (oh, you replied before me pressing enter) | 16:58 |
piggz | rinigus: how do i do that for flatpak command? | 16:59 |
rinigus | piggz: add it as --env=LIBGL_DRIVERS_PATH=/this/is/my/awesome/path | 16:59 |
rinigus | between flatpak and org.... | 17:00 |
piggz | rinigus: i tried that and it said unknown param | 17:00 |
piggz | angelfish: Unknown option 'env'. | 17:00 |
piggz | that is not using flatpak-runner | 17:00 |
rinigus | piggz: flatpak run --env ... | 17:01 |
piggz | ok, thats different.... | 17:02 |
rinigus | for flatpak runner approach should be the same: flatpak-runner --env=ABC=cba org.kde.... | 17:02 |
piggz | so, it looks like angelfish starts, but exits | 17:04 |
piggz | nothing displayed, exist code is 0 | 17:04 |
rinigus | piggz: what with flatpak-runner? | 17:04 |
piggz | no, just flatpak | 17:04 |
piggz | flatpak-runner still has the glapi problem | 17:04 |
rinigus | with --env? | 17:05 |
piggz | rinigus: yes.... | 17:20 |
piggz | flatpak-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/ org.kde.mobile.angelfish | 17:20 |
piggz | Starting: org.kde.mobile.angelfish | 17:20 |
piggz | ..... | 17:21 |
piggz | angelfish: error while loading shared libraries: libglapi.so.0: cannot open shared object file: No such file or directory | 17:21 |
rinigus | piggz: do those vars get incorporated into the command run by flatpak-runner? | 17:26 |
piggz | rinigus: i set those vars when running flatpak-runner | 17:28 |
rinigus | piggz: question is whether you see them in command that is reported on stdout by flatpak-runner | 17:34 |
rinigus | piggz: sorry for response delays - trying to fix last bits on fedora build before we can get gui :) | 17:35 |
piggz | rinigus: ah, ok .... no prob, im multi tasking also | 17:36 |
piggz | probably not on the tasks my amazifs users whant tho! | 17:36 |
rinigus | piggz: :) | 17:39 |
attah | Pausmusik på konferensen https://www.youtube.com/watch?v=mQnF1BBBtXs | 17:41 |
piggz | rinigus: yes, those params are passed through | 17:43 |
attah | wait, this is not the irc channel i think it is d'oh | 17:43 |
attah | sorry! | 17:43 |
piggz | i have to click it now | 17:44 |
rinigus | piggz: 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 org.kde.mobile.angelfish | 17:44 |
rinigus | and then get strace from flatpak app. | 17:44 |
rinigus | after that, get them on PC and start comparing. lengthy and not very funny process :( | 17:45 |
piggz | rinigus: hows nemo-on-fedora going? | 17:59 |
piggz | no OBS further news afaict? | 17:59 |
rinigus | piggz: no OBS news, I presume all are busy with the next sfos release | 18:00 |
rinigus | piggz: 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 |
mkolman | piggz, 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 |
rinigus | mkolman: thanks, will keep it in mind :) | 20:50 |
T42 | <neochapay> Happy programmers day | 21:55 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!