IMX519 output purple static on quad hat

  1. Where did you get the camera module(s)?
    uctronics
  2. Model number of the product(s).
    B0388
  3. What hardware/platform were you working on?
    pi 3b+ with pi OS bullseye
  4. Instructions you have followed. (link/manual/etc.)
    Raspberry Pi libcamera Guide - Arducam
  5. Problems you were having.
    initially there were no cameras detected, then i got input/output error, and now with bullseye this is the closest i’ve gotten
  6. The dmesg log from your hardware.

[email protected]:~ $ dmesg | grep -E “imx519”
[ 10.635263] imx519 10-001a: Device found is imx519
[ 33.115139] imx519_vddl: disabling
[ 33.115164] imx519_vdig: disabling
[ 33.115185] imx519_vana: disabling

  1. Troubleshooting attempts you’ve made.
    different OS, different hardware, check cables, different order of installing apps, restart, different power cables/PSUs
  2. What help do you need?
    I want the hardware I bought to work.
    I’m getting this error in the terminal

ERROR IPARPI cam_helper.cpp:180 Embedded data buffer parsing failed

1 Like

Thank you very much for recreating the separate topic,
We have not encountered this situation so far, here are our guesses and some attempts:

  1. The driver may be installed incorrectly
    The IMX519 Quad-HAT should install the low speed version of the driver:
    ./install_pivariety_pkgs.sh -p imx519_kernel_driver_low_speed
    
  2. There is a problem with the camera, or the camera is not a module in the Quad-HAT kit.
    Can you provide a picture of the relevant hardware connection for this? Preferably with details on the back of the camera (the case needs to be removed for this)
  3. You can try switching to single channel by referring to the instructions in the link below:
    IMX519 Quad-HAT Mode switching and FAQ - #2 by wong
1 Like

Thank you so much for the help Wong! Installing the low speed drivers got an image output, but I’m still getting errors in the terminal while the preview is running

