Thursday, 2022-07-21

T42<Verevka86> ^ (re @SailfishFreenodeIRCBridgeBot: <Thaodan>Do you have...)04:15
lbtthanks nephros_ncbr_08:59
T42<edp_17> Are gst-droid and gstreamer1.0 packages the same?10:47
T42<edp_17> I've found gmp-droid package but didn't find gst-droid one (only gstreamer).10:48
T42<elros34> no they are not, gst-droid (gstreamer1.0-droid) is plugin for gstreamer (gstreamer1.0)10:51
T42<edp_17> Okay, thanks.10:53
T42<edp_17> I am puzzled with the camera problem.10:54
T42<edp_17> It looks like al packages are fine and correct versions installed : https://paste.ubuntu.com/p/5mjB3CsZk9/10:54
T42<edp_17> I also checked hadk-faq-hot but still camera shows black screen.10:55
T42<elros34> sometimes getting packages compiled is not enough. DId you try to run camera from commandline to avoid sailjail?10:59
T42<edp_17> Yes, I did. Same result.11:00
T42<elros34> what kind of result, there must be something in logs after clearing gstreamer cache/rebooting device11:00
T42<edp_17> It doesn't crash, only shows black screen. (I can switch between picture and video mode, just cannot shot.)11:01
T42<edp_17> I've cleared gstreamer cache and ran jolla-camera from command line : https://paste.ubuntu.com/p/ZBw54FjXsx/11:03
T42<edp_17> cleared the cahce again and ran debug: https://paste.ubuntu.com/p/JqbDYV4jnT/11:05
T42<edp_17> It says: "Found 0 cameras"11:05
T42<edp_17> cleared cahce again and ran gst-inspect: https://paste.ubuntu.com/p/X9TZnWtjGv/11:07
T42<elros34> so logcat should have tons of errors11:07
T42<edp_17> logcat : https://paste.ubuntu.com/p/6VRWJYyHxS/11:09
T42<edp_17> (The logcat captured when jolla-camera was started from command line.)11:10
T42<elros34> no like that, remove cache and reboot device. At boot time there should be some media initialization in logcat, then at first camera start it can be even more logs11:11
T42<edp_17> Okay, should I turn on permanent logging or that isn't necessary for logcat?11:12
T42<elros34> no idea if logcat have something like that11:13
T42<elros34> BTW something similar to this https://pastebin.com/WcBKPt2R  or small change in qpa-hwcomposer-plugin could help you with hwcomposer errors I see in your logs11:14
T42<edp_17> This is the best logcat I could get : https://paste.ubuntu.com/p/HG2zYzd55f/11:22
T42<elros34> do you have /vendor symlink or mount?11:31
T42<edp_17> /vendor is a symlink to /system/vendor11:32
T42<elros34> 'dlopen failed: "/system/vendor/lib/libmmjpeg.so" has text relocations' could be important11:39
T42<elros34> do you even have working video playback in gallery?11:40
T42<edp_17> No, video playback doesn't work either.11:44
T42<edp_17> I also think that is the issue : "/system/vendor/lib/libmmjpeg.so" has text relocations11:45
T42<edp_17> But no idea how to fix.11:46
T42<elros34> I think in some older android bases modifying this was helpful but I do not remember excatly and it may not work anymore on android 10: https://github.com/libhybris/libhybris/blob/master/hybris/common/q/linker.cpp#L4004. DIdn't you use such a hack on some device?11:53
T42<edp_17> No, I don't use these kind of hacks but will try now.11:59
T42<elros34> see: https://github.com/LineageOS/android_device_samsung_jf-common/blob/lineage-17.1/BoardConfigCommon.mk#L122. but there is no TARGET_NEEDS_PLATFORM_TEXT_RELOCATIONS in "q" linker sources, only in "n". What linker do you have in /usr/lib/libhybris/linker/?12:00
T42<edp_17> @elros34 : I have these : https://paste.ubuntu.com/p/twgXRKPBWr/12:33
T42<elros34> ah so I guess q, is right one to modify12:50
T42<edp_17> Okay, so I need to comment out that "return false;", right? Will it has impact elsewhere?13:40
T42<edp_17> Like this? https://github.com/edp17/libhybris/commit/d543a5f2356b60b7f48813094e811f24031088f713:43
T42<elros34> looks sane, it shouldn't break camera more:)13:46
T42<elros34> but I am not sure whether this should be done in libhybris or in android part13:47
T42<edp_17> @elros34 : What's the difference between github.com/libhybris (you linked) and the other one github.com/mer-hybris ?14:23
T42<edp_17> I meant github.com/mer-hybris/libhybris14:24
T42<edp_17> The one you mentioned I forked, modified the source and tried to build but there is no spce file.14:25
T42<elros34> compare them then you will realize the difference. One is submodule of the other14:25
T42<edp_17> Okay, I got it.14:26
T42<edp_17> I've amended the source in external/libhybris, now I should rebuild hybris-hal and droidmedia, right? Anything else or these two sufficient?14:31
T42<elros34> or just libhybris14:33
mallibhybris is enough in this case14:34
T42<edp_17> How can I rebuild libhyris only?14:36
malsomething like build_packages.sh -b hybris/mw/libhybris14:38
T42<edp_17> mal : I don't have hybris/mw/libhybris :)14:42
T42<edp_17> I only have external/libhybris14:43
malthen use that, it should be same repo14:53
malassuming it has the packaging14:54
T42<Thomas> 𝐈 𝐚𝐦 𝐯𝐞𝐫𝐲 𝐡𝐚𝐩𝐩𝐲 𝐈 𝐦𝐚𝐝𝐞 𝐦𝐨𝐧𝐞𝐲 𝐭𝐡𝐫𝐨𝐮𝐠𝐡 𝐟𝐨𝐫𝐞𝐱 𝐚𝐧𝐝 𝐛𝐢𝐭𝐜𝐨𝐢𝐧 𝐭𝐫𝐚𝐝𝐢𝐧𝐠 𝐰𝐢𝐭𝐡 𝐭𝐡𝐞 𝐡𝐞𝐥𝐩 𝐨𝐟 𝐚 𝐥𝐞𝐠𝐢𝐭 𝐚𝐜𝐜𝐨𝐮𝐧𝐭 𝐦𝐚𝐧𝐚𝐠𝐞𝐫  𝐰𝐡𝐨 𝐦𝐚𝐝𝐞 𝐚 𝐡𝐮𝐠𝐞 𝐝𝐢𝐟𝐟𝐞𝐫𝐞�15:17
T42<Thomas>  𝐢𝐧𝐯𝐞𝐬𝐭𝐞𝐝 $3𝟎𝟎 𝐚𝐧𝐝 𝐫𝐞𝐜𝐞𝐢𝐯𝐞𝐝 $3𝟎𝟎𝟎 𝐢𝐧  𝐥𝐞𝐬𝐬 𝐭𝐡𝐚𝐧 2𝟒𝐡𝐨𝐮𝐫𝐬 𝐈 𝐬𝐭𝐢𝐥𝐥 𝐝𝐨𝐧'𝐭 𝐤𝐧𝐨𝐰 𝐡𝐨𝐰 he is  𝐝𝐨𝐢𝐧𝐠 𝐢𝐭. 𝐂𝐨𝐧𝐭𝐚𝐜𝐭 him 𝐢𝐟 𝐲𝐨𝐮 𝐚𝐫𝐞 𝐢𝐧𝐭𝐞𝐫𝐞𝐬𝐭𝐞𝐝 𝐦𝐨𝐫𝐞15:17
T42<Thomas> 15:17
T42<Thomas>  𝐢𝐧𝐟𝐨𝐫𝐦𝐚𝐭𝐢𝐨𝐧 𝐨𝐧 𝐡𝐨𝐰 𝐭𝐨 𝐠𝐞𝐭 𝐬𝐭𝐚𝐫𝐭𝐞𝐝15:17
T42<Thomas> https://t.me/joinchat/GAxjRxsd3JljOWNk15:17
T42<edp_17> @elros34 : I've installed the modified libhybris packages and the result is the same (black screen when camera app started). However, that error regarding text relocation has gone from logs : https://paste.ubuntu.com/p/gw3W7jQfvF/15:43
T42<elros34> it shouldn't gone unless you commented out dl_error15:46
T42<edp_17> I only commented out the "return false;"15:47
T42<elros34> why didnt you apply patch for: layer handle is NULL? You would have more readable log so you could notice that camera is not initialized15:47
T42<edp_17> I didn't know about that patch. How can I find out why camera was not initialized?15:49
T42<elros34> I guess because logcat is filled with hwcomposer logs and you grab them too late15:50
T42<elros34> compare you logs and you will see what is missin15:53
T42<edp_17> Is it "libEGL  : validate_display:91 error 3008 (EGL_BAD_DISPLAY)" ?15:56
T42<edp_17> or this? "Failed to read task profiles from /etc/task_profiles.json"15:57
T42<elros34> dont get what you are asking for. your prevous log was full of apex, MediaCodecsXmlParser, omx messages. In your latest log, there is only hwcomposer spam16:00
T42<edp_17> I see how you mean. I couldn't get log earlier because developer mode doesn't work and wifi only can be started manually and I have to enter password every time. :( (I've made a script to start wifi but it is still slow.)16:02
T42<edp_17> I've collected both logs the same way.16:03
T42<edp_17> Will try to continue later. Thanks for your help so far.16:04
T42<elros34> then telnet would be the easiest to get working16:41
T42<Jessica> 𝐈 𝐚𝐦 𝐯𝐞𝐫𝐲 𝐡𝐚𝐩𝐩𝐲 𝐈 𝐦𝐚𝐝𝐞 𝐦𝐨𝐧𝐞𝐲 𝐭𝐡𝐫𝐨𝐮𝐠𝐡 𝐟𝐨𝐫𝐞𝐱 𝐚𝐧𝐝 𝐛𝐢𝐭𝐜𝐨𝐢𝐧 𝐭𝐫𝐚𝐝𝐢𝐧𝐠 𝐰𝐢𝐭𝐡 𝐭𝐡𝐞 𝐡𝐞𝐥𝐩 𝐨𝐟 𝐚 𝐥𝐞𝐠𝐢𝐭 𝐚𝐜𝐜𝐨𝐮𝐧𝐭 𝐦𝐚𝐧𝐚𝐠𝐞𝐫  𝐰𝐡𝐨 𝐦𝐚𝐝𝐞 𝐚 𝐡𝐮𝐠𝐞 𝐝𝐢𝐟𝐟𝐞𝐫𝐞16:56
T42<Jessica>  𝐢𝐧𝐯𝐞𝐬𝐭𝐞𝐝 $3𝟎𝟎 𝐚𝐧𝐝 𝐫𝐞𝐜𝐞𝐢𝐯𝐞𝐝 $3𝟎𝟎𝟎 𝐢𝐧  𝐥𝐞𝐬𝐬 𝐭𝐡𝐚𝐧 2𝟒𝐡𝐨𝐮𝐫𝐬 𝐈 𝐬𝐭𝐢𝐥𝐥 𝐝𝐨𝐧'𝐭 𝐤𝐧𝐨𝐰 𝐡𝐨𝐰 he is  𝐝𝐨𝐢𝐧𝐠 𝐢𝐭. 𝐂𝐨𝐧𝐭𝐚𝐜𝐭 him 𝐢𝐟 𝐲𝐨𝐮 𝐚𝐫𝐞 𝐢𝐧𝐭𝐞𝐫𝐞𝐬𝐭𝐞𝐝 𝐦𝐨𝐫𝐞16:56
T42<Jessica> 16:56
T42<Jessica>  𝐢𝐧𝐟𝐨𝐫𝐦𝐚𝐭𝐢𝐨𝐧 𝐨𝐧 𝐡𝐨𝐰 𝐭𝐨 𝐠𝐞𝐭 𝐬𝐭𝐚𝐫𝐭𝐞𝐝16:56
T42<Jessica> https://t.me/joinchat/GAxjRxsd3JljOWNk16:56
T42<TheVancedGamer> oh god, these bots have really ramped up their scale16:56
*** Daanct12 is now known as Danct1216:58
piggzrinigus: have you set up community encryption using non-lvm with /home in an image file?17:51
riniguspiggz: while I was developing. but as I have LVM devices, it was usually not /home. although, I think I tested /home as well17:52
riniguspiggz: I would expect it to work.17:52
piggzrinigus: i was wondering what the point of converting to lvm is, if i can have encrypted home anyway17:53
riniguspiggz: for encryption, indeed. LVM, in principle, allows you to expand storage by joining physical partitions. in context of tama, I have at least one partition that I could use in this manner (where android has system usually)17:54
piggzrinigus: pro1x is 128gb, im not going to worry about a few gb in a system partition :)18:05
riniguspiggz: :) so far I haven't needed it either. so, go ahead, please try using encryption backed by file18:07
piggzrinigus: what would you recommend, ~/home.img ?18:09
riniguspiggz: /home.img with all homes under it (mounted as /home)18:10
piggzsorry, /home.img18:10
piggzyeah18:10
piggzwhat i meant18:10
riniguspiggz: sounds good18:12

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