Cameras for Raspberry Pi

  1. Home
  2. Docs
  3. Cameras for Raspberry Pi
  4. New: Pivariety Camera
  5. Troubleshooting

Troubleshooting

Table Of Contents

1. Cannot Allocate Memory

[3:45:35.833744413] [6019] INFO RPI raspberrypi.cpp:611 Sensor: / base/soc/i2c0mux/[email protected]/[email protected] – Selected mode: 5344×4012-pRAA [3:45:35.948442507] [6019] ERROR V4L2 v4l2_videodevice.cpp:1126 /dev/video14[17:cap]: Unable to request 4 buffers: Cannot allocate memory [3:45:35.948551358] [6019] ERROR RPI raspberrypi.cpp:808 Failed to allocate buffers ERROR: *** failed to start camera ***

Edit /boot/cmdline.txt and add cma=400M at the end.

1 3

Reference

2. The Image Displays Color Dots

2 3

Add code –denoise cdn_off at the end of command.

libcamera-still -t 5000 -o test.jpg --denoise cdn_of

Reference

3. Failed to Install the Driver

3 3

Please check the kernel version, we only provide the driver for the latest official kernel version image when this Pivariety camera is released.

Note: If you want to compile the kernel driver by yourself, please refer to How to build Raspberry Pi Kernel Driver-Pivariety Camera.

4. Failed to import fd 18

4 1

If you find the same error, you may make the wrong selection about the graphics driver. Please refer to the chapter of Select the correct graphics driver.

5. Switch to the native camera (raspistill etc.)

Edit the file of /boot/config.txt, make dtoverlay=arducam change to # dtoverlay=arducam

2

After the modification is completed, you need to reboot the Raspberry Pi.

sudo reboot

Was this article helpful to you? Yes No