T42 | <Walid> i have error when ran this commande rpm/dhd/helpers/build_packages.sh --configs, | 11:56 |
---|---|---|
T42 | <Walid> https://pastebin.com/fFm72Tgr | 11:56 |
mal | does 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-mer | 11:58 |
T42 | <Walid> yes thx (re @SailfishFreenodeIRCBridgeBot: <mal>does this help:...) | 11:59 |
mal | searching channel logs is useful :) | 12:00 |
mal | @b100dian hopefully I'll have some time to look into camera2 api later this week, not sure yet | 12: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> uhoh | 13:09 |
T42 | <TheVancedGamer> /unban https://t.me/b100dian | 13:09 |
T42 | <TheVancedGamer> sorry :P | 13:09 |
b100dian | :) | 13:11 |
b100dian | I need to choose my words more carefully | 13:12 |
T42 | <TheVancedGamer> it's okay, I unbanned :P | 13:13 |
b100dian | It's a secret way to send messages only to IRC and get them deleted from telegram;) | 13:14 |
T42 | <b100dian> Thanks @TheVancedGamer | 13:14 |
T42 | <TheVancedGamer> it's these liittle things that make it a bit difficult to make a chat fully spam free :D | 13:15 |
T42 | <TheVancedGamer> but all good | 13:15 |
mal | what caused the ban? | 13:15 |
T42 | <TheVancedGamer> the word 'investment' | 13:15 |
mal | ah | 13:15 |
T42 | <TheVancedGamer> since that's in most of the crypto scams xd | 13:15 |
mal | yeah, that makes sense | 13: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_cv | 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_cb (edited) | 13:16 |
mal | hmm, not sure, can't remember how that specific code does things | 13:16 |
T42 | <TheVancedGamer> it seems to want to always go to jpeg | 13:17 |
T42 | <TheVancedGamer> but hey, at least i'm getting 4000x3000 res images :D | 13:17 |
mal | so 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 instead | 13: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 |
mal | so that compressed image case? | 13:19 |
T42 | <TheVancedGamer> ``` | 13:19 |
T42 | <TheVancedGamer> ``` | 13:19 |
T42 | <TheVancedGamer> phablet@ubuntu-phablet:~$ LD_PRELOAD= ./camera_test | 13:19 |
T42 | <TheVancedGamer> WARNING: linker: Warning: failed to find generated linker configuration from "/linkerconfig/ld.config.txt" | 13:19 |
T42 | <TheVancedGamer> ext1: 0, ext2: 0 | 13:19 |
T42 | <TheVancedGamer> void shutter_msg_cb(void *) | 13:19 |
T42 | <TheVancedGamer> ext1: 0, ext2: 0 | 13:19 |
T42 | <TheVancedGamer> void jpeg_data_cb(void *, uint32_t, void *): 455342 | 13:19 |
T42 | <TheVancedGamer> phablet@ubuntu-phablet:~$``` | 13:19 |
T42 | <TheVancedGamer> mal: yeah that | 13:19 |
T42 | <TheVancedGamer> i'm giving takePicture() CAMERA_MSG_RAW_IMAGE though | 13:19 |
T42 | <TheVancedGamer> and added callback function for it, and added it into listener struct at main function | 13:20 |
T42 | <TheVancedGamer> mal: any ideas? | 13:54 |
T42 | <TheVancedGamer> has raw image ever worked before? | 13:54 |
mal | I think it has never been really used | 13:56 |
T42 | <TheVancedGamer> explains | 13:56 |
mal | difficult to say if it has worked or not | 13:56 |
T42 | <TheVancedGamer> it's treating it as if I was passing in COMPRESSED_IMAGE msgtype | 13:56 |
T42 | <TheVancedGamer> which I am not | 13:56 |
mal | you are sure your device supports raw images? | 13:56 |
T42 | <TheVancedGamer> yeah | 13:57 |
T42 | <TheVancedGamer> works on android, iirc it's in dump_parameters as well | 13:57 |
mal | ok | 13:57 |
mal | did 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#L871 | 13:59 |
T42 | <TheVancedGamer> mal: io'm directly interacting with libcamera_client with identical code to all of that | 13:59 |
mal | ok | 14:00 |
T42 | <TheVancedGamer> i've copy-pasted all of that code | 14:00 |
T42 | <TheVancedGamer> so i'm pretty confident I didn't mess something up :P | 14:01 |
mal | have 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 for | 14:01 |
T42 | <TheVancedGamer> java side uses RAW_IMAGE and seems to use a separate buffer for it | 14:02 |
mal | @TheVancedGamer maybe check CameraParameters::setPictureFormat related things in android side? | 14:11 |
mal | that defaults to jpeg | 14:11 |
mal | so maybe it needs to be set somehow | 14:11 |
T42 | <TheVancedGamer> huh | 14:11 |
T42 | <TheVancedGamer> I set setPreviewFormat to bayer-rggb | 14:11 |
T42 | <TheVancedGamer> that was RAW16 | 14:11 |
T42 | <TheVancedGamer> i'll check that out, thanks | 14:12 |
T42 | <TheVancedGamer> mal: should I set parameters before or after I start preview? | 14:33 |
mal | not sure | 14:34 |
T42 | <TheVancedGamer> because I set both preview format and picture format to bayer-rggb, no effecr | 14:35 |
T42 | <TheVancedGamer> because I set both preview format and picture format to bayer-rggb, no effect (edited) | 14:35 |
mal | is there anything interesting in logcat? | 14:43 |
T42 | <TheVancedGamer> mal: only logs for jpeg capture | 14:45 |
mal | nothing when you set the parameters? | 14:53 |
T42 | <TheVancedGamer> mal: nope | 14:53 |
T42 | <TheVancedGamer> it treats it as if I am passing in COMPRESSED_IMAGE param | 14:53 |
mal | so how are you exactly testing that? | 14:54 |
T42 | <TheVancedGamer> it prints function name when it's called | 14:54 |
T42 | <TheVancedGamer> and instead of calling raw function it's calling jpeg_data_cb | 14:55 |
T42 | <A_T_R> what is the latest release version of sfos | 15:23 |
mal | 4.5.0.21 | 15: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 |
mal | of course in devel builds that is not necessary but for testing builds it is | 17:15 |
*** tigran_ is now known as tigran | 20:02 | |
tigran | Guys, 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 |
mal | maybe some part was forgotten to be updated, even hybris-20.0 is possible, 19.1 not yet | 20:12 |
b100dian | mal: hybris-20.0 droidmedia works too? | 21:16 |
mal | it should | 21:28 |
mal | it's not merged yet | 21:28 |
mal | also not sure if I pushed the latest fixes yet | 21:28 |
T42 | <b100dian> oh, I see now the android13 branch | 21:47 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!