Pivariety IMX462 B0333 no 12-bit modes available

  1. Where did you get the camera module(s)?
    Pi Hut

  2. Model number of the product(s)?
    B0333

  3. What hardware/platform were you working on?
    Pi 3B+

  4. Instructions you have followed. (link/manual/etc.)
    Quick Start - Arducam Wiki

  5. Problems you were having?
    Arducam for Raspberry Pi Ultra Low Light Camera, 1080P HD Wide Angle Pivariety Camera Module Based on 1/2.7Inch 2MP STARVIS Sensor IMX462, Compatible with Raspberry Pi ISP and Gstreamer Plugin
    The product page above lists both RAW10 and RAW12 outputs being supported, but i’m only able to get 10-bit output.

jpe@raspberrypi:~ $ libcamera-still --list-cameras
Available cameras
-----------------
0 : arducam-pivariety [1920x1080] (/base/soc/i2c0mux/i2c@1/arducam_pivariety@c)
    Modes: 'SRGGB10_CSI2P' : 1920x1080 [60.00 fps - (0, 0)/1920x1080 crop]
jpe@raspberrypi:~ $

v4l2 also only lists 10-bit modes

jpe@raspberrypi:~ $ v4l2-ctl --list-formats-ext
ioctl: VIDIOC_ENUM_FMT
        Type: Video Capture

        [0]: 'pRAA' (10-bit Bayer RGRG/GBGB Packed)
                Size: Discrete 1920x1080
        [1]: 'RG10' (10-bit Bayer RGRG/GBGB)
                Size: Discrete 1920x1080
jpe@raspberrypi:~ $

Trying to force 12-bit output by using --mode 1920:1080:12 just defaults back to 10-bit

jpe@raspberrypi:~ $ libcamera-still -r -o t.jpg --mode 1920:1080:12
Made DRM preview window
[0:23:02.537653932] [2333]  INFO Camera camera_manager.cpp:299 libcamera v0.0.0+4226-8689dd6b
[0:23:02.568634132] [2335]  WARN CameraSensorProperties camera_sensor_properties.cpp:243 No static properties available for 'arducam-pivariety'
[0:23:02.568711111] [2335]  WARN CameraSensorProperties camera_sensor_properties.cpp:245 Please consider updating the camera sensor properties database
[0:23:02.588944647] [2335] ERROR IPAProxy ipa_proxy.cpp:149 Configuration file 'arducam-pivariety.json' not found for IPA module 'raspberrypi'
[0:23:02.908999716] [2335]  INFO RPI raspberrypi.cpp:1485 Registered camera /base/soc/i2c0mux/i2c@1/arducam_pivariety@c to Unicam device /dev/media3 and ISP device /dev/media1
[0:23:02.909985550] [2333]  INFO Camera camera.cpp:1028 configuring streams: (0) 960x540-YUV420
[0:23:02.982041103] [2335]  INFO RPI raspberrypi.cpp:851 Sensor: /base/soc/i2c0mux/i2c@1/arducam_pivariety@c - Selected sensor format: 1920x1080-SRGGB10_1X10 - Selected unicam format: 1920x1080-pRAA
Stream configuration adjusted
[0:23:08.399217087] [2333]  INFO Camera camera.cpp:1028 configuring streams: (0) 1920x1080-YUV420 (1) 1920x1080-SRGGB10_CSI2P
[0:23:08.492990603] [2335]  INFO RPI raspberrypi.cpp:851 Sensor: /base/soc/i2c0mux/i2c@1/arducam_pivariety@c - Selected sensor format: 1920x1080-SRGGB10_1X10 - Selected unicam format: 1920x1080-pRAA
Still capture image received
Bayer format is RGGB-10
jpe@raspberrypi:~ $
  1. The dmesg log from your hardware?
jpe@raspberrypi:~ $ dmesg | grep arducam
[    0.060891] platform 3f801000.csi: Fixed dependency cycle(s) with /soc/i2c0mux/i2c@1/arducam_pivariety@c
[   12.794293] arducam-pivariety 10-000c: firmware version: 0x10002
[   13.138443] arducam-pivariety 10-000c: Consider updating driver arducam-pivariety to match on endpoints
jpe@raspberrypi:~ $

@jpe

Sorry, the sensor can output raw12, but we have not adapted the corresponding driver. I’ll let the relevant people modify the page.