Arducam 64MP returns only 16Mpix photos on RPi4

I’ve tried every possible variation. Rpi4 4GB, Rpi4 8GB, 32bit, 64bit. CMA-512 … everything. New installs. All according to the instructions.

Unfortunately the camera still only saves 16Mpix photos even if I switch the mode to --mode 9152:6944

processor	: 0
model name	: ARMv7 Processor rev 3 (v7l)
BogoMIPS	: 108.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	: 108.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	: 108.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	: 108.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	: d03115
Serial		: 10000000dba32931
Model		: Raspberry Pi 4 Model B Rev 1.5
[email protected]:~/Desktop/Images $ cat /proc/meminfo
MemTotal:        8100288 kB
MemFree:         7068692 kB
MemAvailable:    7495004 kB
Buffers:           29900 kB
Cached:           545968 kB
SwapCached:            0 kB
Active:           140260 kB
Inactive:         748292 kB
Active(anon):       1608 kB
Inactive(anon):   251508 kB
Active(file):     138652 kB
Inactive(file):   496784 kB
Unevictable:       26588 kB
Mlocked:            1824 kB
HighTotal:       7471104 kB
HighFree:        6549032 kB
LowTotal:         629184 kB
LowFree:          519660 kB
SwapTotal:        524284 kB
SwapFree:         524284 kB
Dirty:               232 kB
Writeback:             0 kB
AnonPages:        339280 kB
Mapped:           186280 kB
Shmem:             34212 kB
KReclaimable:      24348 kB
Slab:              48524 kB
SReclaimable:      24348 kB
SUnreclaim:        24176 kB
KernelStack:        2480 kB
PageTables:         7096 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:     4574428 kB
Committed_AS:    1548116 kB
VmallocTotal:     245760 kB
VmallocUsed:        6928 kB
VmallocChunk:          0 kB
Percpu:              496 kB
CmaTotal:         524288 kB
CmaFree:          499080 kB
[email protected]:~/Desktop/Images $ cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 11 (bullseye)"
NAME="Raspbian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
ls /dev/video*
/dev/video0  /dev/video1  /dev/video10  /dev/video11  /dev/video12  /dev/video13  /dev/video14  /dev/video15  /dev/video16  /dev/video18  /dev/video19  /dev/video20  /dev/video21  /dev/video22  /dev/video23  /dev/video31
[email protected]:~/Desktop/Images $ dpkg -l | grep libcamera
ii  libcamera-apps                       0.0.10                           armhf        libcamera-apps
ii  libcamera-dev                        0.0.10                           armhf        libcamera
[pi4]
# Run as fast as firmware / board allows
arm_boost=1

