raspberrypi / rpicam-apps

BSD 2-Clause "Simplified" License
410 stars 225 forks source link

camera module 3 not working with rpi 3 B 1.2 #497

Closed ewwachter closed 1 year ago

ewwachter commented 1 year ago

Describe the bug I've connected the camera, included the dtoverlay=imx708 in /boot/config.txt but when running libcamera-hello I got the "no cameras available"

Bug report

libcamera-apps Bug Report

Date: 30-03-2023 (10:46:01) Command: /usr/bin/camera-bug-report -t 1 -o test -c libcamera-hello


Hardware information

hostname raspberrypi

cat /proc/cpuinfo processor : 0 model name : ARMv7 Processor rev 4 (v7l) BogoMIPS : 76.80 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 : 0xd03 CPU revision : 4

processor : 1 model name : ARMv7 Processor rev 4 (v7l) BogoMIPS : 76.80 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 : 0xd03 CPU revision : 4

processor : 2 model name : ARMv7 Processor rev 4 (v7l) BogoMIPS : 76.80 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 : 0xd03 CPU revision : 4

processor : 3 model name : ARMv7 Processor rev 4 (v7l) BogoMIPS : 76.80 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 : 0xd03 CPU revision : 4

Hardware : BCM2835 Revision : a02082 Serial : 000000008980c288 Model : Raspberry Pi 3 Model B Rev 1.2


Configuration

cat /boot/cmdline.txt console=serial0,115200 console=tty1 root=PARTUUID=b8ebfa5a-02 rootfstype=ext4 fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles

cat /boot/config.txt

For more options and information see

http://rpf.io/configtxt

Some settings may impact device functionality. See link above for details

uncomment if you get no picture on HDMI for a default "safe" mode

hdmi_safe=1

uncomment the following to adjust overscan. Use positive numbers if console

goes off screen, and negative if there is too much border

overscan_left=16

overscan_right=16

overscan_top=16

overscan_bottom=16

uncomment to force a console size. By default it will be display's size minus

overscan.

framebuffer_width=1280

framebuffer_height=720

uncomment if hdmi display is not detected and composite is being output

hdmi_force_hotplug=1

uncomment to force a specific HDMI mode (this will force VGA)

hdmi_group=1

hdmi_mode=1

uncomment to force a HDMI mode rather than DVI. This can make audio work in

DMT (computer monitor) modes

hdmi_drive=2

uncomment to increase signal to HDMI, if you have interference, blanking, or

no display

config_hdmi_boost=4

uncomment for composite PAL

sdtv_mode=2

uncomment to overclock the arm. 700 MHz is the default.

arm_freq=800

Uncomment some or all of these to enable the optional hardware interfaces

dtparam=i2c_arm=on

dtparam=i2s=on

dtparam=spi=on

Uncomment this to enable infrared communication.

dtoverlay=gpio-ir,gpio_pin=17

dtoverlay=gpio-ir-tx,gpio_pin=18

Additional overlays and parameters are documented /boot/overlays/README

Enable audio (loads snd_bcm2835)

dtparam=audio=on

Automatically load overlays for detected cameras

start_x=1

Automatically load overlays for detected DSI displays

display_auto_detect=1

Enable DRM VC4 V3D driver

dtoverlay=vc4-kms-v3d

max_framebuffers=2

Disable compensation for displays with overscan

disable_overscan=1

[cm4]

Enable host mode on the 2711 built-in XHCI USB controller.

This line should be removed if the legacy DWC2 controller is required

(e.g. for USB device mode) or if USB support is not required.

otg_mode=1

[all]

[pi4] dtoverlay=vc4-fkms-v3d dtoverlay=imx708

Run as fast as firmware / board allows

arm_boost=1

[all] gpu_mem=128


Logs

