Active Topics

 


Reply
Thread Tools
coderus's Avatar
Posts: 6,436 | Thanked: 12,701 times | Joined on Nov 2011 @ Ängelholm, Sweden
#101
cool, but any ideas?
__________________
Telegram | Openrepos | GitHub | Revolut donations
 

The Following 4 Users Say Thank You to coderus For This Useful Post:
Posts: 1,414 | Thanked: 7,547 times | Joined on Aug 2016 @ Estonia
#102
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...
 

The Following 3 Users Say Thank You to rinigus For This Useful Post:
Posts: 1,414 | Thanked: 7,547 times | Joined on Aug 2016 @ Estonia
#103
@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.
 

The Following 3 Users Say Thank You to rinigus For This Useful Post:
edp17's Avatar
Posts: 600 | Thanked: 711 times | Joined on Jul 2019 @ UK
#104
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.
 

The Following 4 Users Say Thank You to edp17 For This Useful Post:
Posts: 1,414 | Thanked: 7,547 times | Joined on Aug 2016 @ Estonia
#105
@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.
 

The Following 6 Users Say Thank You to rinigus For This Useful Post:
coderus's Avatar
Posts: 6,436 | Thanked: 12,701 times | Joined on Nov 2011 @ Ängelholm, Sweden
#106
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
__________________
Telegram | Openrepos | GitHub | Revolut donations
 

The Following 8 Users Say Thank You to coderus For This Useful Post:
Posts: 1,414 | Thanked: 7,547 times | Joined on Aug 2016 @ Estonia
#107
@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
 

The Following 5 Users Say Thank You to rinigus For This Useful Post:
coderus's Avatar
Posts: 6,436 | Thanked: 12,701 times | Joined on Nov 2011 @ Ängelholm, Sweden
#108
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!
__________________
Telegram | Openrepos | GitHub | Revolut donations
 

The Following 5 Users Say Thank You to coderus For This Useful Post:
Posts: 1,414 | Thanked: 7,547 times | Joined on Aug 2016 @ Estonia
#109
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.
 

The Following 3 Users Say Thank You to rinigus For This Useful Post:
coderus's Avatar
Posts: 6,436 | Thanked: 12,701 times | Joined on Nov 2011 @ Ängelholm, Sweden
#110
cool! regarding angelfish - do you want to distribute offline .flatpak installers of your nightly builds?)
__________________
Telegram | Openrepos | GitHub | Revolut donations
 

The Following 2 Users Say Thank You to coderus For This Useful Post:
Reply

Tags
flatpak


 
Forum Jump


All times are GMT. The time now is 16:07.