[all]
dtoverlay=w1-gpio
dtoverlay=vc4-kms-v3d,cma-512
dtoverlay=arducam_64mp
dtoverlay=arducam_64mp, cam0
dtparam=watchdog=on
gpu_mem=64
[email protected]:~/Desktop/Images $ libcamera-still -t 1000 -n
[0:17:29.941623636] [1948]  INFO Camera camera_manager.cpp:293 libcamera v0.0.0+3897-c3c878a9
[0:17:29.998245122] [1950]  WARN CameraSensorProperties camera_sensor_properties.cpp:174 No static properties available for 'arducam_64mp'
[0:17:29.998291918] [1950]  WARN CameraSensorProperties camera_sensor_properties.cpp:176 Please consider updating the camera sensor properties database
[0:17:30.017508330] [1950]  WARN RPI raspberrypi.cpp:1280 Mismatch between Unicam and CamHelper for embedded data usage!
[0:17:30.018389841] [1950] ERROR DelayedControls delayed_controls.cpp:87 Delay request for control id 0x009a090a but control is not exposed by device /dev/v4l-subdev0
[0:17:30.018558692] [1950]  INFO RPI raspberrypi.cpp:1404 Registered camera /base/soc/i2c0mux/[email protected]/[email protected] to Unicam device /dev/media2 and ISP device /dev/media0
[0:17:30.019169538] [1948]  INFO Camera camera.cpp:1035 configuring streams: (0) 4624x3472-YUV420
[0:17:30.019583979] [1950]  INFO RPI raspberrypi.cpp:765 Sensor: /base/soc/i2c0mux/[email protected]/[email protected] - Selected sensor format: 4624x3472-SBGGR10_1X10 - Selected unicam format: 4624x3472-pBAA
[email protected]:~/Desktop/Images $ sudo dmesg
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.15.76-v7l+ ([email protected]) (arm-linux-gnueabihf-gcc-8 (Ubuntu/Linaro 8.4.0-3ubuntu1) 8.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #1597 SMP Fri Nov 4 12:14:58 GMT 2022
[    0.000000] CPU: ARMv7 Processor [410fd083] revision 3 (ARMv7), cr=30c5383d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[    0.000000] OF: fdt: Machine model: Raspberry Pi 4 Model B Rev 1.5
[    0.000000] random: crng init done
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] Reserved memory: bypass linux,cma node, using cmdline CMA params instead
[    0.000000] OF: reserved mem: node linux,cma compatible matching fail
[    0.000000] cma: Reserved 512 MiB at 0x000000000ec00000
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000000000-0x000000002fffffff]
[    0.000000]   Normal   empty
[    0.000000]   HighMem  [mem 0x0000000030000000-0x00000001ffffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000003bffffff]
[    0.000000]   node   0: [mem 0x0000000040000000-0x00000000fbffffff]
[    0.000000]   node   0: [mem 0x0000000100000000-0x00000001ffffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x00000001ffffffff]
[    0.000000] percpu: Embedded 16 pages/cpu s35788 r8192 d21556 u65536
[    0.000000] pcpu-alloc: s35788 r8192 d21556 u65536 alloc=16*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 2062656
[    0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1  smsc95xx.macaddr=E4:5F:01:95:D0:A4 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  console=ttyS0,115200 console=tty1 root=PARTUUID=ae7af0fa-02 rootfstype=ext4 fsck.repair=yes rootwait splash plymouth.ignore-serial-consoles coherent_pool=6M smsc95xx.turbo_mode=N cma=512M
[    0.000000] Unknown kernel command line parameters "splash", will be passed to user space.
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] software IO TLB: mapped [mem 0x0000000006400000-0x000000000a400000] (64MB)
[    0.000000] Memory: 7573952K/8257536K available (10240K kernel code, 1386K rwdata, 3308K rodata, 2048K init, 591K bss, 159296K reserved, 524288K cma-reserved, 7471104K highmem)
...
[    0.001391] LSM: Security Framework initializing
[    0.001604] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.001653] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.003198] cgroup: Disabling memory control group subsystem
[    0.003451] CPU: Testing write buffer coherency: ok
[    0.003521] CPU0: Spectre BHB: enabling loop workaround for all CPUs
[    0.003978] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.005505] Setting up static identity map for 0x200000 - 0x20003c
[    0.005726] rcu: Hierarchical SRCU implementation.
[    0.006755] smp: Bringing up secondary CPUs ...
[    0.007950] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.009275] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.010640] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.010801] smp: Brought up 1 node, 4 CPUs
[    0.010883] SMP: Total of 4 processors activated (432.00 BogoMIPS).
[    0.010914] CPU: All CPU(s) started in HYP mode.
[    0.010940] CPU: Virtualization extensions available.
[    0.011712] devtmpfs: initialized
[    0.027489] VFP support v0.3: implementor 41 architecture 3 part 40 variant 8 rev 0
[    0.027735] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.027792] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.043385] pinctrl core: initialized pinctrl subsystem
[    0.044658] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.053139] DMA: preallocated 6144 KiB pool for atomic coherent allocations
[    0.053969] audit: initializing netlink subsys (disabled)
[    0.054242] audit: type=2000 audit(0.050:1): state=initialized audit_enabled=0 res=1
[    0.054876] thermal_sys: Registered thermal governor 'step_wise'
[    0.055737] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.055795] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.056206] Serial: AMBA PL011 UART driver
[    0.072449] bcm2835-mbox fe00b880.mailbox: mailbox enabled
[    0.120097] raspberrypi-firmware soc:firmware: Attached to firmware from 2022-10-26T11:09:05, variant start
[    0.130114] raspberrypi-firmware soc:firmware: Firmware hash is c72ad6b26ff40c91ef776b847436094ee63fabee
[    0.190236] Kprobes globally optimized
[    0.196324] bcm2835-dma fe007000.dma: DMA legacy API manager, dmachans=0x1
[    0.201267] vgaarb: loaded
[    0.201759] SCSI subsystem initialized
[    0.202004] usbcore: registered new interface driver usbfs
[    0.202079] usbcore: registered new interface driver hub
[    0.202167] usbcore: registered new device driver usb
[    0.202615] usb_phy_generic phy: supply vcc not found, using dummy regulator
[    0.202812] usb_phy_generic phy: dummy supplies not allowed for exclusive requests
[    0.203145] pps_core: LinuxPPS API ver. 1 registered
[    0.203175] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <[email protected]>
[    0.203223] PTP clock support registered
[    0.205009] clocksource: Switched to clocksource arch_sys_counter
[    0.285744] VFS: Disk quotas dquot_6.6.0
[    0.285875] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.286073] FS-Cache: Loaded
[    0.286268] CacheFiles: Loaded
[    0.295434] NET: Registered PF_INET protocol family
[    0.295705] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.297324] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.297382] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.297428] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.297512] TCP bind hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.297599] TCP: Hash tables configured (established 8192 bind 8192)
[    0.297771] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.297828] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.298099] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.299122] RPC: Registered named UNIX socket transport module.
[    0.299157] RPC: Registered udp transport module.
[    0.299185] RPC: Registered tcp transport module.
[    0.299211] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.299247] PCI: CLS 0 bytes, default 64
[    1.353630] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 7 counters available
[    1.356341] Initialise system trusted keyrings
[    1.356648] workingset: timestamp_bits=14 max_order=21 bucket_order=7
[    1.365727] zbud: loaded
[    1.367685] FS-Cache: Netfs 'nfs' registered for caching
[    1.368595] NFS: Registering the id_resolver key type
[    1.368647] Key type id_resolver registered
[    1.368675] Key type id_legacy registered
[    1.368837] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.368869] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    1.369984] Key type asymmetric registered
[    1.370016] Asymmetric key parser 'x509' registered
[    1.370258] bounce: pool size: 64 pages
[    1.370335] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[    1.370593] io scheduler mq-deadline registered
[    1.370625] io scheduler kyber registered
[    1.380488] brcm-pcie fd500000.pcie: host bridge /scb/[email protected] ranges:
[    1.380555] brcm-pcie fd500000.pcie:   No bus range found for /scb/[email protected], using [bus 00-ff]
[    1.380670] brcm-pcie fd500000.pcie:      MEM 0x0600000000..0x063fffffff -> 0x00c0000000
[    1.380782] brcm-pcie fd500000.pcie:   IB MEM 0x0000000000..0x01ffffffff -> 0x0400000000
[    1.437112] brcm-pcie fd500000.pcie: link up, 5.0 GT/s PCIe x1 (SSC)
[    1.437518] brcm-pcie fd500000.pcie: PCI host bridge to bus 0000:00
[    1.437555] pci_bus 0000:00: root bus resource [bus 00-ff]
[    1.437591] pci_bus 0000:00: root bus resource [mem 0x600000000-0x63fffffff] (bus address [0xc0000000-0xffffffff])
[    1.437704] pci 0000:00:00.0: [14e4:2711] type 01 class 0x060400
[    1.437978] pci 0000:00:00.0: PME# supported from D0 D3hot
[    1.441822] PCI: bus0: Fast back to back transfers disabled
[    1.441863] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.442258] pci 0000:01:00.0: [1106:3483] type 00 class 0x0c0330
[    1.442403] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x00000fff 64bit]
[    1.442850] pci 0000:01:00.0: PME# supported from D0 D3hot
[    1.446700] PCI: bus1: Fast back to back transfers disabled
[    1.446737] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    1.446796] pci 0000:00:00.0: BAR 8: assigned [mem 0x600000000-0x6000fffff]
[    1.446838] pci 0000:01:00.0: BAR 0: assigned [mem 0x600000000-0x600000fff 64bit]
[    1.446942] pci 0000:00:00.0: PCI bridge to [bus 01]
[    1.446981] pci 0000:00:00.0:   bridge window [mem 0x600000000-0x6000fffff]
[    1.447423] pcieport 0000:00:00.0: enabling device (0140 -> 0142)
[    1.447674] pcieport 0000:00:00.0: PME: Signaling with IRQ 80
[    1.461763] iproc-rng200 fe104000.rng: hwrng registered
[    1.462171] vc-mem: phys_addr:0x00000000 mem_base=0x3ec00000 mem_size:0x40000000(1024 MiB)
[    1.463792] gpiomem-bcm2835 fe200000.gpiomem: Initialised: Registers at 0xfe200000
[    1.476587] brd: module loaded
[    1.486823] loop: module loaded
[    1.487610] Loading iSCSI transport class v2.0-870.
[    1.492903] bcmgenet fd580000.ethernet: GENET 5.0 EPHY: 0x0000
[    1.585170] unimac-mdio unimac-mdio.-19: Broadcom UniMAC MDIO bus
[    1.586391] usbcore: registered new interface driver r8152
[    1.586478] usbcore: registered new interface driver lan78xx
[    1.586556] usbcore: registered new interface driver smsc95xx
[    1.634295] xhci_hcd 0000:01:00.0: xHCI Host Controller
[    1.634348] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 1
[    1.640978] xhci_hcd 0000:01:00.0: hcc params 0x002841eb hci version 0x100 quirks 0x0000740000000890
[    1.642076] xhci_hcd 0000:01:00.0: xHCI Host Controller
[    1.642118] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 2
[    1.642163] xhci_hcd 0000:01:00.0: Host supports USB 3.0 SuperSpeed
[    1.642572] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.15
[    1.642616] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.642653] usb usb1: Product: xHCI Host Controller
[    1.642683] usb usb1: Manufacturer: Linux 5.15.76-v7l+ xhci-hcd
[    1.642714] usb usb1: SerialNumber: 0000:01:00.0
[    1.643449] hub 1-0:1.0: USB hub found
[    1.643533] hub 1-0:1.0: 1 port detected
[    1.644568] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.15
[    1.644612] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.644649] usb usb2: Product: xHCI Host Controller
[    1.644679] usb usb2: Manufacturer: Linux 5.15.76-v7l+ xhci-hcd
[    1.644709] usb usb2: SerialNumber: 0000:01:00.0
[    1.645466] hub 2-0:1.0: USB hub found
[    1.645579] hub 2-0:1.0: 4 ports detected
[    1.647543] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[    1.647947] dwc_otg: FIQ enabled
[    1.647961] dwc_otg: NAK holdoff enabled
[    1.647975] dwc_otg: FIQ split-transaction FSM enabled
[    1.647992] Module dwc_common_port init
[    1.648432] usbcore: registered new interface driver uas
[    1.648558] usbcore: registered new interface driver usb-storage
[    1.648795] mousedev: PS/2 mouse device common for all mice
[    1.654666] sdhci: Secure Digital Host Controller Interface driver
[    1.654704] sdhci: Copyright(c) Pierre Ossman
[    1.655534] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.659443] ledtrig-cpu: registered to indicate activity on CPUs
[    1.659788] hid: raw HID events driver (C) Jiri Kosina
[    1.659999] usbcore: registered new interface driver usbhid
[    1.660029] usbhid: USB HID core driver
[    1.666108] Initializing XFRM netlink socket
[    1.666173] NET: Registered PF_PACKET protocol family
[    1.666307] Key type dns_resolver registered
[    1.666857] Registering SWP/SWPB emulation handler
[    1.667692] registered taskstats version 1
[    1.667736] Loading compiled-in X.509 certificates
[    1.668590] Key type ._fscrypt registered
[    1.668621] Key type .fscrypt registered
[    1.668648] Key type fscrypt-provisioning registered
[    1.681152] uart-pl011 fe201000.serial: there is not valid maps for state default
[    1.681521] uart-pl011 fe201000.serial: cts_event_workaround enabled
[    1.681674] fe201000.serial: ttyAMA0 at MMIO 0xfe201000 (irq = 34, base_baud = 0) is a PL011 rev2
[    1.691161] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
[    1.691673] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver
[    1.692982] mmc-bcm2835 fe300000.mmcnr: mmc_debug:0 mmc_debug2:0
[    1.693020] mmc-bcm2835 fe300000.mmcnr: DMA channel allocated
[    1.721285] of_cfs_init
[    1.721532] of_cfs_init: OK
[    1.757971] mmc0: SDHCI controller on fe340000.mmc [fe340000.mmc] using ADMA
[    1.758388] Waiting for root device PARTUUID=ae7af0fa-02...
[    1.812200] mmc1: new high speed SDIO card at address 0001
[    1.827144] mmc0: new DDR MMC card at address 0001
[    1.828157] mmcblk0: mmc0:0001 BJTD4R 29.1 GiB
[    1.831282]  mmcblk0: p1 p2
[    1.831829] mmcblk0: mmc0:0001 BJTD4R 29.1 GiB
[    1.832362] mmcblk0boot0: mmc0:0001 BJTD4R 4.00 MiB
[    1.834858] mmcblk0boot1: mmc0:0001 BJTD4R 4.00 MiB
[    1.837128] mmcblk0rpmb: mmc0:0001 BJTD4R 4.00 MiB, chardev (242:0)
[    1.857426] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
[    1.857539] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[    1.858186] devtmpfs: mounted
[    1.869278] Freeing unused kernel image (initmem) memory: 2048K
[    1.896234] Run /sbin/init as init process
[    1.896265]   with arguments:
[    1.896278]     /sbin/init
[    1.896291]     splash
[    1.896304]   with environment:
[    1.896317]     HOME=/
[    1.896329]     TERM=linux
[    1.925121] usb 1-1: new high-speed USB device number 2 using xhci_hcd
[    2.107717] usb 1-1: New USB device found, idVendor=2109, idProduct=3431, bcdDevice= 4.21
[    2.107781] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    2.107818] usb 1-1: Product: USB2.0 Hub
[    2.110127] hub 1-1:1.0: USB hub found
[    2.110469] hub 1-1:1.0: 4 ports detected
[    2.212145] systemd[1]: System time before build time, advancing clock.
[    2.401241] NET: Registered PF_INET6 protocol family
[    2.402925] Segment Routing with IPv6
[    2.402987] In-situ OAM (IOAM) with IPv6
[    2.474617] 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.475677] systemd[1]: Detected architecture arm.
[    2.485953] systemd[1]: Set hostname to <raspberrypiCAM>.
[    3.238220] 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.467713] systemd[1]: Queued start job for default target Graphical Interface.
[    3.473178] systemd[1]: Created slice system-getty.slice.
[    3.474920] systemd[1]: Created slice system-modprobe.slice.
[    3.476391] systemd[1]: Created slice system-systemd\x2dfsck.slice.
[    3.477712] systemd[1]: Created slice system-wg\x2dquick.slice.
[    3.478862] systemd[1]: Created slice User and Session Slice.
[    3.479690] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[    3.481240] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[    3.482234] systemd[1]: Reached target Host and Network Name Lookups.
[    3.482757] systemd[1]: Reached target Slices.
[    3.483246] systemd[1]: Reached target Swap.
[    3.484742] systemd[1]: Listening on Syslog Socket.
[    3.486199] systemd[1]: Listening on fsck to fsckd communication Socket.
[    3.486948] systemd[1]: Listening on initctl Compatibility Named Pipe.
[    3.488375] systemd[1]: Listening on Journal Audit Socket.
[    3.489509] systemd[1]: Listening on Journal Socket (/dev/log).
[    3.490790] systemd[1]: Listening on Journal Socket.
[    3.492174] systemd[1]: Listening on udev Control Socket.
[    3.493285] systemd[1]: Listening on udev Kernel Socket.
[    3.494524] systemd[1]: Condition check resulted in Huge Pages File System being skipped.
[    3.500198] systemd[1]: Mounting POSIX Message Queue File System...
[    3.507221] systemd[1]: Mounting RPC Pipe File System...
[    3.514853] systemd[1]: Mounting Kernel Debug File System...
[    3.523514] systemd[1]: Mounting Kernel Trace File System...
[    3.524781] systemd[1]: Condition check resulted in Kernel Module supporting RPCSEC_GSS being skipped.
[    3.533874] systemd[1]: Starting Restore / save the current clock...
[    3.543472] systemd[1]: Starting Set the console keyboard layout...
[    3.551364] systemd[1]: Starting Create list of static device nodes for the current kernel...
[    3.559470] systemd[1]: Starting Load Kernel Module configfs...
[    3.568407] systemd[1]: Starting Load Kernel Module drm...
[    3.577187] systemd[1]: Starting Load Kernel Module fuse...
[    3.582343] systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped.
[    3.589679] systemd[1]: Starting File System Check on Root Device...
[    3.603515] systemd[1]: Starting Journal Service...
[    3.617517] systemd[1]: Starting Load Kernel Modules...
[    3.625560] systemd[1]: Starting Coldplug All udev Devices...
[    3.652739] systemd[1]: Mounted POSIX Message Queue File System.
[    3.670636] systemd[1]: Mounted RPC Pipe File System.
[    3.684078] systemd[1]: Mounted Kernel Debug File System.
[    3.685161] systemd[1]: Mounted Kernel Trace File System.
[    3.687441] systemd[1]: Finished Restore / save the current clock.
[    3.690658] systemd[1]: Finished Create list of static device nodes for the current kernel.
[    3.693799] systemd[1]: [email protected]: Succeeded.
[    3.695279] systemd[1]: Finished Load Kernel Module configfs.
[    3.707135] systemd[1]: Mounting Kernel Configuration File System...
[    3.714312] systemd[1]: Started File System Check Daemon to report status.
[    3.730959] fuse: init (API version 7.34)
[    3.743026] i2c_dev: i2c /dev entries driver
[    3.760759] systemd[1]: [email protected]: Succeeded.
[    3.762254] systemd[1]: Finished Load Kernel Module fuse.
[    3.764657] systemd[1]: Finished Load Kernel Modules.
[    3.806028] systemd[1]: Mounted Kernel Configuration File System.
[    3.815740] systemd[1]: Mounting FUSE Control File System...
[    3.823223] systemd[1]: Starting Apply Kernel Variables...
[    3.879466] systemd[1]: Mounted FUSE Control File System.
[    3.906525] systemd[1]: [email protected]: Succeeded.
[    3.908136] systemd[1]: Finished Load Kernel Module drm.
[    3.920198] systemd[1]: Finished Apply Kernel Variables.
[    3.952025] systemd[1]: Finished File System Check on Root Device.
[    3.958054] systemd[1]: Starting Remount Root and Kernel File Systems...
[    4.037566] systemd[1]: Started Journal Service.
[    4.135083] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null). Quota mode: none.
[    4.200732] systemd-journald[137]: Received client request to flush runtime journal.
[    4.209023] systemd-journald[137]: File /var/log/journal/cd988f5bf047451d9793a38fb75096ea/system.journal corrupted or uncleanly shut down, renaming and replacing.
[    5.235738] Driver for 1-wire Dallas network protocol.
[    5.251073] gpio-4 ([email protected]): enforced open drain please flag it properly in DT/ACPI DSDT/board file
[    5.292990] mc: Linux media interface: v0.10
[    5.419140] videodev: Linux video capture interface: v2.00
[    5.511318] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned.
[    5.513662] bcm2835_vc_sm_cma_probe: Videocore shared memory driver
[    5.513691] [vc_sm_connected_init]: start
[    5.528971] [vc_sm_connected_init]: installed successfully
[    5.543883] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[    5.572204] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned.
[    5.599336] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned.
[    5.654720] bcm2835_isp: module is from the staging directory, the quality is unknown, you have been warned.
[    5.698701] brcmstb-i2c fef04500.i2c:  @97500hz registered in polling mode
[    5.699563] brcmstb-i2c fef09500.i2c:  @97500hz registered in polling mode
[    5.747580] bcm2835_codec: module is from the staging directory, the quality is unknown, you have been warned.
[    5.805760] bcm2835-isp bcm2835-isp: Device node output[0] registered as /dev/video13
[    5.820941] rpivid_hevc: module is from the staging directory, the quality is unknown, you have been warned.
[    5.823704] bcm2835-isp bcm2835-isp: Device node capture[0] registered as /dev/video14
[    5.826994] bcm2835-isp bcm2835-isp: Device node capture[1] registered as /dev/video15
[    5.859085] i2c i2c-22: Added multiplexed i2c bus 0
[    5.861750] i2c 10-001a: Fixing up cyclic dependency with fe801000.csi
[    5.866048] bcm2835-isp bcm2835-isp: Device node stats[2] registered as /dev/video16
[    5.866085] bcm2835-isp bcm2835-isp: Register output node 0 with media controller
[    5.866111] bcm2835-isp bcm2835-isp: Register capture node 1 with media controller
[    5.866134] bcm2835-isp bcm2835-isp: Register capture node 2 with media controller
[    5.866156] bcm2835-isp bcm2835-isp: Register capture node 3 with media controller
[    5.882788] bcm2835-isp bcm2835-isp: Device node output[0] registered as /dev/video20
[    5.908152] i2c i2c-22: Added multiplexed i2c bus 10
[    5.908716] bcm2835-isp bcm2835-isp: Device node capture[0] registered as /dev/video21
[    5.909520] rpivid feb10000.codec: Device registered as /dev/video19
[    5.924591] bcm2835-isp bcm2835-isp: Device node capture[1] registered as /dev/video22
[    5.966569] bcm2835-isp bcm2835-isp: Device node stats[2] registered as /dev/video23
[    5.966616] bcm2835-isp bcm2835-isp: Register output node 0 with media controller
[    5.966655] bcm2835-isp bcm2835-isp: Register capture node 1 with media controller
[    5.966685] bcm2835-isp bcm2835-isp: Register capture node 2 with media controller
[    5.966711] bcm2835-isp bcm2835-isp: Register capture node 3 with media controller
[    5.967139] bcm2835-isp bcm2835-isp: Loaded V4L2 bcm2835-isp
[    5.969104] bcm2835-codec bcm2835-codec: Device registered as /dev/video10
[    5.969156] bcm2835-codec bcm2835-codec: Loaded V4L2 decode
[    5.994834] bcm2835-codec bcm2835-codec: Device registered as /dev/video11
[    5.994892] bcm2835-codec bcm2835-codec: Loaded V4L2 encode
[    6.036826] bcm2835-codec bcm2835-codec: Device registered as /dev/video12
[    6.036877] bcm2835-codec bcm2835-codec: Loaded V4L2 isp
[    6.112454] bcm2835-codec bcm2835-codec: Device registered as /dev/video18
[    6.112506] bcm2835-codec bcm2835-codec: Loaded V4L2 image_fx
[    6.184248] bcm2835-codec bcm2835-codec: Device registered as /dev/video31
[    6.184300] bcm2835-codec bcm2835-codec: Loaded V4L2 encode_image
[    6.206820] [drm] Initialized v3d 1.0.0 20180419 for fec00000.v3d on minor 0
[    6.608423] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    6.661361] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    6.674092] cfg80211: loaded regulatory.db is malformed or signature is missing/invalid
[    6.979930] brcmfmac: F1 signature read @0x18000000=0x15264345
[    7.009650] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[    7.010763] usbcore: registered new interface driver brcmfmac
[    7.017782] vc4-drm gpu: bound fe400000.hvs (ops vc4_hvs_ops [vc4])
[    7.056838] Registered IR keymap rc-cec
[    7.057053] rc rc0: vc4 as /devices/platform/soc/fef00700.hdmi/rc/rc0
[    7.057274] input: vc4 as /devices/platform/soc/fef00700.hdmi/rc/rc0/input0
[    7.074197] vc4-drm gpu: bound fef00700.hdmi (ops vc4_hdmi_ops [vc4])
[    7.076905] Registered IR keymap rc-cec
[    7.077116] rc rc1: vc4 as /devices/platform/soc/fef05700.hdmi/rc/rc1
[    7.077357] input: vc4 as /devices/platform/soc/fef05700.hdmi/rc/rc1/input1
[    7.085836] vc4-drm gpu: bound fef05700.hdmi (ops vc4_hdmi_ops [vc4])
[    7.086424] vc4-drm gpu: bound fe004000.txp (ops vc4_txp_ops [vc4])
[    7.086865] vc4-drm gpu: bound fe206000.pixelvalve (ops vc4_crtc_ops [vc4])
[    7.087324] vc4-drm gpu: bound fe207000.pixelvalve (ops vc4_crtc_ops [vc4])
[    7.087742] vc4-drm gpu: bound fe20a000.pixelvalve (ops vc4_crtc_ops [vc4])
[    7.088134] vc4-drm gpu: bound fe216000.pixelvalve (ops vc4_crtc_ops [vc4])
[    7.088571] vc4-drm gpu: bound fec12000.pixelvalve (ops vc4_crtc_ops [vc4])
[    7.092570] [drm] Initialized vc4 0.0.0 20140616 for gpu on minor 1
[    7.092929] vc4-drm gpu: [drm] Cannot find any crtc or sizes
[    7.316936] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[    7.326506] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Nov  1 2021 00:37:25 
...
[    9.798116] dw9807_vcm: loading out-of-tree module taints kernel.
[    9.812141] arducam_64mp 10-001a: Device found Arducam 64MP.
[    9.821987] arducam_64mp 10-001a: Consider updating driver arducam_64mp to match on endpoints
...
[   17.115145] vc4-drm gpu: [drm] Cannot find any crtc or sizes

