![]() |
Re: Flatpak on Sailfish OS
Just installed flatpak to my XA2
Code:
[nemo@Sailfish ~]$ flatpak-runner org.kde.mobile.angelfish |
Re: Flatpak on Sailfish OS
Quote:
As for spinning disk, logo and absence of action. Don't forget that we have SFOS app (flatpak-runner) which starts first, then flatpak app is started with Wayland display pointing to the display created by flatpak-runner. Hence, spinning disk is just provided by flatpak-runner itself. I guess in XA2 case, it gets stuck with some hybris trouble and never finishes the flatpak process. |
Re: Flatpak on Sailfish OS
i have 0.0.5.34 on my XA2
what can be debugged? |
Re: Flatpak on Sailfish OS
Quote:
Let's start with the simple test (assuming that all got installed and you did reboot after that): Code:
flatpak run --command=sh org.kde.mobile.angelfish I wonder if you run flatpak-runner without any arguments (just from launcher) to initialize hybris extension? It is maybe easy to miss in the instructions. If flatpak is working (shell in it is accessible), flatpak-runner has generated extension (ls -l ~/.local/share/flatpak/extension/org.freedesktop.Platform.GL.host), then we probably miss somethin in extension. Check whether I miss any filesystem that should be there for libhybris in https://github.com/sailfishos-flatpa...runner.cpp#L83 for your device. Next, we can run strace on angelfish and see where it breaks. For that, install Sdk: Code:
flatpak install --user org.kde.Sdk//5.14 Code:
flatpak run --env=QT_WAYLAND_FORCE_DPI=335 --filesystem=/system:ro --filesystem=/vendor:ro --filesystem=/odm:ro --device=all --talk-name=org.maliit.server --env=QTWEBENGINE_CHROMIUM_FLAGS="--disable-gpu-compositing --num-raster-threads=1 --enable-viewport --disable-composited-antialiasing" --env=QTWEBENGINE_DISABLE_GPU_THREAD=1 --env=QT_QUICK_CONTROLS_MOBILE=1 --env=QT_QUICK_CONTROLS_STYLE=Plasma --env=HYBRIS_EGLPLATFORM_DIR=/usr/lib/arm-linux-gnueabihf/GL/host/lib/libhybris --env=HYBRIS_LINKER_DIR=/usr/lib/arm-linux-gnueabihf/GL/host/lib/libhybris/linker --env=HYBRIS_LD_LIBRARY_PATH=/usr/lib/arm-linux-gnueabihf/GL/host/libexec/droid-hybris/system/lib:/usr/libexec/droid-hybris/system/lib:/vendor/lib:/system/lib --env=LD_LIBRARY_PATH=/usr/lib/arm-linux-gnueabihf/GL/host/lib --command=sh -d org.kde.mobile.angelfish Code:
strace /app/bin/angelfish |
Re: Flatpak on Sailfish OS
GL was generated after install then rebooted, shell works okay
not sure what to do with filesystems? strace is full of ENOENT: https://gist.github.com/CODeRUS/add4...c89520736ab9e9 |
Re: Flatpak on Sailfish OS
Quote:
Looks like something is off with egl: Code:
writev(6, [{iov_base="\0\7\0w\264[^\327C+!", iov_len=11}, {iov_base="\5", iov_len=1}, {iov_base="libEGL\0", iov_len=7}, {iov_base="eglInitialize(0x3726b78) failed "..., iov_len=48}], 4) = 67 As for filesystems, which ones are mounted on device? (df) |
Re: Flatpak on Sailfish OS
both journal and dmesg are silent.
Code:
[nemo@Sailfish ~]$ df |
Re: Flatpak on Sailfish OS
Quote:
I presume that the window of Angelfish did not appear in your test. Also, maybe some folder needs to be exported in / . Is there anything obvious there? As for no records in dmesg and journal - I wonder where do those writes with egl failed go (https://gist.github.com/CODeRUS/add4...r-strace-L9132) Let's get the strace and ask for help in the porters channel. Maybe someone has an idea on what's wrong with XA2 setup. |
Re: Flatpak on Sailfish OS
got this from /system/bin/logcat:
Code:
03-01 20:50:12.930 7981 5 D vndksupport: Loading /vendor/lib/hw/gralloc.default.so from current namespace instead of sphal namespace. |
Re: Flatpak on Sailfish OS
@coderus: thank you very much, at least some error message. I should have remembered about logcat...
|
All times are GMT. The time now is 09:01. |
vBulletin® Version 3.8.8