NishanthMenon changed the topic of #linux-ti to: Linux development for TI SoCs | Logs: https://libera.irclog.whitequark.org/linux-ti/| paste logs in https://pastebin.ubuntu.com/ | Let it rock! Vendor SDK/kernel: Also see e2e.ti.com
ikarso has quit [Quit: Connection closed for inactivity]
darkapex has quit [Ping timeout: 268 seconds]
crabbedhaloablut has quit [Quit: No Ping reply in 180 seconds.]
crabbedhaloablut has joined #linux-ti
ungeskriptet4 has joined #linux-ti
ungeskriptet has quit [Ping timeout: 256 seconds]
ungeskriptet4 is now known as ungeskriptet
ladis has joined #linux-ti
rob_w has joined #linux-ti
mripard has joined #linux-ti
eballetbo has joined #linux-ti
ladis has quit [Ping timeout: 268 seconds]
ikarso has joined #linux-ti
<jluthra> javierm: hmm not sure how ticsi2rx formats got updated automatically, not supposed to happen on upstream kernel. are you running some older ti-linux baseline?
<jluthra> javierm: but good that cam tool works at least. for the DQBUF stuck issue - let me try to find my ov5647 branch with the dtbos. can you also try increasing the `--stream-mmap` option to something like `4` instead of `2`?
Kubu_work has joined #linux-ti
<jluthra> javierm: for libcamerasrc -> i think you'd need to set the format/resolution in the pipeline.
<jluthra> `gst-launch-1.0 libcamerasrc ! video/x-bayer, width=640, height=480, format=rggb10le` will probably need a newer gstreamer package for the 10bit formats
<javierm> jluthra: it's an upstream kernel (6.9.0-rc2+) with only a patch to add the DTS snippets: https://paste.centos.org/view/raw/a409f236
<javierm> jluthra: libcamera is the latest packaged in Fedora (libcamera-0.2.0-3.fc40.aarch64)
ladis has joined #linux-ti
ladis has quit [Ping timeout: 264 seconds]
ladis has joined #linux-ti
Kubu_work has quit [Quit: Leaving.]
Kubu_work has joined #linux-ti
Kubu_work has quit [Client Quit]
Kubu_work has joined #linux-ti
Kubu_work has quit [Client Quit]
Kubu_work has joined #linux-ti
<jluthra> javierm: ah okay, found the issue.. there is a fix which hasn't hit linux-next yet https://git.linuxtv.org/sailus/media_tree.git/commit/?id=004046112c160a55dcafe52b5bf2840e912a5df1
<jluthra> with this i am able to stream ov5647 with my sk-am62. here is my branch with the overlay https://github.com/jailuthra/linux/commits/temp_ov5647_master
<jluthra> your beagle play overlay seems to be okay, so probably just need that ordering fix in cdns-csi2rx driver ^^
<jluthra> for the dqbuf issue i mean
<javierm> jluthra: cool, that makes sense. I'll give it a try!
<jluthra> pivi: just the userspace is from debian sid, kernel i was flashing my own.
<javierm> btw, what gst video output element are you using? I noticed that neither kmssink (with tidss) nor waylandsink support video/x-bayer
<javierm> jluthra: I've installed gstreamer 1.24.0 (the 10-bit bayer support landed in .23) and with that I could do: gst-launch-1.0 videotestsrc ! video/x-bayer, width=640, height=480, format=rggb10le ! fakesink
<jluthra> yes, bayer can't be displayed directly. you can either use filesink and view the raw capture elsewhere, or use `bayer2rgb` element which uses CPU to debayer it to RGB (very slow, ~10fps for 480p)
<javierm> cool! Now I've gst-launch-1.0 videotestsrc ! video/x-bayer, width=640, height=480, format=rggb10le ! bayer2rgb ! kmssink working
<javierm> I'll build a kernel with your patch
<jluthra> neat!
<javierm> jluthra: what libcamera version are you using ?
<javierm> I'm still getting negotination issues between libcamerasrc ! video/x-bayer ! bayer2rgb
<jluthra> javierm: i am on v0.1.0 - but i haven't ever tested 10bit bayer with libcamerasrc, only 8bit with imx219
<javierm> jluthra: Ok
<javierm> jluthra: so even after applying your patch, both cam --camera=1 --capture=10 --file=frames.raw and v4l2-ctl --device /dev/video0 --stream-mmap=4 --stream-count=100 --stream-to=/dev/null hang :(
<javierm> both in the same place, DQBUF
<jluthra> hmmm the only other reason i see why it might fail on beagleplay (as it works on sk-am62) is the pwdn gpio taking too long
<javierm> right, let me compare your DTS with mine
<jluthra> we saw this on ov5647, which is why the beagleplay overlay for ov5640 in mainline hogs the GPIO, instead of passing it to sensor DT node
<javierm> jluthra: interesting! I saw (since took the DTS snippets from that overlay) and wondered why a gpio-hog was used instead of setting the pwdn-gpios prop
<javierm> jluthra: didn't help... I also noticed that was missing a link-frequencies = /bits/ 64 <297000000>; but also didn't make any diff
<javierm> I'll try to find some time next week or so to dig further on this. If someone else manages to get the OV5647 sensor with the BeaglePlay in the meantime, please let me know :)
<javierm> jluthra: learned a ton from your answers though, thanks a lot again for your assistance
<jluthra> no probs! i'll see if i can get time to test it on bplay this week
<javierm> jluthra: awesome, thanks!
Kubu_work has quit [Read error: Connection reset by peer]
manchaw has quit [Quit: Connection closed for inactivity]
Kubu_work has joined #linux-ti
Kubu_work has quit [Read error: Connection reset by peer]
Kubu_work has joined #linux-ti
minas has quit [Remote host closed the connection]
minas has joined #linux-ti
Kubu_work has quit [Quit: Leaving.]
Kubu_work has joined #linux-ti
florian_kc has joined #linux-ti
florian has joined #linux-ti
ladis has quit [Quit: Leaving]
Kubu_work has quit [Quit: Leaving.]
Kubu_work has joined #linux-ti
Kubu_work has quit [Quit: Leaving.]
Kubu_work has joined #linux-ti
Kubu_work has quit [Client Quit]
Kubu_work has joined #linux-ti
rob_w has quit [Remote host closed the connection]
florian has quit [Ping timeout: 256 seconds]
florian_kc has quit [Ping timeout: 256 seconds]
florian has joined #linux-ti
florian_kc has joined #linux-ti
mripard has quit [Remote host closed the connection]
ikarso has quit [Quit: Connection closed for inactivity]
florian_kc has quit [Quit: Ex-Chat]
Kubu_work has quit [Quit: Leaving.]
Kubu_work has joined #linux-ti
eballetbo has quit [Quit: Connection closed for inactivity]
ungeskriptet6 has joined #linux-ti
ungeskriptet has quit [Ping timeout: 268 seconds]
ungeskriptet6 is now known as ungeskriptet
ikarso has joined #linux-ti
florian has quit [Ping timeout: 252 seconds]
florian has joined #linux-ti
Peng_Fan has quit [Quit: Connection closed for inactivity]
Kubu_work has quit [Quit: Leaving.]
ikarso has quit [Quit: Connection closed for inactivity]