Use - - width and - - height

When I use --width it seems that the photos are only enlarged, not the native resolution.

According to the documentation, the camera should capture 64Mpix natively even without using mode.

if I use -r switch and —mode with max resolution, libcamera saves 16Mpix jpeg and 64Mpix raw. But I don’t need a raw.

I’ve tried just about everything. The only way I’ve managed to save a 64Mpix photo is with a Python script and manual focus.

#!/usr/bin/python3

import time

from picamera2 import Picamera2

picam2 = Picamera2()
#picam2.set_logging(Picamera2.DEBUG)

capture_config = picam2.create_still_configuration()

picam2.configure(capture_config)
#picam2.set_controls({"AfMode": 1 ,"AfTrigger": 0})
picam2.set_controls({"AfMode": 0, "LensPosition": 428.0})
picam2.start() 
time.sleep(2)


picam2.capture_file("demo1.jpg")


Hi,
We have set the default 16mp resolution when you want to store an image in 64 mp pix with libcamera. Because the 64 MP pix are too large for storage on the current Raspberry Pi device. I add the cma-512 in the config.txt file and capture a 64mp image with autofocus via the script below:

import time

from picamera2 import Picamera2

picam2 = Picamera2()
#picam2.set_logging(Picamera2.DEBUG)

capture_config = picam2.create_still_configuration(main={"size": (9152, 6944)})

