The Following User Says Thank You to vbelloir For This Useful Post: | ||
|
2020-04-08
, 15:04
|
Posts: 39 |
Thanked: 124 times |
Joined on Oct 2009
|
#232
|
For that, you have to check what are debug vars for hybris on X (they may have changed between X and XA2). For me, its HYBRIS_LINKER_DEBUG=1 HYBRIS_LD_DEBUG=1
So, for example: HYBRIS_LINKER_DEBUG=1 HYBRIS_LD_DEBUG=1 flatpak-runner
This is for SFOS native.
and then run
flatpak-runner --env=HYBRIS_LINKER_DEBUG=1 --env=HYBRIS_LD_DEBUG=1 org.kde.mobile.angelfish
this is for Flatpak. Then we can compare and add missing libs into
.local/share/flatpak/extension/org.freedesktop.Platform.GL.host/arm/1.4
[nemo@Sailfish ~]$ flatpak-runner --env=HYBRIS_LINKER_DEBUG=1 --env=HYBRIS_LD_DEBUG=1 org.kde.mobile.angelfish Starting: org.kde.mobile.angelfish Flatpak run options: --env=HYBRIS_LINKER_DEBUG=1 --env=HYBRIS_LD_DEBUG=1 [D] unknown:0 - Using Wayland-EGL Wayland socket: ../../display/wayland-3 WAYLAND_DISPLAY="../../display/wayland-3" FLATPAK_MALIIT_CONTAINER_DBUS="unix:abstract=/tmp/dbus-LgjOnhhMdB,guid=103265a32462a8d57359a8d65e8de683" flatpak run --env=QT_WAYLAND_FORCE_DPI=129 --env=QT_SCALE_FACTOR=3 --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 --env=HYBRIS_LINKER_DEBUG=1 --env=HYBRIS_LD_DEBUG=1 org.kde.mobile.angelfish [D] onCompleted:424 - Warning: specifying an object instance for initialPage is sub-optimal - prefer to use a Component [W] unknown:53 - file:///usr/share/flatpak-runner/qml/main.qml:53:26: Unable to assign [undefined] to bool [ linking /usr/lib/arm-linux-gnueabihf/GL/host/libexec/droid-hybris/system/lib/libGLESv2.so ] [ linking /usr/lib/arm-linux-gnueabihf/GL/host/libexec/droid-hybris/system/lib/libcutils.so ] [ linking /usr/lib/arm-linux-gnueabihf/GL/host/libexec/droid-hybris/system/lib/libutils.so ] [ linking /usr/lib/arm-linux-gnueabihf/GL/host/libexec/droid-hybris/system/lib/liblog.so ] [ linking /usr/lib/arm-linux-gnueabihf/GL/host/libexec/droid-hybris/system/lib/libEGL.so ] [ linking /usr/lib/arm-linux-gnueabihf/GL/host/libexec/droid-hybris/system/lib/libdsyscalls.so ] [ linking /usr/lib/arm-linux-gnueabihf/GL/host/libexec/droid-hybris/system/lib/libc++.so ] [ linking /usr/lib/arm-linux-gnueabihf/GL/host/libexec/droid-hybris/system/lib/libc.so ] [ linking /usr/lib/arm-linux-gnueabihf/GL/host/libexec/droid-hybris/system/lib/libm.so ] [ linking /usr/lib/arm-linux-gnueabihf/GL/host/libexec/droid-hybris/system/lib/libbacktrace.so ] [ linking /usr/lib/arm-linux-gnueabihf/GL/host/libexec/droid-hybris/system/lib/libGLES_trace.so ] [ linking /usr/lib/arm-linux-gnueabihf/GL/host/libexec/droid-hybris/system/lib/libbase.so ] [ linking /usr/lib/arm-linux-gnueabihf/GL/host/libexec/droid-hybris/system/lib/libunwind.so ] [ linking /usr/lib/arm-linux-gnueabihf/GL/host/libexec/droid-hybris/system/lib/libprotobuf-cpp-lite.so ] [ linking /system/lib/libhardware.so ] [ linking /system/lib/hw/gralloc.msm8952.so ] [ linking /system/lib/libmemalloc.so ] [ linking /system/lib/libqdMetaData.so ] [ linking /system/lib/libqdutils.so ] [ linking /usr/lib/arm-linux-gnueabihf/GL/host/libexec/droid-hybris/system/lib/libGLESv1_CM.so ] [ linking /system/lib/libui.so ] [ linking /system/lib/libbinder.so ] [ linking /system/lib/libqservice.so ] [ linking /system/lib/libsync.so ] [ linking /odm/lib/egl/libEGL_adreno.so ] [ linking /odm/lib/libadreno_utils.so ] [ linking /odm/lib/libgsl.so ] [ linking /system/lib/libz.so ] [ linking /odm/lib/egl/libGLESv2_adreno.so ] [ linking /odm/lib/libllvm-glnext.so ] [ linking /odm/lib/egl/libGLESv1_CM_adreno.so ] [ linking /odm/lib/egl/eglSubDriverAndroid.so ] [W] unknown:0 - QObject: Cannot create children for a parent that is in a different thread. (Parent is QApplication(0xffb90468), parent's thread is QThread(0xab390d10), current thread is QThread(0xab5459c8) [W] unknown:0 - QObject::installEventFilter(): Cannot filter events for objects in a different thread. [D] unknown:0 - Current tab changed to 0 [D] unknown:0 - Current tab changed to 0 [W] unknown:362 - file:///usr/lib/qml/org/kde/kirigami.2/Page.qml:362:9: QML Loader: Binding loop detected for property "active" [D] unknown:0 - Setting isMobile: 0 true tabs open 1 [D] unknown:0 - Setting isMobile: 0 true tabs open 1 [W] unknown:0 - Installed Qt WebEngine locales directory not found at location /usr/translations/qtwebengine_locales. Trying application directory... [W] unknown:0 - Qt WebEngine locales directory not found at location /app/bin/qtwebengine_locales. Trying fallback directory... Translations MAY NOT not be correct. [W] unknown:0 - Path override failed for key ui::DIR_LOCALES and path '/home/nemo/.angelfish' [0408/165819.267663:WARNING:resource_bundle_qt.cpp(115)] locale_file_path.empty() for locale [ linking /usr/lib/arm-linux-gnueabihf/GL/host/libexec/droid-hybris/system/lib/libGLESv2.so ] [ linking /usr/lib/arm-linux-gnueabihf/GL/host/libexec/droid-hybris/system/lib/libcutils.so ] [ linking /usr/lib/arm-linux-gnueabihf/GL/host/libexec/droid-hybris/system/lib/libutils.so ] [ linking /usr/lib/arm-linux-gnueabihf/GL/host/libexec/droid-hybris/system/lib/liblog.so ] [ linking /usr/lib/arm-linux-gnueabihf/GL/host/libexec/droid-hybris/system/lib/libEGL.so ] [ linking /usr/lib/arm-linux-gnueabihf/GL/host/libexec/droid-hybris/system/lib/libdsyscalls.so ] [ linking /usr/lib/arm-linux-gnueabihf/GL/host/libexec/droid-hybris/system/lib/libc++.so ] [ linking /usr/lib/arm-linux-gnueabihf/GL/host/libexec/droid-hybris/system/lib/libc.so ] [ linking /usr/lib/arm-linux-gnueabihf/GL/host/libexec/droid-hybris/system/lib/libm.so ] [ linking /usr/lib/arm-linux-gnueabihf/GL/host/libexec/droid-hybris/system/lib/libbacktrace.so ] [ linking /usr/lib/arm-linux-gnueabihf/GL/host/libexec/droid-hybris/system/lib/libGLES_trace.so ] [ linking /usr/lib/arm-linux-gnueabihf/GL/host/libexec/droid-hybris/system/lib/libbase.so ] [ linking /usr/lib/arm-linux-gnueabihf/GL/host/libexec/droid-hybris/system/lib/libunwind.so ] [ linking /usr/lib/arm-linux-gnueabihf/GL/host/libexec/droid-hybris/system/lib/libprotobuf-cpp-lite.so ] [W] unknown:0 - Installed Qt WebEngine locales directory not found at location /usr/translations/qtwebengine_locales. Trying application directory... [W] unknown:0 - Qt WebEngine locales directory not found at location /app/bin/qtwebengine_locales. Trying fallback directory... Translations MAY NOT not be correct. [W] unknown:0 - Path override failed for key ui::DIR_LOCALES and path '/home/nemo/.QtWebEngineProcess' [0408/165819.455536:WARNING:resource_bundle_qt.cpp(115)] locale_file_path.empty() for locale [D] onCompleted:202 - WebView completed. [D] onCompleted:204 - Settings: QQuickWebEngineSettings(0xaba3c580) [D] unknown:0 - Setting URL: 0 "about:blank" tabs open 1 [D] onCurrentWebViewChanged:57 - Current WebView is now : 0 [D] onCompleted:202 - WebView completed. [D] onCompleted:204 - Settings: QQuickWebEngineSettings(0xabadbf60) [D] unknown:0 - Setting URL: 0 "about:blank" tabs open 1 [W] unknown:0 - "wl-shell" is a deprecated shell extension, prefer using "xdg-shell-v6" or "xdg-shell" if supported by the compositor by setting the environment variable QT_WAYLAND_SHELL_INTEGRATION [D] unknown:0 - loaded from file: 1 "/home/nemo/.var/app/org.kde.mobile.angelfish/config/angelfish/tabs.json" [D] onCurrentWebViewChanged:57 - Current WebView is now : 0 [D] onCompleted:202 - WebView completed. [D] onCompleted:204 - Settings: QQuickWebEngineSettings(0xabe7b5b0) [D] unknown:0 - Setting URL: 0 "http://talk.maemo.org/" tabs open 1 [D] unknown:0 - Current tab changed to 0 [W] unknown:38 - file:///usr/lib/qml/QtQuick/Controls.2/Plasma/ToolButton.qml:38: TypeError: Cannot read property 'margins' of null [W] unknown:36 - file:///usr/lib/qml/QtQuick/Controls.2/Plasma/ToolButton.qml:36: TypeError: Cannot read property 'margins' of null [W] unknown:37 - file:///usr/lib/qml/QtQuick/Controls.2/Plasma/ToolButton.qml:37: TypeError: Cannot read property 'margins' of null [W] unknown:35 - file:///usr/lib/qml/QtQuick/Controls.2/Plasma/ToolButton.qml:35: TypeError: Cannot read property 'margins' of null [D] onLoadingChanged:159 - url: about:blank [D] onLoadingChanged:159 - url: http://talk.maemo.org/ [D] onLoadingChanged:159 - url: about:blank libpng warning: iCCP: known incorrect sRGB profile [C] unknown:1223 - Uncaught ReferenceError: _gat is not defined [D] onLoadingChanged:159 - url: http://talk.maemo.org/
|
2020-04-08
, 17:34
|
Posts: 39 |
Thanked: 124 times |
Joined on Oct 2009
|
#234
|
[nemo@Sailfish ~]$ HYBRIS_LINKER_DEBUG=1 HYBRIS_LD_DEBUG=1 flatpak-runner [ linking /usr/libexec/droid-hybris/system/lib/libGLESv2.so ] [ linking /usr/libexec/droid-hybris/system/lib/libcutils.so ] [ linking /usr/libexec/droid-hybris/system/lib/libutils.so ] [ linking /usr/libexec/droid-hybris/system/lib/liblog.so ] [ linking /usr/libexec/droid-hybris/system/lib/libEGL.so ] [ linking /usr/libexec/droid-hybris/system/lib/libdsyscalls.so ] [ linking /usr/libexec/droid-hybris/system/lib/libc++.so ] [ linking /usr/libexec/droid-hybris/system/lib/libc.so ] [ linking /usr/libexec/droid-hybris/system/lib/libm.so ] [ linking /usr/libexec/droid-hybris/system/lib/libbacktrace.so ] [ linking /usr/libexec/droid-hybris/system/lib/libGLES_trace.so ] [ linking /usr/libexec/droid-hybris/system/lib/libbase.so ] [ linking /usr/libexec/droid-hybris/system/lib/libunwind.so ] [ linking /usr/libexec/droid-hybris/system/lib/libprotobuf-cpp-lite.so ] Starting empty Wayland server and enabling settings [D] unknown:0 - Using Wayland-EGL [ linking /odm/lib/egl/libEGL_adreno.so ] [ linking /odm/lib/libadreno_utils.so ] [ linking /odm/lib/libgsl.so ] [ linking /system/lib/libz.so ] [ linking /odm/lib/egl/libGLESv2_adreno.so ] [ linking /odm/lib/libllvm-glnext.so ] [ linking /odm/lib/egl/libGLESv1_CM_adreno.so ] [ linking /usr/libexec/droid-hybris/system/lib/libGLESv1_CM.so ] [ linking /odm/lib/egl/eglSubDriverAndroid.so ] [ linking /system/lib/libhardware.so ] [ linking /system/lib/hw/gralloc.msm8952.so ] [ linking /system/lib/libmemalloc.so ] [ linking /system/lib/libqdMetaData.so ] [ linking /system/lib/libqdutils.so ] [ linking /system/lib/libui.so ] [ linking /system/lib/libbinder.so ] [ linking /system/lib/libqservice.so ] [ linking /system/lib/libsync.so ] Wayland socket: ../../display/wayland-13 [D] onCompleted:424 - Warning: specifying an object instance for initialPage is sub-optimal - prefer to use a Component [D] unknown:0 - Got library name: "/usr/lib/qt5/qml/io/thp/pyotherside/libpyothersideplugin.so" [D] unknown:0 - "PyOtherSide error: Traceback (most recent call last):\n\n File \"/usr/share/flatpak-runner/fpk/__init__.py\", line 12, in refresh_apps\n return refresh_apps_impl(just_delete=just_delete)\n\n File \"/usr/share/flatpak-runner/fpk/apps.py\", line 39, in refresh_apps\n d = Desktop(i)\n\n File \"/usr/share/flatpak-runner/fpk/desktop.py\", line 8, in __init__\n self.config.read(fname)\n\n File \"/usr/lib/python3.8/configparser.py\", line 697, in read\n self._read(fp, filename)\n\n File \"/usr/lib/python3.8/configparser.py\", line 1017, in _read\n for lineno, line in enumerate(fp, start=1):\n\n File \"/usr/lib/python3.8/encodings/ascii.py\", line 26, in decode\n return codecs.ascii_decode(input, self.errors)[0]\n\nUnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 759: ordinal not in range(128)\n" [D] onError:53 - Error in Python: Return value of PyObject call is NULL: Traceback (most recent call last): File "/usr/share/flatpak-runner/fpk/__init__.py", line 12, in refresh_apps return refresh_apps_impl(just_delete=just_delete) File "/usr/share/flatpak-runner/fpk/apps.py", line 39, in refresh_apps d = Desktop(i) File "/usr/share/flatpak-runner/fpk/desktop.py", line 8, in __init__ self.config.read(fname) File "/usr/lib/python3.8/configparser.py", line 697, in read self._read(fp, filename) File "/usr/lib/python3.8/configparser.py", line 1017, in _read for lineno, line in enumerate(fp, start=1): File "/usr/lib/python3.8/encodings/ascii.py", line 26, in decode return codecs.ascii_decode(input, self.errors)[0] UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 759: ordinal not in range(128)
|
2020-04-08
, 19:02
|
Posts: 14 |
Thanked: 11 times |
Joined on Oct 2017
@ Lyon (France)
|
#235
|
|
2020-04-08
, 19:22
|
Posts: 1,414 |
Thanked: 7,547 times |
Joined on Aug 2016
@ Estonia
|
#236
|
SFOS doesn't appear in official support distribution :
https://flatpak.org/setup/
Also, Is there a chance that slack app, hosted in Flathub works?
https://flathub.org/apps/details/com.slack.Slack
The Following 4 Users Say Thank You to rinigus For This Useful Post: | ||
|
2020-04-08
, 19:23
|
Posts: 13 |
Thanked: 24 times |
Joined on Sep 2017
|
#237
|
|
2020-04-09
, 08:41
|
|
Posts: 6,436 |
Thanked: 12,701 times |
Joined on Nov 2011
@ Ängelholm, Sweden
|
#238
|
or firefox
https://flathub.org/apps/details/org.mozilla.firefox
Right now, Flatpak support is available for Sony Xperia Tama devices (unofficial port) with the hope that other devices will follow. Due to QtWayland limitations, only Qt/QML applications run well with Gdk apps refusing to start due to the absence of currently standard Wayland extensions.
The Following 5 Users Say Thank You to coderus For This Useful Post: | ||
|
2020-04-09
, 11:42
|
Posts: 31 |
Thanked: 117 times |
Joined on Nov 2015
@ Mödling
|
#239
|
journalctl -fa
Apr 09 13:34:43 SailX polkitd(authority=local)[852]: Registered Authentication Agent for unix-process:11676:360590 (system bus name :1.123 [flatpak uninstall --user org.kde.okular], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) Apr 09 13:34:44 SailX kernel: afe_callback: cmd = 0x100ef returned error = 0x2 Apr 09 13:34:44 SailX kernel: afe_apr_send_pkt: DSP returned error[ADSP_EBADPARAM] Apr 09 13:34:44 SailX kernel: afe_send_cal_block: AFE cal for port 0x4000 failed -22 Apr 09 13:34:49 SailX flatpak[11676]: user: Uninstalled app/org.kde.okular/arm/master Apr 09 13:34:49 SailX flatpak[11676]: user: Uninstalled runtime/org.kde.okular.Locale/arm/master Apr 09 13:34:49 SailX kernel: devpts: called with bogus options Apr 09 13:34:49 SailX kernel: devpts: called with bogus options
|
2020-04-09
, 12:35
|
Posts: 1,414 |
Thanked: 7,547 times |
Joined on Aug 2016
@ Estonia
|
#240
|
Hi and thanks for all the (angel)fish.
Angelfish runs like expected.
Installing and uninstalling flatpaks works, BUT every time I do one of these actions my phone crashes and reboots:
shows the follwoing when uninstalling org.kde.okularCode:journalctl -fa
Maybe I messed up sth with my installation. I installed flatpak and flatpak-runner before upgrading to 3.3.0 Rokua. (I mixed my SailX up with another device I already upgraded before.)Code:Apr 09 13:34:43 SailX polkitd(authority=local)[852]: Registered Authentication Agent for unix-process:11676:360590 (system bus name :1.123 [flatpak uninstall --user org.kde.okular], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) Apr 09 13:34:44 SailX kernel: afe_callback: cmd = 0x100ef returned error = 0x2 Apr 09 13:34:44 SailX kernel: afe_apr_send_pkt: DSP returned error[ADSP_EBADPARAM] Apr 09 13:34:44 SailX kernel: afe_send_cal_block: AFE cal for port 0x4000 failed -22 Apr 09 13:34:49 SailX flatpak[11676]: user: Uninstalled app/org.kde.okular/arm/master Apr 09 13:34:49 SailX flatpak[11676]: user: Uninstalled runtime/org.kde.okular.Locale/arm/master Apr 09 13:34:49 SailX kernel: devpts: called with bogus options Apr 09 13:34:49 SailX kernel: devpts: called with bogus options
Should I do a clean install of flatpak(-runner)? If yes, how?
Just installed Flatpack and AngelFish without any troubles on XA2 with 3.3.0.14 SFOS release.
Display is just to big, and I have to check which DPI a or scale setting I should use with my XA2.
Thanks a lot for your job!