dmesg [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 6.1.19-v7+ (dom@buildbot) (arm-linux-gnueabihf-gcc-8 (Ubuntu/Linaro 8.4.0-3ubuntu1) 8.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #1637 SMP Tue Mar 14 11:04:52 GMT 2023 [ 0.000000] CPU: ARMv7 Processor [410fd034] revision 4 (ARMv7), cr=10c5383d [ 0.000000] CPU: div instructions available: patching division code [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] OF: fdt: Machine model: Raspberry Pi 3 Model B Rev 1.2 [ 0.000000] random: crng init done [ 0.000000] Memory policy: Data cache writealloc [ 0.000000] Reserved memory: created CMA memory pool at 0x34000000, size 64 MiB [ 0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool [ 0.000000] Zone ranges: [ 0.000000] DMA [mem 0x0000000000000000-0x0000000037ffffff] [ 0.000000] Normal empty [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000000000000-0x0000000037ffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000037ffffff] [ 0.000000] percpu: Embedded 17 pages/cpu s36884 r8192 d24556 u69632 [ 0.000000] pcpu-alloc: s36884 r8192 d24556 u69632 alloc=17*4096 [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 227360 [ 0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_headphones=0 snd_bcm2835.enable_headphones=1 snd_bcm2835.enable_hdmi=1 bcm2708_fb.fbwidth=1920 bcm2708_fb.fbheight=1080 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 console=ttyS0,115200 console=tty1 root=PARTUUID=b8ebfa5a-02 rootfstype=ext4 fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles [ 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] Memory: 825140K/917504K available (10240K kernel code, 1452K rwdata, 2900K rodata, 1024K init, 613K bss, 26828K reserved, 65536K cma-reserved) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 [ 0.000000] ftrace: allocating 34798 entries in 103 pages [ 0.000000] ftrace: allocated 102 pages with 4 groups [ 0.000000] trace event string verifier disabled [ 0.000000] rcu: Hierarchical RCU implementation. [ 0.000000] Rude variant of Tasks RCU enabled. [ 0.000000] Tracing variant of Tasks RCU enabled. [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. [ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16 [ 0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention. [ 0.000000] arch_timer: cp15 timer(s) running at 19.20MHz (phys). [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x46d987e47, max_idle_ns: 440795202767 ns [ 0.000001] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns [ 0.000018] Switching to timer-based delay loop, resolution 52ns [ 0.000383] Console: colour dummy device 80x30 [ 0.000459] printk: console [tty1] enabled [ 0.000510] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=192000) [ 0.000533] pid_max: default: 32768 minimum: 301 [ 0.000680] LSM: Security Framework initializing [ 0.000900] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear) [ 0.000924] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear) [ 0.002080] cgroup: Disabling memory control group subsystem [ 0.002322] CPU: Testing write buffer coherency: ok [ 0.002761] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 [ 0.003604] cblist_init_generic: Setting adjustable number of callback queues. [ 0.003620] cblist_init_generic: Setting shift to 2 and lim to 1. [ 0.003734] cblist_init_generic: Setting shift to 2 and lim to 1. [ 0.003866] Setting up static identity map for 0x100000 - 0x10003c [ 0.004004] rcu: Hierarchical SRCU implementation. [ 0.004014] rcu: Max phase no-delay instances is 1000. [ 0.004717] smp: Bringing up secondary CPUs ... [ 0.005625] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 [ 0.006576] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002 [ 0.007429] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003 [ 0.007533] smp: Brought up 1 node, 4 CPUs [ 0.007556] SMP: Total of 4 processors activated (153.60 BogoMIPS). [ 0.007570] CPU: All CPU(s) started in HYP mode. [ 0.007577] CPU: Virtualization extensions available. [ 0.008301] devtmpfs: initialized [ 0.023806] VFP support v0.3: implementor 41 architecture 3 part 40 variant 3 rev 4 [ 0.024018] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.024049] futex hash table entries: 1024 (order: 4, 65536 bytes, linear) [ 0.026727] pinctrl core: initialized pinctrl subsystem [ 0.027995] NET: Registered PF_NETLINK/PF_ROUTE protocol family [ 0.031285] DMA: preallocated 1024 KiB pool for atomic coherent allocations [ 0.036392] audit: initializing netlink subsys (disabled) [ 0.036637] audit: type=2000 audit(0.030:1): state=initialized audit_enabled=0 res=1 [ 0.037241] thermal_sys: Registered thermal governor 'step_wise' [ 0.038289] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers. [ 0.038306] hw-breakpoint: maximum watchpoint size is 8 bytes. [ 0.038551] Serial: AMBA PL011 UART driver [ 0.043188] bcm2835-mbox 3f00b880.mailbox: mailbox enabled [ 0.060043] raspberrypi-firmware soc:firmware: Attached to firmware from 2023-03-17T10:53:39, variant start_x [ 0.070051] raspberrypi-firmware soc:firmware: Firmware hash is 82f3750a65fadae9a38077e3c2e217ad158c8d54 [ 0.112797] kprobes: kprobe jump-optimization is enabled. All kprobes are optimized if possible. [ 0.117549] bcm2835-dma 3f007000.dma: DMA legacy API manager, dmachans=0x1 [ 0.119208] SCSI subsystem initialized [ 0.119446] usbcore: registered new interface driver usbfs [ 0.119509] usbcore: registered new interface driver hub [ 0.119561] usbcore: registered new device driver usb [ 0.119754] usb_phy_generic phy: supply vcc not found, using dummy regulator [ 0.119923] usb_phy_generic phy: dummy supplies not allowed for exclusive requests [ 0.120181] pps_core: LinuxPPS API ver. 1 registered [ 0.120192] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti giometti@linux.it [ 0.120219] PTP clock support registered [ 1.999389] clocksource: Switched to clocksource arch_sys_counter [ 1.999958] VFS: Disk quotas dquot_6.6.0 [ 2.000034] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 2.000188] FS-Cache: Loaded [ 2.000473] CacheFiles: Loaded [ 2.055582] NET: Registered PF_INET protocol family [ 2.055965] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear) [ 2.058524] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear) [ 2.058578] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear) [ 2.058648] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear) [ 2.058765] TCP bind hash table entries: 8192 (order: 5, 131072 bytes, linear) [ 2.059095] TCP: Hash tables configured (established 8192 bind 8192) [ 2.059241] UDP hash table entries: 512 (order: 2, 16384 bytes, linear) [ 2.059337] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear) [ 2.059575] NET: Registered PF_UNIX/PF_LOCAL protocol family [ 2.060128] RPC: Registered named UNIX socket transport module. [ 2.060141] RPC: Registered udp transport module. [ 2.060150] RPC: Registered tcp transport module. [ 2.060158] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 2.062236] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 7 counters available [ 2.098216] Initialise system trusted keyrings [ 2.098563] workingset: timestamp_bits=14 max_order=18 bucket_order=4 [ 2.107945] zbud: loaded [ 2.110421] NFS: Registering the id_resolver key type [ 2.110461] Key type id_resolver registered [ 2.110471] Key type id_legacy registered [ 2.110595] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 2.110607] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering... [ 2.111910] Key type asymmetric registered [ 2.111923] Asymmetric key parser 'x509' registered [ 2.112096] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247) [ 2.112111] io scheduler mq-deadline registered [ 2.112125] io scheduler kyber registered [ 2.116734] bcm2708_fb soc:fb: FB found 1 display(s) [ 2.152385] Console: switching to colour frame buffer device 240x67 [ 2.179765] bcm2708_fb soc:fb: Registered framebuffer for display 0, size 1920x1080 [ 2.184198] bcm2835-rng 3f104000.rng: hwrng registered [ 2.184502] vc-mem: phys_addr:0x00000000 mem_base=0x3ec00000 mem_size:0x40000000(1024 MiB) [ 2.185302] gpiomem-bcm2835 3f200000.gpiomem: Initialised: Registers at 0x3f200000 [ 2.197063] brd: module loaded [ 2.204781] loop: module loaded [ 2.205348] Loading iSCSI transport class v2.0-870. [ 2.206859] usbcore: registered new interface driver lan78xx [ 2.206924] usbcore: registered new interface driver smsc95xx [ 2.206946] dwc_otg: version 3.00a 10-AUG-2012 (platform bus) [ 2.935066] Core Release: 2.80a [ 2.935082] Setting default values for core params [ 2.935111] Finished setting default values for core params [ 3.135378] Using Buffer DMA mode [ 3.135388] Periodic Transfer Interrupt Enhancement - disabled [ 3.135397] Multiprocessor Interrupt Enhancement - disabled [ 3.135406] OTG VER PARAM: 0, OTG VER FLAG: 0 [ 3.135423] Dedicated Tx FIFOs mode

[ 3.136111] WARN::dwc_otg_hcd_init:1074: FIQ DMA bounce buffers: virt = b4104000 dma = 0xf4104000 len=9024 [ 3.136153] FIQ FSM acceleration enabled for : Non-periodic Split Transactions Periodic Split Transactions High-Speed Isochronous Endpoints Interrupt/Control Split Transaction hack enabled [ 3.136170] dwc_otg: Microframe scheduler enabled

[ 3.136291] WARN::hcd_init_fiq:457: FIQ on core 1

[ 3.136312] WARN::hcd_init_fiq:458: FIQ ASM at 807c40e0 length 36

[ 3.136333] WARN::hcd_init_fiq:497: MPHI regs_base at b8810000 [ 3.136359] dwc_otg 3f980000.usb: DWC OTG Controller [ 3.136397] dwc_otg 3f980000.usb: new USB bus registered, assigned bus number 1 [ 3.136439] dwc_otg 3f980000.usb: irq 89, io mem 0x00000000 [ 3.136494] Init: Port Power? op_state=1 [ 3.136503] Init: Power Port (0) [ 3.136752] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.01 [ 3.136772] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 3.136787] usb usb1: Product: DWC OTG Controller [ 3.136799] usb usb1: Manufacturer: Linux 6.1.19-v7+ dwc_otg_hcd [ 3.136812] usb usb1: SerialNumber: 3f980000.usb [ 3.137497] hub 1-0:1.0: USB hub found [ 3.137559] hub 1-0:1.0: 1 port detected [ 3.138182] dwc_otg: FIQ enabled [ 3.138194] dwc_otg: NAK holdoff enabled [ 3.138202] dwc_otg: FIQ split-transaction FSM enabled [ 3.138220] Module dwc_common_port init [ 3.138521] usbcore: registered new interface driver usb-storage [ 3.138700] mousedev: PS/2 mouse device common for all mice [ 3.141269] sdhci: Secure Digital Host Controller Interface driver [ 3.141281] sdhci: Copyright(c) Pierre Ossman [ 3.141505] sdhci-pltfm: SDHCI platform and OF driver helper [ 3.143394] ledtrig-cpu: registered to indicate activity on CPUs [ 3.143761] hid: raw HID events driver (C) Jiri Kosina [ 3.143913] usbcore: registered new interface driver usbhid [ 3.143925] usbhid: USB HID core driver [ 3.148302] Initializing XFRM netlink socket [ 3.148366] NET: Registered PF_PACKET protocol family [ 3.148475] Key type dns_resolver registered [ 3.149579] Registering SWP/SWPB emulation handler [ 3.150319] registered taskstats version 1 [ 3.150389] Loading compiled-in X.509 certificates [ 3.151229] Key type .fscrypt registered [ 3.151241] Key type fscrypt-provisioning registered [ 3.162876] uart-pl011 3f201000.serial: cts_event_workaround enabled [ 3.163042] 3f201000.serial: ttyAMA0 at MMIO 0x3f201000 (irq = 114, base_baud = 0) is a PL011 rev2 [ 3.165160] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer [ 3.165444] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver [ 3.166759] mmc-bcm2835 3f300000.mmcnr: mmc_debug:0 mmc_debug2:0 [ 3.166778] mmc-bcm2835 3f300000.mmcnr: DMA channel allocated [ 3.193852] sdhost: log_buf @ 3d4d6dda (f4107000) [ 3.243227] mmc0: sdhost-bcm2835 loaded - DMA enabled (>1) [ 3.245652] of_cfs_init [ 3.245885] of_cfs_init: OK [ 3.246976] Waiting for root device PARTUUID=b8ebfa5a-02... [ 3.269435] Indeed it is in host mode hprt0 = 00021501 [ 3.278212] mmc0: host does not support reading read-only switch, assuming write-enable [ 3.281466] mmc0: new high speed SDHC card at address 1234 [ 3.282397] mmcblk0: mmc0:1234 SA32G 28.9 GiB [ 3.285529] mmcblk0: p1 p2 [ 3.286223] mmcblk0: mmc0:1234 SA32G 28.9 GiB [ 3.327294] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Quota mode: none. [ 3.327540] VFS: Mounted root (ext4 filesystem) readonly on device 179:2. [ 3.328674] mmc1: new high speed SDIO card at address 0001 [ 3.329263] devtmpfs: mounted [ 3.335366] Freeing unused kernel image (initmem) memory: 1024K [ 3.359823] Run /sbin/init as init process [ 3.359834] with arguments: [ 3.359841] /sbin/init [ 3.359856] splash [ 3.359865] with environment: [ 3.359871] HOME=/ [ 3.359878] TERM=linux [ 3.479349] usb 1-1: new high-speed USB device number 2 using dwc_otg [ 3.479533] Indeed it is in host mode hprt0 = 00001101 [ 3.719680] usb 1-1: New USB device found, idVendor=0424, idProduct=9514, bcdDevice= 2.00 [ 3.719729] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 3.720541] hub 1-1:1.0: USB hub found [ 3.720639] hub 1-1:1.0: 5 ports detected [ 3.884390] systemd[1]: System time before build time, advancing clock. [ 4.039396] usb 1-1.1: new high-speed USB device number 3 using dwc_otg [ 4.135393] NET: Registered PF_INET6 protocol family [ 4.136940] Segment Routing with IPv6 [ 4.136984] In-situ OAM (IOAM) with IPv6 [ 4.169689] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00, bcdDevice= 2.00 [ 4.169730] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 4.172530] smsc95xx v2.0.0 [ 4.248139] 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) [ 4.249203] systemd[1]: Detected architecture arm. [ 4.258702] systemd[1]: Set hostname to . [ 4.311266] SMSC LAN8700 usb-001:003:01: attached PHY driver (mii_bus:phy_addr=usb-001:003:01, irq=199) [ 4.312313] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-3f980000.usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:80:c2:88 [ 5.200371] 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. [ 5.468662] systemd[1]: Queued start job for default target Graphical Interface. [ 5.523932] systemd[1]: Created slice system-getty.slice. [ 5.525474] systemd[1]: Created slice system-modprobe.slice. [ 5.526612] systemd[1]: Created slice system-systemd\x2dfsck.slice. [ 5.527451] systemd[1]: Created slice User and Session Slice. [ 5.528092] systemd[1]: Started Forward Password Requests to Wall Directory Watch. [ 5.529497] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point. [ 5.530670] systemd[1]: Reached target Slices. [ 5.530976] systemd[1]: Reached target Swap. [ 5.534390] systemd[1]: Listening on Syslog Socket. [ 5.535248] systemd[1]: Listening on fsck to fsckd communication Socket. [ 5.535718] systemd[1]: Listening on initctl Compatibility Named Pipe. [ 5.537068] systemd[1]: Listening on Journal Audit Socket. [ 5.537811] systemd[1]: Listening on Journal Socket (/dev/log). [ 5.538960] systemd[1]: Listening on Journal Socket. [ 5.542629] systemd[1]: Listening on udev Control Socket. [ 5.543515] systemd[1]: Listening on udev Kernel Socket. [ 5.545006] systemd[1]: Condition check resulted in Huge Pages File System being skipped. [ 5.550109] systemd[1]: Mounting POSIX Message Queue File System... [ 5.555645] systemd[1]: Mounting RPC Pipe File System... [ 5.562109] systemd[1]: Mounting Kernel Debug File System... [ 5.568879] systemd[1]: Mounting Kernel Trace File System... [ 5.569900] systemd[1]: Condition check resulted in Kernel Module supporting RPCSEC_GSS being skipped. [ 5.582996] systemd[1]: Starting Restore / save the current clock... [ 5.589789] systemd[1]: Starting Set the console keyboard layout... [ 5.596531] systemd[1]: Starting Create list of static device nodes for the current kernel... [ 5.603703] systemd[1]: Starting Load Kernel Module configfs... [ 5.610668] systemd[1]: Starting Load Kernel Module drm... [ 5.618049] systemd[1]: Starting Load Kernel Module fuse... [ 5.640362] systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped. [ 5.650067] systemd[1]: Starting File System Check on Root Device... [ 5.661510] systemd[1]: Starting Journal Service... [ 5.680872] systemd[1]: Starting Load Kernel Modules... [ 5.701928] systemd[1]: Starting Coldplug All udev Devices... [ 5.751308] systemd[1]: Mounted POSIX Message Queue File System. [ 5.752992] systemd[1]: Mounted RPC Pipe File System. [ 5.753838] systemd[1]: Mounted Kernel Debug File System. [ 5.754638] systemd[1]: Mounted Kernel Trace File System. [ 5.764344] systemd[1]: Finished Restore / save the current clock. [ 5.767353] systemd[1]: Finished Create list of static device nodes for the current kernel. [ 5.780763] systemd[1]: modprobe@configfs.service: Succeeded. [ 5.782111] systemd[1]: Finished Load Kernel Module configfs. [ 5.785619] fuse: init (API version 7.37) [ 5.791737] systemd[1]: Mounting Kernel Configuration File System... [ 5.804237] systemd[1]: Started File System Check Daemon to report status. [ 5.813703] systemd[1]: modprobe@fuse.service: Succeeded. [ 5.818011] systemd[1]: Finished Load Kernel Module fuse. [ 5.836234] systemd[1]: Mounted Kernel Configuration File System. [ 5.841844] i2c_dev: i2c /dev entries driver [ 5.842604] systemd[1]: Mounting FUSE Control File System... [ 5.849256] systemd[1]: Finished Load Kernel Modules. [ 5.855945] systemd[1]: Starting Apply Kernel Variables... [ 5.884368] systemd[1]: Mounted FUSE Control File System. [ 5.948057] systemd[1]: Finished Apply Kernel Variables. [ 6.059895] systemd[1]: modprobe@drm.service: Succeeded. [ 6.061124] systemd[1]: Finished Load Kernel Module drm. [ 6.075438] systemd[1]: Finished File System Check on Root Device. [ 6.080934] systemd[1]: Starting Remount Root and Kernel File Systems... [ 6.099942] systemd[1]: Started Journal Service. [ 6.264013] EXT4-fs (mmcblk0p2): re-mounted. Quota mode: none. [ 6.420812] systemd-journald[132]: Received client request to flush runtime journal. [ 6.458003] systemd-journald[132]: File /var/log/journal/13367dce129f4eaabad8875c2435ce40/system.journal corrupted or uncleanly shut down, renaming and replacing. [ 8.808992] mc: Linux media interface: v0.10 [ 8.862243] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned. [ 8.891553] bcm2835_vc_sm_cma_probe: Videocore shared memory driver