picam2.configure(capture_config)
picam2.set_controls({"AfMode": 1 ,"AfTrigger": 0})
# picam2.set_controls({"AfMode": 0, "LensPosition": 428.0})
picam2.start() 
time.sleep(2)


picam2.capture_file("demo1.jpg")

config.txt file:

1 Like

Thank you for your help.

I have tried the script and it saves the 64Mp photo.
But unfortunately without autofocus.
Probably because the preview is not running and autofocus does not work on high resolution.

Hi,
I will manage to modify the script for previewing and autofocus.

The New Year’s Holiday is coming, so I may give it to you next year :rofl:

Wish you a happy new year in advance!

Looks like I figured it out. Thanks to the high resolution and low FPS, the camera takes quite a long time to focus.
The solution was to add a very long pause.

import time

from picamera2 import Picamera2

picam2 = Picamera2()

capture_config = picam2.create_still_configuration()
picam2.configure(capture_config)
picam2.set_controls({"AfMode": 1 ,"AfTrigger": 0})
# picam2.set_controls({"AfMode": 0, "LensPosition": 428.0})
picam2.start() 
time.sleep(30)


picam2.capture_file("demo1.jpg")

So, is it true that libcamera-still just enlarge 16mp photo when you use 64mp resolution or not?

Thanks.

