Need help installing Pivariety IMX230 21MP

  1. Where did you get the camera module(s)?
    Through your reseller

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

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

  4. Instructions you have followed. (link/manual/etc.)
    From your page “Install and build Raspberry Pi Kernel Driver…”:
    a) wget -O install_pivariety_pkgs.sh https://github.com/ArduCAM/Arducam-Pivariety-V4L2-Driver/releases/download/install_script/install_pivariety_pkgs.sh
    b) chmod +x install_pivariety_pkgs.sh
    c) ./install_pivariety_pkgs.sh -p kernel_driver
    d) I also tried the manual install)
    And from your page “Access and program the Pivariety Camera…”:
    e) wget -O install_pivariety_pkgs.sh https://github.com/ArduCAM/Arducam-Pivariety-V4L2-Driver/releases/download/install_script/install_pivariety_pkgs.sh
    f) ./install_pivariety_pkgs.sh -p libcamera_dev
    g) ./install_pivariety_pkgs.sh -p libcamera_apps

  5. Problems you were having?
    When I try “libcamera-still -t 5000 -o test.jpg”, this is the result:

libEGL warning: DRI2: failed to authenticate
Made X/EGL preview window
[0:01:53.233786803] [1519]  INFO Camera camera_manager.cpp:293 libcamera v0.0.0
[0:01:53.261365163] [1532]  WARN CameraSensorProperties camera_sensor_properties.cpp:141 No static properties available for 'arducam-pivariety'
[0:01:53.261536360] [1532]  WARN CameraSensorProperties camera_sensor_properties.cpp:143 Please consider updating the camera sensor properties database
[0:01:53.261654485] [1532] ERROR CameraSensor camera_sensor.cpp:551 'arducam-pivariety 10-000c': Camera sensor does not support test pattern modes.
[0:01:53.298957348] [1532] ERROR IPAProxy ipa_proxy.cpp:149 Configuration file 'arducam-pivariety.json' not found for IPA module 'raspberrypi'
[0:01:53.680936957] [1532]  WARN RPI raspberrypi.cpp:1233 Mismatch between Unicam and CamHelper for embedded data usage!
[0:01:53.683128774] [1532]  INFO RPI raspberrypi.cpp:1356 Registered camera /base/soc/i2c0mux/i2c@1/arducam@0c to Unicam device /dev/media3 and ISP device /dev/media0
[0:01:53.684689604] [1519]  INFO Camera camera.cpp:1028 configuring streams: (0) 2672x2008-YUV420
[0:01:53.719027012] [1532]  INFO RPI raspberrypi.cpp:751 Sensor: /base/soc/i2c0mux/i2c@1/arducam@0c - Selected sensor format: 2656x2004-SBGGR10_1X10 - Selected unicam format: 2656x2004-pBAA
[0:01:53.880908093] [1537]  INFO IPARPI raspberrypi.cpp:666 Request ctrl: Saturation = 1.000000
[0:01:53.883799648] [1537]  INFO IPARPI raspberrypi.cpp:666 Request ctrl: Contrast = 1.000000
[0:01:53.883878190] [1537]  INFO IPARPI raspberrypi.cpp:666 Request ctrl: Brightness = 0.000000
[0:01:53.883926210] [1537]  INFO IPARPI raspberrypi.cpp:666 Request ctrl: AwbMode = 0
[0:01:53.883985585] [1537]  INFO IPARPI raspberrypi.cpp:666 Request ctrl: Sharpness = 1.000000
[0:01:53.884047043] [1537]  INFO IPARPI raspberrypi.cpp:666 Request ctrl: ExposureValue = 0.000000
[0:01:53.884147720] [1537]  INFO IPARPI raspberrypi.cpp:666 Request ctrl: AeExposureMode = 0
[0:01:53.884206939] [1537]  INFO IPARPI raspberrypi.cpp:666 Request ctrl: FrameDurationLimits = [ 33333, 33333 ]
[0:01:53.884292199] [1537]  INFO IPARPI raspberrypi.cpp:666 Request ctrl: AeMeteringMode = 0
[0:01:53.884337876] [1537]  INFO IPARPI raspberrypi.cpp:666 Request ctrl: NoiseReductionMode = 3
terminate called after throwing an instance of 'std::runtime_error'
  what():  failed to import fd 18
Aborted
  1. The dmesg log from your hardware?

  2. Troubleshooting attempts you’ve made?
    I’ve tried this installation 3 times.

  3. What help do you need?
    I need help with the installation.

Thank you for your time!

Check this: