cancel
Showing results for 
Search instead for 
Did you mean: 

2x VD66GY on STEVAL P-board with Raspberry Pi 5 — CSI1 V4L2 failed to queue buffe

tanguy1
Visitor

I am trying to capture video streams from two VD66GY cameras connected to the CSI0 and CSI1 ports of a Compute Module 5 IO Board. My OS is : Linux raspberrypi 6.12.75+rpt-rpi-2712 #1 SMP PREEMPT Debian 1:6.12.75-1+rpt1~bookworm (2026-03-11) aarch64 GNU/Linux

Both seem to be recognized:

screen1_cam_detect.png

However, when I try to capture video from both cameras simultaneously, only the CSI0 port works. The CSI1 port returns the following error with this command ( rpicam-hello --camera 1):

screen2_error_V4L2.png

2screen2_error_V4L2.png

I also tried a GStreamer command, but it didn't make any difference.

I don't have much experience with V4L2 or camera systems in general, so I'm not really sure how to fix this problem. Maybe I missed a step during setup, but that seems unlikely. Even after searching for similar issues, I haven't found anything conclusive.

What I have already tested:

  • When using two different cameras — CSI0 = VD66GY and CSI1 = IMX296 — I can capture both video streams successfully. The reverse configuration does not work if VD66GY is connected to csi1.
  • I tested different resolutions and frame rates, but the issue remains the same.
  • I correctly modified the /boot/firmware/config.txt file with:
    • camera_auto_detect=0
    • dtoverlay=pcb4280_vd66gY,cam0
    • dtoverlay=pcb4280_vd66gY,cam1
  • I tested both VD66GY cameras individually, and both work correctly when connected to CSI0.
  • I tried the v4l2vd56g3 driver from both the main and Debian branches, but the issue persists.
    Driver: https://github.com/STMicroelectronics/vd56g3-linux-driver
  • I also tried installing libcamera from both the main and Debian branches, and I still have the same problem.
    Libcamera: https://github.com/STMicroelectronics/libcamera

It seems to me that even though both cameras are detected correctly, V4L2 may somehow confuse them at some point.

Does anyone have any ideas on how to solve this problem?

Thanks in advance for your help.

 

0 REPLIES 0