Friday, 2023-03-17

T42<FakeShell> i'm trying to get camera working01:47
T42<FakeShell> droid-camres gives me no camera found01:47
T42<FakeShell> i set the GST_DEBUG to 6 and these are the logs i got01:47
T42<FakeShell> https://pastebin.pl/view/39218bda01:47
T42<FakeShell> 01:47
T42<FakeShell> its huge. nothing in logcat or dmesg01:47
T42<FakeShell> i'm trying to get camera working01:47
T42<FakeShell> droid-camres gives me no camera found01:47
T42<FakeShell> i set the GST_DEBUG to 6 ran droid-camres -w and these are the logs i got01:47
T42<FakeShell> https://pastebin.pl/view/39218bda01:47
T42<FakeShell> 01:47
T42<FakeShell> its huge. nothing in logcat or dmesg (edited)01:47
T42<FakeShell> i also get a lot of these spammed in dmesg every few 5ish seconds01:54
T42<FakeShell> 01:54
T42<FakeShell> https://pastebin.com/8Evf507001:54
T42<FakeShell> also is there a complete list of things or a set of scripts that can run tests on whats working and what isn't02:55
T42<FakeShell> bluetooth is settings is also empty03:00
T42<elros34> l...oks like sometnhing07:51
T42<elros34> sry, this dpmd looks like something java related so maybe disable it07:51
T42<elros34> about camera first check whether you even  have working gst-droid plugin: 'gst-inspect-1.0 | grep droid' then search in logcat for video related errors07:56
T42<FakeShell> what is the package name? gs-inspect-1.0 doesn't exist and i can't find a package with that name either (re @elros34: sry, this dpmd looks...)08:03
T42<FakeShell> maybe i have something missing in my pattern08:03
T42<FakeShell> what is the package name? gst-inspect-1.0 doesn't exist and i can't find a package with that name either (edited) (re @elros34: sry, this dpmd looks...)08:03
T42<elros34> something like gstreamer *tools or utils08:03
T42<FakeShell> gstreamer1.0-tools08:04
T42<FakeShell> gstreamer1.0-droid-tools08:04
T42<FakeShell> it was the first one08:04
T42<FakeShell> something is missing08:05
T42<FakeShell> 08:05
T42<FakeShell> ERROR: Caught a segmentation fault while loading plugin file:08:05
T42<FakeShell> /usr/lib64/gstreamer-1.0/libgstdroid.so08:05
T42<FakeShell> 08:05
T42<FakeShell> Please either:08:05
T42<FakeShell> - remove it and restart.08:05
T42<FakeShell> - run with --gst-disable-segtrap --gst-disable-registry-fork and debug.08:05
T42<FakeShell> 08:05
T42<FakeShell> ERROR: Caught a segmentation fault while loading plugin file:08:05
T42<FakeShell> /usr/lib64/gstreamer-1.0/libgstdroid.so08:05
T42<FakeShell> 08:05
T42<FakeShell> Please either:08:05
T42<FakeShell> - remove it and restart.08:05
T42<FakeShell> - run with --gst-disable-segtrap --gst-disable-registry-fork and debug.08:05
T42<FakeShell> what provides libgstdroid08:05
T42<FakeShell> gstreamer1.0-droid seems to already be installed08:06
T42<elros34> do you gdb it or something?08:06
T42<FakeShell> oh wait my bad `/usr/lib64/gstreamer-1.0/libgstdroid.so` already exists08:06
T42<FakeShell> no its just `gst-inspect-1.0 | grep droid` (re @elros34: do you gdb it or som...)08:07
T42<FakeShell> i needed gstreamer1.0-devel08:07
T42<FakeShell> its fine now08:07
T42<FakeShell> alright grep droid returns nothing08:08
T42<elros34> why would you need devel package and how this could help? check logcat instead08:09
T42<FakeShell> https://pastebin.com/J9wQXYTh08:09
T42<FakeShell> not sure08:10
T42<FakeShell> can't find anything with pattern droid08:10
T42<FakeShell> 08:10
T42<FakeShell> 01-26 15:08:41.547  5063  5063 I ConfigStore: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasWideColorDisplay retrieved: 008:10
T42<FakeShell> 01-26 15:08:41.548  5063  5063 I ConfigStore: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasHDRDisplay retrieved: 008:11
T42<FakeShell> 08:11
T42<FakeShell> 08:11
T42<FakeShell> a bunch of these08:11
T42<FakeShell> 08:11
T42<FakeShell> grep video returns nothing (logcat) (re @elros34: why would you need d...)08:11
T42<FakeShell> is there a specific string i should be looking for in logcat?08:12
T42<elros34> grepping is not an option in this case, you need to check whole logcat from boot and search what video/media/codec related fails. Do you have correct droidmedia version? What about droid plugin version08:12
T42<elros34> do you have minimedia started?08:13
T42<FakeShell> for droidmedia i'm using 0.20220929.008:13
T42<FakeShell> which plugin? (re @elros34: grepping is not an o...)08:13
T42<FakeShell> 3601 media    /usr/libexec/droid-hybris/system/bin/minimediaservice08:14
T42<FakeShell> seems to be (re @elros34: do you have minimedi...)08:14
T42<elros34> now your droid plugin is probaly blacklisted so remeber to remove ~/.cache/gstreamer* during tests08:15
T42<FakeShell> ah i realized what happened08:17
T42<FakeShell> after removing the cache for gstreamer i get (droid-camres)08:17
T42<FakeShell> https://pastebin.com/Wm7t25M808:17
T42<FakeShell> after running it again those go away08:17
T42<FakeShell> removing the cache and running droid-camres or gst-inspect-1.0 gives me nothing in logcat08:18
T42<FakeShell> nothing in dmesg either08:18
T42<FakeShell> about that dpmd error i was getting in dmesg08:19
T42<FakeShell> i also get08:19
T42<FakeShell> 03-17 08:19:05.190 12496 12496 F linker  : CANNOT LINK EXECUTABLE "/system/bin/dpmd": "/system/lib64/libdpmframework.so" is 32-bit instead of 64-bit08:19
T42<FakeShell> in logcat08:19
T42<elros34> what is gst plugin version you have: zypper se -s gstreamer08:21
T42<FakeShell> https://pastebin.com/jMayK5A408:22
T42<elros34> it's from jolla repo so should be fine so logs read logs08:23
T42<FakeShell> anywhere else i should look for logs? gst-inspect and droid camres give me nothing08:28
T42<FakeShell> neither do logcat and dmesg08:28
T42<elros34> logcat from boot time or just last few minutes?08:30
T42<FakeShell> From the time i try accessing the camera08:33
T42<FakeShell> https://pastebin.com/t0zThunj08:44
T42<FakeShell> 08:44
T42<FakeShell> full logcat of the system08:44
T42<FakeShell> can't think of anything else08:44
T42<elros34> so what is the time/line in this log when you start gst-inspect? What command do you use to generate log, as root?09:01
T42<FakeShell> gst inspect happened from 03-17 08:42:42.19509:10
T42<FakeShell> you can see how nothing relevant is generated in logcat09:10
T42<FakeShell> i booted to debug2 echo'ed continue and ran logcat as soon as it was available09:10
T42<FakeShell> gst inspect happened from 03-17 08:42:42.19509:10
T42<FakeShell> you can see how nothing relevant is generated in logcat09:10
T42<FakeShell> i booted to debug2 echo'ed continue and ran logcat as soon as it was available09:10
T42<FakeShell> i made sure to remove the gstreamer cache (edited)09:10
T42<elros34> did you run something camera related?09:28
T42<elros34> did you remove cache before reboot?09:29
T42<FakeShell> yes (re @elros34: did you run somethin...)09:29
T42<FakeShell> yes (re @elros34: did you remove cache...)09:29
T42<FakeShell> i made sure to do everything correctly09:29
T42<elros34> then do not start anything camera related because this makes logs even harder to read also camera may trigger issue but so far you do not have gst-droid working at all and it's not clear what cause it09:31
T42<elros34> not sure if that is needed but do you have audiosystem-passthrough?09:35
T42<FakeShell> yes (re @elros34: not sure if that is ...)09:55
T42<FakeShell> i have it in my pattern and its running09:55
T42<FakeShell> i can provide my sources if you want don't think that will help out that much09:57
T42<FakeShell> about bluetooth10:00
T42<FakeShell> i can clearly see both the bluetooth hal and bluetoothd running but no bluebinder (thats what we use on most other hybris distros but i can't find it here very questionable?)10:00
T42<FakeShell> i'm guessing thats the missing piece for bluetooth10:00
T42<elros34> https://github.com/mer-hybris/droid-config-sony-nile/blob/master/patterns/patterns-sailfish-device-adaptation-discovery.inc#L1410:02
T42<FakeShell> huh ok interesting how its not included by default10:07
T42<FakeShell> bluebinder significantly increases boot time10:21
T42<FakeShell> looking in telnet it maxes out 1 core completely then process restarts and ui comes up10:21
T42<FakeShell> bluebinder significantly increases boot time10:22
T42<FakeShell> looking in telnet it maxes out 1 core completely then process restarts and ui comes up10:22
T42<FakeShell> takes about a minute to boot (edited)10:22
T42<FakeShell> bluebinder significantly increases boot time10:22
T42<FakeShell> looking in telnet it maxes out 1 core completely then process restarts and ui comes up10:22
T42<FakeShell> takes about a minute to get to ui (edited)10:22
T42<elros34> but do you have hcivhci enabled in kernel? Be aware older devices didn't use it10:26
T42<FakeShell> CONFIG_BT_HCIVHCI=y (re @elros34: but do you have hciv...)10:26
T42<FakeShell> bluetooth itself works fine now10:26
T42<elros34> don't you have some service waiting when bluebinder starts in journal/logcat? You can always strace it to figure out whwen it stuck for so long10:27
T42<FakeShell> yea i'll leave perfecting for last10:28
T42<FakeShell> any package for fingerprint?10:28
T42<elros34> there should be something here I think https://github.com/sailfishos-open10:30
T42<FakeShell> is there not a package available in the repos that i can add to my pattern? do i have to build it from source?10:33
T42<elros34> maybe there is something I have never used it but you can see it's built on android side so for sure you must build something yourself10:36
T42<FakeShell> i built it now how can i even setup a fingerprint11:40
T42<FakeShell> i can see a fingerprint restart button in settings->utilities section11:41
T42<FakeShell> yamuisplash shows a black screen12:41
T42<FakeShell> fingerprint works but after the fingerprint setup finishes (the fingerprint animation fills up) it says failed to register retry12:44
*** amccarthy is now known as Guest805314:25
*** amccarthy_ is now known as amccarthy14:25
nncvhello hello17:11

Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!