[ 8.900139] [vc_sm_connected_init]: installed successfully [ 9.010222] videodev: Linux video capture interface: v2.00 [ 9.162490] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned. [ 9.162819] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned. [ 9.172166] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned. [ 9.193945] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned. [ 9.202270] bcm2835_audio bcm2835_audio: card created with 4 channels [ 9.206046] bcm2835_audio bcm2835_audio: card created with 4 channels [ 9.226155] bcm2835_isp: module is from the staging directory, the quality is unknown, you have been warned. [ 9.233582] bcm2835-isp bcm2835-isp: Device node output[0] registered as /dev/video13 [ 9.234035] bcm2835-isp bcm2835-isp: Device node capture[0] registered as /dev/video14 [ 9.234384] bcm2835-isp bcm2835-isp: Device node capture[1] registered as /dev/video15 [ 9.234648] bcm2835-isp bcm2835-isp: Device node stats[2] registered as /dev/video16 [ 9.234679] bcm2835-isp bcm2835-isp: Register output node 0 with media controller [ 9.234703] bcm2835-isp bcm2835-isp: Register capture node 1 with media controller [ 9.234722] bcm2835-isp bcm2835-isp: Register capture node 2 with media controller [ 9.234739] bcm2835-isp bcm2835-isp: Register capture node 3 with media controller [ 9.236122] bcm2835_codec: module is from the staging directory, the quality is unknown, you have been warned. [ 9.237773] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned. [ 9.238495] bcm2835-isp bcm2835-isp: Device node output[0] registered as /dev/video20 [ 9.243584] bcm2835-isp bcm2835-isp: Device node capture[0] registered as /dev/video21 [ 9.244177] bcm2835-isp bcm2835-isp: Device node capture[1] registered as /dev/video22 [ 9.244599] bcm2835-isp bcm2835-isp: Device node stats[2] registered as /dev/video23 [ 9.244635] bcm2835-isp bcm2835-isp: Register output node 0 with media controller [ 9.244671] bcm2835-isp bcm2835-isp: Register capture node 1 with media controller [ 9.244690] bcm2835-isp bcm2835-isp: Register capture node 2 with media controller [ 9.244707] bcm2835-isp bcm2835-isp: Register capture node 3 with media controller [ 9.244967] bcm2835-isp bcm2835-isp: Loaded V4L2 bcm2835-isp [ 9.255987] bcm2835-codec bcm2835-codec: Device registered as /dev/video10 [ 9.256072] bcm2835-codec bcm2835-codec: Loaded V4L2 decode [ 9.309553] bcm2835-codec bcm2835-codec: Device registered as /dev/video11 [ 9.309737] bcm2835-codec bcm2835-codec: Loaded V4L2 encode [ 9.632704] bcm2835-codec bcm2835-codec: Device registered as /dev/video12 [ 9.632771] bcm2835-codec bcm2835-codec: Loaded V4L2 isp [ 9.638839] bcm2835-codec bcm2835-codec: Device registered as /dev/video18 [ 9.638911] bcm2835-codec bcm2835-codec: Loaded V4L2 image_fx [ 9.662870] bcm2835-codec bcm2835-codec: Device registered as /dev/video31 [ 9.662948] bcm2835-codec bcm2835-codec: Loaded V4L2 encode_image [ 9.672710] bcm2835_v4l2-0: scene mode selected 0, was 0 [ 9.673517] bcm2835_v4l2-0: V4L2 device registered as video0 - stills mode > 1280x720 [ 9.678741] bcm2835_v4l2-0: Broadcom 2835 MMAL video capture loaded. [ 9.852607] cfg80211: Loading compiled-in X.509 certificates for regulatory database [ 9.958242] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7' [ 9.999887] cfg80211: loaded regulatory.db is malformed or signature is missing/invalid [ 10.164391] brcmfmac: F1 signature read @0x18000000=0x1541a9a6 [ 10.169984] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43430-sdio for chip BCM43430/1 [ 10.170789] usbcore: registered new interface driver brcmfmac [ 10.419780] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM43430/1 wl0: Jul 19 2021 03:24:18 version 7.45.98 (TOB) (56df937 CY) FWID 01-8e14b897 [ 12.594383] 8021q: 802.1Q VLAN Support v1.8 [ 12.602833] uart-pl011 3f201000.serial: no DMA platform data [ 12.748416] Adding 102396k swap on /var/swap. Priority:-2 extents:1 across:102396k SSFS [ 13.236845] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled [ 13.790821] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup [ 13.792451] smsc95xx 1-1.1:1.0 eth0: Link is Down [ 14.909957] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready [ 16.260044] ICMPv6: process `dhcpcd' is using deprecated sysctl (syscall) net.ipv6.neigh.wlan0.retrans_time - use net.ipv6.neigh.wlan0.retrans_time_ms instead [ 19.342238] Bluetooth: Core ver 2.22 [ 19.342346] NET: Registered PF_BLUETOOTH protocol family [ 19.342353] Bluetooth: HCI device and connection manager initialized [ 19.342375] Bluetooth: HCI socket layer initialized [ 19.342386] Bluetooth: L2CAP socket layer initialized [ 19.342404] Bluetooth: SCO socket layer initialized [ 19.371556] Bluetooth: HCI UART driver ver 2.3 [ 19.371583] Bluetooth: HCI UART protocol H4 registered [ 19.371662] Bluetooth: HCI UART protocol Three-wire (H5) registered [ 19.371790] Bluetooth: HCI UART protocol Broadcom registered [ 20.148475] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 [ 20.148501] Bluetooth: BNEP filters: protocol multicast [ 20.148521] Bluetooth: BNEP socket layer initialized [ 20.156154] Bluetooth: MGMT ver 1.22 [ 20.175455] NET: Registered PF_ALG protocol family [ 20.219947] cryptd: max_cpu_qlen set to 1000 [ 20.457422] Bluetooth: RFCOMM TTY layer initialized [ 20.457502] Bluetooth: RFCOMM socket layer initialized [ 20.457559] Bluetooth: RFCOMM ver 1.11 [ 51.339305] usb 1-1.2: new full-speed USB device number 4 using dwc_otg [ 51.484265] usb 1-1.2: New USB device found, idVendor=046d, idProduct=c534, bcdDevice=29.01 [ 51.484305] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 51.484321] usb 1-1.2: Product: USB Receiver [ 51.484334] usb 1-1.2: Manufacturer: Logitech [ 51.496127] input: Logitech USB Receiver as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2/1-1.2:1.0/0003:046D:C534.0001/input/input0 [ 51.560752] hid-generic 0003:046D:C534.0001: input,hidraw0: USB HID v1.11 Keyboard [Logitech USB Receiver] on usb-3f980000.usb-1.2/input0 [ 51.572846] input: Logitech USB Receiver Mouse as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2/1-1.2:1.1/0003:046D:C534.0002/input/input1 [ 51.573626] input: Logitech USB Receiver Consumer Control as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2/1-1.2:1.1/0003:046D:C534.0002/input/input2 [ 51.639760] input: Logitech USB Receiver System Control as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2/1-1.2:1.1/0003:046D:C534.0002/input/input3 [ 51.640370] hid-generic 0003:046D:C534.0002: input,hiddev96,hidraw1: USB HID v1.11 Mouse [Logitech USB Receiver] on usb-3f980000.usb-1.2/input1 [ 55.690664] logitech-djreceiver 0003:046D:C534.0001: hidraw0: USB HID v1.11 Keyboard [Logitech USB Receiver] on usb-3f980000.usb-1.2/input0 [ 56.021496] logitech-djreceiver 0003:046D:C534.0002: hiddev96,hidraw1: USB HID v1.11 Mouse [Logitech USB Receiver] on usb-3f980000.usb-1.2/input1 [ 56.124033] logitech-djreceiver 0003:046D:C534.0002: device of type eQUAD nano Lite (0x0a) connected on slot 1 [ 56.141034] logitech-djreceiver 0003:046D:C534.0002: device of type eQUAD nano Lite (0x0a) connected on slot 2 [ 56.143109] input: Logitech Wireless Keyboard PID:4023 Keyboard as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2/1-1.2:1.1/0003:046D:C534.0002/0003:046D:4023.0003/input/input6 [ 56.190790] hid-generic 0003:046D:4023.0003: input,hidraw2: USB HID v1.11 Keyboard [Logitech Wireless Keyboard PID:4023] on usb-3f980000.usb-1.2/input1:1 [ 56.204251] input: Logitech Wireless Mouse PID:4054 Mouse as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2/1-1.2:1.1/0003:046D:C534.0002/0003:046D:4054.0004/input/input11 [ 56.205010] hid-generic 0003:046D:4054.0004: input,hidraw3: USB HID v1.11 Mouse [Logitech Wireless Mouse PID:4054] on usb-3f980000.usb-1.2/input1:2 [ 57.059740] input: Logitech Wireless Keyboard PID:4023 as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2/1-1.2:1.1/0003:046D:C534.0002/0003:046D:4023.0003/input/input15 [ 57.060476] logitech-hidpp-device 0003:046D:4023.0003: input,hidraw2: USB HID v1.11 Keyboard [Logitech Wireless Keyboard PID:4023] on usb-3f980000.usb-1.2/input1:1 [ 57.297066] logitech-hidpp-device 0003:046D:4054.0004: HID++ 4.5 device connected. [ 57.713074] logitech-hidpp-device 0003:046D:4023.0003: HID++ 2.0 device connected. [ 57.978348] input: Logitech Wireless Mouse as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2/1-1.2:1.1/0003:046D:C534.0002/0003:046D:4054.0004/input/input16 [ 57.978827] logitech-hidpp-device 0003:046D:4054.0004: input,hidraw3: USB HID v1.11 Mouse [Logitech Wireless Mouse] on usb-3f980000.usb-1.2/input1:2 [ 223.101999] usb 1-1.2: reset full-speed USB device number 4 using dwc_otg [ 223.852306] usb 1-1.2: USB disconnect, device number 4

