Raspberry Pi 4B 8GB and Arducam64Mp issue with allocating buffers

  1. Where did you get the camera module(s)?
    From PiHut official store
  2. Model number of the product(s)?
    Arducam64Mp Autofocus 64MP
  3. What hardware/platform were you working on?
    Brand new raspberry pi 4B 8GB
  4. Instructions you have followed. (link/manual/etc.)
    How to use arducam_64mp & arducam_64mp FAQ
  5. Problems you were having?
    Unable to take the full 64MP image, problem with allocating buffers or not selecting the right sensor format.

When I try the following command:
libcamera-still -t 10000 --viewfinder-width 9152 --viewfinder-height 6944 -o 64mp.jpg

I get image in 4624x3472 resolution (which is 2x2 binning in relation to requested resolution). The libcamera is not even trying to select the correct sensor format.

When I try the following command:
libcamera-still --width 9152 --height 6944 -e png -o test.png

I get the following output:

Made X/EGL preview window
[0:13:05.739963671] [2227] INFO Camera camera_manager.cpp:293 libcamera v0.0.0+3896-6019b245
[0:13:05.746919031] [2229] WARN CameraSensorProperties camera_sensor_properties.cpp:174 No static properties available for ‘arducam_64mp’
[0:13:05.746978103] [2229] WARN CameraSensorProperties camera_sensor_properties.cpp:176 Please consider updating the camera sensor properties database
[0:13:05.773412149] [2229] WARN RPI raspberrypi.cpp:1280 Mismatch between Unicam and CamHelper for embedded data usage!
[0:13:05.774585070] [2229] ERROR DelayedControls delayed_controls.cpp:87 Delay request for control id 0x009a090a but control is not exposed by device /dev/v4l-subdev0
[0:13:05.774978537] [2229] INFO RPI raspberrypi.cpp:1404 Registered camera /base/soc/i2c0mux/i2c@1/arducam_64mp@1a to Unicam device /dev/media1 and ISP device /dev/media3
[0:13:05.775838099] [2227] INFO Camera camera.cpp:1035 configuring streams: (0) 4096x3106-YUV420
[0:13:05.776389449] [2229] INFO RPI raspberrypi.cpp:765 Sensor: /base/soc/i2c0mux/i2c@1/arducam_64mp@1a - Selected sensor format: 4624x3472-SBGGR10_1X10 - Selected unicam format: 4624x3472-pBAA
[0:13:11.262888184] [2227] INFO Camera camera.cpp:1035 configuring streams: (0) 9152x6944-BGR888 (1) 9152x6944-SBGGR10_CSI2P
[0:13:11.263797132] [2229] INFO RPI raspberrypi.cpp:765 Sensor: /base/soc/i2c0mux/i2c@1/arducam_64mp@1a - Selected sensor format: 9152x6944-SBGGR10_1X10 - Selected unicam format: 9152x6944-pBAA
[0:13:11.596189828] [2229] ERROR V4L2 v4l2_videodevice.cpp:1234 /dev/video0[18:cap]: Unable to request 1 buffers: Cannot allocate memory
[0:13:11.596313786] [2229] ERROR RPI raspberrypi.cpp:1029 Failed to allocate buffers
ERROR: *** failed to start camera ***

This time the driver at least attempts to select the full sensor format.

There seems to be plenty of memory available as there is nothing else running on the Pi:

cat /proc/meminfo
MemTotal: 8088108 kB
MemFree: 7290788 kB
MemAvailable: 7524084 kB
Buffers: 22336 kB
Cached: 496052 kB
SwapCached: 0 kB
Active: 140212 kB
Inactive: 473272 kB
Active(anon): 1104 kB
Inactive(anon): 167896 kB
Active(file): 139108 kB
Inactive(file): 305376 kB
Unevictable: 44688 kB
Mlocked: 16 kB
HighTotal: 7458816 kB
HighFree: 6771948 kB
LowTotal: 629292 kB
LowFree: 518840 kB
SwapTotal: 102396 kB
SwapFree: 102396 kB
Dirty: 192 kB
Writeback: 0 kB
AnonPages: 139860 kB
Mapped: 170560 kB
Shmem: 73896 kB
KReclaimable: 19596 kB
Slab: 41104 kB
SReclaimable: 19596 kB
SUnreclaim: 21508 kB
KernelStack: 2136 kB
PageTables: 5840 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 4146448 kB
Committed_AS: 1272180 kB
VmallocTotal: 245760 kB
VmallocUsed: 6036 kB
VmallocChunk: 0 kB
Percpu: 448 kB
CmaTotal: 524288 kB
CmaFree: 481128 kB
6. The dmesg log from your hardware?
dmesg

