ArduCam multi camera adapter v2.2 with one High Quality Camera module

Hello,

I am using a Raspberry Pi 3B running Debian Bullseye. Next to this I am using a single High Quality Camera module. When I connect the camera directly to the Raspberry Pi it works fine. Eventually I want to connect three HQ Camera modules to this Raspberry Pi using the multi camera adapter board. Therefore I first wanted to test the adapter board with a single HQ camera. I connected the camera and the adapter board and followed the following guide: https://www.uctronics.com/download/Amazon/B0120.pdf. When I run “sudo ./init_camera.sh” I get an error message. I believe the connections are all correct but there is something wrong with linEGL. I can’t figure out how to solve it, could you help?

This is the error message:

~/RaspberryPi/Multi_Camera_Adapter/Multi_Adapter_Board_4Channel/Multi_Camera_Adapter_V2.2_python $ sudo ./init_camera.sh
----Test i2c1
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: – – – – – – – –
10: – – – – – – – – – – 1a – – – – –
20: – – – – – – – – – – – – – – – –
30: – – – – – – – – – – – – – – – –
40: – – – – – – – – – – – – – – – –
50: – – – – – – – – – – – – – – – –
60: – – – – 64 – – – – – – – – – – –
70: 70 – – – – – – –
----Detecting the /dev/video0 device
video0 detected!
—Start testing each camera
if all of them are normal, after it finished,you will see four image in the current path.
Start testing the camera A
libEGL warning: DRI2: failed to authenticate
Made X/EGL preview window
[0:06:21.860708290] [1166] INFO Camera camera_manager.cpp:293 libcamera v0.0.0+3424-e68e0f1e
[0:06:21.898999071] [1179] WARN CameraSensorProperties camera_sensor_properties.cpp:141 No static properties available for ‘imx477’
[0:06:21.899125374] [1179] WARN CameraSensorProperties camera_sensor_properties.cpp:143 Please consider updating the camera sensor properties database
[0:06:21.899201571] [1179] ERROR CameraSensor camera_sensor.cpp:551 ‘imx477 10-001a’: Camera sensor does not support test pattern modes.
[0:06:21.986331936] [1179] INFO RPI raspberrypi.cpp:1317 Registered camera /base/soc/i2c0mux/i2c@1/imx477@1a to Unicam device /dev/media3 and ISP device /dev/media0
[0:06:21.987454228] [1166] INFO Camera camera.cpp:1028 configuring streams: (0) 2028x1520-YUV420
[0:06:21.987943863] [1179] INFO RPI raspberrypi.cpp:747 Sensor: /base/soc/i2c0mux/i2c@1/imx477@1a - Selected sensor format: 2028x1520-SBGGR12_1X12 - Selected unicam format: 2028x1520-pBCC
[0:06:22.079073811] [1183] INFO IPARPI raspberrypi.cpp:631 Request ctrl: Saturation = 1.000000
[0:06:22.079258186] [1183] INFO IPARPI raspberrypi.cpp:631 Request ctrl: Contrast = 1.000000
[0:06:22.079321832] [1183] INFO IPARPI raspberrypi.cpp:631 Request ctrl: Brightness = 0.000000
[0:06:22.079375061] [1183] INFO IPARPI raspberrypi.cpp:631 Request ctrl: AwbMode = 0
[0:06:22.079430373] [1183] INFO IPARPI raspberrypi.cpp:631 Request ctrl: Sharpness = 1.000000
[0:06:22.079488446] [1183] INFO IPARPI raspberrypi.cpp:631 Request ctrl: ExposureValue = 0.000000
[0:06:22.079545217] [1183] INFO IPARPI raspberrypi.cpp:631 Request ctrl: AeExposureMode = 0
[0:06:22.079594853] [1183] INFO IPARPI raspberrypi.cpp:631 Request ctrl: FrameDurationLimits = [ 33333, 33333 ]
[0:06:22.079658446] [1183] INFO IPARPI raspberrypi.cpp:631 Request ctrl: AeMeteringMode = 0
[0:06:22.079707301] [1183] INFO IPARPI raspberrypi.cpp:631 Request ctrl: NoiseReductionMode = 3
terminate called after throwing an instance of ‘std::runtime_error’
what(): failed to import fd 21
Aborted
Start testing the camera B
libEGL warning: DRI2: failed to authenticate
Made X/EGL preview window
[0:06:23.983192300] [1188] INFO Camera camera_manager.cpp:293 libcamera v0.0.0+3424-e68e0f1e
[0:06:24.041894071] [1201] WARN CameraSensorProperties camera_sensor_properties.cpp:141 No static properties available for ‘imx477’
[0:06:24.042187404] [1201] WARN CameraSensorProperties camera_sensor_properties.cpp:143 Please consider updating the camera sensor properties database
[0:06:24.042349591] [1201] ERROR CameraSensor camera_sensor.cpp:551 ‘imx477 10-001a’: Camera sensor does not support test pattern modes.
[0:06:24.141344956] [1201] INFO RPI raspberrypi.cpp:1317 Registered camera /base/soc/i2c0mux/i2c@1/imx477@1a to Unicam device /dev/media3 and ISP device /dev/media0
[0:06:24.143224487] [1188] INFO Camera camera.cpp:1028 configuring streams: (0) 2028x1520-YUV420
[0:06:24.144136831] [1201] INFO RPI raspberrypi.cpp:747 Sensor: /base/soc/i2c0mux/i2c@1/imx477@1a - Selected sensor format: 2028x1520-SBGGR12_1X12 - Selected unicam format: 2028x1520-pBCC
[0:06:24.325459227] [1205] INFO IPARPI raspberrypi.cpp:631 Request ctrl: Saturation = 1.000000
[0:06:24.325733810] [1205] INFO IPARPI raspberrypi.cpp:631 Request ctrl: Contrast = 1.000000
[0:06:24.325848550] [1205] INFO IPARPI raspberrypi.cpp:631 Request ctrl: Brightness = 0.000000
[0:06:24.325955268] [1205] INFO IPARPI raspberrypi.cpp:631 Request ctrl: AwbMode = 0
[0:06:24.326059748] [1205] INFO IPARPI raspberrypi.cpp:631 Request ctrl: Sharpness = 1.000000
[0:06:24.326170477] [1205] INFO IPARPI raspberrypi.cpp:631 Request ctrl: ExposureValue = 0.000000
[0:06:24.326277143] [1205] INFO IPARPI raspberrypi.cpp:631 Request ctrl: AeExposureMode = 0
[0:06:24.326374279] [1205] INFO IPARPI raspberrypi.cpp:631 Request ctrl: FrameDurationLimits = [ 33333, 33333 ]
[0:06:24.326489539] [1205] INFO IPARPI raspberrypi.cpp:631 Request ctrl: AeMeteringMode = 0
[0:06:24.326585164] [1205] INFO IPARPI raspberrypi.cpp:631 Request ctrl: NoiseReductionMode = 3
[0:06:24.659991466] [1201] ERROR V4L2 v4l2_videodevice.cpp:1794 /dev/video1[15:cap]: Failed to start streaming: Input/output error
ERROR: *** failed to start camera ***
Start testing the camera C
libEGL warning: DRI2: failed to authenticate
Made X/EGL preview window
[0:06:26.091657976] [1209] INFO Camera camera_manager.cpp:293 libcamera v0.0.0+3424-e68e0f1e
[0:06:26.144886934] [1222] WARN CameraSensorProperties camera_sensor_properties.cpp:141 No static properties available for ‘imx477’
[0:06:26.145058653] [1222] WARN CameraSensorProperties camera_sensor_properties.cpp:143 Please consider updating the camera sensor properties database
[0:06:26.145173341] [1222] ERROR CameraSensor camera_sensor.cpp:551 ‘imx477 10-001a’: Camera sensor does not support test pattern modes.
[0:06:26.239824851] [1222] INFO RPI raspberrypi.cpp:1317 Registered camera /base/soc/i2c0mux/i2c@1/imx477@1a to Unicam device /dev/media3 and ISP device /dev/media0
[0:06:26.251683393] [1209] INFO Camera camera.cpp:1028 configuring streams: (0) 2028x1520-YUV420
[0:06:26.252741726] [1222] INFO RPI raspberrypi.cpp:747 Sensor: /base/soc/i2c0mux/i2c@1/imx477@1a - Selected sensor format: 2028x1520-SBGGR12_1X12 - Selected unicam format: 2028x1520-pBCC
[0:06:26.403111413] [1226] INFO IPARPI raspberrypi.cpp:631 Request ctrl: Saturation = 1.000000
[0:06:26.403458966] [1226] INFO IPARPI raspberrypi.cpp:631 Request ctrl: Contrast = 1.000000
[0:06:26.403583861] [1226] INFO IPARPI raspberrypi.cpp:631 Request ctrl: Brightness = 0.000000
[0:06:26.403695841] [1226] INFO IPARPI raspberrypi.cpp:631 Request ctrl: AwbMode = 0
[0:06:26.403806413] [1226] INFO IPARPI raspberrypi.cpp:631 Request ctrl: Sharpness = 1.000000
[0:06:26.403919382] [1226] INFO IPARPI raspberrypi.cpp:631 Request ctrl: ExposureValue = 0.000000
[0:06:26.404031778] [1226] INFO IPARPI raspberrypi.cpp:631 Request ctrl: AeExposureMode = 0
[0:06:26.404138132] [1226] INFO IPARPI raspberrypi.cpp:631 Request ctrl: FrameDurationLimits = [ 33333, 33333 ]
[0:06:26.404258497] [1226] INFO IPARPI raspberrypi.cpp:631 Request ctrl: AeMeteringMode = 0
[0:06:26.404367455] [1226] INFO IPARPI raspberrypi.cpp:631 Request ctrl: NoiseReductionMode = 3
[0:06:26.739770580] [1222] ERROR V4L2 v4l2_videodevice.cpp:1794 /dev/video1[15:cap]: Failed to start streaming: Input/output error
ERROR: *** failed to start camera ***
Start testing the camera D
libEGL warning: DRI2: failed to authenticate
Made X/EGL preview window
[0:06:27.475056309] [1230] INFO Camera camera_manager.cpp:293 libcamera v0.0.0+3424-e68e0f1e
[0:06:27.502550319] [1243] WARN CameraSensorProperties camera_sensor_properties.cpp:141 No static properties available for ‘imx477’
[0:06:27.502648340] [1243] WARN CameraSensorProperties camera_sensor_properties.cpp:143 Please consider updating the camera sensor properties database
[0:06:27.502707142] [1243] ERROR CameraSensor camera_sensor.cpp:551 ‘imx477 10-001a’: Camera sensor does not support test pattern modes.
[0:06:27.553299642] [1243] INFO RPI raspberrypi.cpp:1317 Registered camera /base/soc/i2c0mux/i2c@1/imx477@1a to Unicam device /dev/media3 and ISP device /dev/media0
[0:06:27.555049434] [1230] INFO Camera camera.cpp:1028 configuring streams: (0) 2028x1520-YUV420
[0:06:27.555924538] [1243] INFO RPI raspberrypi.cpp:747 Sensor: /base/soc/i2c0mux/i2c@1/imx477@1a - Selected sensor format: 2028x1520-SBGGR12_1X12 - Selected unicam format: 2028x1520-pBCC
[0:06:27.654510007] [1247] INFO IPARPI raspberrypi.cpp:631 Request ctrl: Saturation = 1.000000
[0:06:27.654737194] [1247] INFO IPARPI raspberrypi.cpp:631 Request ctrl: Contrast = 1.000000
[0:06:27.654815944] [1247] INFO IPARPI raspberrypi.cpp:631 Request ctrl: Brightness = 0.000000
[0:06:27.654870423] [1247] INFO IPARPI raspberrypi.cpp:631 Request ctrl: AwbMode = 0
[0:06:27.654917455] [1247] INFO IPARPI raspberrypi.cpp:631 Request ctrl: Sharpness = 1.000000
[0:06:27.654970319] [1247] INFO IPARPI raspberrypi.cpp:631 Request ctrl: ExposureValue = 0.000000
[0:06:27.655022715] [1247] INFO IPARPI raspberrypi.cpp:631 Request ctrl: AeExposureMode = 0
[0:06:27.655067455] [1247] INFO IPARPI raspberrypi.cpp:631 Request ctrl: FrameDurationLimits = [ 33333, 33333 ]
[0:06:27.655127507] [1247] INFO IPARPI raspberrypi.cpp:631 Request ctrl: AeMeteringMode = 0
[0:06:27.655180267] [1247] INFO IPARPI raspberrypi.cpp:631 Request ctrl: NoiseReductionMode = 3
[0:06:27.979498652] [1243] ERROR V4L2 v4l2_videodevice.cpp:1794 /dev/video1[15:cap]: Failed to start streaming: Input/output error
ERROR: *** failed to start camera ***