sudo vcdbg log msg 001099.391: brfs: File read: /mfs/sd/config.txt 001100.658: brfs: File read: 2117 bytes 001149.271: brfs: File read: /mfs/sd/config.txt 001150.560: gpioman: gpioman_get_pin_num: pin LEDS_PWR_OK not defined 001343.817: gpioman: gpioman_get_pin_num: pin DISPLAY_DSI_PORT not defined 001345.171: gpioman: gpioman_get_pin_num: pin LEDS_PWR_OK not defined 001345.226: *** Restart logging 001345.252: brfs: File read: 2117 bytes 001359.103: gpioman: gpioman_get_pin_num: pin EMMC_ENABLE not defined 001368.903: HDMI0: hdmi_pixel_encoding: 162000000 001369.614: kernel= 001377.336: dtb_file 'bcm2710-rpi-3-b.dtb' 001382.414: brfs: File read: /mfs/sd/bcm2710-rpi-3-b.dtb 001382.437: Loaded 'bcm2710-rpi-3-b.dtb' to 0x100 size 0x7d8e 001397.466: brfs: File read: 32142 bytes 001414.350: brfs: File read: /mfs/sd/overlays/overlay_map.dtb 001503.142: brfs: File read: 2347 bytes 001507.670: brfs: File read: /mfs/sd/config.txt 001508.316: dtparam: audio=on 001519.471: brfs: File read: 2117 bytes 001520.827: brfs: File read: /mfs/sd/cmdline.txt 001520.887: Read command line from file 'cmdline.txt': 001520.909: 'console=serial0,115200 console=tty1 root=PARTUUID=b8ebfa5a-02 rootfstype=ext4 fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles' 002409.351: brfs: File read: 148 bytes 002822.051: brfs: File read: /mfs/sd/kernel7.img 002822.075: Loaded 'kernel7.img' to 0x8000 size 0x67e6c8 002822.112: Device tree loaded to 0x2eff7c00 (size 0x8339) 002826.408: gpioman: gpioman_get_pin_num: pin SDCARD_CONTROL_POWER not defined 006660.010: vchiq_core: vchiq_init_state: slot_zero = 0xf4180000, is_master = 1 006664.788: hdmi: HDMI:hdmi_get_state is deprecated, use hdmi_get_display_state instead 006670.376: TV service:host side not connected, dropping notification 0x00000002, 0x00000002, 0x00000052 012841.830: camsubs: Looking for camera 0: i2c_port = 0, led gpio = 134, power enable gpio = 133 013137.365: camsubs: Camera not found 013137.537: camsubs: Looking for camera 0: i2c_port = 0, led gpio = 134, power enable gpio = 133 013138.272: camsubs: Camera not found 013138.423: camsubs: Looking for camera 0: i2c_port = 0, led gpio = 134, power enable gpio = 133 013139.156: camsubs: Camera not found 013139.299: camsubs: Looking for camera 0: i2c_port = 0, led gpio = 134, power enable gpio = 133 013139.504: camsubs: Camera not found 013139.645: camsubs: Looking for camera 0: i2c_port = 0, led gpio = 134, power enable gpio = 133 013140.261: camsubs: Camera found OK

