Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    Flatpak on Sailfish OS

    Reply
    Page 11 of 44 | Prev |   9     10   11   12     13   21 | Next | Last
    coderus | # 101 | 2020-03-02, 10:44 | Report

    cool, but any ideas?

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 4 Users Say Thank You to coderus For This Useful Post:
    Amboss, carlosgonz, juiceme, mosen

     
    rinigus | # 102 | 2020-03-02, 10:57 | Report

    Originally Posted by coderus View Post
    cool, but any ideas?
    I'll ask on porters channel if someone has any. Should be some missing property or lib in the environment. Would be able to start discussion bit later today...

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 3 Users Say Thank You to rinigus For This Useful Post:
    Amboss, juiceme, mosen

     
    rinigus | # 103 | 2020-03-02, 12:25 | Report

    @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.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 3 Users Say Thank You to rinigus For This Useful Post:
    Amboss, juiceme, mosen

     
    edp17 | # 104 | 2020-03-02, 12:44 | Report

    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 here. Thanks.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 4 Users Say Thank You to edp17 For This Useful Post:
    Amboss, carlosgonz, juiceme, mosen

     
    rinigus | # 105 | 2020-03-02, 13:55 | Report

    @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.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 6 Users Say Thank You to rinigus For This Useful Post:
    Amboss, coderus, juiceme, ljo, mosen, olf

     
    coderus | # 106 | 2020-03-02, 15:47 | Report

    Originally Posted by edp17 View Post
    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 here. Thanks.
    i own future

    Originally Posted by rinigus View Post
    @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.
    sfos strace: https://gist.github.com/CODeRUS/3db4...6ccc40c689612a
    sfos hybris debug: https://gist.github.com/CODeRUS/b988...280f2ce9b8175d
    flatpak hybris debug: https://gist.github.com/CODeRUS/7bc3...69a4d8a68f0864

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 8 Users Say Thank You to coderus For This Useful Post:
    Amboss, edp17, juiceme, lal, ljo, mosen, olf, rinigus

     
    rinigus | # 107 | 2020-03-02, 16:28 | Report

    @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

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 5 Users Say Thank You to rinigus For This Useful Post:
    Amboss, coderus, edp17, juiceme, mosen

     
    coderus | # 108 | 2020-03-02, 16:47 | Report

    Originally Posted by rinigus View Post
    @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
    files are there for sure:
    Code:
    [root@Sailfish nemo]# ls -la /
    total 336
    drwxr-xr-x   32 root     root          4096 Feb 28 21:47 .
    drwxr-xr-x   32 root     root          4096 Feb 28 21:47 ..
    drwxr-xr-x    3 root     root          4096 May 22  2019 .config
    -rw-r--r--    1 root     root             0 Sep  6  1970 .fs-resized
    drwxr-xr-x    2 root     root          4096 Feb 28 21:43 bin
    drw-------    2 root     root          4096 Feb 28 21:45 boot
    dr-xr-x---    3 bluetoot net_bt       16384 Jan  1  1970 bt_firmware
    lrwxrwxrwx    1 root     root            50 Feb 16 16:50 bugreports -> /data/user_de/0/com.android.shell/files/bugreports
    lrwxrwx---    1 system   cache           11 Feb 16 16:50 cache -> /data/cache
    drwxr-xr-x    4 root     root             0 Jan  1  1970 config
    lrwxrwxrwx    1 root     root            17 Feb 16 16:50 d -> /sys/kernel/debug
    drwxrwx--x   42 system   system        4096 Feb 16 17:52 data
    lrwxrwxrwx    1 root     root            23 Feb 16 16:50 default.prop -> system/etc/prop.default
    drwxr-xr-x   24 root     root          7860 Mar  2 19:43 dev
    drwxr-xr-x    4 root     root          4096 Feb 16 16:50 dsp
    drwxr-xr-x   75 root     root          4096 Mar  2 19:43 etc
    drwxr-xr-x    2 root     root          4096 May 22  2019 fimage
    dr-xr-x---    3 system   system       16384 Jan  1  1970 firmware
    drwxr-xr-x   12 root     root          4096 Feb 28 21:47 home
    -rwxr-xr-x    1 root     root         12406 Feb 11 14:08 init-debug
    -rw-r--r--    1 root     root          1522 Feb 16 17:10 init.environ.rc
    -rw-r--r--    1 root     root            98 Feb 16 17:10 init.extraenv.armeabi-v7a.rc
    -rw-r--r--    1 root     root         29945 Feb 16 17:10 init.rc
    -rw-r--r--    1 root     root          1909 Feb 16 17:10 init.recovery.pioneer.rc
    -rw-r--r--    1 root     root          7874 Feb 16 17:10 init.usb.configfs.rc
    -rw-r--r--    1 root     root          5721 Feb 16 17:10 init.usb.rc
    drwxr-xr-x    7 root     root          4096 Feb 28 21:45 lib
    drwx------    2 root     root         16384 May 22  2019 lost+found
    drwxr-xr-x    2 root     root          4096 Feb 15 22:17 media
    drwxrwxr-x   10 root     system         220 Mar  2 19:43 mnt
    -rw-r--r--    1 root     root         18267 Feb 16 16:59 nonplat_file_contexts
    -rw-r--r--    1 root     root           103 Feb 16 16:59 nonplat_hwservice_contexts
    -rw-r--r--    1 root     root           861 Feb 16 16:59 nonplat_property_contexts
    -rw-r--r--    1 root     root            95 Feb 16 16:59 nonplat_seapp_contexts
    -rw-r--r--    1 root     root           141 Feb 16 16:59 nonplat_service_contexts
    drwxr-xr-x    8 root     root          4096 Mar  5  2019 odm
    drwxr-xr-x    5 root     root          4096 Feb 15 22:17 opt
    drwxrwx--x   20 system   system        4096 May 22  2019 persist
    -rw-r--r--    1 root     root         20703 Feb 16 16:59 plat_file_contexts
    -rw-r--r--    1 root     root          5768 Feb 16 16:59 plat_hwservice_contexts
    -rw-r--r--    1 root     root          4341 Feb 16 16:59 plat_property_contexts
    -rw-r--r--    1 root     root           965 Feb 16 16:59 plat_seapp_contexts
    -rw-r--r--    1 root     root         12996 Feb 16 16:59 plat_service_contexts
    dr-xr-xr-x  770 root     root             0 Jan  1  1970 proc
    drwxr-x---    3 root     root          4096 Feb 15 22:17 root
    drwxr-xr-x   34 root     root           780 Mar  2 19:43 run
    drwxr-xr-x    2 root     root          4096 Feb 28 21:45 sbin
    lrwxrwxrwx    1 root     root            21 Feb 16 16:50 sdcard -> /storage/self/primary
    drwxr-xr-x    2 root     root          4096 Feb 15 22:17 srv
    dr-xr-xr-x   13 root     root             0 Sep  6  1970 sys
    drwxr-xr-x    9 root     root          4096 Oct  1 14:30 system
    drwxrwxrwt   14 root     root           460 Mar  2 19:44 tmp
    -rw-r--r--    1 root     root          5222 Feb 16 17:10 ueventd.rc
    drwxr-xr-x   12 root     root          4096 Feb 28 21:42 usr
    drwxr-xr-x   17 root     root          4096 Feb 28 21:42 var
    drwxr-xr-x    8 root     root          4096 Oct  1 14:30 vendor
    -rw-r--r--    1 root     root           524 Feb 16 16:50 verity_key
    -rw-r--r--    1 root     root           136 Feb 16 16:59 vndservice_contexts
    with exttra arguments added angelfish started successfully!

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 5 Users Say Thank You to coderus For This Useful Post:
    Amboss, juiceme, mosen, olf, rinigus

     
    rinigus | # 109 | 2020-03-02, 18:22 | Report

    Originally Posted by coderus View Post
    files are there for sure:

    with exttra arguments added angelfish started successfully!
    Excellent news! Sorry, looking at the files I am sure I asked earlier already.

    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.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 3 Users Say Thank You to rinigus For This Useful Post:
    Amboss, juiceme, olf

     
    coderus | # 110 | 2020-03-02, 18:45 | Report

    cool! regarding angelfish - do you want to distribute offline .flatpak installers of your nightly builds?)

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to coderus For This Useful Post:
    Amboss, juiceme

     
    Page 11 of 44 | Prev |   9     10   11   12     13   21 | Next | Last
vBulletin® Version 3.8.8
Normal Logout