IMX298 + Raspberry Pi 4 8GB - issue when running libcamera-still -t 5000 -o test.jpg

  1. Where did you get the camera module(s)?
    Amazon.com

  2. Model number of the product(s)?
    ArduCam 16MP IMX298

  3. What hardware/platform were you working on?
    Raspberry Pi 4 8GB 32 Bit

  4. Instructions you have followed. (link/manual/etc.)
    How to install and build Raspberry Pi Kernel Driver for Arducam Pivariety Camera

  5. Problems you were having?
    While running the command “libcamera-still -t 5000 -o test.jpg” it shows the still picture and saves to test.jpg. However, it is showing few warnings (see below)
    ==============================================
    [0:42:55.888373801] [1052] INFO Camera camera_manager.cpp:296 libcamera v0.0.0+2736-579f55b1-dirty (2021-07-01T03:47:30-04:00)
    [0:42:55.895435089] [1054] WARN CameraSensor camera_sensor.cpp:197 ‘arducam-pivariety 10-000c’: Recommended V4L2 control 0x009a0922 not supported
    [0:42:55.909540851] [1054] WARN CameraSensor camera_sensor.cpp:249 ‘arducam-pivariety 10-000c’: The sensor kernel driver needs to be fixed
    [0:42:55.909688463] [1054] WARN CameraSensor camera_sensor.cpp:251 ‘arducam-pivariety 10-000c’: See Documentation/sensor_driver_requirements.rst in the libcamera sources for more information
    [0:42:55.915073022] [1054] WARN CameraSensorProperties camera_sensor_properties.cpp:109 No static properties available for ‘arducam-pivariety’
    [0:42:55.915164078] [1054] WARN CameraSensorProperties camera_sensor_properties.cpp:111 Please consider updating the camera sensor properties database
    [0:42:55.915240838] [1054] WARN CameraSensor camera_sensor.cpp:403 ‘arducam-pivariety 10-000c’: Failed to retrieve the camera location
    [0:42:56.022409447] [1054] ERROR IPAProxy ipa_proxy.cpp:149 Configuration file ‘arducam-pivariety.json’ not found for IPA module ‘raspberrypi’
    [0:42:56.450099917] [1052] WARN V4L2 v4l2_pixelformat.cpp:181 Unsupported V4L2 pixel format XB24
    [0:42:56.451282144] [1052] INFO Camera camera.cpp:906 configuring streams: (0) 2328x1748-YUV420
    [0:42:56.451898999] [1054] INFO RPI raspberrypi.cpp:128 Mode: 4640x3472 fmt RG10 Score: 2510.72 (best 2510.72)
    [0:42:56.452007407] [1054] INFO RPI raspberrypi.cpp:128 Mode: 2320x1732 fmt RG10 Score: 1550.88 (best 1550.88)
    [0:42:56.452065648] [1054] INFO RPI raspberrypi.cpp:128 Mode: 3264x2464 fmt RG10 Score: 1934.4 (best 1550.88)
    [0:42:56.452119870] [1054] INFO RPI raspberrypi.cpp:128 Mode: 3840x2160 fmt RG10 Score: 2148.24 (best 1550.88)
    [0:42:56.452214315] [1054] INFO RPI raspberrypi.cpp:128 Mode: 2592x1944 fmt RG10 Score: 1615.57 (best 1550.88)
    [0:42:56.452269222] [1054] INFO RPI raspberrypi.cpp:128 Mode: 1920x1080 fmt RG10 Score: 3819.24 (best 1550.88)
    [0:42:56.452321871] [1054] INFO RPI raspberrypi.cpp:128 Mode: 1280x800 fmt RG10 Score: 5592.57 (best 1550.88)
    [0:42:56.452415723] [1054] INFO RPI raspberrypi.cpp:128 Mode: 1280x720 fmt RG10 Score: 5819.24 (best 1550.88)
    [0:42:56.452502686] [1054] INFO RPI raspberrypi.cpp:128 Mode: 4640x3472 fmt pRAA Score: 2010.72 (best 1550.88)
    [0:42:56.452583205] [1054] INFO RPI raspberrypi.cpp:128 Mode: 2320x1732 fmt pRAA Score: 1050.88 (best 1050.88)
    [0:42:56.452662483] [1054] INFO RPI raspberrypi.cpp:128 Mode: 3264x2464 fmt pRAA Score: 1434.4 (best 1050.88)
    [0:42:56.452743076] [1054] INFO RPI raspberrypi.cpp:128 Mode: 3840x2160 fmt pRAA Score: 1648.24 (best 1050.88)
    [0:42:56.452822151] [1054] INFO RPI raspberrypi.cpp:128 Mode: 2592x1944 fmt pRAA Score: 1115.57 (best 1050.88)
    [0:42:56.452900466] [1054] INFO RPI raspberrypi.cpp:128 Mode: 1920x1080 fmt pRAA Score: 3319.24 (best 1050.88)
    [0:42:56.452979077] [1054] INFO RPI raspberrypi.cpp:128 Mode: 1280x800 fmt pRAA Score: 5092.57 (best 1050.88)
    [0:42:56.453057429] [1054] INFO RPI raspberrypi.cpp:128 Mode: 1280x720 fmt pRAA Score: 5319.24 (best 1050.88)
    [0:42:56.507791174] [1054] INFO RPI raspberrypi.cpp:625 Sensor: /base/soc/i2c0mux/i2c@1/arducam@0c - Selected mode: 2320x1732-pRAA
    [0:42:56.570306599] [1057] INFO IPARPI raspberrypi.cpp:637 Request ctrl: Sharpness = 1.000000
    [0:42:56.570547192] [1057] INFO IPARPI raspberrypi.cpp:637 Request ctrl: Saturation = 1.000000
    [0:42:56.570652415] [1057] INFO IPARPI raspberrypi.cpp:637 Request ctrl: Contrast = 1.000000
    [0:42:56.570752786] [1057] INFO IPARPI raspberrypi.cpp:637 Request ctrl: Brightness = 0.000000
    [0:42:56.570841045] [1057] INFO IPARPI raspberrypi.cpp:637 Request ctrl: FrameDurationLimits = [ 33333, 33333 ]
    [0:42:56.571033750] [1057] INFO IPARPI raspberrypi.cpp:637 Request ctrl: NoiseReductionMode = 3
    [0:42:56.571203677] [1057] INFO IPARPI raspberrypi.cpp:637 Request ctrl: AeMeteringMode = 0
    [0:42:56.571387122] [1057] INFO IPARPI raspberrypi.cpp:637 Request ctrl: AeExposureMode = 0
    [0:42:56.571478789] [1057] INFO IPARPI raspberrypi.cpp:637 Request ctrl: ExposureValue = 0.000000
    [0:42:56.571579845] [1057] INFO IPARPI raspberrypi.cpp:637 Request ctrl: AwbMode = 0
    [0:42:56.575114119] [1054] INFO RPISTREAM rpi_stream.cpp:122 No buffers available for ISP Output0
    [0:42:56.575182749] [1054] INFO RPISTREAM rpi_stream.cpp:122 No buffers available for ISP Output0
    [0:42:56.575224138] [1054] INFO RPISTREAM rpi_stream.cpp:122 No buffers available for ISP Output0
    [0:42:56.575265193] [1054] INFO RPISTREAM rpi_stream.cpp:122 No buffers available for ISP Output0
    [0:42:57.095272118] [1054] INFO RPI raspberrypi.cpp:1671 Dropping frame at the request of the IPA (7 left)
    [0:42:57.124088107] [1054] INFO RPI raspberrypi.cpp:1671 Dropping frame at the request of the IPA (6 left)
    [0:42:57.164934665] [1054] INFO RPI raspberrypi.cpp:1671 Dropping frame at the request of the IPA (5 left)
    [0:42:57.197393595] [1054] INFO RPI raspberrypi.cpp:1671 Dropping frame at the request of the IPA (4 left)
    [0:42:57.225951583] [1054] INFO RPI raspberrypi.cpp:1671 Dropping frame at the request of the IPA (3 left)
    [0:42:57.279026580] [1054] INFO RPI raspberrypi.cpp:1671 Dropping frame at the request of the IPA (2 left)
    [0:42:57.321941369] [1054] INFO RPI raspberrypi.cpp:1671 Dropping frame at the request of the IPA (1 left)
    [0:42:57.369495509] [1054] INFO RPI raspberrypi.cpp:1671 Dropping frame at the request of the IPA (0 left)
    [0:43:07.093666973] [1052] WARN V4L2 v4l2_pixelformat.cpp:181 Unsupported V4L2 pixel format XB24
    [0:43:07.094639922] [1052] INFO Camera camera.cpp:906 configuring streams: (0) 4640x3472-YUV420
    [0:43:07.094956256] [1054] INFO RPI raspberrypi.cpp:128 Mode: 4640x3472 fmt BG10 Score: 1500 (best 1500)
    [0:43:07.095042849] [1054] INFO RPI raspberrypi.cpp:128 Mode: 2320x1732 fmt BG10 Score: 9621.16 (best 1500)
    [0:43:07.095099127] [1054] INFO RPI raspberrypi.cpp:128 Mode: 3264x2464 fmt BG10 Score: 6303.19 (best 1500)
    [0:43:07.095153202] [1054] INFO RPI raspberrypi.cpp:128 Mode: 3840x2160 fmt BG10 Score: 5889.51 (best 1500)
    [0:43:07.095205702] [1054] INFO RPI raspberrypi.cpp:128 Mode: 2592x1944 fmt BG10 Score: 8661.22 (best 1500)
    [0:43:07.095258313] [1054] INFO RPI raspberrypi.cpp:128 Mode: 1920x1080 fmt BG10 Score: 11889.5 (best 1500)
    [0:43:07.095310184] [1054] INFO RPI raspberrypi.cpp:128 Mode: 1280x800 fmt BG10 Score: 13662.8 (best 1500)
    [0:43:07.095362166] [1054] INFO RPI raspberrypi.cpp:128 Mode: 1280x720 fmt BG10 Score: 13889.5 (best 1500)
    [0:43:07.095418814] [1054] INFO RPI raspberrypi.cpp:128 Mode: 4640x3472 fmt pBAA Score: 1000 (best 1000)
    [0:43:07.095470536] [1054] INFO RPI raspberrypi.cpp:128 Mode: 2320x1732 fmt pBAA Score: 9121.16 (best 1000)
    [0:43:07.095521981] [1054] INFO RPI raspberrypi.cpp:128 Mode: 3264x2464 fmt pBAA Score: 5803.19 (best 1000)
    [0:43:07.095573259] [1054] INFO RPI raspberrypi.cpp:128 Mode: 3840x2160 fmt pBAA Score: 5389.51 (best 1000)
    [0:43:07.095623759] [1054] INFO RPI raspberrypi.cpp:128 Mode: 2592x1944 fmt pBAA Score: 8161.22 (best 1000)
    [0:43:07.095674500] [1054] INFO RPI raspberrypi.cpp:128 Mode: 1920x1080 fmt pBAA Score: 11389.5 (best 1000)
    [0:43:07.095725389] [1054] INFO RPI raspberrypi.cpp:128 Mode: 1280x800 fmt pBAA Score: 13162.8 (best 1000)
    [0:43:07.095776815] [1054] INFO RPI raspberrypi.cpp:128 Mode: 1280x720 fmt pBAA Score: 13389.5 (best 1000)
    [0:43:07.151750619] [1054] INFO RPI raspberrypi.cpp:625 Sensor: /base/soc/i2c0mux/i2c@1/arducam@0c - Selected mode: 4640x3472-pBAA
    [0:43:07.233041416] [1058] INFO IPARPI raspberrypi.cpp:637 Request ctrl: Sharpness = 1.000000
    [0:43:07.233203176] [1058] INFO IPARPI raspberrypi.cpp:637 Request ctrl: Saturation = 1.000000
    [0:43:07.233278769] [1058] INFO IPARPI raspberrypi.cpp:637 Request ctrl: Contrast = 1.000000
    [0:43:07.233351121] [1058] INFO IPARPI raspberrypi.cpp:637 Request ctrl: Brightness = 0.000000
    [0:43:07.233414029] [1058] INFO IPARPI raspberrypi.cpp:637 Request ctrl: FrameDurationLimits = [ 100, 1000000000 ]
    [0:43:07.233500381] [1058] INFO IPARPI raspberrypi.cpp:637 Request ctrl: NoiseReductionMode = 2
    [0:43:07.233572066] [1058] INFO IPARPI raspberrypi.cpp:637 Request ctrl: AeMeteringMode = 0
    [0:43:07.233695567] [1058] INFO IPARPI raspberrypi.cpp:637 Request ctrl: AeExposureMode = 0
    [0:43:07.233760215] [1058] INFO IPARPI raspberrypi.cpp:637 Request ctrl: ExposureValue = 0.000000
    [0:43:07.233822845] [1058] INFO IPARPI raspberrypi.cpp:637 Request ctrl: AwbMode = 0
    [0:43:07.237849917] [1054] INFO RPISTREAM rpi_stream.cpp:122 No buffers available for ISP Output0
    [0:43:08.031789826] [1054] INFO RPI raspberrypi.cpp:1671 Dropping frame at the request of the IPA (1 left)
    [0:43:08.580249429] [1054] INFO RPI raspberrypi.cpp:1671 Dropping frame at the request of the IPA (0 left)
    Still capture image received
    ==============================================

  6. The dmesg log from your hardware?

  7. Troubleshooting attempts you’ve made?
    Researching the internet but cannot figure out what I should do.

  8. What help do you need?
    Get it work without any error or warning.

Output form : dmesg | egrep ardu

pi@raspberrypi:~ $ dmesg | egrep ardu
[ 6.086041] arducam: loading out-of-tree module taints kernel.
[ 6.105110] arducam-pivariety 10-000c: firmware version: 0x10001
[ 31.836083] arducam_vddl: disabling
[ 31.836108] arducam_vdig: disabling
[ 31.836137] arducam_vana: disabling
pi@raspberrypi:~ $

This is normal, and you can ignore these warnings.
The ERROR here is because it did not find the corresponding json file. In fact, when it cannot find this file, it will read it on the device. So don’t worry about it.