sudo vcdbg log assert No messages available

sudo vcdbg log ex No exceptions found


Memory

cat /proc/meminfo MemTotal: 891700 kB MemFree: 343188 kB MemAvailable: 672800 kB Buffers: 22416 kB Cached: 344992 kB SwapCached: 0 kB Active: 300672 kB Inactive: 188116 kB Active(anon): 121412 kB Inactive(anon): 1160 kB Active(file): 179260 kB Inactive(file): 186956 kB Unevictable: 16 kB Mlocked: 16 kB SwapTotal: 102396 kB SwapFree: 102396 kB Zswap: 0 kB Zswapped: 0 kB Dirty: 100 kB Writeback: 0 kB AnonPages: 121404 kB Mapped: 110256 kB Shmem: 1192 kB KReclaimable: 16904 kB Slab: 34532 kB SReclaimable: 16904 kB SUnreclaim: 17628 kB KernelStack: 2060 kB PageTables: 4492 kB SecPageTables: 0 kB NFS_Unstable: 0 kB Bounce: 0 kB WritebackTmp: 0 kB CommitLimit: 548244 kB Committed_AS: 1256452 kB VmallocTotal: 1163264 kB VmallocUsed: 7116 kB VmallocChunk: 0 kB Percpu: 416 kB CmaTotal: 65536 kB CmaFree: 62992 kB

