![]() |
Re: Flatpak on Sailfish OS
Quote:
|
Re: Flatpak on Sailfish OS
Looks like Angelfish has been updated in the repos.
To update: Code:
flatpak update To remove unused runtimes Code:
flatpak uninstall --unused With 5.14 KDE and new Angelfish, install also Code:
flatpak install --user org.freedesktop.Platform.ffmpeg-full Code:
flatpak install --user org.kde.PlatformInputContexts.MaliitSailfishOS |
Re: Flatpak on Sailfish OS
Quote:
I'll try to do my best to find out where the error was coming from and then we will see the further options. Thanks. |
Re: Flatpak on Sailfish OS
Quote:
|
Re: Flatpak on Sailfish OS
Quote:
flatpak run --command=sh org.kde.Platform and see if you get the prompt inside flatpak. It could be a manifestation of using old kernel, but I am speculating here. Note that neochapay started working on Qt 5.12 builds for Nemo. If he pulls it off, assuming that we can install it in parallel with Qt 5.6, we can probably run 5.12 apps via similar solution as Flatpak Runner even without Silica support. Maybe its more realistic to wait for this solution than trying to fight requirements with old kernels. |
Re: Flatpak on Sailfish OS
Quote:
Code:
FATAL: kernel too old How good could have been, if it worked. Anyway, thanks for your hard work. On the Nexus 5, I got: Code:
bwrap: execvp xdg-dbus-proxy: No such file or directory You are probably right when saying better to wait for the newer Qt. With that (Qt 5.12) we might will be able to install/compile Linphone. And with that finally we can have video calls on Sailfish. That would be so :cool: |
Re: Flatpak on Sailfish OS
btw, where is "Usage: gpg-connect-agent [options] (-h for help)" come from? can it be suppressed?
about angelfish - is there way to change video quality in youtube? |
Re: Flatpak on Sailfish OS
Flatpak Runner 0.6.0 is released with the environment variables set for Qt WebEngine. As its SFOS app, update with zypper or any other tool you prefer, as usual. Not in OpenRepos yet, probably should upload soon.
Please also uninstall flatpak-maliit-plugin-qt (SFOS package) and install org.kde.PlatformInputContexts.MaliitSailfishOS (Flatpak package) instead. As Angelfish has been updated as well, you can update that as well (some of you probably did already). Please note it will pull KDE 5.14, you can remove 5.12 after. For keyboard install, ffmpeg install (required for video playback), uninstall of unused packages, see http://talk.maemo.org/showpost.php?p...6&postcount=82 If you are short in storage, instead of update, remove Angelfish and other flatpak packages (unused ones), and install Angelfish with the new runtime. Re gpg messages: as far as I remember, its due to old GPG used in SFOS. Seems you can ignore it. Re Youtube video quality, other select actions: Select action on most websites lead to opening overlayed window. As the composer implemented in Flatpak Runner is properly primitive, its not able to do so. I would prefer not to spend time on it and wait till we get newer QtWayland on SFOS. As we use QtWayland 5.4, whatever we do, is very temporary. Before that Qt update it makes more sense to spend time on making the browser and other projects. Just remember that limitation and stay away from those drop down comboboxes on such sites as TMO. |
Re: Flatpak on Sailfish OS
have we had anything from Jolla to indicate when the Qt update for SFOS is coming? It has been coming 'soon' for years now.
and are we presuming that a new qt-wayland version will arrive with a new Qt version? thank you for all your work on this, would love to see it made official. |
Re: Flatpak on Sailfish OS
Quote:
I would expect that Qt Wayland will be updated as well. But your guess is as good as mine. |
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...
|
Re: Flatpak on Sailfish OS
cool, but any ideas? :D
|
Re: Flatpak on Sailfish OS
Quote:
|
Re: Flatpak on Sailfish OS
@coderus, would you mind to provide strace for some SFOS app? So, it would be clear which gralloc is used usually on XA2, for example.
|
Re: Flatpak on Sailfish OS
What should be the libhybris version on the XA2? On mine that is 0.0.5.31-1.54.4
According to the Flatpak doc the supported devices should have >= 0.0.5.34 @coderus: Did you get the newer version of libhybris to your XA2 or you tried Flatpak with the same libhybris version that I have got on mine? I am a bit :confused: here. Thanks. |
Re: Flatpak on Sailfish OS
@coderus, when you get to it, please generate also logs with HYBRIS_LD_DEBUG=1 in addition to strace.
So, I would like to get * strace of regular SFOS app on XA2 * output of regular SFOS app on XA2 running with HYBRIS_LD_DEBUG=1 set, no strace for reading simplicity * output of "flatpak run ... --env=HYBRIS_LD_DEBUG=1 ..." , no strace for reading simplicity It is possible that I am missing some specific libs in https://github.com/sailfishos-flatpa...tension-hybris and we have to figure out which. |
Re: Flatpak on Sailfish OS
Quote:
Quote:
sfos hybris debug: https://gist.github.com/CODeRUS/b988...280f2ce9b8175d flatpak hybris debug: https://gist.github.com/CODeRUS/7bc3...69a4d8a68f0864 |
Re: Flatpak on Sailfish OS
@coderus: thanks a lot!
Do you have such folders/files as /plat_property_contexts and /nonplat_property_contexts in /? It looks like properties (Android) are not loaded properly and that leads to wrong gralloc lib loaded in Flatpak. Please send "ls /" If those folders are indeed there, you can test by running flatpak with extra arguments: --filesystem=/plat_property_contexts:ro --filesystem=/nonplat_property_contexts:ro |
Re: Flatpak on Sailfish OS
Quote:
Code:
[root@Sailfish nemo]# ls -la / |
Re: Flatpak on Sailfish OS
Quote:
You could use the same arguments with flatpak-runner (before org.kde.mobile.angelfish) until I fix it in the source. Hopefully tonight, but cannot promise as there is a merge request I am finishing for Angelfish. |
Re: Flatpak on Sailfish OS
cool! regarding angelfish - do you want to distribute offline .flatpak installers of your nightly builds?)
|
Re: Flatpak on Sailfish OS
Quote:
Code:
flatpak update |
Re: Flatpak on Sailfish OS
Flatpak Runner 0.6.1 is out and it incorporates the fix needed for Xperia XA2 (and maybe some others on the same base). As always, update from OBS.
|
Re: Flatpak on Sailfish OS
Quote:
|
Re: Flatpak on Sailfish OS
Quote:
|
Re: Flatpak on Sailfish OS
Quote:
|
Re: Flatpak on Sailfish OS
Apparently angelfish is unable to play any videos on Pro1 - is there some library needed for this?
|
Re: Flatpak on Sailfish OS
Quote:
Code:
org.freedesktop.Platform.ffmpeg-full edp17: I think new hybris is coming with the next SFOS release. So, just wait a bit. |
Re: Flatpak on Sailfish OS
Quote:
|
Re: Flatpak on Sailfish OS
I guess we will make separate thread for Angelfish when more users will start using it. Just a warning - MR got merged which changed bookmarks and history format. We are using SQLite for storage of these data together with thumbs now. For simplicity of the coders and assuming that the users prefer to see fast progress, old bookmarks and history have been just dropped without any import.
|
Re: Flatpak on Sailfish OS
Is it possible to change the Plasma theme? I realize making it tie into the ambiance theme is unlikely, but at least being able to set a dark mode would be nice.
|
All times are GMT. The time now is 07:27. |
vBulletin® Version 3.8.8