Tuesday, 2023-08-01

T42<Walid> i have error when ran this commande rpm/dhd/helpers/build_packages.sh --configs,11:56
T42<Walid> https://pastebin.com/fFm72Tgr11:56
maldoes this help: sb2 -t $VENDOR-$DEVICE-$PORT_ARCH -m sdk-install -R zypper --plus-repo $ANDROID_ROOT/droid-local-repo/$DEVICE in droid-config-$DEVICE-bluez5 -bluez5-configs-mer11:58
T42<Walid> yes thx (re @SailfishFreenodeIRCBridgeBot: <mal>does this help:...)11:59
malsearching channel logs is useful :)12:00
mal@b100dian hopefully I'll have some time to look into camera2 api later this week, not sure yet12:36
T42<b100dian> mal: thanks, but can you think of a method one can help with the cleanup without you necessarily making more investment? Like, say, private repo until squash (but maybe other there are other ways?)13:09
T42<TheVancedGamer> uhoh13:09
T42<TheVancedGamer> /unban https://t.me/b100dian13:09
T42<TheVancedGamer> sorry :P13:09
b100dian:)13:11
b100dianI need to choose my words more carefully13:12
T42<TheVancedGamer> it's okay, I unbanned :P13:13
b100dianIt's a secret way to send messages only to IRC and get them deleted from telegram;)13:14
T42<b100dian> Thanks @TheVancedGamer13:14
T42<TheVancedGamer> it's these liittle things that make it a bit difficult to make a chat fully spam free :D13:15
T42<TheVancedGamer> but all good13:15
malwhat caused the ban?13:15
T42<TheVancedGamer> the word 'investment'13:15
malah13:15
T42<TheVancedGamer> since that's in most of the crypto scams xd13:15
malyeah, that makes sense13:15
T42<TheVancedGamer> btw mal, do you have any ideas about camera1 api not sending bayer pattern images over raw_image_cb?13:16
T42<TheVancedGamer> i've implemented it myself after looking at libhybris, and even if I pass in CAMERA_MSG_RAW_IMAGE it still calls jpeg_image_cv13:16
T42<TheVancedGamer> i've implemented it myself after looking at libhybris, and even if I pass in CAMERA_MSG_RAW_IMAGE it still calls jpeg_image_cb (edited)13:16
malhmm, not sure, can't remember how that specific code does things13:16
T42<TheVancedGamer> it seems to want to always go to jpeg13:17
T42<TheVancedGamer> but hey, at least i'm getting 4000x3000 res images :D13:17
malso the raw image part here doesn't get called https://github.com/sailfishos/droidmedia/blob/master/droidmediacamera.cpp#L141 ?13:18
T42<TheVancedGamer> mal: no, it calls jpeg's cb instead13:19
T42<TheVancedGamer> I copy-pasted a lot of code and adjusted it, and this is what I get when I run it:13:19
malso that compressed image case?13:19
T42<TheVancedGamer> ```13:19
T42<TheVancedGamer> ```13:19
T42<TheVancedGamer> phablet@ubuntu-phablet:~$ LD_PRELOAD= ./camera_test13:19
T42<TheVancedGamer> WARNING: linker: Warning: failed to find generated linker configuration from "/linkerconfig/ld.config.txt"13:19
T42<TheVancedGamer>         ext1: 0, ext2: 013:19
T42<TheVancedGamer> void shutter_msg_cb(void *)13:19
T42<TheVancedGamer>         ext1: 0, ext2: 013:19
T42<TheVancedGamer> void jpeg_data_cb(void *, uint32_t, void *): 45534213:19
T42<TheVancedGamer> phablet@ubuntu-phablet:~$```13:19
T42<TheVancedGamer> mal: yeah that13:19
T42<TheVancedGamer> i'm giving takePicture() CAMERA_MSG_RAW_IMAGE though13:19
T42<TheVancedGamer> and added callback function for it, and added it into listener struct at main function13:20
T42<TheVancedGamer> mal: any ideas?13:54
T42<TheVancedGamer> has raw image ever worked before?13:54
malI think it has never been really used13:56
T42<TheVancedGamer> explains13:56
maldifficult to say if it has worked or not13:56
T42<TheVancedGamer> it's treating it as if I was passing in COMPRESSED_IMAGE msgtype13:56
T42<TheVancedGamer> which I am not13:56
malyou are sure your device supports raw images?13:56
T42<TheVancedGamer> yeah13:57
T42<TheVancedGamer> works on android, iirc it's in dump_parameters as well13:57
malok13:57
maldid you modify gst-droid to only ask for raw images, it seems to set both normally https://github.com/sailfishos/gst-droid/blob/master/gst/droidcamsrc/gstdroidcamsrcdev.c#L87113:59
T42<TheVancedGamer> mal: io'm directly interacting with libcamera_client with identical code to all of that13:59
malok14:00
T42<TheVancedGamer> i've copy-pasted all of that code14:00
T42<TheVancedGamer> so i'm pretty confident I didn't mess something up :P14:01
malhave you checked if android code reveals any special handling for raw images?14:01
T42<TheVancedGamer> did an mgrep, found something called CAMERA_MSG_RAW_IMAGE_NOTIFY that sends notification but I don't know what that is for14:01
T42<TheVancedGamer> java side uses RAW_IMAGE and seems to use a separate buffer for it14:02
mal@TheVancedGamer maybe check CameraParameters::setPictureFormat related things in android side?14:11
malthat defaults to jpeg14:11
malso maybe it needs to be set somehow14:11
T42<TheVancedGamer> huh14:11
T42<TheVancedGamer> I set setPreviewFormat to bayer-rggb14:11
T42<TheVancedGamer> that was RAW1614:11
T42<TheVancedGamer> i'll check that out, thanks14:12
T42<TheVancedGamer> mal: should I set parameters before or after I start preview?14:33
malnot sure14:34
T42<TheVancedGamer> because I set both preview format and picture format to bayer-rggb, no effecr14:35
T42<TheVancedGamer> because I set both preview format and picture format to bayer-rggb, no effect (edited)14:35
malis there anything interesting in logcat?14:43
T42<TheVancedGamer> mal: only logs for jpeg capture14:45
malnothing when you set the parameters?14:53
T42<TheVancedGamer> mal: nope14:53
T42<TheVancedGamer> it treats it as if I am passing in COMPRESSED_IMAGE param14:53
malso how are you exactly testing that?14:54
T42<TheVancedGamer> it prints function name when it's called14:54
T42<TheVancedGamer> and instead of calling raw function it's calling jpeg_data_cb14:55
T42<A_T_R> what is the latest release version of sfos15:23
mal4.5.0.2115:24
T42<A_T_R> i have already set-up ota for my device at the time of release 4.5.0.16 ,so i just update via OTA to get latest fixes?15:26
mal@A_T_R do you have .21 target in obs for your device adaptation?17:15
malof course in devel builds that is not necessary but for testing builds it is17:15
*** tigran_ is now known as tigran20:02
tigranGuys, one question: it says "Do not use –fetch-submodules parameter on hybris-18.1 or newer Android bases." in the document's 5.2 section but in the first few pages it says that the latest supported LineageOS is 17.1. What's up with that?20:03
malmaybe some part was forgotten to be updated, even hybris-20.0 is possible, 19.1 not yet20:12
b100dianmal: hybris-20.0 droidmedia works too?21:16
malit should21:28
malit's not merged yet21:28
malalso not sure if I pushed the latest fixes yet21:28
T42<b100dian> oh, I see now the android13 branch21:47

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