sudo cat /sys/kernel/debug/dma_buf/bufinfo

Dma-buf Objects: size flags mode count exp_name ino name

Total 0 objects, 0 bytes

sudo cat /sys/kernel/debug/vcsm-cma/state

VC-ServiceHandle c9baf06c

Resources

Total resource count: 0


Media Devices

media-ctl -d 0 -p Media controller API version 6.1.19

Media device information

driver bcm2835-isp model bcm2835-isp serial
bus info platform:bcm2835-isp hw revision 0x0 driver version 6.1.19

Device topology

media-ctl -d 1 -p Media controller API version 6.1.19

Media device information

driver bcm2835-isp model bcm2835-isp serial
bus info platform:bcm2835-isp hw revision 0x0 driver version 6.1.19

Device topology

media-ctl -d 2 -p Media controller API version 6.1.19

Media device information

driver bcm2835-codec model bcm2835-codec serial 0000 bus info platform:bcm2835-codec hw revision 0x1 driver version 6.1.19

Device topology

media-ctl -d 3 -p Failed to enumerate /dev/media3 (-2)

media-ctl -d 4 -p Failed to enumerate /dev/media4 (-2)


Cameras

libcamera-hello --list-cameras No cameras available!


Versions

uname -a Linux raspberrypi 6.1.19-v7+ #1637 SMP Tue Mar 14 11:04:52 GMT 2023 armv7l GNU/Linux

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"

vcgencmd version Mar 17 2023 10:53:39 Copyright (c) 2012 Broadcom version 82f3750a65fadae9a38077e3c2e217ad158c8d54 (clean) (release) (start_x)

libcamera-hello --version libcamera-apps build: 54a781dffdd1 01-03-2023 (17:47:32) libcamera build: v0.0.4+22-923f5d70


libcamera-hello

Preview window unavailable [0:08:48.671454712] [1535]  INFO Camera camera_manager.cpp:299 libcamera v0.0.4+22-923f5d70 ERROR: no cameras available

6by9 commented 1 year ago

config.txt

[pi4]
dtoverlay=vc4-fkms-v3d
dtoverlay=imx708

But you're running on a Pi3. Load the overlay from within an appropriate device scope (either [all], or [pi3])

ewwachter commented 1 year ago

Many thanks! It works now