Hi,
If you use the libcamera-still command to save 64mp image, it will store the default 16mp due to the large date. However, it will be okay on previewing with viewfinder-width viewfinder-height in the resolution 64 mp.

Something should be added.
You can store an image by the scripts in the above threads.

1 Like

Hi Dion, @fundix
A bit confused here.

Cannot assure libcamera-still is not working properly, seems dump correct size image, @fundix How do you know is a reescaled image? Info also dumps different stream configurations.

[0:08:23.705837835] [2626]  INFO Camera camera.cpp:1035 configuring streams: (0) 4576x3472-YUV420
[0:08:23.706356158] [2628]  INFO RPI raspberrypi.cpp:765 Sensor: /base/soc/i2c0mux/[email protected]/[email protected] - Selected sensor format: 4624x3472-SBGGR10_1X10 - Selected unicam format: 4624x3472-pBAA
[0:08:29.211774167] [2626]  INFO Camera camera.cpp:1035 configuring streams: (0) 9152x6944-YUV420 (1) 9152x6944-SBGGR10_CSI2P
[0:08:29.214448006] [2628]  INFO RPI raspberrypi.cpp:765 Sensor: /base/soc/i2c0mux/[email protected]/[email protected] - Selected sensor format: 9152x6944-SBGGR10_1X10 - Selected unicam format: 9152x6944-pBAA

EDIT:

Reverted to libcamera-apps 0.0.7 and libcamera-dev 0.0.7 (Was the release before the downgrade to 16mp) Results are the same, attached on Yandex drive.

The fact that the photo is only enlarged via libcamera can be seen either at 100% magnification, where there are no extra details compared to 16Mix (for example, small text is not more readable) and in the dark parts there are visible streaks of noise. You can also see it in the size of the jpeg file, from libcamera I make 64Mpix photos smaller than via python script.