[ 0.025786] VFP support v0.3: implementor 41 architecture 3 part 40 variant 8 rev 0
[ 0.026003] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.026036] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 0.041736] pinctrl core: initialized pinctrl subsystem
[ 0.042975] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.047388] DMA: preallocated 1024 KiB pool for atomic coherent allocations
[ 0.048168] audit: initializing netlink subsys (disabled)
[ 0.048429] audit: type=2000 audit(0.040:1): state=initialized audit_enabled=0 res=1
[ 0.049057] thermal_sys: Registered thermal governor ‘step_wise’
[ 0.049857] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.049878] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.050308] Serial: AMBA PL011 UART driver
[ 0.065359] bcm2835-mbox fe00b880.mailbox: mailbox enabled
[ 0.100194] raspberrypi-firmware soc:firmware: Attached to firmware from 2022-08-26T14:03:16, variant start
[ 0.110211] raspberrypi-firmware soc:firmware: Firmware hash is 102f1e848393c2112206fadffaaf86db04e98326
[ 0.169755] Kprobes globally optimized
[ 0.175744] bcm2835-dma fe007000.dma: DMA legacy API manager, dmachans=0x1
[ 0.180361] vgaarb: loaded
[ 0.180832] SCSI subsystem initialized
[ 0.181083] usbcore: registered new interface driver usbfs
[ 0.181144] usbcore: registered new interface driver hub
[ 0.181216] usbcore: registered new device driver usb
[ 0.181630] usb_phy_generic phy: supply vcc not found, using dummy regulator
[ 0.181822] usb_phy_generic phy: dummy supplies not allowed for exclusive requests
[ 0.182135] pps_core: LinuxPPS API ver. 1 registered
[ 0.182150] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti [email protected]
[ 0.182178] PTP clock support registered
[ 0.183871] clocksource: Switched to clocksource arch_sys_counter
[ 0.264615] VFS: Disk quotas dquot_6.6.0
[ 0.264721] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.264906] FS-Cache: Loaded
[ 0.265106] CacheFiles: Loaded
[ 0.266227] simple-framebuffer 3e29a000.framebuffer: framebuffer at 0x3e29a000, 0x960000 bytes
[ 0.266249] simple-framebuffer 3e29a000.framebuffer: format=a8r8g8b8, mode=1920x1280x32, linelength=7680
[ 0.266794] Console: switching to colour frame buffer device 240x80
[ 0.278648] simple-framebuffer 3e29a000.framebuffer: fb0: simplefb registered!
[ 0.288869] NET: Registered PF_INET protocol family
[ 0.289110] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[ 0.290704] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[ 0.290738] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.290763] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
[ 0.290827] TCP bind hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.290896] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.291049] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[ 0.291088] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[ 0.291343] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 0.294746] RPC: Registered named UNIX socket transport module.
[ 0.294763] RPC: Registered udp transport module.
[ 0.294777] RPC: Registered tcp transport module.
[ 0.294791] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.294812] PCI: CLS 0 bytes, default 64
[ 1.332265] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 7 counters available
[ 1.334929] Initialise system trusted keyrings
[ 1.335231] workingset: timestamp_bits=14 max_order=21 bucket_order=7
[ 1.344147] zbud: loaded
[ 1.346115] FS-Cache: Netfs ‘nfs’ registered for caching
[ 1.347003] NFS: Registering the id_resolver key type
[ 1.347044] Key type id_resolver registered
[ 1.347059] Key type id_legacy registered
[ 1.347190] nfs4filelayout_init: NFSv4 File Layout Driver Registering…
[ 1.347206] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering…
[ 1.348286] Key type asymmetric registered
[ 1.348302] Asymmetric key parser ‘x509’ registered
[ 1.348537] bounce: pool size: 64 pages
[ 1.348612] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[ 1.348836] io scheduler mq-deadline registered
[ 1.348852] io scheduler kyber registered
[ 1.357909] brcm-pcie fd500000.pcie: host bridge /scb/pcie@7d500000 ranges:
[ 1.357951] brcm-pcie fd500000.pcie: No bus range found for /scb/pcie@7d500000, using [bus 00-ff]
[ 1.358045] brcm-pcie fd500000.pcie: MEM 0x0600000000…0x063fffffff → 0x00c0000000
[ 1.358137] brcm-pcie fd500000.pcie: IB MEM 0x0000000000…0x01ffffffff → 0x0400000000
[ 1.415972] brcm-pcie fd500000.pcie: link up, 5.0 GT/s PCIe x1 (SSC)
[ 1.416354] brcm-pcie fd500000.pcie: PCI host bridge to bus 0000:00
[ 1.416374] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 1.416396] pci_bus 0000:00: root bus resource [mem 0x600000000-0x63fffffff] (bus address [0xc0000000-0xffffffff])
[ 1.416495] pci 0000:00:00.0: [14e4:2711] type 01 class 0x060400
[ 1.416740] pci 0000:00:00.0: PME# supported from D0 D3hot
[ 1.420491] PCI: bus0: Fast back to back transfers disabled
[ 1.420827] pci 0000:01:00.0: [1106:3483] type 00 class 0x0c0330
[ 1.420957] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x00000fff 64bit]
[ 1.421388] pci 0000:01:00.0: PME# supported from D0 D3hot
[ 1.425151] PCI: bus1: Fast back to back transfers disabled
[ 1.425211] pci 0000:00:00.0: BAR 8: assigned [mem 0x600000000-0x6000fffff]
[ 1.425239] pci 0000:01:00.0: BAR 0: assigned [mem 0x600000000-0x600000fff 64bit]
[ 1.425325] pci 0000:00:00.0: PCI bridge to [bus 01]
[ 1.425351] pci 0000:00:00.0: bridge window [mem 0x600000000-0x6000fffff]
[ 1.425758] pcieport 0000:00:00.0: enabling device (0140 → 0142)
[ 1.425994] pcieport 0000:00:00.0: PME: Signaling with IRQ 79
[ 1.439160] iproc-rng200 fe104000.rng: hwrng registered
[ 1.439547] vc-mem: phys_addr:0x00000000 mem_base=0x3ec00000 mem_size:0x40000000(1024 MiB)
[ 1.441062] gpiomem-bcm2835 fe200000.gpiomem: Initialised: Registers at 0xfe200000
[ 1.453728] brd: module loaded
[ 1.463829] loop: module loaded
[ 1.464658] Loading iSCSI transport class v2.0-870.
[ 1.469930] bcmgenet fd580000.ethernet: GENET 5.0 EPHY: 0x0000
[ 1.564036] unimac-mdio unimac-mdio.-19: Broadcom UniMAC MDIO bus
[ 1.565230] usbcore: registered new interface driver r8152
[ 1.565301] usbcore: registered new interface driver lan78xx
[ 1.565381] usbcore: registered new interface driver smsc95xx
[ 1.612586] xhci_hcd 0000:01:00.0: xHCI Host Controller
[ 1.612624] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 1
[ 1.618266] xhci_hcd 0000:01:00.0: hcc params 0x002841eb hci version 0x100 quirks 0x00003c0000000890
[ 1.619312] xhci_hcd 0000:01:00.0: xHCI Host Controller
[ 1.619339] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 2
[ 1.619365] xhci_hcd 0000:01:00.0: Host supports USB 3.0 SuperSpeed
[ 1.619752] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.15
[ 1.619776] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.619795] usb usb1: Product: xHCI Host Controller
[ 1.619812] usb usb1: Manufacturer: Linux 5.15.61-v7l+ xhci-hcd
[ 1.619828] usb usb1: SerialNumber: 0000:01:00.0
[ 1.620576] hub 1-0:1.0: USB hub found
[ 1.620646] hub 1-0:1.0: 1 port detected
[ 1.621630] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.15
[ 1.621654] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.621673] usb usb2: Product: xHCI Host Controller
[ 1.621689] usb usb2: Manufacturer: Linux 5.15.61-v7l+ xhci-hcd
[ 1.621706] usb usb2: SerialNumber: 0000:01:00.0
[ 1.622403] hub 2-0:1.0: USB hub found
[ 1.622500] hub 2-0:1.0: 4 ports detected
[ 1.624439] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[ 1.624814] dwc_otg: FIQ enabled
[ 1.624828] dwc_otg: NAK holdoff enabled
[ 1.624842] dwc_otg: FIQ split-transaction FSM enabled
[ 1.624859] Module dwc_common_port init
[ 1.625330] usbcore: registered new interface driver uas
[ 1.625458] usbcore: registered new interface driver usb-storage
[ 1.625665] mousedev: PS/2 mouse device common for all mice
[ 1.631408] sdhci: Secure Digital Host Controller Interface driver
[ 1.631425] sdhci: Copyright(c) Pierre Ossman
[ 1.632195] sdhci-pltfm: SDHCI platform and OF driver helper
[ 1.635996] ledtrig-cpu: registered to indicate activity on CPUs
[ 1.636339] hid: raw HID events driver (C) Jiri Kosina
[ 1.636538] usbcore: registered new interface driver usbhid
[ 1.636554] usbhid: USB HID core driver
[ 1.642617] Initializing XFRM netlink socket
[ 1.642670] NET: Registered PF_PACKET protocol family
[ 1.642786] Key type dns_resolver registered
[ 1.643272] Registering SWP/SWPB emulation handler
[ 1.644365] registered taskstats version 1
[ 1.644397] Loading compiled-in X.509 certificates
[ 1.645269] Key type ._fscrypt registered
[ 1.645286] Key type .fscrypt registered
[ 1.645300] Key type fscrypt-provisioning registered
[ 1.657768] uart-pl011 fe201000.serial: there is not valid maps for state default
[ 1.658091] uart-pl011 fe201000.serial: cts_event_workaround enabled
[ 1.658239] fe201000.serial: ttyAMA0 at MMIO 0xfe201000 (irq = 34, base_baud = 0) is a PL011 rev2
[ 1.667445] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
[ 1.667924] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver
[ 1.669200] mmc-bcm2835 fe300000.mmcnr: mmc_debug:0 mmc_debug2:0
[ 1.669220] mmc-bcm2835 fe300000.mmcnr: DMA channel allocated
[ 1.698754] of_cfs_init
[ 1.698984] of_cfs_init: OK
[ 1.735851] mmc0: SDHCI controller on fe340000.mmc [fe340000.mmc] using ADMA
[ 1.736167] Waiting for root device PARTUUID=2609237c-02…
[ 1.834816] mmc0: new ultra high speed DDR50 SDXC card at address 59b4
[ 1.836872] mmcblk0: mmc0:59b4 EC1S5 59.7 GiB
[ 1.842011] mmcblk0: p1 p2
[ 1.842858] mmc1: new high speed SDIO card at address 0001
[ 1.843670] mmcblk0: mmc0:59b4 EC1S5 59.7 GiB
[ 1.874826] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
[ 1.874916] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[ 1.875626] devtmpfs: mounted
[ 1.886678] Freeing unused kernel image (initmem) memory: 2048K
[ 1.903919] usb 1-1: new high-speed USB device number 2 using xhci_hcd
[ 1.904468] Run /sbin/init as init process
[ 1.904483] with arguments:
[ 1.904496] /sbin/init
[ 1.904509] splash
[ 1.904521] with environment:
[ 1.904533] HOME=/
[ 1.904546] TERM=linux
[ 2.087058] usb 1-1: New USB device found, idVendor=2109, idProduct=3431, bcdDevice= 4.21
[ 2.087091] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 2.087111] usb 1-1: Product: USB2.0 Hub
[ 2.089306] hub 1-1:1.0: USB hub found
[ 2.089591] hub 1-1:1.0: 4 ports detected
[ 2.217297] systemd[1]: System time before build time, advancing clock.
[ 2.415162] NET: Registered PF_INET6 protocol family
[ 2.416799] Segment Routing with IPv6
[ 2.416858] In-situ OAM (IOAM) with IPv6
[ 2.490614] systemd[1]: systemd 247.3-7+rpi1+deb11u1 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +ZSTD +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2 default-hierarchy=unified)
[ 2.491514] systemd[1]: Detected architecture arm.
[ 2.493099] systemd[1]: Set hostname to .
[ 3.190749] systemd[1]: /lib/systemd/system/plymouth-start.service:16: Unit configured to use KillMode=none. This is unsafe, as it disables systemd’s process lifecycle management for the service. Please update your service to use a safer KillMode=, such as ‘mixed’ or ‘control-group’. Support for KillMode=none is deprecated and will eventually be removed.
[ 3.375594] systemd[1]: Queued start job for default target Graphical Interface.
[ 3.381072] systemd[1]: Created slice system-getty.slice.
[ 3.382426] systemd[1]: Created slice system-modprobe.slice.
[ 3.383452] systemd[1]: Created slice system-systemd\x2dfsck.slice.
[ 3.384629] systemd[1]: Created slice User and Session Slice.
[ 3.385157] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[ 3.386290] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[ 3.387038] systemd[1]: Reached target Slices.
[ 3.387261] systemd[1]: Reached target Swap.
[ 3.388243] systemd[1]: Listening on Syslog Socket.
[ 3.388989] systemd[1]: Listening on fsck to fsckd communication Socket.
[ 3.389404] systemd[1]: Listening on initctl Compatibility Named Pipe.
[ 3.390527] systemd[1]: Listening on Journal Audit Socket.
[ 3.391287] systemd[1]: Listening on Journal Socket (/dev/log).
[ 3.392239] systemd[1]: Listening on Journal Socket.
[ 3.396151] systemd[1]: Listening on udev Control Socket.
[ 3.396986] systemd[1]: Listening on udev Kernel Socket.
[ 3.398053] systemd[1]: Condition check resulted in Huge Pages File System being skipped.
[ 3.403475] systemd[1]: Mounting POSIX Message Queue File System…
[ 3.410196] systemd[1]: Mounting RPC Pipe File System…
[ 3.417150] systemd[1]: Mounting Kernel Debug File System…
[ 3.424757] systemd[1]: Mounting Kernel Trace File System…
[ 3.425487] systemd[1]: Condition check resulted in Kernel Module supporting RPCSEC_GSS being skipped.
[ 3.436025] systemd[1]: Starting Restore / save the current clock…
[ 3.443681] systemd[1]: Starting Set the console keyboard layout…
[ 3.452058] systemd[1]: Starting Create list of static device nodes for the current kernel…
[ 3.459930] systemd[1]: Starting Load Kernel Module configfs…
[ 3.467980] systemd[1]: Starting Load Kernel Module drm…
[ 3.478217] systemd[1]: Starting Load Kernel Module fuse…
[ 3.483818] systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped.
[ 3.491015] systemd[1]: Starting File System Check on Root Device…
[ 3.504879] systemd[1]: Starting Journal Service…
[ 3.517371] systemd[1]: Starting Load Kernel Modules…
[ 3.530166] systemd[1]: Starting Coldplug All udev Devices…
[ 3.556295] systemd[1]: Mounted POSIX Message Queue File System.
[ 3.557067] systemd[1]: Mounted RPC Pipe File System.
[ 3.557764] systemd[1]: Mounted Kernel Debug File System.
[ 3.558479] systemd[1]: Mounted Kernel Trace File System.
[ 3.560643] systemd[1]: Finished Restore / save the current clock.
[ 3.563463] systemd[1]: Finished Create list of static device nodes for the current kernel.
[ 3.572848] systemd[1]: [email protected]: Succeeded.
[ 3.574669] systemd[1]: Finished Load Kernel Module configfs.
[ 3.584680] systemd[1]: Mounting Kernel Configuration File System…
[ 3.592570] systemd[1]: Started File System Check Daemon to report status.
[ 3.631529] fuse: init (API version 7.34)
[ 3.632023] systemd[1]: Mounted Kernel Configuration File System.
[ 3.672712] systemd[1]: [email protected]: Succeeded.
[ 3.674554] systemd[1]: Finished Load Kernel Module fuse.
[ 3.679935] i2c_dev: i2c /dev entries driver
[ 3.681298] systemd[1]: Mounting FUSE Control File System…
[ 3.704069] systemd[1]: Finished Load Kernel Modules.
[ 3.715100] systemd[1]: Starting Apply Kernel Variables…
[ 3.727542] systemd[1]: Mounted FUSE Control File System.
[ 3.801357] systemd[1]: Finished Apply Kernel Variables.
[ 3.803765] systemd[1]: [email protected]: Succeeded.
[ 3.805323] systemd[1]: Finished Load Kernel Module drm.
[ 3.849822] systemd[1]: Finished File System Check on Root Device.
[ 3.856121] systemd[1]: Starting Remount Root and Kernel File Systems…
[ 3.953814] systemd[1]: Started Journal Service.
[ 4.039854] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null). Quota mode: none.
[ 4.105489] systemd-journald[139]: Received client request to flush runtime journal.
[ 4.116737] systemd-journald[139]: File /var/log/journal/55d21a9e36014ff98a387ba264847685/system.journal corrupted or uncleanly shut down, renaming and replacing.
[ 5.421727] mc: Linux media interface: v0.10
[ 5.521501] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned.
[ 5.523742] bcm2835_vc_sm_cma_probe: Videocore shared memory driver
[ 5.523773] [vc_sm_connected_init]: start
[ 5.594333] brcmstb-i2c fef04500.i2c: @97500hz registered in polling mode
[ 5.595185] brcmstb-i2c fef09500.i2c: @97500hz registered in polling mode
[ 5.604402] [vc_sm_connected_init]: installed successfully
[ 5.744171] i2c i2c-22: Added multiplexed i2c bus 0
[ 5.745502] i2c 10-001a: Fixing up cyclic dependency with fe801000.csi
[ 5.745870] i2c i2c-22: Added multiplexed i2c bus 10
[ 5.875037] videodev: Linux video capture interface: v2.00
[ 5.932833] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.
[ 5.972357] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[ 6.024318] bcm2835_audio bcm2835_audio: card created with 8 channels
[ 6.038836] bcm2835_codec: module is from the staging directory, the quality is unknown, you have been warned.
[ 6.077020] bcm2835-codec bcm2835-codec: Device registered as /dev/video10
[ 6.077074] bcm2835-codec bcm2835-codec: Loaded V4L2 decode
[ 6.085714] bcm2835-codec bcm2835-codec: Device registered as /dev/video11
[ 6.085762] bcm2835-codec bcm2835-codec: Loaded V4L2 encode
[ 6.091605] bcm2835-codec bcm2835-codec: Device registered as /dev/video12
[ 6.091653] bcm2835-codec bcm2835-codec: Loaded V4L2 isp
[ 6.102580] bcm2835-codec bcm2835-codec: Device registered as /dev/video18
[ 6.102632] bcm2835-codec bcm2835-codec: Loaded V4L2 image_fx
[ 6.110453] bcm2835-codec bcm2835-codec: Device registered as /dev/video31
[ 6.110517] bcm2835-codec bcm2835-codec: Loaded V4L2 encode_image
[ 6.188472] rpivid_hevc: module is from the staging directory, the quality is unknown, you have been warned.
[ 6.201765] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 6.253155] cfg80211: Loaded X.509 cert ‘sforshee: 00b28ddf47aef9cea7’
[ 6.286306] cfg80211: loaded regulatory.db is malformed or signature is missing/invalid
[ 6.297247] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned.
[ 6.334374] rpivid feb10000.codec: Device registered as /dev/video19
[ 6.350822] [drm] Initialized v3d 1.0.0 20180419 for fec00000.v3d on minor 0
[ 6.440481] bcm2835_isp: module is from the staging directory, the quality is unknown, you have been warned.
[ 6.467549] brcmfmac: F1 signature read @0x18000000=0x15264345
[ 6.553083] bcm2835-isp bcm2835-isp: Device node output[0] registered as /dev/video13
[ 6.553533] bcm2835-isp bcm2835-isp: Device node capture[0] registered as /dev/video14
[ 6.562898] bcm2835-isp bcm2835-isp: Device node capture[1] registered as /dev/video15
[ 6.563310] bcm2835-isp bcm2835-isp: Device node stats[2] registered as /dev/video16
[ 6.563349] bcm2835-isp bcm2835-isp: Register output node 0 with media controller
[ 6.563374] bcm2835-isp bcm2835-isp: Register capture node 1 with media controller
[ 6.563405] bcm2835-isp bcm2835-isp: Register capture node 2 with media controller
[ 6.563441] bcm2835-isp bcm2835-isp: Register capture node 3 with media controller
[ 6.577668] bcm2835-isp bcm2835-isp: Device node output[0] registered as /dev/video20
[ 6.578107] bcm2835-isp bcm2835-isp: Device node capture[0] registered as /dev/video21
[ 6.579745] bcm2835-isp bcm2835-isp: Device node capture[1] registered as /dev/video22
[ 6.580124] bcm2835-isp bcm2835-isp: Device node stats[2] registered as /dev/video23
[ 6.580153] bcm2835-isp bcm2835-isp: Register output node 0 with media controller
[ 6.580179] bcm2835-isp bcm2835-isp: Register capture node 1 with media controller
[ 6.580202] bcm2835-isp bcm2835-isp: Register capture node 2 with media controller
[ 6.580224] bcm2835-isp bcm2835-isp: Register capture node 3 with media controller
[ 6.580426] bcm2835-isp bcm2835-isp: Loaded V4L2 bcm2835-isp
[ 6.581338] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[ 6.582291] usbcore: registered new interface driver brcmfmac
[ 6.586672] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43455-sdio.raspberrypi,4-model-b.bin failed with error -2
[ 6.878420] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[ 6.878566] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[ 6.888792] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Nov 1 2021 00:37:25 version 7.45.241 (1a2f2fa CY) FWID 01-703fd60
[ 7.680857] 8021q: 802.1Q VLAN Support v1.8
[ 7.751646] uart-pl011 fe201000.serial: no DMA platform data
[ 7.861261] checking generic (3e29a000 960000) vs hw (0 ffffffffffffffff)
[ 7.861291] fb0: switching to vc4 from simple
[ 7.861975] Console: switching to colour dummy device 80x30
[ 7.940930] vc4-drm gpu: bound fe400000.hvs (ops vc4_hvs_ops [vc4])
[ 7.943217] Registered IR keymap rc-cec
[ 8.009714] bcmgenet fd580000.ethernet: configuring instance for external RGMII (RX delay)
[ 8.013053] bcmgenet fd580000.ethernet eth0: Link is Down
[ 8.047085] rc rc0: vc4 as /devices/platform/soc/fef00700.hdmi/rc/rc0
[ 8.276565] dw9807_vcm: loading out-of-tree module taints kernel.
[ 8.309210] input: vc4 as /devices/platform/soc/fef00700.hdmi/rc/rc0/input0
[ 8.310380] Adding 102396k swap on /var/swap. Priority:-2 extents:1 across:102396k SSFS
[ 8.683180] arducam_64mp 10-001a: Device found Arducam 64MP.
[ 8.764054] arducam_64mp 10-001a: Consider updating driver arducam_64mp to match on endpoints
[ 8.936459] vc4-drm gpu: bound fe400000.hvs (ops vc4_hvs_ops [vc4])
[ 8.945933] Registered IR keymap rc-cec
[ 8.962252] rc rc0: vc4 as /devices/platform/soc/fef00700.hdmi/rc/rc0
[ 9.020742] input: vc4 as /devices/platform/soc/fef00700.hdmi/rc/rc0/input1
[ 9.164315] vc4-drm gpu: bound fe400000.hvs (ops vc4_hvs_ops [vc4])
[ 9.200388] Registered IR keymap rc-cec
[ 9.200943] rc rc0: vc4 as /devices/platform/soc/fef00700.hdmi/rc/rc0
[ 9.201094] input: vc4 as /devices/platform/soc/fef00700.hdmi/rc/rc0/input2
[ 9.243700] vc4-drm gpu: bound fef00700.hdmi (ops vc4_hdmi_ops [vc4])
[ 9.244761] Registered IR keymap rc-cec
[ 9.244860] rc rc1: vc4 as /devices/platform/soc/fef05700.hdmi/rc/rc1
[ 9.244972] input: vc4 as /devices/platform/soc/fef05700.hdmi/rc/rc1/input3
[ 9.254495] vc4-drm gpu: bound fef05700.hdmi (ops vc4_hdmi_ops [vc4])
[ 9.254722] vc4-drm gpu: bound fe004000.txp (ops vc4_txp_ops [vc4])
[ 9.257648] vc4-drm gpu: bound fe206000.pixelvalve (ops vc4_crtc_ops [vc4])
[ 9.258099] vc4-drm gpu: bound fe207000.pixelvalve (ops vc4_crtc_ops [vc4])
[ 9.258292] vc4-drm gpu: bound fe20a000.pixelvalve (ops vc4_crtc_ops [vc4])
[ 9.258432] vc4-drm gpu: bound fe216000.pixelvalve (ops vc4_crtc_ops [vc4])
[ 9.258599] vc4-drm gpu: bound fec12000.pixelvalve (ops vc4_crtc_ops [vc4])
[ 9.263593] [drm] Initialized vc4 0.0.0 20140616 for gpu on minor 1
[ 9.334785] vc4-drm gpu: [drm] The core clock cannot reach frequencies high enough to support 4k @ 60Hz.
[ 9.334800] vc4-drm gpu: [drm] Please change your config.txt file to add hdmi_enable_4kp60.
[ 9.350157] Console: switching to colour frame buffer device 480x135
[ 9.350185] vc4-drm gpu: [drm] fb0: vc4drmfb frame buffer device
[ 9.407244] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled
[ 14.713288] Bluetooth: Core ver 2.22
[ 14.713383] NET: Registered PF_BLUETOOTH protocol family
[ 14.713394] Bluetooth: HCI device and connection manager initialized
[ 14.713416] Bluetooth: HCI socket layer initialized
[ 14.713430] Bluetooth: L2CAP socket layer initialized
[ 14.713452] Bluetooth: SCO socket layer initialized
[ 14.728154] Bluetooth: HCI UART driver ver 2.3
[ 14.728167] Bluetooth: HCI UART protocol H4 registered
[ 14.728217] Bluetooth: HCI UART protocol Three-wire (H5) registered
[ 14.728372] Bluetooth: HCI UART protocol Broadcom registered
[ 14.836423] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 14.997371] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 14.997387] Bluetooth: BNEP filters: protocol multicast
[ 14.997400] Bluetooth: BNEP socket layer initialized
[ 15.021792] NET: Registered PF_ALG protocol family
[ 15.052708] cryptd: max_cpu_qlen set to 1000
[ 15.099293] hdmi-audio-codec hdmi-audio-codec.3.auto: ASoC: error at snd_soc_dai_startup on i2s-hifi: -19
[ 15.099329] MAI: soc_pcm_open() failed (-19)
[ 15.100124] hdmi-audio-codec hdmi-audio-codec.3.auto: ASoC: error at snd_soc_dai_startup on i2s-hifi: -19
[ 15.100156] MAI: soc_pcm_open() failed (-19)
[ 15.100952] hdmi-audio-codec hdmi-audio-codec.3.auto: ASoC: error at snd_soc_dai_startup on i2s-hifi: -19
[ 15.100980] MAI: soc_pcm_open() failed (-19)
[ 15.116593] hdmi-audio-codec hdmi-audio-codec.3.auto: ASoC: error at snd_soc_dai_startup on i2s-hifi: -19
[ 15.116626] MAI: soc_pcm_open() failed (-19)
[ 15.117083] hdmi-audio-codec hdmi-audio-codec.3.auto: ASoC: error at snd_soc_dai_startup on i2s-hifi: -19
[ 15.117119] MAI: soc_pcm_open() failed (-19)
[ 15.117497] hdmi-audio-codec hdmi-audio-codec.3.auto: ASoC: error at snd_soc_dai_startup on i2s-hifi: -19
[ 15.117525] MAI: soc_pcm_open() failed (-19)
[ 15.235856] Bluetooth: RFCOMM TTY layer initialized
[ 15.235881] Bluetooth: RFCOMM socket layer initialized
[ 15.235901] Bluetooth: RFCOMM ver 1.11
[ 16.318817] ICMPv6: process `dhcpcd’ is using deprecated sysctl (syscall) net.ipv6.neigh.wlan0.retrans_time - use net.ipv6.neigh.wlan0.retrans_time_ms instead
[ 31.833943] cam-dummy-reg: disabling
[ 282.270222] v3d fec00000.v3d: MMU error from client CLE (4) at 0x1ca1000, pte invalid
[ 745.292708] cma: cma_alloc: linux,cma: alloc failed, req-size: 19422 pages, ret: -12
[ 745.292732] unicam fe801000.csi: dma_alloc_coherent of size 79552512 failed
[ 791.580169] cma: cma_alloc: linux,cma: alloc failed, req-size: 19422 pages, ret: -12
[ 791.580192] unicam fe801000.csi: dma_alloc_coherent of size 79552512 failed

  1. Troubleshooting attempts you’ve made?
    I looked at all threads on the forum tried all suggested fixes, nothing worked. I tired to reduce the screen resolution, change the config settings for GPU memory and CMA, nothing helped.

  2. What help do you need?
    How to setup the configuration on Pi to be able to take the entire 64MP image

HI there - any help with the issue?

Come on tech support - 2 days with no answer? :wink:

Hey Arducam - it has nearly been a week? No response? I begin to wonder if this camera is indeed capable of running in 64MP at all. No one seems to have a working solution for the problem described above?

Bottom line, it has been weeks. No support from the company, no answers, no way to get this to work. Camera is unable to get into the 64MP mode, presumably due to the driver issue. Do not recommend!

@Palkos

Here is all the progress so far, as you can see the cause is not the camera itself and we are working with users to resolve the issue.

I’m sorry for not responding before because I was on a long vacation from September 7th until October 8th, and I’m sorry I didn’t see your question in time.