T42 | <simonschmeisser> Thaodan: sorry, but which package? there's sailfish-browser, qtmozembed and gecko-dev involved (at least) and I couldn't find documentation in an obvious location in either one | 08:49 |
---|---|---|
T42 | <simonschmeisser> mal: gmp-droid sounds like it is android specific? is there a desktop/upstream linux equivalent? | 08:51 |
mal | gmp-droid is similar to gst-droid which we use for hardware codecs | 09:11 |
mal | gmp-droid is for browser, gst-droid for everything else | 09:11 |
T42 | <simonschmeisser> mal: understood, but pinephone is not android based so I was wondering if there is some equivalent ... but I don't expect this to stop the browser from working at all either | 09:38 |
mal | that is not relevant for the pinephone browser issue | 09:38 |
mal | we need to investigate if using hardware decoding using native linux ways is possible in browser | 09:39 |
T42 | <simonschmeisser> mal: I was hoping to figure one thing out for myself ... but where do I configure the LED? The section on ngfd in the HADK is still todo unfortunately | 10:12 |
mal | led is in mce configuration | 10:14 |
T42 | <simonschmeisser> mal: thanks, path changed and now it works again :) | 10:28 |
T42 | <simonschmeisser> mal: is the flash/torch LED handled in the same way in mce? | 10:41 |
mal | flash is handled normally by android side, not sure how native ports handle that, is gstreamer doing that automatically? | 10:42 |
T42 | <simonschmeisser> camera is not working yet, but it can be controller via /sys/class/leds/white\:flash/ | 10:44 |
T42 | <simonschmeisser> the camera will be a bigger project involving libcamera | 10:45 |
mal | libcamera has gstreamer support so might not be too complicated, I have libcamera built for sfos already for future testing | 10:48 |
T42 | <simonschmeisser> yes, but it needs to support the actual hardware, that's the bigger project I assume | 10:49 |
mal | what camera controller does the device have? | 10:52 |
mal | https://git.linuxtv.org/libcamera.git/tree/src/libcamera/pipeline/simple/simple.cpp#n53 vs https://github.com/sailfish-on-dontbeevil/kernel-megi/blob/orange-pi-5.10-sfos/arch/arm64/configs/pinephone_defconfig#L367 | 10:54 |
mal | @adampigg can you config pinephone uses sun6i camera controller? | 10:55 |
mal | *confirm | 10:56 |
T42 | <simonschmeisser> mal: yes, sun6i-csi | 10:57 |
mal | so there should be some kind of support in libcamera for that already | 10:58 |
T42 | <simonschmeisser> oh, wow, I'll test in the afternoon | 10:59 |
T42 | <sm0lman> Hi, I have a Fairphone 3, does anyone know if there is a working port for this device? | 11:11 |
mal | I have almost fully working fairphone 3 port but it's not public yet | 11:14 |
piggz | mal: how should libcamera be used within a sailfish app? | 13:37 |
mal | piggz: it has a normal gstreamer plugin in the git repo, afaik you just install the gst plugin | 13:42 |
mal | piggz: https://git.linuxtv.org/libcamera.git/tree/src/gstreamer | 13:43 |
T42 | Paul Davis %lastname% was added by: Paul Davis %lastname% | 14:09 |
T42 | <simonschmeisser> mal: I'm trying to build your libcamera package, where can I find libv4l2? | 14:09 |
T42 | <adampigg> @simonschmeisser its in the native-common repos | 14:11 |
T42 | <simonschmeisser> ah thanks, I installed a new 3.4 target and forgot to add this again | 14:12 |
T42 | <adampigg> @simonschmeisser you are working on the pinephone? | 14:13 |
T42 | <simonschmeisser> yes, my jolla1 died so I need a new phone ... | 14:14 |
T42 | <simonschmeisser> or did you mean litteraly compiling on it? I'm using the platform sdk | 14:19 |
T42 | <adampigg> no, but if you are assisting the the port, may aswell join the tg group | 14:21 |
T42 | <simonschmeisser> mal: your libcamera does not build for me on 3.4 because of ../src/libcamera/pub_key.cpp:90:12: error: ‘gnutls_pubkey_verify_data2’ was not declared in this scope | 14:50 |
T42 | <simonschmeisser> (and because it wouldn't find doxygen and graphviz dot, but these can be disabled) | 14:51 |
mal | that new version is still broken in my repo, I didn't yet fix it | 14:52 |
mal | that gnutls thing looks familiar | 14:52 |
piggz | i said that too :D | 14:53 |
mal | @simonschmeisser if you are building locally remember to add -p to the end of build command | 14:54 |
mal | so it will apply the patches during mb2 build | 14:54 |
T42 | <simonschmeisser> ah, ok, MartijnBraam also said it no longer works | 14:54 |
mal | I use it often | 14:54 |
T42 | <simonschmeisser> ok, now it seems to compile :) | 14:58 |
T42 | <simonschmeisser> a bit further ... | 14:59 |
mal | need proper disabling of documentation probably | 15:00 |
mal | hmm, did I forget to push a new version, I'm pretty sure I had disabled documentation | 15:00 |
piggz | u mist have missed it, https://build.merproject.org/package/show/nemo:devel:hw:pine:dontbeevil/libcamera | 15:01 |
mal | I need to check where my sources are locally | 15:02 |
mal | @simonschmeisser piggz I pushed a build fix now | 15:16 |
piggz | rebuidling | 15:17 |
mal | I disabled qcam for now | 15:17 |
mal | and added simple pipeline | 15:17 |
T42 | <simonschmeisser> thanks! MartijnBraam told me it doesn't work anymore however ... but let's see | 15:18 |
mal | @simonschmeisser I just used build -p when doing my local test build | 15:21 |
mal | are you sure you use it correctly | 15:22 |
T42 | <adampigg> @simonschmeisser libcamera built https://build.merproject.org/package/show/nemo:devel:hw:pine:dontbeevil/libcamera | 15:47 |
T42 | <simonschmeisser> I build and installed it locally already but the test command does not work unfortunately as gstreamer seems not to like the plugin? | 15:49 |
T42 | <simonschmeisser> gst-launch-1.0 -v libcamerasrc camera-name="Camera 1" ! videoconvert ! autovideosink | 15:49 |
T42 | <simonschmeisser> WARNING: erroneous pipeline: no element "libcamerasrc" | 15:49 |
mal | try removing ~/.cache/gstreamer or something like that first | 15:54 |
T42 | <simonschmeisser> gst-inspect-1.0 coredumps on the file ... not a good sign I guess | 16:12 |
mal | then use gdb to check where, if possible | 16:12 |
T42 | <simonschmeisser> gnutls ... | 16:14 |
T42 | <simonschmeisser> #0 0xf7573d7e in asn1_delete_structure2 () from /usr/lib/libtasn1.so.6 | 16:14 |
T42 | <simonschmeisser> #1 0xf780c2d8 in gnutls_pubkey_import () from /usr/lib/libgnutls.so.26 | 16:14 |
T42 | <simonschmeisser> #2 0x00000000 in ?? () | 16:14 |
T42 | <simonschmeisser> #0 0xf7573d7e in asn1_delete_structure2 () from /usr/lib/libtasn1.so.6 | 16:19 |
T42 | <simonschmeisser> #1 0xf780c2d8 in gnutls_pubkey_import (key=0xfffeedbc, data=<optimized out>, format=<optimized out>) at gnutls_pubkey.c:744 | 16:19 |
T42 | <simonschmeisser> #2 0x00000000 in ?? () | 16:19 |
mal | ok, so it needs some fixing then | 16:25 |
mal | my gnutls patch was untested build fix | 16:25 |
T42 | <simonschmeisser> hehe | 16:26 |
mal | I don't have yet any device to test that | 16:28 |
mal | camera support on my mainline device is untested and missing some device tree entries | 16:28 |
T42 | <simonschmeisser> I assume it will crash anyway | 16:29 |
T42 | <simonschmeisser> likely the data format in gnutls has changed as well and your patch is somewhat too optimistic | 16:29 |
T42 | <simonschmeisser> I'll try if it works without gnutls | 16:36 |
mal | @simonschmeisser can you install debug symbols for gnutls | 16:44 |
mal | and for libtasn | 16:45 |
T42 | <simonschmeisser> ERROR: from element /GstPipeline:pipeline0/GstLibcameraSrc:libcamerasrc0: Could not find any supported camera on this system. | 16:46 |
T42 | <simonschmeisser> I just set HAVE_GNUTLS to 0 and now it "works" | 16:47 |
T42 | <simonschmeisser> will install your version again later and install libtasn | 16:48 |
mal | can you strace the new failure | 16:50 |
mal | that camera not found issue | 16:50 |
T42 | <simonschmeisser> mal: https://paste.ubuntu.com/p/n5xkSKvQTw/ | 17:01 |
mal | @simonschmeisser line 63 https://git.linuxtv.org/libcamera.git/tree/README.rst#n63 | 17:06 |
mal | although not sure how relevant that is | 17:11 |
T42 | <simonschmeisser> https://paste.ubuntu.com/p/snSMfMc7ts/ somewhat longer backtrace | 17:19 |
T42 | <simonschmeisser> this version of gnutls seems "slightly dated", are there plans to update? | 17:41 |
T42 | <simonschmeisser> it seems to look at the wrong device ... /dev/media0 is cedrus device for video decoding | 18:02 |
T42 | <adampigg> @simonschmeisser [it seems to look at the wrong device ... /dev/ …], env variables to override? | 18:13 |
T42 | <simonschmeisser> MartijnBraam says: the flash driver doesn't work, if it's in the dtb the whole media node won't come up | 18:14 |
T42 | <simonschmeisser> that's why there is actually no media node for the camera | 18:14 |
T42 | <simonschmeisser> can I change the dtb on device? | 18:15 |
T42 | <simonschmeisser> ah, the "b" stands for binary I guess ... | 18:17 |
T42 | <simonschmeisser> Adam Pigg: where does the dtb actually come from? | 18:29 |
T42 | <adampigg> its from the kernel build | 18:40 |
T42 | <simonschmeisser> https://gitlab.com/postmarketOS/pmaports/-/blob/master/main/linux-postmarketos-allwinner/0005-dts-pinephone-Disable-flash-led-in-OV5640-node.patch | 20:06 |
T42 | <simonschmeisser> this is what we need to do | 20:06 |
T42 | <ankaos> hı. how fix this problem? https://del.dog/ghitedihyv.txt | 20:27 |
mal | does that happen when doing make hybris-hal? | 20:30 |
T42 | <ankaos> now repo sync other device | 20:38 |
T42 | <adampigg> @simonschmeisser [this is what we need to do], ok, i can add that, im already using some patches from that repo anyway | 22:10 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!