lefsky@raspberrypi:~ $ libcamera-still --timestamp
Made X/EGL preview window
[0:06:53.187749056] [1786] INFO Camera camera_manager.cpp:293 libcamera v0.0.0+3572-e13ccdd5
[0:06:53.194168918] [1788] WARN CameraSensorProperties camera_sensor_properties.cpp:163 No static properties available for ‘arducam_64mp’
[0:06:53.194273084] [1788] WARN CameraSensorProperties camera_sensor_properties.cpp:165 Please consider updating the camera sensor properties database
[0:06:53.194691528] [1788] ERROR CameraSensor camera_sensor.cpp:591 ‘arducam_64mp 10-001a’: Camera sensor does not support test pattern modes.
[0:06:53.225667930] [1788] WARN RPI raspberrypi.cpp:1263 Mismatch between Unicam and CamHelper for embedded data usage!
[0:06:53.226438132] [1788] ERROR DelayedControls delayed_controls.cpp:87 Delay request for control id 0x009a090a but control is not exposed by device /dev/v4l-subdev0
[0:06:53.226751613] [1788] INFO RPI raspberrypi.cpp:1386 Registered camera /base/soc/i2c0mux/i2c@1/arducam_64mp@1a to Unicam device /dev/media3 and ISP device /dev/media0
[0:06:53.227570334] [1786] INFO Camera camera.cpp:1029 configuring streams: (0) 4096x3074-YUV420
[0:06:53.228063537] [1788] INFO RPI raspberrypi.cpp:764 Sensor: /base/soc/i2c0mux/i2c@1/arducam_64mp@1a - Selected sensor format: 4624x3472-SBGGR10_1X10 - Selected unicam format: 4624x3472-pBAA
[0:06:58.781821948] [1786] INFO Camera camera.cpp:1029 configuring streams: (0) 9152x6944-YUV420 (1) 9152x6944-SBGGR10_CSI2P
[0:06:58.794691912] [1788] INFO RPI raspberrypi.cpp:764 Sensor: /base/soc/i2c0mux/i2c@1/arducam_64mp@1a - Selected sensor format: 9152x6944-SBGGR10_1X10 - Selected unicam format: 9152x6944-pBAA
[0:06:59.056315610] [1788] ERROR V4L2 v4l2_videodevice.cpp:1211 /dev/video0[18:cap]: Unable to request 1 buffers: Cannot allocate memory
ERROR: *** failed to allocate capture buffers ***
@lefsky I’m sorry you have this problem with your device, we see that there seems to be some problem with the information format you gave, please give the complete config.txt information again.
The bug.txt file is too large to put into the body of this email. Here is the stdout output
lefsky@raspberrypi:~ $ camera-bug-report -t 5 -o bug.txt -c "libcamera-still -t 1000 -o test.jpg"
Made X/EGL preview window
[12:00:54.210757469] [7305] INFO Camera camera_manager.cpp:293 libcamera v0.0.0+3572-e13ccdd5
[12:00:54.218821997] [7307] WARN CameraSensorProperties camera_sensor_properties.cpp:163 No static properties available for 'arducam_64mp'
[12:00:54.218893738] [7307] WARN CameraSensorProperties camera_sensor_properties.cpp:165 Please consider updating the camera sensor properties database
[12:00:54.219364828] [7307] ERROR CameraSensor camera_sensor.cpp:591 'arducam_64mp 10-001a': Camera sensor does not support test pattern modes.
[12:00:54.264439792] [7307] WARN RPI raspberrypi.cpp:1263 Mismatch between Unicam and CamHelper for embedded data usage!
[12:00:54.265415509] [7307] ERROR DelayedControls delayed_controls.cpp:87 Delay request for control id 0x009a090a but control is not exposed by device /dev/v4l-subdev0
[12:00:54.265714470] [7307] INFO RPI raspberrypi.cpp:1386 Registered camera /base/soc/i2c0mux/i2c@1/arducam_64mp@1a to Unicam device /dev/media2 and ISP device /dev/media0
[12:00:54.266512447] [7305] INFO Camera camera.cpp:1029 configuring streams: (0) 4096x3074-YUV420
[12:00:54.267035426] [7307] INFO RPI raspberrypi.cpp:764 Sensor: /base/soc/i2c0mux/i2c@1/arducam_64mp@1a - Selected sensor format: 4624x3472-SBGGR10_1X10 - Selected unicam format: 4624x3472-pBAA
[12:00:54.355162107] [7307] ERROR V4L2 v4l2_videodevice.cpp:1211 /dev/video0[18:cap]: Unable to request 4 buffers: Cannot allocate memory
[12:00:54.355236218] [7307] ERROR RPI raspberrypi.cpp:1012 Failed to allocate buffers
ERROR: *** failed to start camera ***
Bug report generated to bug.txt
Please upload this file when you create a new bug report at:
https://github.com/raspberrypi/libcamera-apps/issues/
I’m running into same issue with “Failed to allocate buffers” what exact change did solve your issue? Is it setting GPU allocation through raspi-config?
cat /proc/cpuinfo
processor : 0
model name : ARMv7 Processor rev 3 (v7l)
BogoMIPS : 324.00
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xd08
CPU revision : 3
processor : 1
model name : ARMv7 Processor rev 3 (v7l)
BogoMIPS : 324.00
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xd08
CPU revision : 3
processor : 2
model name : ARMv7 Processor rev 3 (v7l)
BogoMIPS : 324.00
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xd08
CPU revision : 3
processor : 3
model name : ARMv7 Processor rev 3 (v7l)
BogoMIPS : 324.00
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xd08
CPU revision : 3
Hardware : BCM2711
Revision : d03114
Serial : 10000000e4273f4b
Model : Raspberry Pi 4 Model B Rev 1.4
@nack
ok, did you lower the resolution of the monitor?
Someone has also reduced the resolution of the screen before, I think this is a solution that can temporarily solve this problem