<pivi>
javierm: good to know, I should also test something in this area, but I have more urgent stuff to do before ... I'll follow-up on your progresses, thanks!
<javierm>
pivi: sure, I'll let you know!
ikarso has joined #linux-ti
florian has joined #linux-ti
Kubu_work has quit [Quit: Leaving.]
Kubu_work has joined #linux-ti
florian_kc has joined #linux-ti
<jluthra>
javierm: ah, so the EPIPE issue is expected for any resolution/format other than the OV5640 default (640x480 UYVY)
<jluthra>
javierm: the fix for that involes running `media-ctl -V` on the cdns subdev and ticsi2rx subdevs to match the format the sensor is sending
<NishanthMenon>
jluthra: it does'nt automatically match up?
<jluthra>
javierm: the gstreamer pipeline requires support for 10-bit bayer formats though, as OV5647 sensor driver currently only sends 10-bit bayer. That support was only recently merged https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4686 - so I'm not sure if that has hit the debian repositories
<jluthra>
NishanthMenon: no, with embedded camera pipelines the userspace has to do all the matching up. drivers are not supposed to read across the "links" to see what the other device is sending
<NishanthMenon>
jluthra: aah.. thanks
<jluthra>
libcamera helps there, if you use the cam tool in debian sid you can just run a single command and it will configure the full media graph for you. same for their libcamerasrc gstreamer element (instead of v4l2src)
<jluthra>
i've tested it with debian sid on am62 with different sensors, worked flawlessly
<NishanthMenon>
javierm pivi ^^
minas has quit [Remote host closed the connection]
minas has joined #linux-ti
<javierm>
jluthra: I thought that this would be propagated when setting the sensor (source) pad ?
<javierm>
becase as mentioned I did: media-ctl -V '"ov5647 4-0036":0[SRGGB10_1X10/640x480]'
<javierm>
problem in that case is: ioctl(14, VIDIOC_ENUM_FRAMESIZES, {index=1, pixel_format=v4l2_fourcc('B', 'G', '1', '0') /* V4L2_PIX_FMT_SBGGR10 */}) = -1 EINVAL (Invalid argument)
<javierm>
jluthra: just to be clear, you tested on debian with libcamera (libcamerasrc gst element) using the same sensor (OV5647) ?
rob_w has quit [Quit: Leaving]
<javierm>
jluthra: cam (from libcamera) takes me a little bit further indeed, but `cam --camera=1 --file=frames.raw --capture=10` hangs on poll()
<javierm>
with that, v4l2-ctl --device /dev/video0 --stream-mmap=2 --stream-count=10 --stream-to=/dev/null hangs VIDIOC_DQBUF. I wonder if the problem is on my DTB...
<javierm>
jluthra: if you can share your DTS snippet for ov5647, that would be great
florian has quit [Quit: Ex-Chat]
florian_kc has quit [Ping timeout: 245 seconds]
florian_kc has joined #linux-ti
florian_kc has quit [Ping timeout: 240 seconds]
Kubu_work has quit [Quit: Leaving.]
eballetbo has quit [Quit: Connection closed for inactivity]
florian_kc has joined #linux-ti
ikarso has quit [Quit: Connection closed for inactivity]
Kubu_work has joined #linux-ti
ladis has quit [Quit: Leaving]
ikarso has joined #linux-ti
<pivi>
jluthra: thanks for the comment, here. Just for my curiosity, are you using the kernel from Debian sid or just the userspace?
florian_kc has quit [Ping timeout: 245 seconds]
Kubu_work has quit [Quit: Leaving.]
mripard has quit [Ping timeout: 240 seconds]
darkapex has quit [Remote host closed the connection]