[email protected]:~ $ libcamera-still -t 5000 -o test.jpg --autofocus
[0:03:04.079345501] [1267] INFO Camera camera_manager.cpp:293 libcamera v0.0.0
[0:03:04.127396699] [1269] WARN CameraSensorProperties camera_sensor_properties.cpp:141 No static properties available for ‘imx519’
[0:03:04.127574460] [1269] WARN CameraSensorProperties camera_sensor_properties.cpp:143 Please consider updating the camera sensor properties database
[0:03:04.621073314] [1269] ERROR DelayedControls delayed_controls.cpp:87 Delay request for control id 0x009a090a but control is not exposed by device /dev/video0
[0:03:04.627274095] [1267] INFO Camera camera.cpp:937 configuring streams: (0) 2048x1536-YUV420
[0:03:04.628300866] [1269] INFO RPI raspberrypi.cpp:122 Mode: 4656x3496 fmt RG10 Score: 2646.58 (best 2646.58)
[0:03:04.628458157] [1269] INFO RPI raspberrypi.cpp:122 Mode: 3840x2160 fmt RG10 Score: 2270.67 (best 2270.67)
[0:03:04.628531022] [1269] INFO RPI raspberrypi.cpp:122 Mode: 2328x1748 fmt RG10 Score: 1627.58 (best 1627.58)
[0:03:04.628602636] [1269] INFO RPI raspberrypi.cpp:122 Mode: 1920x1080 fmt RG10 Score: 2834.67 (best 1627.58)
[0:03:04.628672793] [1269] INFO RPI raspberrypi.cpp:122 Mode: 1280x720 fmt RG10 Score: 4834.67 (best 1627.58)
[0:03:04.628749564] [1269] INFO RPI raspberrypi.cpp:122 Mode: 4656x3496 fmt pRAA Score: 2146.58 (best 1627.58)
[0:03:04.628820605] [1269] INFO RPI raspberrypi.cpp:122 Mode: 3840x2160 fmt pRAA Score: 1770.67 (best 1627.58)
[0:03:04.628888939] [1269] INFO RPI raspberrypi.cpp:122 Mode: 2328x1748 fmt pRAA Score: 1127.58 (best 1127.58)
[0:03:04.628958991] [1269] INFO RPI raspberrypi.cpp:122 Mode: 1920x1080 fmt pRAA Score: 2334.67 (best 1127.58)
[0:03:04.629026907] [1269] INFO RPI raspberrypi.cpp:122 Mode: 1280x720 fmt pRAA Score: 4334.67 (best 1127.58)
[0:03:04.629465189] [1269] INFO RPI raspberrypi.cpp:624 Sensor: /base/soc/i2c0mux/[email protected]/[email protected] - Selected mode: 2328x1748-pRAA
[0:03:04.705997897] [1273] INFO IPARPI raspberrypi.cpp:654 Request ctrl: AfTrigger = 1
[0:03:04.706292116] [1273] INFO IPARPI raspberrypi.cpp:654 Request ctrl: Saturation = 1.000000
[0:03:04.706472324] [1273] INFO IPARPI raspberrypi.cpp:654 Request ctrl: Contrast = 1.000000
[0:03:04.706580918] [1273] INFO IPARPI raspberrypi.cpp:654 Request ctrl: Brightness = 0.000000
[0:03:04.706685605] [1273] INFO IPARPI raspberrypi.cpp:654 Request ctrl: AwbMode = 0
[0:03:04.706956334] [1273] INFO IPARPI raspberrypi.cpp:654 Request ctrl: Sharpness = 1.000000
[0:03:04.707081907] [1273] INFO IPARPI raspberrypi.cpp:654 Request ctrl: ExposureValue = 0.000000
[0:03:04.707211334] [1273] INFO IPARPI raspberrypi.cpp:654 Request ctrl: AeExposureMode = 0
[0:03:04.707363418] [1273] INFO IPARPI raspberrypi.cpp:654 Request ctrl: FrameDurationLimits = [ 33333, 33333 ]
[0:03:04.707562584] [1273] INFO IPARPI raspberrypi.cpp:654 Request ctrl: AeMeteringMode = 0
[0:03:04.707669772] [1273] INFO IPARPI raspberrypi.cpp:654 Request ctrl: NoiseReductionMode = 3
[0:03:04.711085970] [1269] INFO RPISTREAM rpi_stream.cpp:122 No buffers available for ISP Output0
[0:03:04.711183886] [1269] INFO RPISTREAM rpi_stream.cpp:122 No buffers available for ISP Output0
[0:03:04.711236595] [1269] INFO RPISTREAM rpi_stream.cpp:122 No buffers available for ISP Output0
[0:03:05.156927428] [1273] ERROR IPARPI cam_helper.cpp:180 Embedded data buffer parsing failed
[0:03:05.199519095] [1269] INFO RPI raspberrypi.cpp:1731 Dropping frame at the request of the IPA (6 left)
[0:03:05.221745917] [1273] ERROR IPARPI cam_helper.cpp:180 Embedded data buffer parsing failed
[0:03:05.260390917] [1269] INFO RPI raspberrypi.cpp:1731 Dropping frame at the request of the IPA (5 left)
[0:03:05.287983209] [1273] ERROR IPARPI cam_helper.cpp:180 Embedded data buffer parsing failed
[0:03:05.324641699] [1269] INFO RPI raspberrypi.cpp:1731 Dropping frame at the request of the IPA (4 left)
[0:03:05.354204303] [1273] ERROR IPARPI cam_helper.cpp:180 Embedded data buffer parsing failed
[0:03:05.385408261] [1269] INFO RPI raspberrypi.cpp:1731 Dropping frame at the request of the IPA (3 left)
[0:03:05.421184303] [1273] ERROR IPARPI cam_helper.cpp:180 Embedded data buffer parsing failed
[0:03:05.452364928] [1269] INFO RPI raspberrypi.cpp:1731 Dropping frame at the request of the IPA (2 left)
[0:03:05.487840917] [1273] ERROR IPARPI cam_helper.cpp:180 Embedded data buffer parsing failed
[0:03:05.518723678] [1269] INFO RPI raspberrypi.cpp:1731 Dropping frame at the request of the IPA (1 left)
[0:03:05.554406230] [1273] ERROR IPARPI cam_helper.cpp:180 Embedded data buffer parsing failed
[0:03:05.586156803] [1269] INFO RPI raspberrypi.cpp:1731 Dropping frame at the request of the IPA (0 left)
[0:03:05.620673521] [1273] ERROR IPARPI cam_helper.cpp:180 Embedded data buffer parsing failed
[0:03:05.687171594] [1273] ERROR IPARPI cam_helper.cpp:180 Embedded data buffer parsing failed
[0:03:05.754137428] [1273] ERROR IPARPI cam_helper.cpp:180 Embedded data buffer parsing failed
[0:03:05.821406386] [1273] ERROR IPARPI cam_helper.cpp:180 Embedded data buffer parsing failed
[0:03:05.889161021] [1273] ERROR IPARPI cam_helper.cpp:180 Embedded data buffer parsing failed
[0:03:05.956533157] [1273] ERROR IPARPI cam_helper.cpp:180 Embedded data buffer parsing failed
[0:03:06.023329042] [1273] ERROR IPARPI cam_helper.cpp:180 Embedded data buffer parsing failed
[0:03:06.088642167] [1273] ERROR IPARPI cam_helper.cpp:180 Embedded data buffer parsing failed
[0:03:06.155175813] [1273] ERROR IPARPI cam_helper.cpp:180 Embedded data buffer parsing failed
[0:03:06.220794407] [1273] ERROR IPARPI cam_helper.cpp:180 Embedded data buffer parsing failed
[0:03:06.287816386] [1273] ERROR IPARPI cam_helper.cpp:180 Embedded data buffer parsing failed
[0:03:06.354321230] [1273] ERROR IPARPI cam_helper.cpp:180 Embedded data buffer parsing failed
[0:03:06.420916490] [1273] ERROR IPARPI cam_helper.cpp:180 Embedded data buffer parsing failed
[0:03:06.487987427] [1273] ERROR IPARPI cam_helper.cpp:180 Embedded data buffer parsing failed
[0:03:06.555380344] [1273] ERROR IPARPI cam_helper.cpp:180 Embedded data buffer parsing failed
[0:03:06.621771854] [1273] ERROR IPARPI cam_helper.cpp:180 Embedded data buffer parsing failed
[0:03:06.687292792] [1273] ERROR IPARPI cam_helper.cpp:180 Embedded data buffer parsing failed
[0:03:06.753963209] [1273] ERROR IPARPI cam_helper.cpp:180 Embedded data buffer parsing failed
[0:03:06.820934198] [1273] ERROR IPARPI cam_helper.cpp:180 Embedded data buffer parsing failed
[0:03:06.887181646] [1273] ERROR IPARPI cam_helper.cpp:180 Embedded data buffer parsing failed
[0:03:06.954503156] [1273] ERROR IPARPI cam_helper.cpp:180 Embedded data buffer parsing failed
[0:03:07.021479511] [1273] ERROR IPARPI cam_helper.cpp:180 Embedded data buffer parsing failed
[0:03:07.087227896] [1273] ERROR IPARPI cam_helper.cpp:180 Embedded data buffer parsing failed
[0:03:07.155446802] [1273] ERROR IPARPI cam_helper.cpp:180 Embedded data buffer parsing failed
[0:03:07.221258417] [1273] ERROR IPARPI cam_helper.cpp:180 Embedded data buffer parsing failed
[0:03:07.287939406] [1273] ERROR IPARPI cam_helper.cpp:180 Embedded data buffer parsing failed
[0:03:07.354887062] [1273] ERROR IPARPI cam_helper.cpp:180 Embedded data buffer parsing failed
[0:03:07.423364042] [1273] ERROR IPARPI cam_helper.cpp:180 Embedded data buffer parsing failed
[0:03:07.487589094] [1273] ERROR IPARPI cam_helper.cpp:180 Embedded data buffer parsing failed
[0:03:07.554082479] [1273] ERROR IPARPI cam_helper.cpp:180 Embedded data buffer parsing failed
[0:03:07.620961489] [1273] ERROR IPARPI cam_helper.cpp:180 Embedded data buffer parsing failed
[0:03:07.687772167] [1273] ERROR IPARPI cam_helper.cpp:180 Embedded data buffer parsing failed
[0:03:07.753834562] [1273] ERROR IPARPI cam_helper.cpp:180 Embedded data buffer parsing failed
[0:03:07.821585239] [1273] ERROR IPARPI cam_helper.cpp:180 Embedded data buffer parsing failed
[0:03:07.887386125] [1273] ERROR IPARPI cam_helper.cpp:180 Embedded data buffer parsing failed
[0:03:07.953834927] [1273] ERROR IPARPI cam_helper.cpp:180 Embedded data buffer parsing failed
[0:03:08.021276854] [1273] ERROR IPARPI cam_helper.cpp:180 Embedded data buffer parsing failed
[0:03:08.087847218] [1273] ERROR IPARPI cam_helper.cpp:180 Embedded data buffer parsing failed
[0:03:08.154874354] [1273] ERROR IPARPI cam_helper.cpp:180 Embedded data buffer parsing failed
[0:03:08.221592218] [1273] ERROR IPARPI cam_helper.cpp:180 Embedded data buffer parsing failed
[0:03:08.287917427] [1273] ERROR IPARPI cam_helper.cpp:180 Embedded data buffer parsing failed
[0:03:08.355529354] [1273] ERROR IPARPI cam_helper.cpp:180 Embedded data buffer parsing failed
[0:03:08.421386697] [1273] ERROR IPARPI cam_helper.cpp:180 Embedded data buffer parsing failed
[0:03:08.487613364] [1273] ERROR IPARPI cam_helper.cpp:180 Embedded data buffer parsing failed
[0:03:08.554793468] [1273] ERROR IPARPI cam_helper.cpp:180 Embedded data buffer parsing failed
[0:03:08.622610812] [1273] ERROR IPARPI cam_helper.cpp:180 Embedded data buffer parsing failed
[0:03:08.688502531] [1273] ERROR IPARPI cam_helper.cpp:180 Embedded data buffer parsing failed
[0:03:08.756020552] [1273] ERROR IPARPI cam_helper.cpp:180 Embedded data buffer parsing failed
[0:03:08.821535343] [1273] ERROR IPARPI cam_helper.cpp:180 Embedded data buffer parsing failed
[0:03:08.887377687] [1273] ERROR IPARPI cam_helper.cpp:180 Embedded data buffer parsing failed
[0:03:08.955229614] [1273] ERROR IPARPI cam_helper.cpp:180 Embedded data buffer parsing failed
[0:03:09.023604406] [1273] ERROR IPARPI cam_helper.cpp:180 Embedded data buffer parsing failed
[0:03:09.087294249] [1273] ERROR IPARPI cam_helper.cpp:180 Embedded data buffer parsing failed
[0:03:09.156448885] [1273] ERROR IPARPI cam_helper.cpp:180 Embedded data buffer parsing failed
[0:03:09.222118416] [1273] ERROR IPARPI cam_helper.cpp:180 Embedded data buffer parsing failed
[0:03:09.287205968] [1273] ERROR IPARPI cam_helper.cpp:180 Embedded data buffer parsing failed
[0:03:09.356422895] [1273] ERROR IPARPI cam_helper.cpp:180 Embedded data buffer parsing failed
[0:03:09.420842635] [1273] ERROR IPARPI cam_helper.cpp:180 Embedded data buffer parsing failed
[0:03:09.487341958] [1273] ERROR IPARPI cam_helper.cpp:180 Embedded data buffer parsing failed
[0:03:09.553931645] [1273] ERROR IPARPI cam_helper.cpp:180 Embedded data buffer parsing failed
[0:03:09.620821593] [1273] ERROR IPARPI cam_helper.cpp:180 Embedded data buffer parsing failed
[0:03:09.687582374] [1273] ERROR IPARPI cam_helper.cpp:180 Embedded data buffer parsing failed
[0:03:09.753754666] [1273] ERROR IPARPI cam_helper.cpp:180 Embedded data buffer parsing failed
[0:03:09.820564978] [1273] ERROR IPARPI cam_helper.cpp:180 Embedded data buffer parsing failed
[0:03:09.888132999] [1273] ERROR IPARPI cam_helper.cpp:180 Embedded data buffer parsing failed
[0:03:09.956713780] [1267] INFO Camera camera.cpp:937 configuring streams: (0) 4656x3496-YUV420
[0:03:09.957234874] [1269] INFO RPI raspberrypi.cpp:122 Mode: 4656x3496 fmt RG10 Score: 1500 (best 1500)
[0:03:09.957402947] [1269] INFO RPI raspberrypi.cpp:122 Mode: 3840x2160 fmt RG10 Score: 5971.24 (best 1500)
[0:03:09.957477270] [1269] INFO RPI raspberrypi.cpp:122 Mode: 2328x1748 fmt RG10 Score: 9652 (best 1500)
[0:03:09.957546072] [1269] INFO RPI raspberrypi.cpp:122 Mode: 1920x1080 fmt RG10 Score: 11971.2 (best 1500)
[0:03:09.957614561] [1269] INFO RPI raspberrypi.cpp:122 Mode: 1280x720 fmt RG10 Score: 13971.2 (best 1500)
[0:03:09.957691020] [1269] INFO RPI raspberrypi.cpp:122 Mode: 4656x3496 fmt pRAA Score: 1000 (best 1000)
[0:03:09.957759301] [1269] INFO RPI raspberrypi.cpp:122 Mode: 3840x2160 fmt pRAA Score: 5471.24 (best 1000)
[0:03:09.957827582] [1269] INFO RPI raspberrypi.cpp:122 Mode: 2328x1748 fmt pRAA Score: 9152 (best 1000)
[0:03:09.957896905] [1269] INFO RPI raspberrypi.cpp:122 Mode: 1920x1080 fmt pRAA Score: 11471.2 (best 1000)
[0:03:09.957964145] [1269] INFO RPI raspberrypi.cpp:122 Mode: 1280x720 fmt pRAA Score: 13471.2 (best 1000)
[0:03:09.958376957] [1269] INFO RPI raspberrypi.cpp:624 Sensor: /base/soc/i2c0mux/[email protected]/[email protected] - Selected mode: 4656x3496-pRAA
[0:03:10.060297634] [1275] INFO IPARPI raspberrypi.cpp:654 Request ctrl: AfTrigger = 1
[0:03:10.060463832] [1275] INFO IPARPI raspberrypi.cpp:654 Request ctrl: Saturation = 1.000000
[0:03:10.060577634] [1275] INFO IPARPI raspberrypi.cpp:654 Request ctrl: Contrast = 1.000000
[0:03:10.060653884] [1275] INFO IPARPI raspberrypi.cpp:654 Request ctrl: Brightness = 0.000000
[0:03:10.060726020] [1275] INFO IPARPI raspberrypi.cpp:654 Request ctrl: AwbMode = 0
[0:03:10.060812166] [1275] INFO IPARPI raspberrypi.cpp:654 Request ctrl: Sharpness = 1.000000
[0:03:10.060886905] [1275] INFO IPARPI raspberrypi.cpp:654 Request ctrl: ExposureValue = 0.000000
[0:03:10.060962582] [1275] INFO IPARPI raspberrypi.cpp:654 Request ctrl: AeExposureMode = 0
[0:03:10.061035759] [1275] INFO IPARPI raspberrypi.cpp:654 Request ctrl: FrameDurationLimits = [ 100, 1000000000 ]
[0:03:10.061138676] [1275] INFO IPARPI raspberrypi.cpp:654 Request ctrl: AeMeteringMode = 0
[0:03:10.061212686] [1275] INFO IPARPI raspberrypi.cpp:654 Request ctrl: NoiseReductionMode = 2
[0:03:11.071205446] [1275] ERROR IPARPI cam_helper.cpp:180 Embedded data buffer parsing failed
Still capture image received

Switching to single channel mode also works, but still gives me the same errors in the terminal.

I will upload photos of my current setup soon.

worked after reinstalling the pivariety_pkgs

@wong is it possible to capture alle 4 cameras at their max resolution?

Check this:

Check this:

Gotcha, so every time I take a photo with libcamera I’ll just get that big wall of errors, right?

If you don’t want to flash the system again, maybe you can tell me your current system, I can update the old version of libcamera installation package.