raspberrypi / rpicam-apps

BSD 2-Clause "Simplified" License
420 stars 228 forks source link

[BUG] Camera not loading in properly when using openCV #598

Closed HasanKhan-1 closed 1 year ago

HasanKhan-1 commented 1 year ago

Describe the bug When I try to run the following script:

import cv2 video_capture = cv2.VideoCapture(0)

cv2.namedWindow("Window")

while True: ret, frame = video_capture.read() cv2.imshow("Window", frame)

#This breaks on 'q' key
if cv2.waitKey(1) & 0xFF == ord('q'):
    break

video_capture.release() cv2.destroyAllWindows()

I encounter this error:

/home/hasan_khan/project/test.py [ WARN:0@10.199] global cap_v4l.cpp:1119 tryIoctl VIDEOIO(V4L2:/dev/video0): select() timeout. Traceback (most recent call last): File "/home/hasan_khan/project/test.py", line 8, in cv2.imshow("Window", frame) cv2.error: OpenCV(4.8.1) /tmp/pip-install-5evo06li/opencv-python_61108a0d5bc541509a210d902bbc3879/opencv/modules/highgui/src/window.cpp:971: error: (-215:Assertion failed) size.width>0 && size.height>0 in function 'imshow'

I went on multiple forums online such as:

https://stackoverflow.com/questions/27953069/opencv-error-215size-width0-size-height0-in-function-imshow

I have been trying to get this working since I last asked a question on this forum. After getting a new camera I don't understand why this issue is reoccurring. When running libcamera-hello the command works, and I get a screen. However, it does not work with OpenCV. How can I resolved this issue?

HasanKhan-1 commented 1 year ago

For reference here is my bug report:

Bug report

libcamera-apps Bug Report

Date: 15-11-2023 (22:04:03) Command: /usr/bin/camera-bug-report


Hardware information

hostname raspberrypi

cat /proc/cpuinfo processor : 0 BogoMIPS : 108.00 Features : fp asimd evtstrm crc32 cpuid CPU implementer : 0x41 CPU architecture: 8 CPU variant : 0x0 CPU part : 0xd08 CPU revision : 3

processor : 1 BogoMIPS : 108.00 Features : fp asimd evtstrm crc32 cpuid CPU implementer : 0x41 CPU architecture: 8 CPU variant : 0x0 CPU part : 0xd08 CPU revision : 3

processor : 2 BogoMIPS : 108.00 Features : fp asimd evtstrm crc32 cpuid CPU implementer : 0x41 CPU architecture: 8 CPU variant : 0x0 CPU part : 0xd08 CPU revision : 3

processor : 3 BogoMIPS : 108.00 Features : fp asimd evtstrm crc32 cpuid CPU implementer : 0x41 CPU architecture: 8 CPU variant : 0x0 CPU part : 0xd08 CPU revision : 3

Hardware : BCM2835 Revision : c03115 Serial : 100000003803f24f Model : Raspberry Pi 4 Model B Rev 1.5


Configuration

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

For more options and information see

http://rptl.io/configtxt

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

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

dtparam=i2c_arm=on

dtparam=i2s=on

dtparam=spi=on

Enable audio (loads snd_bcm2835)

dtparam=audio=on

Additional overlays and parameters are documented

/boot/firmware/overlays/README

Automatically load overlays for detected cameras

camera_auto_detect=1

Automatically load overlays for detected DSI displays

display_auto_detect=1

Automatically load initramfs files, if found

auto_initramfs=1

Enable DRM VC4 V3D driver

dtoverlay=vc4-kms-v3d max_framebuffers=2

Don't have the firmware create an initial video= setting in cmdline.txt.

Use the kernel's default instead.

disable_fw_kms_setup=1

Disable compensation for displays with overscan

disable_overscan=1

Run as fast as firmware / board allows

arm_boost=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]


Logs

dmesg [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd083] [ 0.000000] Linux version 6.1.0-rpi6-rpi-v8 (debian-kernel@lists.debian.org) (gcc-12 (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 SMP PREEMPT Debian 1:6.1.58-1+rpt2 (2023-10-27) [ 0.000000] random: crng init done [ 0.000000] Machine model: Raspberry Pi 4 Model B Rev 1.5 [ 0.000000] efi: UEFI not found. [ 0.000000] Reserved memory: created CMA memory pool at 0x000000000e000000, size 512 MiB [ 0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool [ 0.000000] Zone ranges: [ 0.000000] DMA [mem 0x0000000000000000-0x000000003fffffff] [ 0.000000] DMA32 [mem 0x0000000040000000-0x00000000fbffffff] [ 0.000000] Normal empty [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000000000000-0x000000003b3fffff] [ 0.000000] node 0: [mem 0x0000000040000000-0x00000000fbffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x00000000fbffffff] [ 0.000000] On node 0, zone DMA32: 19456 pages in unavailable ranges [ 0.000000] On node 0, zone DMA32: 16384 pages in unavailable ranges [ 0.000000] percpu: Embedded 29 pages/cpu s79144 r8192 d31448 u118784 [ 0.000000] pcpu-alloc: s79144 r8192 d31448 u118784 alloc=29*4096 [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [ 0.000000] Detected PIPT I-cache on CPU0 [ 0.000000] CPU features: detected: Spectre-v2 [ 0.000000] CPU features: detected: Spectre-v3a [ 0.000000] CPU features: detected: Spectre-v4 [ 0.000000] CPU features: detected: Spectre-BHB [ 0.000000] CPU features: kernel page table isolation forced ON by KASLR [ 0.000000] CPU features: detected: Kernel page table isolation (KPTI) [ 0.000000] CPU features: detected: ARM erratum 1742098 [ 0.000000] CPU features: detected: ARM errata 1165522, 1319367, or 1530923 [ 0.000000] alternatives: applying boot alternatives [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 996912 [ 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 snd_bcm2835.enable_hdmi=0 smsc95xx.macaddr=D8:3A:DD:4A:02:11 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 console=ttyS0,115200 console=tty1 root=PARTUUID=ed6bfd88-02 rootfstype=ext4 fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles cfg80211.ieee80211_regdom=CA [ 0.000000] Unknown kernel command line parameters "splash", will be passed to user space. [ 0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear) [ 0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear) [ 0.000000] mem auto-init: stack:all(zero), heap alloc:off, heap free:off [ 0.000000] software IO TLB: area num 4. [ 0.000000] software IO TLB: mapped [mem 0x0000000037400000-0x000000003b400000] (64MB) [ 0.000000] Memory: 3340004K/4050944K available (12352K kernel code, 2172K rwdata, 4164K rodata, 4224K init, 1082K bss, 186652K reserved, 524288K cma-reserved) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 [ 0.000000] ftrace: allocating 40064 entries in 157 pages [ 0.000000] ftrace: allocated 157 pages with 5 groups [ 0.000000] trace event string verifier disabled [ 0.000000] rcu: Preemptible hierarchical RCU implementation. [ 0.000000] rcu: RCU event tracing is enabled. [ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4. [ 0.000000] Trampoline variant of Tasks RCU enabled. [ 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 25 jiffies. [ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4 [ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 [ 0.000000] Root IRQ handler: gic_handle_irq [ 0.000000] GIC: Using split EOI/Deactivate mode [ 0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention. [ 0.000000] arch_timer: cp15 timer(s) running at 54.00MHz (phys). [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0xc743ce346, max_idle_ns: 440795203123 ns [ 0.000001] sched_clock: 56 bits at 54MHz, resolution 18ns, wraps every 4398046511102ns [ 0.000358] Console: colour dummy device 80x25 [ 0.000423] printk: console [tty1] enabled [ 0.000483] Calibrating delay loop (skipped), value calculated using timer frequency.. 108.00 BogoMIPS (lpj=216000) [ 0.000510] pid_max: default: 32768 minimum: 301 [ 0.000631] LSM: Security Framework initializing [ 0.000867] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear) [ 0.000943] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear) [ 0.002279] cgroup: Disabling memory control group subsystem [ 0.004517] cblist_init_generic: Setting adjustable number of callback queues. [ 0.004533] cblist_init_generic: Setting shift to 2 and lim to 1. [ 0.004711] cblist_init_generic: Setting adjustable number of callback queues. [ 0.004724] cblist_init_generic: Setting shift to 2 and lim to 1. [ 0.004898] cblist_init_generic: Setting adjustable number of callback queues. [ 0.004910] cblist_init_generic: Setting shift to 2 and lim to 1. [ 0.005371] rcu: Hierarchical SRCU implementation. [ 0.005383] rcu: Max phase no-delay instances is 1000. [ 0.007555] EFI services will not be available. [ 0.008136] smp: Bringing up secondary CPUs ... [ 0.009194] Detected PIPT I-cache on CPU1 [ 0.009370] CPU1: Booted secondary processor 0x0000000001 [0x410fd083] [ 0.010490] Detected PIPT I-cache on CPU2 [ 0.010613] CPU2: Booted secondary processor 0x0000000002 [0x410fd083] [ 0.011694] Detected PIPT I-cache on CPU3 [ 0.011823] CPU3: Booted secondary processor 0x0000000003 [0x410fd083] [ 0.011972] smp: Brought up 1 node, 4 CPUs [ 0.011995] SMP: Total of 4 processors activated. [ 0.012007] CPU features: detected: 32-bit EL0 Support [ 0.012017] CPU features: detected: 32-bit EL1 Support [ 0.012031] CPU features: detected: CRC32 instructions [ 0.012172] CPU: All CPU(s) started at EL2 [ 0.012194] alternatives: applying system-wide alternatives [ 0.014190] devtmpfs: initialized [ 0.026690] Enabled cp15_barrier support [ 0.026733] Enabled setend support [ 0.026949] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns [ 0.026986] futex hash table entries: 1024 (order: 4, 65536 bytes, linear) [ 0.042864] pinctrl core: initialized pinctrl subsystem [ 0.043800] DMI not present or invalid. [ 0.044543] NET: Registered PF_NETLINK/PF_ROUTE protocol family [ 0.048009] DMA: preallocated 1024 KiB GFP_KERNEL pool for atomic allocations [ 0.048332] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations [ 0.049276] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations [ 0.049377] audit: initializing netlink subsys (disabled) [ 0.049655] audit: type=2000 audit(0.048:1): state=initialized audit_enabled=0 res=1 [ 0.050319] thermal_sys: Registered thermal governor 'step_wise' [ 0.050406] cpuidle: using governor menu [ 0.050689] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers. [ 0.050885] ASID allocator initialised with 32768 entries [ 0.051862] Serial: AMBA PL011 UART driver [ 0.067876] bcm2835-mbox fe00b880.mailbox: mailbox enabled [ 0.092360] raspberrypi-firmware soc:firmware: Attached to firmware from 2023-10-17T15:39:16, variant start [ 0.096372] raspberrypi-firmware soc:firmware: Firmware hash is 30f0c5e4d076da3ab4f341d88e7d505760b93ad7 [ 0.112718] KASLR enabled [ 0.144469] bcm2835-dma fe007000.dma: DMA legacy API manager, dmachans=0x1 [ 0.150080] iommu: Default domain type: Translated [ 0.150100] iommu: DMA domain TLB invalidation policy: strict mode [ 0.150548] SCSI subsystem initialized [ 0.150811] usbcore: registered new interface driver usbfs [ 0.150868] usbcore: registered new interface driver hub [ 0.150936] usbcore: registered new device driver usb [ 0.151361] usb_phy_generic phy: supply vcc not found, using dummy regulator [ 0.151911] pps_core: LinuxPPS API ver. 1 registered [ 0.151925] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti giometti@linux.it [ 0.151951] PTP clock support registered [ 0.153126] vgaarb: loaded [ 0.153903] clocksource: Switched to clocksource arch_sys_counter [ 0.154584] VFS: Disk quotas dquot_6.6.0 [ 0.154659] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 0.154846] FS-Cache: Loaded [ 0.155021] CacheFiles: Loaded [ 0.164023] NET: Registered PF_INET protocol family [ 0.164900] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear) [ 0.170055] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear) [ 0.170130] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear) [ 0.170157] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear) [ 0.170412] TCP bind hash table entries: 32768 (order: 8, 1048576 bytes, linear) [ 0.171645] TCP: Hash tables configured (established 32768 bind 32768) [ 0.172214] MPTCP token hash table entries: 4096 (order: 4, 98304 bytes, linear) [ 0.172451] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear) [ 0.172533] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear) [ 0.172862] NET: Registered PF_UNIX/PF_LOCAL protocol family [ 0.173750] RPC: Registered named UNIX socket transport module. [ 0.173768] RPC: Registered udp transport module. [ 0.173778] RPC: Registered tcp transport module. [ 0.173789] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.173816] PCI: CLS 0 bytes, default 64 [ 0.174661] Trying to unpack rootfs image as initramfs... [ 0.188226] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available [ 0.188694] kvm [1]: IPA Size Limit: 44 bits [ 0.190291] kvm [1]: vgic interrupt IRQ9 [ 0.190544] kvm [1]: Hyp mode initialized successfully [ 1.056517] Freeing initrd memory: 15716K [ 1.250583] Initialise system trusted keyrings [ 1.251176] workingset: timestamp_bits=46 max_order=20 bucket_order=0 [ 1.259093] zbud: loaded [ 1.262128] NFS: Registering the id_resolver key type [ 1.262178] Key type id_resolver registered [ 1.262190] Key type id_legacy registered [ 1.262306] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 1.262322] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering... [ 1.263731] Key type asymmetric registered [ 1.263749] Asymmetric key parser 'x509' registered [ 1.263848] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247) [ 1.264149] io scheduler mq-deadline registered [ 1.264168] io scheduler kyber registered [ 1.267005] irq_brcmstb_l2: registered L2 intc (/soc/interrupt-controller@7ef00100, parent irq: 27) [ 1.278633] brcm-pcie fd500000.pcie: host bridge /scb/pcie@7d500000 ranges: [ 1.278678] brcm-pcie fd500000.pcie: No bus range found for /scb/pcie@7d500000, using [bus 00-ff] [ 1.278767] brcm-pcie fd500000.pcie: MEM 0x0600000000..0x063fffffff -> 0x00c0000000 [ 1.278862] brcm-pcie fd500000.pcie: IB MEM 0x0000000000..0x00ffffffff -> 0x0400000000 [ 1.279416] brcm-pcie fd500000.pcie: setting SCB_ACCESS_EN, READ_UR_MODE, MAX_BURST_SIZE [ 1.279911] brcm-pcie fd500000.pcie: PCI host bridge to bus 0000:00 [ 1.279932] pci_bus 0000:00: root bus resource [bus 00-ff] [ 1.279951] pci_bus 0000:00: root bus resource [mem 0x600000000-0x63fffffff] (bus address [0xc0000000-0xffffffff]) [ 1.280032] pci 0000:00:00.0: [14e4:2711] type 01 class 0x060400 [ 1.280297] pci 0000:00:00.0: PME# supported from D0 D3hot [ 1.284275] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring [ 1.284542] pci_bus 0000:01: supply vpcie3v3 not found, using dummy regulator [ 1.284745] pci_bus 0000:01: supply vpcie3v3aux not found, using dummy regulator [ 1.284878] pci_bus 0000:01: supply vpcie12v not found, using dummy regulator [ 1.391999] brcm-pcie fd500000.pcie: link up, 5.0 GT/s PCIe x1 (SSC) [ 1.392171] pci 0000:01:00.0: [1106:3483] type 00 class 0x0c0330 [ 1.392297] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x00000fff 64bit] [ 1.392783] pci 0000:01:00.0: PME# supported from D0 D3hot [ 1.402024] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01 [ 1.402076] pci 0000:00:00.0: BAR 8: assigned [mem 0x600000000-0x6000fffff] [ 1.402102] pci 0000:01:00.0: BAR 0: assigned [mem 0x600000000-0x600000fff 64bit] [ 1.402183] pci 0000:00:00.0: PCI bridge to [bus 01] [ 1.402205] pci 0000:00:00.0: bridge window [mem 0x600000000-0x6000fffff] [ 1.402662] pcieport 0000:00:00.0: enabling device (0000 -> 0002) [ 1.402910] pcieport 0000:00:00.0: PME: Signaling with IRQ 31 [ 1.403428] pcieport 0000:00:00.0: AER: enabled with IRQ 31 [ 1.405322] simple-framebuffer 3e402000.framebuffer: framebuffer at 0x3e402000, 0x7f8000 bytes [ 1.405344] simple-framebuffer 3e402000.framebuffer: format=a8r8g8b8, mode=1920x1080x32, linelength=7680 [ 1.405998] Console: switching to colour frame buffer device 240x67 [ 1.415354] simple-framebuffer 3e402000.framebuffer: fb0: simplefb registered! [ 1.431247] iproc-rng200 fe104000.rng: hwrng registered [ 1.431842] vc-mem: phys_addr:0x00000000 mem_base=0x3ec00000 mem_size:0x40000000(1024 MiB) [ 1.446570] brd: module loaded [ 1.455548] loop: module loaded [ 1.456584] Loading iSCSI transport class v2.0-870. [ 1.462714] bcmgenet fd580000.ethernet: GENET 5.0 EPHY: 0x0000 [ 1.570067] unimac-mdio unimac-mdio.-19: Broadcom UniMAC MDIO bus [ 1.571287] usbcore: registered new interface driver r8152 [ 1.571359] usbcore: registered new interface driver lan78xx [ 1.571431] usbcore: registered new interface driver smsc95xx [ 1.622293] xhci_hcd 0000:01:00.0: xHCI Host Controller [ 1.622334] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 1 [ 1.623001] xhci_hcd 0000:01:00.0: hcc params 0x002841eb hci version 0x100 quirks 0x0b00040000000890 [ 1.624157] xhci_hcd 0000:01:00.0: xHCI Host Controller [ 1.624179] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 2 [ 1.624203] xhci_hcd 0000:01:00.0: Host supports USB 3.0 SuperSpeed [ 1.624602] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.01 [ 1.624621] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.624637] usb usb1: Product: xHCI Host Controller [ 1.624650] usb usb1: Manufacturer: Linux 6.1.0-rpi6-rpi-v8 xhci-hcd [ 1.624664] usb usb1: SerialNumber: 0000:01:00.0 [ 1.625438] hub 1-0:1.0: USB hub found [ 1.625508] hub 1-0:1.0: 1 port detected [ 1.626461] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.01 [ 1.626482] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.626497] usb usb2: Product: xHCI Host Controller [ 1.626510] usb usb2: Manufacturer: Linux 6.1.0-rpi6-rpi-v8 xhci-hcd [ 1.626522] usb usb2: SerialNumber: 0000:01:00.0 [ 1.627182] hub 2-0:1.0: USB hub found [ 1.627280] hub 2-0:1.0: 4 ports detected [ 1.629102] dwc_otg: version 3.00a 10-AUG-2012 (platform bus) [ 1.629459] dwc_otg: FIQ enabled [ 1.629469] dwc_otg: NAK holdoff enabled [ 1.629479] dwc_otg: FIQ split-transaction FSM enabled [ 1.629494] Module dwc_common_port init [ 1.630943] usbcore: registered new interface driver uas [ 1.631041] usbcore: registered new interface driver usb-storage [ 1.632043] mousedev: PS/2 mouse device common for all mice [ 1.640205] sdhci: Secure Digital Host Controller Interface driver [ 1.640228] sdhci: Copyright(c) Pierre Ossman [ 1.640953] sdhci-pltfm: SDHCI platform and OF driver helper [ 1.645151] ledtrig-cpu: registered to indicate activity on CPUs [ 1.645520] hid: raw HID events driver (C) Jiri Kosina [ 1.645744] usbcore: registered new interface driver usbhid [ 1.645757] usbhid: USB HID core driver [ 1.656313] NET: Registered PF_PACKET protocol family [ 1.656467] Key type dns_resolver registered [ 1.657756] registered taskstats version 1 [ 1.657846] Loading compiled-in X.509 certificates [ 1.687421] Loaded X.509 cert 'Debian Secure Boot CA: 6ccece7e4c6c0d1f6149f3dd27dfcc5cbb419ea1' [ 1.687559] Loaded X.509 cert 'Debian Secure Boot Signer 2022 - linux: 14011249c2675ea8e5148542202005810584b25f' [ 1.688460] Key type .fscrypt registered [ 1.688474] Key type fscrypt-provisioning registered [ 1.704360] uart-pl011 fe201000.serial: there is not valid maps for state default [ 1.705254] uart-pl011 fe201000.serial: cts_event_workaround enabled [ 1.705444] fe201000.serial: ttyAMA1 at MMIO 0xfe201000 (irq = 36, base_baud = 0) is a PL011 rev2 [ 1.705720] serial serial0: tty port ttyAMA1 registered [ 1.715610] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer [ 1.716115] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver [ 1.717694] mmc-bcm2835 fe300000.mmcnr: mmc_debug:0 mmc_debug2:0 [ 1.717716] mmc-bcm2835 fe300000.mmcnr: DMA channel allocated [ 1.746977] of_cfs_init [ 1.747159] of_cfs_init: OK [ 1.781830] mmc0: SDHCI controller on fe340000.mmc [fe340000.mmc] using ADMA [ 1.791023] Freeing unused kernel memory: 4224K [ 1.791299] Run /init as init process [ 1.791312] with arguments: [ 1.791321] /init [ 1.791331] splash [ 1.791341] with environment: [ 1.791350] HOME=/ [ 1.791360] TERM=linux [ 1.831291] mmc1: new high speed SDIO card at address 0001 [ 1.881322] mmc0: new ultra high speed DDR50 SDXC card at address 59b4 [ 1.881962] usb 1-1: new high-speed USB device number 2 using xhci_hcd [ 1.883020] mmcblk0: mmc0:59b4 SD128 119 GiB [ 1.886639] mmcblk0: p1 p2 [ 1.887299] mmcblk0: mmc0:59b4 SD128 119 GiB (quirks 0x00004000) [ 2.032612] usb 1-1: New USB device found, idVendor=2109, idProduct=3431, bcdDevice= 4.21 [ 2.032646] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0 [ 2.032663] usb 1-1: Product: USB2.0 Hub [ 2.034646] hub 1-1:1.0: USB hub found [ 2.034931] hub 1-1:1.0: 4 ports detected [ 2.337960] usb 1-1.3: new full-speed USB device number 3 using xhci_hcd [ 2.448071] usb 1-1.3: New USB device found, idVendor=248a, idProduct=8327, bcdDevice= 1.00 [ 2.448104] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 2.448121] usb 1-1.3: Product: Wireless Receiver [ 2.448135] usb 1-1.3: Manufacturer: Telink [ 2.464626] input: Telink Wireless Receiver Mouse as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.3/1-1.3:1.0/0003:248A:8327.0001/input/input0 [ 2.465260] input: Telink Wireless Receiver Consumer Control as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.3/1-1.3:1.0/0003:248A:8327.0001/input/input1 [ 2.522428] input: Telink Wireless Receiver System Control as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.3/1-1.3:1.0/0003:248A:8327.0001/input/input2 [ 2.522824] hid-generic 0003:248A:8327.0001: input,hidraw0: USB HID v1.11 Mouse [Telink Wireless Receiver] on usb-0000:01:00.0-1.3/input0 [ 2.530238] input: Telink Wireless Receiver as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.3/1-1.3:1.1/0003:248A:8327.0002/input/input3 [ 2.591253] hid-generic 0003:248A:8327.0002: input,hidraw1: USB HID v1.11 Keyboard [Telink Wireless Receiver] on usb-0000:01:00.0-1.3/input1 [ 2.682007] usb 1-1.4: new full-speed USB device number 4 using xhci_hcd [ 2.791664] usb 1-1.4: New USB device found, idVendor=046d, idProduct=c542, bcdDevice= 3.02 [ 2.791702] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 2.791719] usb 1-1.4: Product: Wireless Receiver [ 2.791735] usb 1-1.4: Manufacturer: Logitech [ 2.798152] brcmstb-i2c fef04500.i2c: @97500hz registered in polling mode [ 2.809862] i2c i2c-22: Added multiplexed i2c bus 0 [ 2.811415] i2c 10-001a: Fixed dependency cycle(s) with /soc/csi@7e801000/port/endpoint [ 2.812019] i2c i2c-22: Added multiplexed i2c bus 10 [ 2.827502] brcmstb-i2c fef09500.i2c: @97500hz registered in polling mode [ 2.862483] input: Logitech Wireless Receiver Mouse as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.4/1-1.4:1.0/0003:046D:C542.0003/input/input4 [ 2.863568] hid-generic 0003:046D:C542.0003: input,hidraw2: USB HID v1.11 Mouse [Logitech Wireless Receiver] on usb-0000:01:00.0-1.4/input0 [ 3.079231] [drm] Initialized v3d 1.0.0 20180419 for fec00000.v3d on minor 0 [ 3.125110] Console: switching to colour dummy device 80x25 [ 3.164934] vc4-drm gpu: bound fe400000.hvs (ops vc4_hvs_ops [vc4]) [ 3.167722] Registered IR keymap rc-cec [ 3.167912] rc rc0: vc4-hdmi-0 as /devices/platform/soc/fef00700.hdmi/rc/rc0 [ 3.168132] input: vc4-hdmi-0 as /devices/platform/soc/fef00700.hdmi/rc/rc0/input5 [ 3.173596] vc4-drm gpu: bound fef00700.hdmi (ops vc4_hdmi_ops [vc4]) [ 3.178772] Registered IR keymap rc-cec [ 3.178957] rc rc1: vc4-hdmi-1 as /devices/platform/soc/fef05700.hdmi/rc/rc1 [ 3.179164] input: vc4-hdmi-1 as /devices/platform/soc/fef05700.hdmi/rc/rc1/input6 [ 3.184509] vc4-drm gpu: bound fef05700.hdmi (ops vc4_hdmi_ops [vc4]) [ 3.185126] vc4-drm gpu: bound fe004000.txp (ops vc4_txp_ops [vc4]) [ 3.185590] vc4-drm gpu: bound fe206000.pixelvalve (ops vc4_crtc_ops [vc4]) [ 3.186072] vc4-drm gpu: bound fe207000.pixelvalve (ops vc4_crtc_ops [vc4]) [ 3.186493] vc4-drm gpu: bound fe20a000.pixelvalve (ops vc4_crtc_ops [vc4]) [ 3.186786] vc4-drm gpu: bound fe216000.pixelvalve (ops vc4_crtc_ops [vc4]) [ 3.187197] vc4-drm gpu: bound fec12000.pixelvalve (ops vc4_crtc_ops [vc4]) [ 3.190977] [drm] Initialized vc4 0.0.0 20140616 for gpu on minor 1 [ 3.272788] Console: switching to colour frame buffer device 240x67 [ 3.291500] vc4-drm gpu: [drm] fb0: vc4drmfb frame buffer device [ 4.472341] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Quota mode: none. [ 5.079032] systemd[1]: System time before build time, advancing clock. [ 5.276948] NET: Registered PF_INET6 protocol family [ 5.278974] Segment Routing with IPv6 [ 5.279022] In-situ OAM (IOAM) with IPv6 [ 5.359800] systemd[1]: systemd 252.12-1~deb12u1+rpi1 running in system mode (+PAM +AUDIT +SELINUX +APPARMOR +IMA +SMACK +SECCOMP +GCRYPT -GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN +IPTC +KMOD +LIBCRYPTSETUP +LIBFDISK +PCRE2 -PWQUALITY +P11KIT +QRENCODE +TPM2 +BZIP2 +LZ4 +XZ +ZLIB +ZSTD -BPF_FRAMEWORK -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified) [ 5.359861] systemd[1]: Detected architecture arm64. [ 5.365933] systemd[1]: Hostname set to . [ 6.497767] systemd[1]: Queued start job for default target graphical.target. [ 6.527676] systemd[1]: Created slice system-getty.slice - Slice /system/getty. [ 6.530765] systemd[1]: Created slice system-modprobe.slice - Slice /system/modprobe. [ 6.533049] systemd[1]: Created slice system-systemd\x2dfsck.slice - Slice /system/systemd-fsck. [ 6.534655] systemd[1]: Created slice user.slice - User and Session Slice. [ 6.535580] systemd[1]: Started systemd-ask-password-wall.path - Forward Password Requests to Wall Directory Watch. [ 6.537183] systemd[1]: Set up automount proc-sys-fs-binfmt_misc.automount - Arbitrary Executable File Formats File System Automount Point. [ 6.537730] systemd[1]: Reached target integritysetup.target - Local Integrity Protected Volumes. [ 6.538180] systemd[1]: Reached target nss-user-lookup.target - User and Group Name Lookups. [ 6.538683] systemd[1]: Reached target slices.target - Slice Units. [ 6.538972] systemd[1]: Reached target swap.target - Swaps. [ 6.539388] systemd[1]: Reached target veritysetup.target - Local Verity Protected Volumes. [ 6.540841] systemd[1]: Listening on systemd-fsckd.socket - fsck to fsckd communication Socket. [ 6.541413] systemd[1]: Listening on systemd-initctl.socket - initctl Compatibility Named Pipe. [ 6.543865] systemd[1]: Listening on systemd-journald-audit.socket - Journal Audit Socket. [ 6.545106] systemd[1]: Listening on systemd-journald-dev-log.socket - Journal Socket (/dev/log). [ 6.546733] systemd[1]: Listening on systemd-journald.socket - Journal Socket. [ 6.556660] systemd[1]: Listening on systemd-udevd-control.socket - udev Control Socket. [ 6.558090] systemd[1]: Listening on systemd-udevd-kernel.socket - udev Kernel Socket. [ 6.559689] systemd[1]: dev-hugepages.mount - Huge Pages File System was skipped because of an unmet condition check (ConditionPathExists=/sys/kernel/mm/hugepages). [ 6.590583] systemd[1]: Mounting dev-mqueue.mount - POSIX Message Queue File System... [ 6.597572] systemd[1]: Mounting sys-kernel-debug.mount - Kernel Debug File System... [ 6.604629] systemd[1]: Mounting sys-kernel-tracing.mount - Kernel Trace File System... [ 6.605816] systemd[1]: auth-rpcgss-module.service - Kernel Module supporting RPCSEC_GSS was skipped because of an unmet condition check (ConditionPathExists=/etc/krb5.keytab). [ 6.616947] systemd[1]: Starting fake-hwclock.service - Restore / save the current clock... [ 6.624493] systemd[1]: Starting keyboard-setup.service - Set the console keyboard layout... [ 6.632424] systemd[1]: Starting kmod-static-nodes.service - Create List of Static Device Nodes... [ 6.640888] systemd[1]: Starting modprobe@configfs.service - Load Kernel Module configfs... [ 6.651652] systemd[1]: Starting modprobe@dm_mod.service - Load Kernel Module dm_mod... [ 6.666049] systemd[1]: Starting modprobe@drm.service - Load Kernel Module drm... [ 6.674671] systemd[1]: Starting modprobe@efi_pstore.service - Load Kernel Module efi_pstore... [ 6.687114] systemd[1]: Starting modprobe@fuse.service - Load Kernel Module fuse... [ 6.696257] systemd[1]: Starting modprobe@loop.service - Load Kernel Module loop... [ 6.698681] systemd[1]: systemd-fsck-root.service - File System Check on Root Device was skipped because of an unmet condition check (ConditionPathExists=!/run/initramfs/fsck-root). [ 6.720833] systemd[1]: Starting systemd-journald.service - Journal Service... [ 6.768147] device-mapper: ioctl: 4.47.0-ioctl (2022-07-28) initialised: dm-devel@redhat.com [ 6.771074] systemd[1]: Starting systemd-modules-load.service - Load Kernel Modules... [ 6.777507] fuse: init (API version 7.37) [ 6.783698] systemd[1]: Starting systemd-remount-fs.service - Remount Root and Kernel File Systems... [ 6.791543] systemd[1]: Starting systemd-udev-trigger.service - Coldplug All udev Devices... [ 6.815749] systemd[1]: Mounted dev-mqueue.mount - POSIX Message Queue File System. [ 6.817744] systemd[1]: Mounted sys-kernel-debug.mount - Kernel Debug File System. [ 6.819799] systemd[1]: Mounted sys-kernel-tracing.mount - Kernel Trace File System. [ 6.822994] systemd[1]: Finished fake-hwclock.service - Restore / save the current clock. [ 6.827882] systemd[1]: Finished kmod-static-nodes.service - Create List of Static Device Nodes. [ 6.837602] i2c_dev: i2c /dev entries driver [ 6.844571] systemd[1]: modprobe@configfs.service: Deactivated successfully. [ 6.846006] systemd[1]: Finished modprobe@configfs.service - Load Kernel Module configfs. [ 6.853025] systemd[1]: modprobe@dm_mod.service: Deactivated successfully. [ 6.854687] systemd[1]: Finished modprobe@dm_mod.service - Load Kernel Module dm_mod. [ 6.859426] systemd[1]: modprobe@drm.service: Deactivated successfully. [ 6.861623] systemd[1]: Finished modprobe@drm.service - Load Kernel Module drm. [ 6.865587] systemd[1]: modprobe@efi_pstore.service: Deactivated successfully. [ 6.866717] EXT4-fs (mmcblk0p2): re-mounted. Quota mode: none. [ 6.866899] systemd[1]: Finished modprobe@efi_pstore.service - Load Kernel Module efi_pstore. [ 6.889443] systemd[1]: modprobe@fuse.service: Deactivated successfully. [ 6.890867] systemd[1]: Finished modprobe@fuse.service - Load Kernel Module fuse. [ 6.893877] systemd[1]: modprobe@loop.service: Deactivated successfully. [ 6.895209] systemd[1]: Finished modprobe@loop.service - Load Kernel Module loop. [ 6.897496] systemd[1]: Finished systemd-modules-load.service - Load Kernel Modules. [ 6.902305] systemd[1]: Finished systemd-remount-fs.service - Remount Root and Kernel File Systems. [ 6.950609] systemd[1]: Mounting sys-fs-fuse-connections.mount - FUSE Control File System... [ 6.957085] systemd[1]: Mounting sys-kernel-config.mount - Kernel Configuration File System... [ 6.957631] systemd[1]: systemd-firstboot.service - First Boot Wizard was skipped because of an unmet condition check (ConditionFirstBoot=yes). [ 6.958310] systemd[1]: systemd-pstore.service - Platform Persistent Storage Archival was skipped because of an unmet condition check (ConditionDirectoryNotEmpty=/sys/fs/pstore). [ 6.988410] systemd[1]: Starting systemd-random-seed.service - Load/Save Random Seed... [ 6.992504] systemd[1]: systemd-repart.service - Repartition Root Disk was skipped because no trigger condition checks were met. [ 7.027461] systemd[1]: Starting systemd-sysctl.service - Apply Kernel Variables... [ 7.037568] systemd[1]: Starting systemd-sysusers.service - Create System Users... [ 7.085800] systemd[1]: Mounted sys-fs-fuse-connections.mount - FUSE Control File System. [ 7.089566] systemd[1]: Mounted sys-kernel-config.mount - Kernel Configuration File System. [ 7.120618] systemd[1]: Finished systemd-random-seed.service - Load/Save Random Seed. [ 7.122599] systemd[1]: first-boot-complete.target - First Boot Complete was skipped because of an unmet condition check (ConditionFirstBoot=yes). [ 7.140148] systemd[1]: Finished systemd-sysctl.service - Apply Kernel Variables. [ 7.190551] systemd[1]: Finished systemd-sysusers.service - Create System Users. [ 7.219196] systemd[1]: Starting systemd-tmpfiles-setup-dev.service - Create Static Device Nodes in /dev... [ 7.220078] systemd[1]: Started systemd-journald.service - Journal Service. [ 7.289504] systemd-journald[283]: Received client request to flush runtime journal. [ 7.297796] systemd-journald[283]: File /var/log/journal/0bc4571760814b149680f61d5581b289/system.journal corrupted or uncleanly shut down, renaming and replacing. [ 9.889350] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned. [ 9.900589] rpi-gpiomem fe200000.gpiomem: window base 0xfe200000 size 0x00001000 [ 9.901509] rpi-gpiomem fe200000.gpiomem: initialised 1 regions as /dev/gpiomem [ 9.939873] mc: Linux media interface: v0.10 [ 9.988269] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned. [ 10.093784] bcm2835_vc_sm_cma_probe: Videocore shared memory driver

[ 10.095614] [vc_sm_connected_init]: installed successfully [ 10.207225] bcm2835_audio bcm2835_audio: card created with 8 channels [ 10.365174] videodev: Linux video capture interface: v2.00 [ 10.706113] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned. [ 10.769164] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned. [ 10.798851] rpivid_hevc: module is from the staging directory, the quality is unknown, you have been warned. [ 10.817326] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned. [ 10.822799] rpivid feb10000.codec: Device registered as /dev/video19 [ 10.846169] imx708 10-001a: camera module ID 0x0301 [ 10.847742] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned. [ 10.851069] bcm2835_codec: module is from the staging directory, the quality is unknown, you have been warned. [ 10.856350] imx708 10-001a: Consider updating driver imx708 to match on endpoints [ 10.866420] bcm2835_isp: module is from the staging directory, the quality is unknown, you have been warned. [ 10.933177] bcm2835-codec bcm2835-codec: Device registered as /dev/video10 [ 10.933252] bcm2835-codec bcm2835-codec: Loaded V4L2 decode [ 10.939030] bcm2835-isp bcm2835-isp: Device node output[0] registered as /dev/video13 [ 10.944931] bcm2835-codec bcm2835-codec: Device registered as /dev/video11 [ 10.945004] bcm2835-codec bcm2835-codec: Loaded V4L2 encode [ 10.945689] bcm2835-isp bcm2835-isp: Device node capture[0] registered as /dev/video14 [ 10.946585] bcm2835-isp bcm2835-isp: Device node capture[1] registered as /dev/video15 [ 10.947306] bcm2835-isp bcm2835-isp: Device node stats[2] registered as /dev/video16 [ 10.947355] bcm2835-isp bcm2835-isp: Register output node 0 with media controller [ 10.947399] bcm2835-isp bcm2835-isp: Register capture node 1 with media controller [ 10.947431] bcm2835-isp bcm2835-isp: Register capture node 2 with media controller [ 10.947449] bcm2835-isp bcm2835-isp: Register capture node 3 with media controller [ 10.961323] bcm2835-isp bcm2835-isp: Device node output[0] registered as /dev/video20 [ 10.962991] bcm2835-isp bcm2835-isp: Device node capture[0] registered as /dev/video21 [ 10.963718] bcm2835-isp bcm2835-isp: Device node capture[1] registered as /dev/video22 [ 10.964254] bcm2835-isp bcm2835-isp: Device node stats[2] registered as /dev/video23 [ 10.964294] bcm2835-isp bcm2835-isp: Register output node 0 with media controller [ 10.981668] bcm2835-isp bcm2835-isp: Register capture node 1 with media controller [ 10.981731] bcm2835-isp bcm2835-isp: Register capture node 2 with media controller [ 10.981754] bcm2835-isp bcm2835-isp: Register capture node 3 with media controller [ 10.982419] bcm2835-isp bcm2835-isp: Loaded V4L2 bcm2835-isp [ 11.030411] bcm2835-codec bcm2835-codec: Device registered as /dev/video12 [ 11.030486] bcm2835-codec bcm2835-codec: Loaded V4L2 isp [ 11.037179] bcm2835-codec bcm2835-codec: Device registered as /dev/video18 [ 11.037265] bcm2835-codec bcm2835-codec: Loaded V4L2 image_fx [ 11.044901] bcm2835-codec bcm2835-codec: Device registered as /dev/video31 [ 11.044974] bcm2835-codec bcm2835-codec: Loaded V4L2 encode_image [ 11.118755] cfg80211: Loading compiled-in X.509 certificates for regulatory database [ 11.119929] cfg80211: Loaded X.509 cert 'benh@debian.org: 577e021cb980e0e820821ba7b54b4961b8b4fadf' [ 11.121012] cfg80211: Loaded X.509 cert 'romain.perier@gmail.com: 3abbc6ec146e09d1b6016ab9d6cf71dd233f0328' [ 11.139711] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7' [ 11.376626] Adding 102396k swap on /var/swap. Priority:-2 extents:1 across:102396k SSFS [ 13.114659] brcmfmac: F1 signature read @0x18000000=0x15264345 [ 13.214304] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6 [ 13.219904] usbcore: registered new interface driver brcmfmac [ 13.343874] Bluetooth: Core ver 2.22 [ 13.344138] NET: Registered PF_BLUETOOTH protocol family [ 13.344201] Bluetooth: HCI device and connection manager initialized [ 13.344240] Bluetooth: HCI socket layer initialized [ 13.344271] Bluetooth: L2CAP socket layer initialized [ 13.344320] Bluetooth: SCO socket layer initialized [ 13.419041] Bluetooth: HCI UART driver ver 2.3 [ 13.419062] Bluetooth: HCI UART protocol H4 registered [ 13.419154] Bluetooth: HCI UART protocol Three-wire (H5) registered [ 13.419357] Bluetooth: HCI UART protocol Broadcom registered [ 13.424499] hci_uart_bcm serial0-0: supply vbat not found, using dummy regulator [ 13.424685] hci_uart_bcm serial0-0: supply vddio not found, using dummy regulator [ 13.521019] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Nov 1 2021 00:37:25 version 7.45.241 (1a2f2fa CY) FWID 01-703fd60 [ 13.545934] uart-pl011 fe201000.serial: no DMA platform data [ 13.794588] Bluetooth: hci0: BCM: chip id 107 [ 13.794990] Bluetooth: hci0: BCM: features 0x2f [ 13.796117] Bluetooth: hci0: BCM4345C0 [ 13.796145] Bluetooth: hci0: BCM4345C0 (003.001.025) build 0000 [ 13.802022] Bluetooth: hci0: BCM4345C0 'brcm/BCM4345C0.raspberrypi,4-model-b.hcd' Patch [ 13.837941] bcmgenet fd580000.ethernet: configuring instance for external RGMII (RX delay) [ 13.839031] bcmgenet fd580000.ethernet eth0: Link is Down [ 14.191351] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled [ 14.574817] Bluetooth: hci0: BCM: features 0x2f [ 14.576108] Bluetooth: hci0: BCM43455 37.4MHz Raspberry Pi 3+-0190 [ 14.576116] Bluetooth: hci0: BCM4345C0 (003.001.025) build 0382 [ 14.759486] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 [ 14.759503] Bluetooth: BNEP filters: protocol multicast [ 14.759517] Bluetooth: BNEP socket layer initialized [ 14.765023] Bluetooth: MGMT ver 1.22 [ 14.774372] NET: Registered PF_ALG protocol family [ 15.964979] Bluetooth: RFCOMM TTY layer initialized [ 15.965006] Bluetooth: RFCOMM socket layer initialized [ 15.965043] Bluetooth: RFCOMM ver 1.11 [ 19.359460] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready [ 157.164017] vc4-drm gpu: swiotlb buffer is full (sz: 765952 bytes), total 32768 (slots), used 20 (slots) [ 157.178854] vc4-drm gpu: swiotlb buffer is full (sz: 4251648 bytes), total 32768 (slots), used 0 (slots) [ 157.193478] vc4-drm gpu: swiotlb buffer is full (sz: 7835648 bytes), total 32768 (slots), used 14 (slots) [ 157.300476] vc4-drm gpu: swiotlb buffer is full (sz: 765952 bytes), total 32768 (slots), used 22 (slots) [ 157.510050] vc4-drm gpu: swiotlb buffer is full (sz: 4251648 bytes), total 32768 (slots), used 2 (slots) [ 157.565421] vc4-drm gpu: swiotlb buffer is full (sz: 7835648 bytes), total 32768 (slots), used 16 (slots) [ 158.165298] vc4-drm gpu: swiotlb buffer is full (sz: 704512 bytes), total 32768 (slots), used 18 (slots) [ 158.174038] vc4-drm gpu: swiotlb buffer is full (sz: 2396160 bytes), total 32768 (slots), used 2 (slots) [ 158.184818] vc4-drm gpu: swiotlb buffer is full (sz: 458752 bytes), total 32768 (slots), used 1126 (slots) [ 158.191538] vc4-drm gpu: swiotlb buffer is full (sz: 704512 bytes), total 32768 (slots), used 18 (slots) [ 180.893186] v3d fec00000.v3d: MMU error from client L2T (0) at 0xd0e1000, pte invalid [ 1216.043467] ------------[ cut here ]------------ [ 1216.043482] WARNING: CPU: 3 PID: 2903 at drivers/media/mc/mc-entity.c:873 media_pipeline_stop+0xd0/0xe4 [mc] [ 1216.043519] Modules linked in: snd_seq_dummy snd_hrtimer snd_seq snd_seq_device rfcomm cmac algif_hash aes_arm64 aes_generic algif_skcipher af_alg bnep hci_uart btbcm bluetooth brcmfmac brcmutil ecdh_generic raspberrypi_hwmon ecc bcm2835_isp(C) cfg80211 bcm2835_codec(C) bcm2835_v4l2(C) libaes bcm2835_unicam rpivid_hevc(C) bcm2835_mmal_vchiq(C) v4l2_mem2mem videobuf2_vmalloc videobuf2_dma_contig v4l2_dv_timings videobuf2_memops dw9807_vcm imx708 v4l2_fwnode videobuf2_v4l2 v4l2_async videobuf2_common rfkill videodev snd_bcm2835(C) vc_sm_cma(C) mc raspberrypi_gpiomem joydev binfmt_misc nvmem_rmem uio_pdrv_genirq uio i2c_dev fuse dm_mod ip_tables x_tables ipv6 vc4 snd_soc_hdmi_codec drm_display_helper cec drm_dma_helper drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops v3d gpu_sched snd_soc_core drm_shmem_helper drm drm_panel_orientation_quirks i2c_mux_pinctrl snd_compress snd_pcm_dmaengine i2c_mux i2c_brcmstb i2c_bcm2835 snd_pcm snd_timer snd backlight [ 1216.043663] CPU: 3 PID: 2903 Comm: python Tainted: G C 6.1.0-rpi6-rpi-v8 #1 Debian 1:6.1.58-1+rpt2 [ 1216.043670] Hardware name: Raspberry Pi 4 Model B Rev 1.5 (DT) [ 1216.043673] pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 1216.043678] pc : media_pipeline_stop+0xd0/0xe4 [mc] [ 1216.043694] lr : media_pipeline_stop+0x34/0x4c [mc] [ 1216.043708] sp : ffffffc00c143a90 [ 1216.043711] x29: ffffffc00c143a90 x28: ffffffdecd231810 x27: ffffff80c53dd700 [ 1216.043718] x26: 0000000000000000 x25: 0000000000000000 x24: ffffff80c4457500 [ 1216.043726] x23: ffffff8042f8a7a8 x22: ffffff8042f8a538 x21: 0000000000000000 [ 1216.043734] x20: ffffff8042f8ac00 x19: 0000000000000000 x18: 0000000000000000 [ 1216.043742] x17: 0000000000000000 x16: ffffffdef1c05ea0 x15: 0000000000000000 [ 1216.043748] x14: 0000000000000001 x13: 0000000000000000 x12: 0000000000000002 [ 1216.043756] x11: 0000000000000001 x10: 0000000000001a90 x9 : ffffffdecd11bde8 [ 1216.043763] x8 : ffffffc00c143838 x7 : 0000000000000000 x6 : 0000000000000001 [ 1216.043770] x5 : ffffffdef246e000 x4 : 0000000000000000 x3 : ffffff8042f8a1f0 [ 1216.043776] x2 : ffffff80c49edd00 x1 : 0000000000000000 x0 : ffffff8042f8ac00 [ 1216.043785] Call trace: [ 1216.043789] media_pipeline_stop+0xd0/0xe4 [mc] [ 1216.043806] media_pipeline_stop+0x34/0x4c [mc] [ 1216.043821] unicam_stop_streaming+0x78/0x170 [bcm2835_unicam] [ 1216.043837] vb2_queue_cancel+0x38/0x270 [videobuf2_common] [ 1216.043878] vb2_core_streamoff+0x2c/0xd0 [videobuf2_common] [ 1216.043892] vb2_ioctl_streamoff+0x54/0xa0 [videobuf2_v4l2] [ 1216.043917] v4l_streamoff+0x2c/0x40 [videodev] [ 1216.044038] video_do_ioctl+0x174/0x3f0 [videodev] [ 1216.044070] video_usercopy+0x20c/0x77c [videodev] [ 1216.044102] video_ioctl2+0x20/0x40 [videodev] [ 1216.044133] v4l2_ioctl+0x48/0x6c [videodev] [ 1216.044164] v4l2_compat_ioctl32+0x98/0xc0 [videodev] [ 1216.044199] arm64_compat_sys_ioctl+0x158/0x180 [ 1216.044229] invoke_syscall+0x50/0x120 [ 1216.044243] el0_svc_common.constprop.0+0x68/0x124 [ 1216.044249] do_el0_svc_compat+0x24/0x4c [ 1216.044256] el0_svc_compat+0x30/0x94 [ 1216.044273] el0t_32_sync_handler+0x98/0x140 [ 1216.044281] el0t_32_sync+0x190/0x194 [ 1216.044290] ---[ end trace 0000000000000000 ]--- [ 1216.044356] unicam fe801000.csi: Runtime PM usage count underflow! [ 1874.208649] ------------[ cut here ]------------ [ 1874.208663] WARNING: CPU: 1 PID: 3157 at drivers/media/mc/mc-entity.c:873 media_pipeline_stop+0xd0/0xe4 [mc] [ 1874.208697] Modules linked in: snd_seq_dummy snd_hrtimer snd_seq snd_seq_device rfcomm cmac algif_hash aes_arm64 aes_generic algif_skcipher af_alg bnep hci_uart btbcm bluetooth brcmfmac brcmutil ecdh_generic raspberrypi_hwmon ecc bcm2835_isp(C) cfg80211 bcm2835_codec(C) bcm2835_v4l2(C) libaes bcm2835_unicam rpivid_hevc(C) bcm2835_mmal_vchiq(C) v4l2_mem2mem videobuf2_vmalloc videobuf2_dma_contig v4l2_dv_timings videobuf2_memops dw9807_vcm imx708 v4l2_fwnode videobuf2_v4l2 v4l2_async videobuf2_common rfkill videodev snd_bcm2835(C) vc_sm_cma(C) mc raspberrypi_gpiomem joydev binfmt_misc nvmem_rmem uio_pdrv_genirq uio i2c_dev fuse dm_mod ip_tables x_tables ipv6 vc4 snd_soc_hdmi_codec drm_display_helper cec drm_dma_helper drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops v3d gpu_sched snd_soc_core drm_shmem_helper drm drm_panel_orientation_quirks i2c_mux_pinctrl snd_compress snd_pcm_dmaengine i2c_mux i2c_brcmstb i2c_bcm2835 snd_pcm snd_timer snd backlight [ 1874.208874] CPU: 1 PID: 3157 Comm: python Tainted: G WC 6.1.0-rpi6-rpi-v8 #1 Debian 1:6.1.58-1+rpt2 [ 1874.208882] Hardware name: Raspberry Pi 4 Model B Rev 1.5 (DT) [ 1874.208885] pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 1874.208890] pc : media_pipeline_stop+0xd0/0xe4 [mc] [ 1874.208905] lr : media_pipeline_stop+0x34/0x4c [mc] [ 1874.208920] sp : ffffffc00c883a90 [ 1874.208922] x29: ffffffc00c883a90 x28: ffffffdecd231810 x27: ffffff8044224500 [ 1874.208930] x26: 0000000000000000 x25: 0000000000000000 x24: ffffff806bdf6700 [ 1874.208937] x23: ffffff8042f8a7a8 x22: ffffff8042f8a538 x21: 0000000000000000 [ 1874.208943] x20: ffffff8042f8ac00 x19: 0000000000000000 x18: 0000000000000000 [ 1874.208950] x17: 0000000000000000 x16: ffffffdef1c05ea0 x15: 00000000015ab650 [ 1874.208957] x14: 0000de76efd5633c x13: 00016a4440bbb56e x12: ffffffdef1c3ccd0 [ 1874.208963] x11: 00000000fa83b2da x10: 0000000000001a90 x9 : ffffffdecd11bde8 [ 1874.208970] x8 : ffffffc00c883838 x7 : 0000000000000000 x6 : 0000000000000001 [ 1874.208977] x5 : ffffffdef246e000 x4 : 0000000000000000 x3 : ffffff8042f8a1f0 [ 1874.208983] x2 : ffffff8071e28000 x1 : 0000000000000000 x0 : ffffff8042f8ac00 [ 1874.208991] Call trace: [ 1874.208993] media_pipeline_stop+0xd0/0xe4 [mc] [ 1874.209008] media_pipeline_stop+0x34/0x4c [mc] [ 1874.209022] unicam_stop_streaming+0x78/0x170 [bcm2835_unicam] [ 1874.209032] vb2_queue_cancel+0x38/0x270 [videobuf2_common] [ 1874.209049] vb2_core_streamoff+0x2c/0xd0 [videobuf2_common] [ 1874.209062] vb2_ioctl_streamoff+0x54/0xa0 [videobuf2_v4l2] [ 1874.209075] v4l_streamoff+0x2c/0x40 [videodev] [ 1874.209119] video_do_ioctl+0x174/0x3f0 [videodev] [ 1874.209150] video_usercopy+0x20c/0x77c [videodev] [ 1874.209181] video_ioctl2+0x20/0x40 [videodev] [ 1874.209212] v4l2_ioctl+0x48/0x6c [videodev] [ 1874.209243] v4l2_compat_ioctl32+0x98/0xc0 [videodev] [ 1874.209274] arm64_compat_sys_ioctl+0x158/0x180 [ 1874.209286] invoke_syscall+0x50/0x120 [ 1874.209296] el0_svc_common.constprop.0+0x68/0x124 [ 1874.209302] do_el0_svc_compat+0x24/0x4c [ 1874.209308] el0_svc_compat+0x30/0x94 [ 1874.209314] el0t_32_sync_handler+0x98/0x140 [ 1874.209319] el0t_32_sync+0x190/0x194 [ 1874.209323] ---[ end trace 0000000000000000 ]--- [ 1874.209368] unicam fe801000.csi: Runtime PM usage count underflow! [ 2331.043532] ------------[ cut here ]------------ [ 2331.043546] WARNING: CPU: 0 PID: 3914 at drivers/media/mc/mc-entity.c:873 media_pipeline_stop+0xd0/0xe4 [mc] [ 2331.043583] Modules linked in: snd_seq_dummy snd_hrtimer snd_seq snd_seq_device rfcomm cmac algif_hash aes_arm64 aes_generic algif_skcipher af_alg bnep hci_uart btbcm bluetooth brcmfmac brcmutil ecdh_generic raspberrypi_hwmon ecc bcm2835_isp(C) cfg80211 bcm2835_codec(C) bcm2835_v4l2(C) libaes bcm2835_unicam rpivid_hevc(C) bcm2835_mmal_vchiq(C) v4l2_mem2mem videobuf2_vmalloc videobuf2_dma_contig v4l2_dv_timings videobuf2_memops dw9807_vcm imx708 v4l2_fwnode videobuf2_v4l2 v4l2_async videobuf2_common rfkill videodev snd_bcm2835(C) vc_sm_cma(C) mc raspberrypi_gpiomem joydev binfmt_misc nvmem_rmem uio_pdrv_genirq uio i2c_dev fuse dm_mod ip_tables x_tables ipv6 vc4 snd_soc_hdmi_codec drm_display_helper cec drm_dma_helper drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops v3d gpu_sched snd_soc_core drm_shmem_helper drm drm_panel_orientation_quirks i2c_mux_pinctrl snd_compress snd_pcm_dmaengine i2c_mux i2c_brcmstb i2c_bcm2835 snd_pcm snd_timer snd backlight [ 2331.043723] CPU: 0 PID: 3914 Comm: python Tainted: G WC 6.1.0-rpi6-rpi-v8 #1 Debian 1:6.1.58-1+rpt2 [ 2331.043729] Hardware name: Raspberry Pi 4 Model B Rev 1.5 (DT) [ 2331.043732] pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 2331.043737] pc : media_pipeline_stop+0xd0/0xe4 [mc] [ 2331.043752] lr : media_pipeline_stop+0x34/0x4c [mc] [ 2331.043767] sp : ffffffc00c94ba90 [ 2331.043769] x29: ffffffc00c94ba90 x28: ffffffdecd231810 x27: ffffff808136d100 [ 2331.043776] x26: 0000000000000000 x25: 0000000000000000 x24: ffffff80c4998d00 [ 2331.043784] x23: ffffff8042f8a7a8 x22: ffffff8042f8a538 x21: 0000000000000000 [ 2331.043791] x20: ffffff8042f8ac00 x19: 0000000000000000 x18: 0000000000000000 [ 2331.043797] x17: 0000000000000000 x16: ffffffdef1c05ea0 x15: 0000000000000000 [ 2331.043804] x14: 0000000000000001 x13: 0000000000000000 x12: 0000000000000002 [ 2331.043811] x11: 0000000000000000 x10: 0000000000001a90 x9 : ffffffdecd11bde8 [ 2331.043818] x8 : ffffffc00c94b838 x7 : 0000000000000000 x6 : 0000000000000001 [ 2331.043824] x5 : ffffffdef246e000 x4 : 0000000000000000 x3 : ffffff8042f8a1f0 [ 2331.043831] x2 : ffffff8092451f00 x1 : 0000000000000000 x0 : ffffff8042f8ac00 [ 2331.043838] Call trace: [ 2331.043840] media_pipeline_stop+0xd0/0xe4 [mc] [ 2331.043855] media_pipeline_stop+0x34/0x4c [mc] [ 2331.043869] unicam_stop_streaming+0x78/0x170 [bcm2835_unicam] [ 2331.043880] vb2_queue_cancel+0x38/0x270 [videobuf2_common] [ 2331.043896] vb2_core_streamoff+0x2c/0xd0 [videobuf2_common] [ 2331.043910] vb2_ioctl_streamoff+0x54/0xa0 [videobuf2_v4l2] [ 2331.043922] v4l_streamoff+0x2c/0x40 [videodev] [ 2331.043966] video_do_ioctl+0x174/0x3f0 [videodev] [ 2331.043997] video_usercopy+0x20c/0x77c [videodev] [ 2331.044028] video_ioctl2+0x20/0x40 [videodev] [ 2331.044059] v4l2_ioctl+0x48/0x6c [videodev] [ 2331.044090] v4l2_compat_ioctl32+0x98/0xc0 [videodev] [ 2331.044121] arm64_compat_sys_ioctl+0x158/0x180 [ 2331.044133] invoke_syscall+0x50/0x120 [ 2331.044140] el0_svc_common.constprop.0+0x68/0x124 [ 2331.044146] do_el0_svc_compat+0x24/0x4c [ 2331.044151] el0_svc_compat+0x30/0x94 [ 2331.044158] el0t_32_sync_handler+0x98/0x140 [ 2331.044162] el0t_32_sync+0x190/0x194 [ 2331.044167] ---[ end trace 0000000000000000 ]--- [ 2331.044175] unicam fe801000.csi: Runtime PM usage count underflow! [ 2615.423140] ------------[ cut here ]------------ [ 2615.423154] WARNING: CPU: 3 PID: 4076 at drivers/media/mc/mc-entity.c:873 media_pipeline_stop+0xd0/0xe4 [mc] [ 2615.423188] Modules linked in: snd_seq_dummy snd_hrtimer snd_seq snd_seq_device rfcomm cmac algif_hash aes_arm64 aes_generic algif_skcipher af_alg bnep hci_uart btbcm bluetooth brcmfmac brcmutil ecdh_generic raspberrypi_hwmon ecc bcm2835_isp(C) cfg80211 bcm2835_codec(C) bcm2835_v4l2(C) libaes bcm2835_unicam rpivid_hevc(C) bcm2835_mmal_vchiq(C) v4l2_mem2mem videobuf2_vmalloc videobuf2_dma_contig v4l2_dv_timings videobuf2_memops dw9807_vcm imx708 v4l2_fwnode videobuf2_v4l2 v4l2_async videobuf2_common rfkill videodev snd_bcm2835(C) vc_sm_cma(C) mc raspberrypi_gpiomem joydev binfmt_misc nvmem_rmem uio_pdrv_genirq uio i2c_dev fuse dm_mod ip_tables x_tables ipv6 vc4 snd_soc_hdmi_codec drm_display_helper cec drm_dma_helper drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops v3d gpu_sched snd_soc_core drm_shmem_helper drm drm_panel_orientation_quirks i2c_mux_pinctrl snd_compress snd_pcm_dmaengine i2c_mux i2c_brcmstb i2c_bcm2835 snd_pcm snd_timer snd backlight [ 2615.423331] CPU: 3 PID: 4076 Comm: python Tainted: G WC 6.1.0-rpi6-rpi-v8 #1 Debian 1:6.1.58-1+rpt2 [ 2615.423337] Hardware name: Raspberry Pi 4 Model B Rev 1.5 (DT) [ 2615.423340] pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 2615.423346] pc : media_pipeline_stop+0xd0/0xe4 [mc] [ 2615.423361] lr : media_pipeline_stop+0x34/0x4c [mc] [ 2615.423375] sp : ffffffc00c89ba90 [ 2615.423377] x29: ffffffc00c89ba90 x28: ffffffdecd231810 x27: ffffff808412ea00 [ 2615.423386] x26: 0000000000000000 x25: 0000000000000000 x24: ffffff805e485800 [ 2615.423393] x23: ffffff8042f8a7a8 x22: ffffff8042f8a538 x21: 0000000000000000 [ 2615.423400] x20: ffffff8042f8ac00 x19: 0000000000000000 x18: 0000000000000000 [ 2615.423407] x17: 0000000000000000 x16: ffffffdef1c05ea0 x15: 00000000025388a8 [ 2615.423413] x14: 0000000000000000 x13: 0000000000000000 x12: 0000000000000000 [ 2615.423420] x11: 0000000000000218 x10: 0000000000001a90 x9 : ffffffdecd11bde8 [ 2615.423427] x8 : ffffffc00c89b838 x7 : 0000000000000000 x6 : 0000000000000001 [ 2615.423434] x5 : ffffffdef246e000 x4 : 0000000000000000 x3 : ffffff8042f8a1f0 [ 2615.423440] x2 : ffffff80c4c00000 x1 : 0000000000000000 x0 : ffffff8042f8ac00 [ 2615.423447] Call trace: [ 2615.423450] media_pipeline_stop+0xd0/0xe4 [mc] [ 2615.423465] media_pipeline_stop+0x34/0x4c [mc] [ 2615.423479] unicam_stop_streaming+0x78/0x170 [bcm2835_unicam] [ 2615.423489] vb2_queue_cancel+0x38/0x270 [videobuf2_common] [ 2615.423504] vb2_core_streamoff+0x2c/0xd0 [videobuf2_common] [ 2615.423518] vb2_ioctl_streamoff+0x54/0xa0 [videobuf2_v4l2] [ 2615.423529] v4l_streamoff+0x2c/0x40 [videodev] [ 2615.423572] video_do_ioctl+0x174/0x3f0 [videodev] [ 2615.423603] video_usercopy+0x20c/0x77c [videodev] [ 2615.423634] video_ioctl2+0x20/0x40 [videodev] [ 2615.423665] v4l2_ioctl+0x48/0x6c [videodev] [ 2615.423696] v4l2_compat_ioctl32+0x98/0xc0 [videodev] [ 2615.423727] arm64_compat_sys_ioctl+0x158/0x180 [ 2615.423739] invoke_syscall+0x50/0x120 [ 2615.423746] el0_svc_common.constprop.0+0x68/0x124 [ 2615.423752] do_el0_svc_compat+0x24/0x4c [ 2615.423757] el0_svc_compat+0x30/0x94 [ 2615.423764] el0t_32_sync_handler+0x98/0x140 [ 2615.423768] el0t_32_sync+0x190/0x194 [ 2615.423773] ---[ end trace 0000000000000000 ]--- [ 2615.423781] unicam fe801000.csi: Runtime PM usage count underflow! [ 2679.700707] ------------[ cut here ]------------ [ 2679.700735] WARNING: CPU: 1 PID: 4114 at drivers/media/mc/mc-entity.c:873 media_pipeline_stop+0xd0/0xe4 [mc] [ 2679.700821] Modules linked in: snd_seq_dummy snd_hrtimer snd_seq snd_seq_device rfcomm cmac algif_hash aes_arm64 aes_generic algif_skcipher af_alg bnep hci_uart btbcm bluetooth brcmfmac brcmutil ecdh_generic raspberrypi_hwmon ecc bcm2835_isp(C) cfg80211 bcm2835_codec(C) bcm2835_v4l2(C) libaes bcm2835_unicam rpivid_hevc(C) bcm2835_mmal_vchiq(C) v4l2_mem2mem videobuf2_vmalloc videobuf2_dma_contig v4l2_dv_timings videobuf2_memops dw9807_vcm imx708 v4l2_fwnode videobuf2_v4l2 v4l2_async videobuf2_common rfkill videodev snd_bcm2835(C) vc_sm_cma(C) mc raspberrypi_gpiomem joydev binfmt_misc nvmem_rmem uio_pdrv_genirq uio i2c_dev fuse dm_mod ip_tables x_tables ipv6 vc4 snd_soc_hdmi_codec drm_display_helper cec drm_dma_helper drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops v3d gpu_sched snd_soc_core drm_shmem_helper drm drm_panel_orientation_quirks i2c_mux_pinctrl snd_compress snd_pcm_dmaengine i2c_mux i2c_brcmstb i2c_bcm2835 snd_pcm snd_timer snd backlight [ 2679.701227] CPU: 1 PID: 4114 Comm: python Tainted: G WC 6.1.0-rpi6-rpi-v8 #1 Debian 1:6.1.58-1+rpt2 [ 2679.701245] Hardware name: Raspberry Pi 4 Model B Rev 1.5 (DT) [ 2679.701255] pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 2679.701269] pc : media_pipeline_stop+0xd0/0xe4 [mc] [ 2679.701315] lr : media_pipeline_stop+0x34/0x4c [mc] [ 2679.701358] sp : ffffffc009c2ba90 [ 2679.701367] x29: ffffffc009c2ba90 x28: ffffffdecd231810 x27: ffffff80779af500 [ 2679.701390] x26: 0000000000000000 x25: 0000000000000000 x24: ffffff8077c2ec00 [ 2679.701411] x23: ffffff8042f8a7a8 x22: ffffff8042f8a538 x21: 0000000000000000 [ 2679.701431] x20: ffffff8042f8ac00 x19: 0000000000000000 x18: 0000000000000000 [ 2679.701453] x17: 0000000000000000 x16: ffffffdef1c05ea0 x15: 0000000000000000 [ 2679.701473] x14: 0000000000000001 x13: 0000000000000000 x12: 0000000000000002 [ 2679.701491] x11: 0000000000000001 x10: 0000000000001a90 x9 : ffffffdecd11bde8 [ 2679.701513] x8 : ffffffc009c2b838 x7 : 0000000000000000 x6 : 0000000000000001 [ 2679.701532] x5 : ffffffdef246e000 x4 : 0000000000000000 x3 : ffffff8042f8a1f0 [ 2679.701551] x2 : ffffff808cff9f00 x1 : 0000000000000000 x0 : ffffff8042f8ac00 [ 2679.701571] Call trace: [ 2679.701577] media_pipeline_stop+0xd0/0xe4 [mc] [ 2679.701621] media_pipeline_stop+0x34/0x4c [mc] [ 2679.701664] unicam_stop_streaming+0x78/0x170 [bcm2835_unicam] [ 2679.701693] vb2_queue_cancel+0x38/0x270 [videobuf2_common] [ 2679.701739] vb2_core_streamoff+0x2c/0xd0 [videobuf2_common] [ 2679.701781] vb2_ioctl_streamoff+0x54/0xa0 [videobuf2_v4l2] [ 2679.701816] v4l_streamoff+0x2c/0x40 [videodev] [ 2679.701934] video_do_ioctl+0x174/0x3f0 [videodev] [ 2679.702028] video_usercopy+0x20c/0x77c [videodev] [ 2679.702121] video_ioctl2+0x20/0x40 [videodev] [ 2679.702213] v4l2_ioctl+0x48/0x6c [videodev] [ 2679.702306] v4l2_compat_ioctl32+0x98/0xc0 [videodev] [ 2679.702401] arm64_compat_sys_ioctl+0x158/0x180 [ 2679.702431] invoke_syscall+0x50/0x120 [ 2679.702451] el0_svc_common.constprop.0+0x68/0x124 [ 2679.702468] do_el0_svc_compat+0x24/0x4c [ 2679.702484] el0_svc_compat+0x30/0x94 [ 2679.702501] el0t_32_sync_handler+0x98/0x140 [ 2679.702514] el0t_32_sync+0x190/0x194 [ 2679.702531] ---[ end trace 0000000000000000 ]--- [ 2679.702554] unicam fe801000.csi: Runtime PM usage count underflow! [ 2869.254886] ------------[ cut here ]------------ [ 2869.254903] WARNING: CPU: 2 PID: 4170 at drivers/media/mc/mc-entity.c:873 media_pipeline_stop+0xd0/0xe4 [mc] [ 2869.254940] Modules linked in: snd_seq_dummy snd_hrtimer snd_seq snd_seq_device rfcomm cmac algif_hash aes_arm64 aes_generic algif_skcipher af_alg bnep hci_uart btbcm bluetooth brcmfmac brcmutil ecdh_generic raspberrypi_hwmon ecc bcm2835_isp(C) cfg80211 bcm2835_codec(C) bcm2835_v4l2(C) libaes bcm2835_unicam rpivid_hevc(C) bcm2835_mmal_vchiq(C) v4l2_mem2mem videobuf2_vmalloc videobuf2_dma_contig v4l2_dv_timings videobuf2_memops dw9807_vcm imx708 v4l2_fwnode videobuf2_v4l2 v4l2_async videobuf2_common rfkill videodev snd_bcm2835(C) vc_sm_cma(C) mc raspberrypi_gpiomem joydev binfmt_misc nvmem_rmem uio_pdrv_genirq uio i2c_dev fuse dm_mod ip_tables x_tables ipv6 vc4 snd_soc_hdmi_codec drm_display_helper cec drm_dma_helper drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops v3d gpu_sched snd_soc_core drm_shmem_helper drm drm_panel_orientation_quirks i2c_mux_pinctrl snd_compress snd_pcm_dmaengine i2c_mux i2c_brcmstb i2c_bcm2835 snd_pcm snd_timer snd backlight [ 2869.255080] CPU: 2 PID: 4170 Comm: python Tainted: G WC 6.1.0-rpi6-rpi-v8 #1 Debian 1:6.1.58-1+rpt2 [ 2869.255087] Hardware name: Raspberry Pi 4 Model B Rev 1.5 (DT) [ 2869.255090] pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 2869.255094] pc : media_pipeline_stop+0xd0/0xe4 [mc] [ 2869.255110] lr : media_pipeline_stop+0x34/0x4c [mc] [ 2869.255125] sp : ffffffc00c91ba90 [ 2869.255127] x29: ffffffc00c91ba90 x28: ffffffdecd231810 x27: ffffff8042c86c00 [ 2869.255135] x26: 0000000000000000 x25: 0000000000000000 x24: ffffff8071df0200 [ 2869.255142] x23: ffffff8042f8a7a8 x22: ffffff8042f8a538 x21: 0000000000000000 [ 2869.255149] x20: ffffff8042f8ac00 x19: 0000000000000000 x18: 0000000000000000 [ 2869.255156] x17: 0000000000000000 x16: ffffffdef1c05ea0 x15: 00000000023e4830 [ 2869.255162] x14: 0000000000000000 x13: 0000000000000000 x12: 0000000000000000 [ 2869.255169] x11: 000000000000001d x10: 0000000000001a90 x9 : ffffffdecd11bde8 [ 2869.255176] x8 : ffffffc00c91b838 x7 : 0000000000000000 x6 : 0000000000000001 [ 2869.255183] x5 : ffffffdef246e000 x4 : 0000000000000000 x3 : ffffff8042f8a1f0 [ 2869.255189] x2 : ffffff807473be00 x1 : 0000000000000000 x0 : ffffff8042f8ac00 [ 2869.255197] Call trace: [ 2869.255199] media_pipeline_stop+0xd0/0xe4 [mc] [ 2869.255214] media_pipeline_stop+0x34/0x4c [mc] [ 2869.255229] unicam_stop_streaming+0x78/0x170 [bcm2835_unicam] [ 2869.255239] vb2_queue_cancel+0x38/0x270 [videobuf2_common] [ 2869.255255] vb2_core_streamoff+0x2c/0xd0 [videobuf2_common] [ 2869.255269] vb2_ioctl_streamoff+0x54/0xa0 [videobuf2_v4l2] [ 2869.255281] v4l_streamoff+0x2c/0x40 [videodev] [ 2869.255325] video_do_ioctl+0x174/0x3f0 [videodev] [ 2869.255356] video_usercopy+0x20c/0x77c [videodev] [ 2869.255387] video_ioctl2+0x20/0x40 [videodev] [ 2869.255418] v4l2_ioctl+0x48/0x6c [videodev] [ 2869.255448] v4l2_compat_ioctl32+0x98/0xc0 [videodev] [ 2869.255480] arm64_compat_sys_ioctl+0x158/0x180 [ 2869.255492] invoke_syscall+0x50/0x120 [ 2869.255499] el0_svc_common.constprop.0+0x68/0x124 [ 2869.255505] do_el0_svc_compat+0x24/0x4c [ 2869.255511] el0_svc_compat+0x30/0x94 [ 2869.255517] el0t_32_sync_handler+0x98/0x140 [ 2869.255522] el0t_32_sync+0x190/0x194 [ 2869.255527] ---[ end trace 0000000000000000 ]--- [ 2869.259687] unicam fe801000.csi: Runtime PM usage count underflow! [ 2885.639422] ------------[ cut here ]------------ [ 2885.639436] WARNING: CPU: 2 PID: 4177 at drivers/media/mc/mc-entity.c:873 media_pipeline_stop+0xd0/0xe4 [mc] [ 2885.639474] Modules linked in: snd_seq_dummy snd_hrtimer snd_seq snd_seq_device rfcomm cmac algif_hash aes_arm64 aes_generic algif_skcipher af_alg bnep hci_uart btbcm bluetooth brcmfmac brcmutil ecdh_generic raspberrypi_hwmon ecc bcm2835_isp(C) cfg80211 bcm2835_codec(C) bcm2835_v4l2(C) libaes bcm2835_unicam rpivid_hevc(C) bcm2835_mmal_vchiq(C) v4l2_mem2mem videobuf2_vmalloc videobuf2_dma_contig v4l2_dv_timings videobuf2_memops dw9807_vcm imx708 v4l2_fwnode videobuf2_v4l2 v4l2_async videobuf2_common rfkill videodev snd_bcm2835(C) vc_sm_cma(C) mc raspberrypi_gpiomem joydev binfmt_misc nvmem_rmem uio_pdrv_genirq uio i2c_dev fuse dm_mod ip_tables x_tables ipv6 vc4 snd_soc_hdmi_codec drm_display_helper cec drm_dma_helper drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops v3d gpu_sched snd_soc_core drm_shmem_helper drm drm_panel_orientation_quirks i2c_mux_pinctrl snd_compress snd_pcm_dmaengine i2c_mux i2c_brcmstb i2c_bcm2835 snd_pcm snd_timer snd backlight [ 2885.639615] CPU: 2 PID: 4177 Comm: python Tainted: G WC 6.1.0-rpi6-rpi-v8 #1 Debian 1:6.1.58-1+rpt2 [ 2885.639622] Hardware name: Raspberry Pi 4 Model B Rev 1.5 (DT) [ 2885.639625] pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 2885.639630] pc : media_pipeline_stop+0xd0/0xe4 [mc] [ 2885.639646] lr : media_pipeline_stop+0x34/0x4c [mc] [ 2885.639660] sp : ffffffc00c8fba90 [ 2885.639662] x29: ffffffc00c8fba90 x28: ffffffdecd231810 x27: ffffff808412e100 [ 2885.639670] x26: 0000000000000000 x25: 0000000000000000 x24: ffffff805f39f800 [ 2885.639678] x23: ffffff8042f8a7a8 x22: ffffff8042f8a538 x21: 0000000000000000 [ 2885.639685] x20: ffffff8042f8ac00 x19: 0000000000000000 x18: 0000000000000000 [ 2885.639691] x17: 0000000000000000 x16: ffffffdef1c05ea0 x15: 0000000000000000 [ 2885.639698] x14: 0000000000000001 x13: 0000000000000000 x12: 0000000000000002 [ 2885.639705] x11: 0000000000000001 x10: 0000000000001a90 x9 : ffffffdecd11bde8 [ 2885.639712] x8 : ffffffc00c8fb838 x7 : 0000000000000000 x6 : 0000000000000001 [ 2885.639718] x5 : ffffffdef246e000 x4 : 0000000000000000 x3 : ffffff8042f8a1f0 [ 2885.639725] x2 : ffffff80c527dd00 x1 : 0000000000000000 x0 : ffffff8042f8ac00 [ 2885.639732] Call trace: [ 2885.639734] media_pipeline_stop+0xd0/0xe4 [mc] [ 2885.639749] media_pipeline_stop+0x34/0x4c [mc] [ 2885.639763] unicam_stop_streaming+0x78/0x170 [bcm2835_unicam] [ 2885.639773] vb2_queue_cancel+0x38/0x270 [videobuf2_common] [ 2885.639790] vb2_core_streamoff+0x2c/0xd0 [videobuf2_common] [ 2885.639803] vb2_ioctl_streamoff+0x54/0xa0 [videobuf2_v4l2] [ 2885.639815] v4l_streamoff+0x2c/0x40 [videodev] [ 2885.639857] video_do_ioctl+0x174/0x3f0 [videodev] [ 2885.639888] video_usercopy+0x20c/0x77c [videodev] [ 2885.639919] video_ioctl2+0x20/0x40 [videodev] [ 2885.639950] v4l2_ioctl+0x48/0x6c [videodev] [ 2885.639980] v4l2_compat_ioctl32+0x98/0xc0 [videodev] [ 2885.640012] arm64_compat_sys_ioctl+0x158/0x180 [ 2885.640025] invoke_syscall+0x50/0x120 [ 2885.640032] el0_svc_common.constprop.0+0x68/0x124 [ 2885.640038] do_el0_svc_compat+0x24/0x4c [ 2885.640043] el0_svc_compat+0x30/0x94 [ 2885.640050] el0t_32_sync_handler+0x98/0x140 [ 2885.640054] el0t_32_sync+0x190/0x194 [ 2885.640060] ---[ end trace 0000000000000000 ]--- [ 2885.640132] unicam fe801000.csi: Runtime PM usage count underflow! [ 2929.817555] ------------[ cut here ]------------ [ 2929.817576] WARNING: CPU: 3 PID: 4189 at drivers/media/mc/mc-entity.c:873 media_pipeline_stop+0xd0/0xe4 [mc] [ 2929.817626] Modules linked in: snd_seq_dummy snd_hrtimer snd_seq snd_seq_device rfcomm cmac algif_hash aes_arm64 aes_generic algif_skcipher af_alg bnep hci_uart btbcm bluetooth brcmfmac brcmutil ecdh_generic raspberrypi_hwmon ecc bcm2835_isp(C) cfg80211 bcm2835_codec(C) bcm2835_v4l2(C) libaes bcm2835_unicam rpivid_hevc(C) bcm2835_mmal_vchiq(C) v4l2_mem2mem videobuf2_vmalloc videobuf2_dma_contig v4l2_dv_timings videobuf2_memops dw9807_vcm imx708 v4l2_fwnode videobuf2_v4l2 v4l2_async videobuf2_common rfkill videodev snd_bcm2835(C) vc_sm_cma(C) mc raspberrypi_gpiomem joydev binfmt_misc nvmem_rmem uio_pdrv_genirq uio i2c_dev fuse dm_mod ip_tables x_tables ipv6 vc4 snd_soc_hdmi_codec drm_display_helper cec drm_dma_helper drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops v3d gpu_sched snd_soc_core drm_shmem_helper drm drm_panel_orientation_quirks i2c_mux_pinctrl snd_compress snd_pcm_dmaengine i2c_mux i2c_brcmstb i2c_bcm2835 snd_pcm snd_timer snd backlight [ 2929.817795] CPU: 3 PID: 4189 Comm: python Tainted: G WC 6.1.0-rpi6-rpi-v8 #1 Debian 1:6.1.58-1+rpt2 [ 2929.817805] Hardware name: Raspberry Pi 4 Model B Rev 1.5 (DT) [ 2929.817809] pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 2929.817815] pc : media_pipeline_stop+0xd0/0xe4 [mc] [ 2929.817830] lr : media_pipeline_stop+0x34/0x4c [mc] [ 2929.817845] sp : ffffffc00c9cba90 [ 2929.817848] x29: ffffffc00c9cba90 x28: ffffffdecd231810 x27: ffffff808f23dc00 [ 2929.817904] x26: 0000000000000000 x25: 0000000000000000 x24: ffffff80966d9100 [ 2929.817912] x23: ffffff8042f8a7a8 x22: ffffff8042f8a538 x21: 0000000000000000 [ 2929.817919] x20: ffffff8042f8ac00 x19: 0000000000000000 x18: 0000000000000000 [ 2929.817926] x17: 0000000000000000 x16: ffffffdef1c05ea0 x15: 0000000000000000 [ 2929.817936] x14: 0000000000000001 x13: 0000000000000000 x12: 0000000000000002 [ 2929.817943] x11: 0000000000000000 x10: 0000000000001a90 x9 : ffffffdecd11bde8 [ 2929.817950] x8 : ffffffc00c9cb838 x7 : 0000000000000000 x6 : 0000000000000001 [ 2929.817957] x5 : ffffffdef246e000 x4 : 0000000000000000 x3 : ffffff8042f8a1f0 [ 2929.817963] x2 : ffffff8084290000 x1 : 0000000000000000 x0 : ffffff8042f8ac00 [ 2929.817970] Call trace: [ 2929.817973] media_pipeline_stop+0xd0/0xe4 [mc] [ 2929.817988] media_pipeline_stop+0x34/0x4c [mc] [ 2929.818002] unicam_stop_streaming+0x78/0x170 [bcm2835_unicam] [ 2929.818014] vb2_queue_cancel+0x38/0x270 [videobuf2_common] [ 2929.818034] vb2_core_streamoff+0x2c/0xd0 [videobuf2_common] [ 2929.818047] vb2_ioctl_streamoff+0x54/0xa0 [videobuf2_v4l2] [ 2929.818060] v4l_streamoff+0x2c/0x40 [videodev] [ 2929.818116] video_do_ioctl+0x174/0x3f0 [videodev] [ 2929.818147] video_usercopy+0x20c/0x77c [videodev] [ 2929.818178] video_ioctl2+0x20/0x40 [videodev] [ 2929.818208] v4l2_ioctl+0x48/0x6c [videodev] [ 2929.818240] v4l2_compat_ioctl32+0x98/0xc0 [videodev] [ 2929.818271] arm64_compat_sys_ioctl+0x158/0x180 [ 2929.818290] invoke_syscall+0x50/0x120 [ 2929.818298] el0_svc_common.constprop.0+0x68/0x124 [ 2929.818304] do_el0_svc_compat+0x24/0x4c [ 2929.818310] el0_svc_compat+0x30/0x94 [ 2929.818319] el0t_32_sync_handler+0x98/0x140 [ 2929.818324] el0t_32_sync+0x190/0x194 [ 2929.818331] ---[ end trace 0000000000000000 ]--- [ 2929.818345] unicam fe801000.csi: Runtime PM usage count underflow! [ 3036.916903] ------------[ cut here ]------------ [ 3036.916926] WARNING: CPU: 2 PID: 4218 at drivers/media/mc/mc-entity.c:873 media_pipeline_stop+0xd0/0xe4 [mc] [ 3036.916991] Modules linked in: snd_seq_dummy snd_hrtimer snd_seq snd_seq_device rfcomm cmac algif_hash aes_arm64 aes_generic algif_skcipher af_alg bnep hci_uart btbcm bluetooth brcmfmac brcmutil ecdh_generic raspberrypi_hwmon ecc bcm2835_isp(C) cfg80211 bcm2835_codec(C) bcm2835_v4l2(C) libaes bcm2835_unicam rpivid_hevc(C) bcm2835_mmal_vchiq(C) v4l2_mem2mem videobuf2_vmalloc videobuf2_dma_contig v4l2_dv_timings videobuf2_memops dw9807_vcm imx708 v4l2_fwnode videobuf2_v4l2 v4l2_async videobuf2_common rfkill videodev snd_bcm2835(C) vc_sm_cma(C) mc raspberrypi_gpiomem joydev binfmt_misc nvmem_rmem uio_pdrv_genirq uio i2c_dev fuse dm_mod ip_tables x_tables ipv6 vc4 snd_soc_hdmi_codec drm_display_helper cec drm_dma_helper drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops v3d gpu_sched snd_soc_core drm_shmem_helper drm drm_panel_orientation_quirks i2c_mux_pinctrl snd_compress snd_pcm_dmaengine i2c_mux i2c_brcmstb i2c_bcm2835 snd_pcm snd_timer snd backlight [ 3036.917300] CPU: 2 PID: 4218 Comm: python Tainted: G WC 6.1.0-rpi6-rpi-v8 #1 Debian 1:6.1.58-1+rpt2 [ 3036.917313] Hardware name: Raspberry Pi 4 Model B Rev 1.5 (DT) [ 3036.917320] pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 3036.917331] pc : media_pipeline_stop+0xd0/0xe4 [mc] [ 3036.917366] lr : media_pipeline_stop+0x34/0x4c [mc] [ 3036.917398] sp : ffffffc00c9fba90 [ 3036.917403] x29: ffffffc00c9fba90 x28: ffffffdecd231810 x27: ffffff80425a3500 [ 3036.917421] x26: 0000000000000000 x25: 0000000000000000 x24: ffffff80839e1200 [ 3036.917437] x23: ffffff8042f8a7a8 x22: ffffff8042f8a538 x21: 0000000000000000 [ 3036.917454] x20: ffffff8042f8ac00 x19: 0000000000000000 x18: 0000000000000000 [ 3036.917469] x17: 0000000000000000 x16: ffffffdef1c05ea0 x15: 00000000024d8530 [ 3036.917485] x14: 0098e75a46d56ebe x13: 009cd595ac0458a6 x12: ffffffdef1c3ccd0 [ 3036.917500] x11: 00000000fa83b2da x10: 0000000000001a90 x9 : ffffffdecd11bde8 [ 3036.917516] x8 : ffffffc00c9fb838 x7 : 0000000000000000 x6 : 0000000000000001 [ 3036.917530] x5 : ffffffdef246e000 x4 : 0000000000000000 x3 : ffffff8042f8a1f0 [ 3036.917545] x2 : ffffff8080f81f00 x1 : 0000000000000000 x0 : ffffff8042f8ac00 [ 3036.917561] Call trace: [ 3036.917566] media_pipeline_stop+0xd0/0xe4 [mc] [ 3036.917600] media_pipeline_stop+0x34/0x4c [mc] [ 3036.917632] unicam_stop_streaming+0x78/0x170 [bcm2835_unicam] [ 3036.917655] vb2_queue_cancel+0x38/0x270 [videobuf2_common] [ 3036.917688] vb2_core_streamoff+0x2c/0xd0 [videobuf2_common] [ 3036.917717] vb2_ioctl_streamoff+0x54/0xa0 [videobuf2_v4l2] [ 3036.917743] v4l_streamoff+0x2c/0x40 [videodev] [ 3036.917825] video_do_ioctl+0x174/0x3f0 [videodev] [ 3036.917896] video_usercopy+0x20c/0x77c [videodev] [ 3036.917965] video_ioctl2+0x20/0x40 [videodev] [ 3036.918034] v4l2_ioctl+0x48/0x6c [videodev] [ 3036.918104] v4l2_compat_ioctl32+0x98/0xc0 [videodev] [ 3036.918174] arm64_compat_sys_ioctl+0x158/0x180 [ 3036.918196] invoke_syscall+0x50/0x120 [ 3036.918211] el0_svc_common.constprop.0+0x68/0x124 [ 3036.918224] do_el0_svc_compat+0x24/0x4c [ 3036.918236] el0_svc_compat+0x30/0x94 [ 3036.918249] el0t_32_sync_handler+0x98/0x140 [ 3036.918259] el0t_32_sync+0x190/0x194 [ 3036.918270] ---[ end trace 0000000000000000 ]--- [ 3036.918285] unicam fe801000.csi: Runtime PM usage count underflow! [ 3531.447611] ------------[ cut here ]------------ [ 3531.447639] WARNING: CPU: 1 PID: 4438 at drivers/media/mc/mc-entity.c:873 media_pipeline_stop+0xd0/0xe4 [mc] [ 3531.447725] Modules linked in: snd_seq_dummy snd_hrtimer snd_seq snd_seq_device rfcomm cmac algif_hash aes_arm64 aes_generic algif_skcipher af_alg bnep hci_uart btbcm bluetooth brcmfmac brcmutil ecdh_generic raspberrypi_hwmon ecc bcm2835_isp(C) cfg80211 bcm2835_codec(C) bcm2835_v4l2(C) libaes bcm2835_unicam rpivid_hevc(C) bcm2835_mmal_vchiq(C) v4l2_mem2mem videobuf2_vmalloc videobuf2_dma_contig v4l2_dv_timings videobuf2_memops dw9807_vcm imx708 v4l2_fwnode videobuf2_v4l2 v4l2_async videobuf2_common rfkill videodev snd_bcm2835(C) vc_sm_cma(C) mc raspberrypi_gpiomem joydev binfmt_misc nvmem_rmem uio_pdrv_genirq uio i2c_dev fuse dm_mod ip_tables x_tables ipv6 vc4 snd_soc_hdmi_codec drm_display_helper cec drm_dma_helper drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops v3d gpu_sched snd_soc_core drm_shmem_helper drm drm_panel_orientation_quirks i2c_mux_pinctrl snd_compress snd_pcm_dmaengine i2c_mux i2c_brcmstb i2c_bcm2835 snd_pcm snd_timer snd backlight [ 3531.448132] CPU: 1 PID: 4438 Comm: python Tainted: G WC 6.1.0-rpi6-rpi-v8 #1 Debian 1:6.1.58-1+rpt2 [ 3531.448151] Hardware name: Raspberry Pi 4 Model B Rev 1.5 (DT) [ 3531.448159] pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 3531.448174] pc : media_pipeline_stop+0xd0/0xe4 [mc] [ 3531.448222] lr : media_pipeline_stop+0x34/0x4c [mc] [ 3531.448265] sp : ffffffc00c913a90 [ 3531.448271] x29: ffffffc00c913a90 x28: ffffffdecd231810 x27: ffffff8042c86600 [ 3531.448294] x26: 0000000000000000 x25: 0000000000000000 x24: ffffff80c4f2bc00 [ 3531.448315] x23: ffffff8042f8a7a8 x22: ffffff8042f8a538 x21: 0000000000000000 [ 3531.448337] x20: ffffff8042f8ac00 x19: 0000000000000000 x18: 0000000000000000 [ 3531.448356] x17: 0000000000000000 x16: ffffffdef1c05ea0 x15: 0000000001199658 [ 3531.448376] x14: 0000000000000000 x13: 0000000000000000 x12: 0000000000000000 [ 3531.448395] x11: 00000000000002f9 x10: 0000000000001a90 x9 : ffffffdecd11bde8 [ 3531.448416] x8 : ffffffc00c913838 x7 : 0000000000000000 x6 : 0000000000000001 [ 3531.448435] x5 : ffffffdef246e000 x4 : 0000000000000000 x3 : ffffff8042f8a1f0 [ 3531.448455] x2 : ffffff808ea0be00 x1 : 0000000000000000 x0 : ffffff8042f8ac00 [ 3531.448476] Call trace: [ 3531.448482] media_pipeline_stop+0xd0/0xe4 [mc] [ 3531.448527] media_pipeline_stop+0x34/0x4c [mc] [ 3531.448570] unicam_stop_streaming+0x78/0x170 [bcm2835_unicam] [ 3531.448601] vb2_queue_cancel+0x38/0x270 [videobuf2_common] [ 3531.448646] vb2_core_streamoff+0x2c/0xd0 [videobuf2_common] [ 3531.448687] vb2_ioctl_streamoff+0x54/0xa0 [videobuf2_v4l2] [ 3531.448723] v4l_streamoff+0x2c/0x40 [videodev] [ 3531.448836] video_do_ioctl+0x174/0x3f0 [videodev] [ 3531.448931] video_usercopy+0x20c/0x77c [videodev] [ 3531.449023] video_ioctl2+0x20/0x40 [videodev] [ 3531.449114] v4l2_ioctl+0x48/0x6c [videodev] [ 3531.449207] v4l2_compat_ioctl32+0x98/0xc0 [videodev] [ 3531.449302] arm64_compat_sys_ioctl+0x158/0x180 [ 3531.449330] invoke_syscall+0x50/0x120 [ 3531.449351] el0_svc_common.constprop.0+0x68/0x124 [ 3531.449367] do_el0_svc_compat+0x24/0x4c [ 3531.449383] el0_svc_compat+0x30/0x94 [ 3531.449401] el0t_32_sync_handler+0x98/0x140 [ 3531.449414] el0t_32_sync+0x190/0x194 [ 3531.449426] ---[ end trace 0000000000000000 ]--- [ 3531.449444] unicam fe801000.csi: Runtime PM usage count underflow! [ 3896.156733] swiotlb_tbl_map_single: 2 callbacks suppressed [ 3896.156750] vc4-drm gpu: swiotlb buffer is full (sz: 430080 bytes), total 32768 (slots), used 2 (slots) [ 4142.111830] ------------[ cut here ]------------ [ 4142.111844] WARNING: CPU: 1 PID: 4833 at drivers/media/mc/mc-entity.c:873 media_pipeline_stop+0xd0/0xe4 [mc] [ 4142.111880] Modules linked in: snd_seq_dummy snd_hrtimer snd_seq snd_seq_device rfcomm cmac algif_hash aes_arm64 aes_generic algif_skcipher af_alg bnep hci_uart btbcm bluetooth brcmfmac brcmutil ecdh_generic raspberrypi_hwmon ecc bcm2835_isp(C) cfg80211 bcm2835_codec(C) bcm2835_v4l2(C) libaes bcm2835_unicam rpivid_hevc(C) bcm2835_mmal_vchiq(C) v4l2_mem2mem videobuf2_vmalloc videobuf2_dma_contig v4l2_dv_timings videobuf2_memops dw9807_vcm imx708 v4l2_fwnode videobuf2_v4l2 v4l2_async videobuf2_common rfkill videodev snd_bcm2835(C) vc_sm_cma(C) mc raspberrypi_gpiomem joydev binfmt_misc nvmem_rmem uio_pdrv_genirq uio i2c_dev fuse dm_mod ip_tables x_tables ipv6 vc4 snd_soc_hdmi_codec drm_display_helper cec drm_dma_helper drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops v3d gpu_sched snd_soc_core drm_shmem_helper drm drm_panel_orientation_quirks i2c_mux_pinctrl snd_compress snd_pcm_dmaengine i2c_mux i2c_brcmstb i2c_bcm2835 snd_pcm snd_timer snd backlight [ 4142.112023] CPU: 1 PID: 4833 Comm: python Tainted: G WC 6.1.0-rpi6-rpi-v8 #1 Debian 1:6.1.58-1+rpt2 [ 4142.112030] Hardware name: Raspberry Pi 4 Model B Rev 1.5 (DT) [ 4142.112033] pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 4142.112038] pc : media_pipeline_stop+0xd0/0xe4 [mc] [ 4142.112054] lr : media_pipeline_stop+0x34/0x4c [mc] [ 4142.112068] sp : ffffffc00cce3a90 [ 4142.112070] x29: ffffffc00cce3a90 x28: ffffffdecd231810 x27: ffffff8042542f00 [ 4142.112078] x26: 0000000000000000 x25: 0000000000000000 x24: ffffff8075075a00 [ 4142.112086] x23: ffffff8042f8a7a8 x22: ffffff8042f8a538 x21: 0000000000000000 [ 4142.112093] x20: ffffff8042f8ac00 x19: 0000000000000000 x18: 0000000000000000 [ 4142.112099] x17: 0000000000000000 x16: ffffffdef1c05ea0 x15: 0000000001ca6208 [ 4142.112106] x14: 0118e18856cf2540 x13: 011a702475b9e468 x12: ffffffdef1c3ccd0 [ 4142.112113] x11: 00000000f5257d14 x10: 0000000000001a90 x9 : ffffffdecd11bde8 [ 4142.112120] x8 : ffffffc00cce3838 x7 : 0000000000000000 x6 : 0000000000000001 [ 4142.112127] x5 : ffffffdef246e000 x4 : 0000000000000000 x3 : ffffff8042f8a1f0 [ 4142.112134] x2 : ffffff8041193e00 x1 : 0000000000000000 x0 : ffffff8042f8ac00 [ 4142.112141] Call trace: [ 4142.112143] media_pipeline_stop+0xd0/0xe4 [mc] [ 4142.112159] media_pipeline_stop+0x34/0x4c [mc] [ 4142.112189] unicam_stop_streaming+0x78/0x170 [bcm2835_unicam] [ 4142.112217] vb2_queue_cancel+0x38/0x270 [videobuf2_common] [ 4142.112235] vb2_core_streamoff+0x2c/0xd0 [videobuf2_common] [ 4142.112248] vb2_ioctl_streamoff+0x54/0xa0 [videobuf2_v4l2] [ 4142.112262] v4l_streamoff+0x2c/0x40 [videodev] [ 4142.112313] video_do_ioctl+0x174/0x3f0 [videodev] [ 4142.112344] video_usercopy+0x20c/0x77c [videodev] [ 4142.112375] video_ioctl2+0x20/0x40 [videodev] [ 4142.112406] v4l2_ioctl+0x48/0x6c [videodev] [ 4142.112438] v4l2_compat_ioctl32+0x98/0xc0 [videodev] [ 4142.112469] arm64_compat_sys_ioctl+0x158/0x180 [ 4142.112483] invoke_syscall+0x50/0x120 [ 4142.112490] el0_svc_common.constprop.0+0x68/0x124 [ 4142.112497] do_el0_svc_compat+0x24/0x4c [ 4142.112502] el0_svc_compat+0x30/0x94 [ 4142.112509] el0t_32_sync_handler+0x98/0x140 [ 4142.112513] el0t_32_sync+0x190/0x194 [ 4142.112519] ---[ end trace 0000000000000000 ]--- [ 4142.112528] unicam fe801000.csi: Runtime PM usage count underflow! [ 4309.005926] ------------[ cut here ]------------ [ 4309.005940] WARNING: CPU: 1 PID: 4989 at drivers/media/mc/mc-entity.c:873 media_pipeline_stop+0xd0/0xe4 [mc] [ 4309.005975] Modules linked in: snd_seq_dummy snd_hrtimer snd_seq snd_seq_device rfcomm cmac algif_hash aes_arm64 aes_generic algif_skcipher af_alg bnep hci_uart btbcm bluetooth brcmfmac brcmutil ecdh_generic raspberrypi_hwmon ecc bcm2835_isp(C) cfg80211 bcm2835_codec(C) bcm2835_v4l2(C) libaes bcm2835_unicam rpivid_hevc(C) bcm2835_mmal_vchiq(C) v4l2_mem2mem videobuf2_vmalloc videobuf2_dma_contig v4l2_dv_timings videobuf2_memops dw9807_vcm imx708 v4l2_fwnode videobuf2_v4l2 v4l2_async videobuf2_common rfkill videodev snd_bcm2835(C) vc_sm_cma(C) mc raspberrypi_gpiomem joydev binfmt_misc nvmem_rmem uio_pdrv_genirq uio i2c_dev fuse dm_mod ip_tables x_tables ipv6 vc4 snd_soc_hdmi_codec drm_display_helper cec drm_dma_helper drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops v3d gpu_sched snd_soc_core drm_shmem_helper drm drm_panel_orientation_quirks i2c_mux_pinctrl snd_compress snd_pcm_dmaengine i2c_mux i2c_brcmstb i2c_bcm2835 snd_pcm snd_timer snd backlight [ 4309.006118] CPU: 1 PID: 4989 Comm: python Tainted: G WC 6.1.0-rpi6-rpi-v8 #1 Debian 1:6.1.58-1+rpt2 [ 4309.006124] Hardware name: Raspberry Pi 4 Model B Rev 1.5 (DT) [ 4309.006127] pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 4309.006133] pc : media_pipeline_stop+0xd0/0xe4 [mc] [ 4309.006148] lr : media_pipeline_stop+0x34/0x4c [mc] [ 4309.006163] sp : ffffffc00cc7ba90 [ 4309.006165] x29: ffffffc00cc7ba90 x28: ffffffdecd231810 x27: ffffff80f1f91200 [ 4309.006174] x26: 0000000000000000 x25: 0000000000000000 x24: ffffff8080cc6600 [ 4309.006181] x23: ffffff8042f8a7a8 x22: ffffff8042f8a538 x21: 0000000000000000 [ 4309.006188] x20: ffffff8042f8ac00 x19: 0000000000000000 x18: 0000000000000000 [ 4309.006194] x17: 0000000000000000 x16: ffffffdef1c05ea0 x15: 0000000001263208 [ 4309.006201] x14: 00dc9e8f06448190 x13: 00dedcab04b3431c x12: ffffffdef1c3ccd0 [ 4309.006208] x11: 00000000f5257d14 x10: 0000000000001a90 x9 : ffffffdecd11bde8 [ 4309.006215] x8 : ffffffc00cc7b838 x7 : 0000000000000000 x6 : 0000000000000001 [ 4309.006221] x5 : ffffffdef246e000 x4 : 0000000000000000 x3 : ffffff8042f8a1f0 [ 4309.006228] x2 : ffffff8041a05d00 x1 : 0000000000000000 x0 : ffffff8042f8ac00 [ 4309.006235] Call trace: [ 4309.006237] media_pipeline_stop+0xd0/0xe4 [mc] [ 4309.006252] media_pipeline_stop+0x34/0x4c [mc] [ 4309.006267] unicam_stop_streaming+0x78/0x170 [bcm2835_unicam] [ 4309.006277] vb2_queue_cancel+0x38/0x270 [videobuf2_common] [ 4309.006293] vb2_core_streamoff+0x2c/0xd0 [videobuf2_common] [ 4309.006306] vb2_ioctl_streamoff+0x54/0xa0 [videobuf2_v4l2] [ 4309.006319] v4l_streamoff+0x2c/0x40 [videodev] [ 4309.006363] video_do_ioctl+0x174/0x3f0 [videodev] [ 4309.006394] video_usercopy+0x20c/0x77c [videodev] [ 4309.006425] video_ioctl2+0x20/0x40 [videodev] [ 4309.006456] v4l2_ioctl+0x48/0x6c [videodev] [ 4309.006487] v4l2_compat_ioctl32+0x98/0xc0 [videodev] [ 4309.006518] arm64_compat_sys_ioctl+0x158/0x180 [ 4309.006531] invoke_syscall+0x50/0x120 [ 4309.006538] el0_svc_common.constprop.0+0x68/0x124 [ 4309.006544] do_el0_svc_compat+0x24/0x4c [ 4309.006549] el0_svc_compat+0x30/0x94 [ 4309.006556] el0t_32_sync_handler+0x98/0x140 [ 4309.006561] el0t_32_sync+0x190/0x194 [ 4309.006567] ---[ end trace 0000000000000000 ]--- [ 4309.006576] unicam fe801000.csi: Runtime PM usage count underflow! [ 4326.793596] ------------[ cut here ]------------ [ 4326.793622] WARNING: CPU: 0 PID: 5042 at drivers/media/mc/mc-entity.c:873 media_pipeline_stop+0xd0/0xe4 [mc] [ 4326.793696] Modules linked in: snd_seq_dummy snd_hrtimer snd_seq snd_seq_device rfcomm cmac algif_hash aes_arm64 aes_generic algif_skcipher af_alg bnep hci_uart btbcm bluetooth brcmfmac brcmutil ecdh_generic raspberrypi_hwmon ecc bcm2835_isp(C) cfg80211 bcm2835_codec(C) bcm2835_v4l2(C) libaes bcm2835_unicam rpivid_hevc(C) bcm2835_mmal_vchiq(C) v4l2_mem2mem videobuf2_vmalloc videobuf2_dma_contig v4l2_dv_timings videobuf2_memops dw9807_vcm imx708 v4l2_fwnode videobuf2_v4l2 v4l2_async videobuf2_common rfkill videodev snd_bcm2835(C) vc_sm_cma(C) mc raspberrypi_gpiomem joydev binfmt_misc nvmem_rmem uio_pdrv_genirq uio i2c_dev fuse dm_mod ip_tables x_tables ipv6 vc4 snd_soc_hdmi_codec drm_display_helper cec drm_dma_helper drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops v3d gpu_sched snd_soc_core drm_shmem_helper drm drm_panel_orientation_quirks i2c_mux_pinctrl snd_compress snd_pcm_dmaengine i2c_mux i2c_brcmstb i2c_bcm2835 snd_pcm snd_timer snd backlight [ 4326.794039] CPU: 0 PID: 5042 Comm: python Tainted: G WC 6.1.0-rpi6-rpi-v8 #1 Debian 1:6.1.58-1+rpt2 [ 4326.794054] Hardware name: Raspberry Pi 4 Model B Rev 1.5 (DT) [ 4326.794061] pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 4326.794073] pc : media_pipeline_stop+0xd0/0xe4 [mc] [ 4326.794114] lr : media_pipeline_stop+0x34/0x4c [mc] [ 4326.794152] sp : ffffffc00cd4ba90 [ 4326.794157] x29: ffffffc00cd4ba90 x28: ffffffdecd231810 x27: ffffff80451e1800 [ 4326.794177] x26: 0000000000000000 x25: 0000000000000000 x24: ffffff80e5cc0500 [ 4326.794195] x23: ffffff8042f8a7a8 x22: ffffff8042f8a538 x21: 0000000000000000 [ 4326.794213] x20: ffffff8042f8ac00 x19: 0000000000000000 x18: 0000000000000000 [ 4326.794231] x17: 0000000000000000 x16: ffffffdef1c05ea0 x15: 0000000001369208 [ 4326.794248] x14: 0000000000000000 x13: 0000000000000000 x12: 0000000000000000 [ 4326.794264] x11: 00000000000001d4 x10: 0000000000001a90 x9 : ffffffdecd11bde8 [ 4326.794282] x8 : ffffffc00cd4b838 x7 : 0000000000000000 x6 : 0000000000000001 [ 4326.794298] x5 : ffffffdef246e000 x4 : 0000000000000000 x3 : ffffff8042f8a1f0 [ 4326.794315] x2 : ffffff8041a03e00 x1 : 0000000000000000 x0 : ffffff8042f8ac00 [ 4326.794332] Call trace: [ 4326.794337] media_pipeline_stop+0xd0/0xe4 [mc] [ 4326.794376] media_pipeline_stop+0x34/0x4c [mc] [ 4326.794412] unicam_stop_streaming+0x78/0x170 [bcm2835_unicam] [ 4326.794439] vb2_queue_cancel+0x38/0x270 [videobuf2_common] [ 4326.794477] vb2_core_streamoff+0x2c/0xd0 [videobuf2_common] [ 4326.794511] vb2_ioctl_streamoff+0x54/0xa0 [videobuf2_v4l2] [ 4326.794542] v4l_streamoff+0x2c/0x40 [videodev] [ 4326.794632] video_do_ioctl+0x174/0x3f0 [videodev] [ 4326.794713] video_usercopy+0x20c/0x77c [videodev] [ 4326.794792] video_ioctl2+0x20/0x40 [videodev] [ 4326.794870] v4l2_ioctl+0x48/0x6c [videodev] [ 4326.794950] v4l2_compat_ioctl32+0x98/0xc0 [videodev] [ 4326.795030] arm64_compat_sys_ioctl+0x158/0x180 [ 4326.795057] invoke_syscall+0x50/0x120 [ 4326.795074] el0_svc_common.constprop.0+0x68/0x124 [ 4326.795088] do_el0_svc_compat+0x24/0x4c [ 4326.795102] el0_svc_compat+0x30/0x94 [ 4326.795119] el0t_32_sync_handler+0x98/0x140 [ 4326.795131] el0t_32_sync+0x190/0x194 [ 4326.795142] ---[ end trace 0000000000000000 ]--- [ 4326.795159] unicam fe801000.csi: Runtime PM usage count underflow! [ 4405.314313] ------------[ cut here ]------------ [ 4405.314354] WARNING: CPU: 2 PID: 5125 at drivers/media/mc/mc-entity.c:873 media_pipeline_stop+0xd0/0xe4 [mc] [ 4405.314430] Modules linked in: snd_seq_dummy snd_hrtimer snd_seq snd_seq_device rfcomm cmac algif_hash aes_arm64 aes_generic algif_skcipher af_alg bnep hci_uart btbcm bluetooth brcmfmac brcmutil ecdh_generic raspberrypi_hwmon ecc bcm2835_isp(C) cfg80211 bcm2835_codec(C) bcm2835_v4l2(C) libaes bcm2835_unicam rpivid_hevc(C) bcm2835_mmal_vchiq(C) v4l2_mem2mem videobuf2_vmalloc videobuf2_dma_contig v4l2_dv_timings videobuf2_memops dw9807_vcm imx708 v4l2_fwnode videobuf2_v4l2 v4l2_async videobuf2_common rfkill videodev snd_bcm2835(C) vc_sm_cma(C) mc raspberrypi_gpiomem joydev binfmt_misc nvmem_rmem uio_pdrv_genirq uio i2c_dev fuse dm_mod ip_tables x_tables ipv6 vc4 snd_soc_hdmi_codec drm_display_helper cec drm_dma_helper drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops v3d gpu_sched snd_soc_core drm_shmem_helper drm drm_panel_orientation_quirks i2c_mux_pinctrl snd_compress snd_pcm_dmaengine i2c_mux i2c_brcmstb i2c_bcm2835 snd_pcm snd_timer snd backlight [ 4405.314633] CPU: 2 PID: 5125 Comm: python Tainted: G WC 6.1.0-rpi6-rpi-v8 #1 Debian 1:6.1.58-1+rpt2 [ 4405.314643] Hardware name: Raspberry Pi 4 Model B Rev 1.5 (DT) [ 4405.314649] pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 4405.314657] pc : media_pipeline_stop+0xd0/0xe4 [mc] [ 4405.314685] lr : media_pipeline_stop+0x34/0x4c [mc] [ 4405.314700] sp : ffffffc00d2b3a90 [ 4405.314704] x29: ffffffc00d2b3a90 x28: ffffffdecd231810 x27: ffffff8083b4ff00 [ 4405.314712] x26: 0000000000000000 x25: 0000000000000000 x24: ffffff80427ae000 [ 4405.314720] x23: ffffff8042f8a7a8 x22: ffffff8042f8a538 x21: 0000000000000000 [ 4405.314727] x20: ffffff8042f8ac00 x19: 0000000000000000 x18: 0000000000000000 [ 4405.314735] x17: 0000000000000000 x16: ffffffdef1c05ea0 x15: 00000000f1743554 [ 4405.314743] x14: 00fd637b4b7c8302 x13: ffffffdef1c3ccd0 x12: 00000000fa83b2da [ 4405.314751] x11: 000000000000020e x10: 0000000000001a90 x9 : ffffffdecd11bde8 [ 4405.314760] x8 : ffffffc00d2b3838 x7 : 0000000000000000 x6 : 000000000000b959 [ 4405.314767] x5 : ffffffdef246e000 x4 : 0000000000000000 x3 : ffffff8042f8a1f0 [ 4405.314775] x2 : ffffff80793c5d00 x1 : 0000000000000000 x0 : ffffff8042f8ac00 [ 4405.314786] Call trace: [ 4405.314790] media_pipeline_stop+0xd0/0xe4 [mc] [ 4405.314808] media_pipeline_stop+0x34/0x4c [mc] [ 4405.314823] unicam_stop_streaming+0x78/0x170 [bcm2835_unicam] [ 4405.314839] vb2_queue_cancel+0x38/0x270 [videobuf2_common] [ 4405.314867] vb2_core_streamoff+0x2c/0xd0 [videobuf2_common] [ 4405.314881] vb2_ioctl_streamoff+0x54/0xa0 [videobuf2_v4l2] [ 4405.314902] v4l_streamoff+0x2c/0x40 [videodev] [ 4405.314997] video_do_ioctl+0x174/0x3f0 [videodev] [ 4405.315028] video_usercopy+0x20c/0x77c [videodev] [ 4405.315063] video_ioctl2+0x20/0x40 [videodev] [ 4405.315095] v4l2_ioctl+0x48/0x6c [videodev] [ 4405.315127] v4l2_compat_ioctl32+0x98/0xc0 [videodev] [ 4405.315159] arm64_compat_sys_ioctl+0x158/0x180 [ 4405.315188] invoke_syscall+0x50/0x120 [ 4405.315202] el0_svc_common.constprop.0+0x68/0x124 [ 4405.315208] do_el0_svc_compat+0x24/0x4c [ 4405.315214] el0_svc_compat+0x30/0x94 [ 4405.315229] el0t_32_sync_handler+0x98/0x140 [ 4405.315234] el0t_32_sync+0x190/0x194 [ 4405.315242] ---[ end trace 0000000000000000 ]--- [ 4405.315348] unicam fe801000.csi: Runtime PM usage count underflow! [ 4591.044035] ------------[ cut here ]------------ [ 4591.044057] WARNING: CPU: 2 PID: 5347 at drivers/media/mc/mc-entity.c:873 media_pipeline_stop+0xd0/0xe4 [mc] [ 4591.044104] Modules linked in: snd_seq_dummy snd_hrtimer snd_seq snd_seq_device rfcomm cmac algif_hash aes_arm64 aes_generic algif_skcipher af_alg bnep hci_uart btbcm bluetooth brcmfmac brcmutil ecdh_generic raspberrypi_hwmon ecc bcm2835_isp(C) cfg80211 bcm2835_codec(C) bcm2835_v4l2(C) libaes bcm2835_unicam rpivid_hevc(C) bcm2835_mmal_vchiq(C) v4l2_mem2mem videobuf2_vmalloc videobuf2_dma_contig v4l2_dv_timings videobuf2_memops dw9807_vcm imx708 v4l2_fwnode videobuf2_v4l2 v4l2_async videobuf2_common rfkill videodev snd_bcm2835(C) vc_sm_cma(C) mc raspberrypi_gpiomem joydev binfmt_misc nvmem_rmem uio_pdrv_genirq uio i2c_dev fuse dm_mod ip_tables x_tables ipv6 vc4 snd_soc_hdmi_codec drm_display_helper cec drm_dma_helper drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops v3d gpu_sched snd_soc_core drm_shmem_helper drm drm_panel_orientation_quirks i2c_mux_pinctrl snd_compress snd_pcm_dmaengine i2c_mux i2c_brcmstb i2c_bcm2835 snd_pcm snd_timer snd backlight [ 4591.044268] CPU: 2 PID: 5347 Comm: python Tainted: G WC 6.1.0-rpi6-rpi-v8 #1 Debian 1:6.1.58-1+rpt2 [ 4591.044278] Hardware name: Raspberry Pi 4 Model B Rev 1.5 (DT) [ 4591.044283] pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 4591.044289] pc : media_pipeline_stop+0xd0/0xe4 [mc] [ 4591.044308] lr : media_pipeline_stop+0x34/0x4c [mc] [ 4591.044322] sp : ffffffc00cd43a90 [ 4591.044325] x29: ffffffc00cd43a90 x28: ffffffdecd231810 x27: ffffff80779afb00 [ 4591.044332] x26: 0000000000000000 x25: 0000000000000000 x24: ffffff80b0b43d00 [ 4591.044340] x23: ffffff8042f8a7a8 x22: ffffff8042f8a538 x21: 0000000000000000 [ 4591.044348] x20: ffffff8042f8ac00 x19: 0000000000000000 x18: 0000000000000000 [ 4591.044355] x17: 0000000000000000 x16: ffffffdef1c05ea0 x15: 0000000000000000 [ 4591.044361] x14: 0000000000000001 x13: 0000000000000000 x12: 0000000000000002 [ 4591.044367] x11: 0000000000000001 x10: 0000000000001a90 x9 : ffffffdecd11bde8 [ 4591.044374] x8 : ffffffc00cd43838 x7 : 0000000000000000 x6 : 0000000000000001 [ 4591.044381] x5 : ffffffdef246e000 x4 : 0000000000000000 x3 : ffffff8042f8a1f0 [ 4591.044388] x2 : ffffff80eb453e00 x1 : 0000000000000000 x0 : ffffff8042f8ac00 [ 4591.044395] Call trace: [ 4591.044399] media_pipeline_stop+0xd0/0xe4 [mc] [ 4591.044415] media_pipeline_stop+0x34/0x4c [mc] [ 4591.044429] unicam_stop_streaming+0x78/0x170 [bcm2835_unicam] [ 4591.044442] vb2_queue_cancel+0x38/0x270 [videobuf2_common] [ 4591.044463] vb2_core_streamoff+0x2c/0xd0 [videobuf2_common] [ 4591.044476] vb2_ioctl_streamoff+0x54/0xa0 [videobuf2_v4l2] [ 4591.044491] v4l_streamoff+0x2c/0x40 [videodev] [ 4591.044560] video_do_ioctl+0x174/0x3f0 [videodev] [ 4591.044591] video_usercopy+0x20c/0x77c [videodev] [ 4591.044623] video_ioctl2+0x20/0x40 [videodev] [ 4591.044655] v4l2_ioctl+0x48/0x6c [videodev] [ 4591.044686] v4l2_compat_ioctl32+0x98/0xc0 [videodev] [ 4591.044717] arm64_compat_sys_ioctl+0x158/0x180 [ 4591.044735] invoke_syscall+0x50/0x120 [ 4591.044743] el0_svc_common.constprop.0+0x68/0x124 [ 4591.044748] do_el0_svc_compat+0x24/0x4c [ 4591.044755] el0_svc_compat+0x30/0x94 [ 4591.044762] el0t_32_sync_handler+0x98/0x140 [ 4591.044767] el0t_32_sync+0x190/0x194 [ 4591.044775] ---[ end trace 0000000000000000 ]--- [ 4591.044899] unicam fe801000.csi: Runtime PM usage count underflow! [ 4751.176622] ------------[ cut here ]------------ [ 4751.176665] WARNING: CPU: 0 PID: 5445 at drivers/media/mc/mc-entity.c:873 media_pipeline_stop+0xd0/0xe4 [mc] [ 4751.176750] Modules linked in: snd_seq_dummy snd_hrtimer snd_seq snd_seq_device rfcomm cmac algif_hash aes_arm64 aes_generic algif_skcipher af_alg bnep hci_uart btbcm bluetooth brcmfmac brcmutil ecdh_generic raspberrypi_hwmon ecc bcm2835_isp(C) cfg80211 bcm2835_codec(C) bcm2835_v4l2(C) libaes bcm2835_unicam rpivid_hevc(C) bcm2835_mmal_vchiq(C) v4l2_mem2mem videobuf2_vmalloc videobuf2_dma_contig v4l2_dv_timings videobuf2_memops dw9807_vcm imx708 v4l2_fwnode videobuf2_v4l2 v4l2_async videobuf2_common rfkill videodev snd_bcm2835(C) vc_sm_cma(C) mc raspberrypi_gpiomem joydev binfmt_misc nvmem_rmem uio_pdrv_genirq uio i2c_dev fuse dm_mod ip_tables x_tables ipv6 vc4 snd_soc_hdmi_codec drm_display_helper cec drm_dma_helper drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops v3d gpu_sched snd_soc_core drm_shmem_helper drm drm_panel_orientation_quirks i2c_mux_pinctrl snd_compress snd_pcm_dmaengine i2c_mux i2c_brcmstb i2c_bcm2835 snd_pcm snd_timer snd backlight [ 4751.177034] CPU: 0 PID: 5445 Comm: python Tainted: G WC 6.1.0-rpi6-rpi-v8 #1 Debian 1:6.1.58-1+rpt2 [ 4751.177048] Hardware name: Raspberry Pi 4 Model B Rev 1.5 (DT) [ 4751.177053] pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 4751.177063] pc : media_pipeline_stop+0xd0/0xe4 [mc] [ 4751.177094] lr : media_pipeline_stop+0x34/0x4c [mc] [ 4751.177122] sp : ffffffc00cd8ba90 [ 4751.177127] x29: ffffffc00cd8ba90 x28: ffffffdecd231810 x27: ffffff807c0c5500 [ 4751.177142] x26: 0000000000000000 x25: 0000000000000000 x24: ffffff8083760d00 [ 4751.177157] x23: ffffff8042f8a7a8 x22: ffffff8042f8a538 x21: 0000000000000000 [ 4751.177170] x20: ffffff8042f8ac00 x19: 0000000000000000 x18: 0000000000000000 [ 4751.177183] x17: 0000000000000000 x16: ffffffdef1c05ea0 x15: 0000000001b63fb8 [ 4751.177197] x14: 01a2efe99445ed3c x13: 01aced9a04636ad0 x12: ffffffdef1c3ccd0 [ 4751.177210] x11: 00000000fa83b2da x10: 0000000000001a90 x9 : ffffffdecd11bde8 [ 4751.177224] x8 : ffffffc00cd8b838 x7 : 0000000000000000 x6 : 0000000000000001 [ 4751.177236] x5 : ffffffdef246e000 x4 : 0000000000000000 x3 : ffffff8042f8a1f0 [ 4751.177249] x2 : ffffff80eb453e00 x1 : 0000000000000000 x0 : ffffff8042f8ac00 [ 4751.177263] Call trace: [ 4751.177267] media_pipeline_stop+0xd0/0xe4 [mc] [ 4751.177297] media_pipeline_stop+0x34/0x4c [mc] [ 4751.177325] unicam_stop_streaming+0x78/0x170 [bcm2835_unicam] [ 4751.177345] vb2_queue_cancel+0x38/0x270 [videobuf2_common] [ 4751.177374] vb2_core_streamoff+0x2c/0xd0 [videobuf2_common] [ 4751.177401] vb2_ioctl_streamoff+0x54/0xa0 [videobuf2_v4l2] [ 4751.177423] v4l_streamoff+0x2c/0x40 [videodev] [ 4751.177492] video_do_ioctl+0x174/0x3f0 [videodev] [ 4751.177554] video_usercopy+0x20c/0x77c [videodev] [ 4751.177616] video_ioctl2+0x20/0x40 [videodev] [ 4751.177677] v4l2_ioctl+0x48/0x6c [videodev] [ 4751.177739] v4l2_compat_ioctl32+0x98/0xc0 [videodev] [ 4751.177801] arm64_compat_sys_ioctl+0x158/0x180 [ 4751.177820] invoke_syscall+0x50/0x120 [ 4751.177833] el0_svc_common.constprop.0+0x68/0x124 [ 4751.177844] do_el0_svc_compat+0x24/0x4c [ 4751.177855] el0_svc_compat+0x30/0x94 [ 4751.177867] el0t_32_sync_handler+0x98/0x140 [ 4751.177876] el0t_32_sync+0x190/0x194 [ 4751.177885] ---[ end trace 0000000000000000 ]--- [ 4751.178032] unicam fe801000.csi: Runtime PM usage count underflow! [ 4986.279694] ------------[ cut here ]------------ [ 4986.279708] WARNING: CPU: 3 PID: 5533 at drivers/media/mc/mc-entity.c:873 media_pipeline_stop+0xd0/0xe4 [mc] [ 4986.279744] Modules linked in: snd_seq_dummy snd_hrtimer snd_seq snd_seq_device rfcomm cmac algif_hash aes_arm64 aes_generic algif_skcipher af_alg bnep hci_uart btbcm bluetooth brcmfmac brcmutil ecdh_generic raspberrypi_hwmon ecc bcm2835_isp(C) cfg80211 bcm2835_codec(C) bcm2835_v4l2(C) libaes bcm2835_unicam rpivid_hevc(C) bcm2835_mmal_vchiq(C) v4l2_mem2mem videobuf2_vmalloc videobuf2_dma_contig v4l2_dv_timings videobuf2_memops dw9807_vcm imx708 v4l2_fwnode videobuf2_v4l2 v4l2_async videobuf2_common rfkill videodev snd_bcm2835(C) vc_sm_cma(C) mc raspberrypi_gpiomem joydev binfmt_misc nvmem_rmem uio_pdrv_genirq uio i2c_dev fuse dm_mod ip_tables x_tables ipv6 vc4 snd_soc_hdmi_codec drm_display_helper cec drm_dma_helper drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops v3d gpu_sched snd_soc_core drm_shmem_helper drm drm_panel_orientation_quirks i2c_mux_pinctrl snd_compress snd_pcm_dmaengine i2c_mux i2c_brcmstb i2c_bcm2835 snd_pcm snd_timer snd backlight [ 4986.279888] CPU: 3 PID: 5533 Comm: python Tainted: G WC 6.1.0-rpi6-rpi-v8 #1 Debian 1:6.1.58-1+rpt2 [ 4986.279895] Hardware name: Raspberry Pi 4 Model B Rev 1.5 (DT) [ 4986.279898] pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 4986.279903] pc : media_pipeline_stop+0xd0/0xe4 [mc] [ 4986.279919] lr : media_pipeline_stop+0x34/0x4c [mc] [ 4986.279933] sp : ffffffc00c933a90 [ 4986.279935] x29: ffffffc00c933a90 x28: ffffffdecd231810 x27: ffffff80779afb00 [ 4986.279943] x26: 0000000000000000 x25: 0000000000000000 x24: ffffff80d59e0400 [ 4986.279950] x23: ffffff8042f8a7a8 x22: ffffff8042f8a538 x21: 0000000000000000 [ 4986.279957] x20: ffffff8042f8ac00 x19: 0000000000000000 x18: 0000000000000000 [ 4986.279964] x17: 0000000000000000 x16: ffffffdef1c05ea0 x15: 0000000000000000 [ 4986.279971] x14: 0000000000000001 x13: 0000000000000000 x12: 0000000000000002 [ 4986.279977] x11: 0000000000000000 x10: 0000000000001a90 x9 : ffffffdecd11bde8 [ 4986.279984] x8 : ffffffc00c933838 x7 : 0000000000000000 x6 : 0000000000000001 [ 4986.279991] x5 : ffffffdef246e000 x4 : 0000000000000000 x3 : ffffff8042f8a1f0 [ 4986.279997] x2 : ffffff8009ad1f00 x1 : 0000000000000000 x0 : ffffff8042f8ac00 [ 4986.280005] Call trace: [ 4986.280007] media_pipeline_stop+0xd0/0xe4 [mc] [ 4986.280022] media_pipeline_stop+0x34/0x4c [mc] [ 4986.280036] unicam_stop_streaming+0x78/0x170 [bcm2835_unicam] [ 4986.280047] vb2_queue_cancel+0x38/0x270 [videobuf2_common] [ 4986.280064] vb2_core_streamoff+0x2c/0xd0 [videobuf2_common] [ 4986.280077] vb2_ioctl_streamoff+0x54/0xa0 [videobuf2_v4l2] [ 4986.280089] v4l_streamoff+0x2c/0x40 [videodev] [ 4986.280134] video_do_ioctl+0x174/0x3f0 [videodev] [ 4986.280165] video_usercopy+0x20c/0x77c [videodev] [ 4986.280196] video_ioctl2+0x20/0x40 [videodev] [ 4986.280226] v4l2_ioctl+0x48/0x6c [videodev] [ 4986.280258] v4l2_compat_ioctl32+0x98/0xc0 [videodev] [ 4986.280289] arm64_compat_sys_ioctl+0x158/0x180 [ 4986.280302] invoke_syscall+0x50/0x120 [ 4986.280309] el0_svc_common.constprop.0+0x68/0x124 [ 4986.280315] do_el0_svc_compat+0x24/0x4c [ 4986.280320] el0_svc_compat+0x30/0x94 [ 4986.280327] el0t_32_sync_handler+0x98/0x140 [ 4986.280332] el0t_32_sync+0x190/0x194 [ 4986.280336] ---[ end trace 0000000000000000 ]--- [ 4986.280345] unicam fe801000.csi: Runtime PM usage count underflow!

sudo vcdbg log msg 004173.736: arasan: arasan_emmc_open 004173.906: arasan: arasan_emmc_set_clock C0: 0x00800000 C1: 0x000e0047 emmc: 200000000 actual: 390625 div: 0x00000100 target: 400000 min: 400000 max: 400000 delay: 5 004278.668: arasan: arasan_emmc_set_clock C0: 0x00800000 C1: 0x000e0047 emmc: 200000000 actual: 390625 div: 0x00000100 target: 400000 min: 400000 max: 400000 delay: 5 004278.755: arasan: arasan_emmc_set_clock C0: 0x00800f00 C1: 0x000e0047 emmc: 200000000 actual: 390625 div: 0x00000100 target: 400000 min: 390000 max: 400000 delay: 5 004298.041: arasan: arasan_emmc_set_clock C0: 0x00800f06 C1: 0x000e0207 emmc: 200000000 actual: 50000000 div: 0x00000002 target: 50000000 min: 0 max: 50000000 delay: 1 004305.516: brfs: File read: /mfs/sd/config.txt 004306.189: brfs: File read: 1179 bytes 004329.154: HDMI0:EDID error reading EDID block 0 attempt 0 004330.171: HDMI0:EDID giving up on reading EDID block 0 004394.726: brfs: File read: /mfs/sd/config.txt 005341.011: gpioman: gpioman_get_pin_num: pin DISPLAY_DSI_PORT not defined 005343.528: *** Restart logging 005343.549: brfs: File read: 1179 bytes 005350.517: hdmi: HDMI0:EDID error reading EDID block 0 attempt 0 005351.535: hdmi: HDMI0:EDID giving up on reading EDID block 0 005356.578: hdmi: HDMI0:EDID error reading EDID block 0 attempt 0 005357.593: hdmi: HDMI0:EDID giving up on reading EDID block 0 005357.611: hdmi: HDMI:hdmi_get_state is deprecated, use hdmi_get_display_state instead 005417.763: HDMI0: hdmi_pixel_encoding: 300000000 005417.776: HDMI1: hdmi_pixel_encoding: 300000000 008386.434: brfs: File read: /mfs/sd/initramfs8 008386.466: Loaded 'initramfs8' to 0x0 size 0xf59abb 008403.264: initramfs loaded to 0x2e0a6000 (size 0xf59abb) 008407.788: dtb_file 'bcm2711-rpi-4-b.dtb' 008407.827: brfs: File read: 16095931 bytes 008420.345: brfs: File read: /mfs/sd/bcm2711-rpi-4-b.dtb 008420.378: Loaded 'bcm2711-rpi-4-b.dtb' to 0x100 size 0xd5b3 008453.842: brfs: File read: 54707 bytes 008473.638: brfs: File read: /mfs/sd/overlays/overlay_map.dtb 008529.971: Found camera 'imx708' on port 0, unicam_port 1 008532.338: brfs: File read: 4839 bytes 008546.438: brfs: File read: /mfs/sd/overlays/imx708.dtbo 008656.426: Loaded overlay 'imx708' 008844.084: brfs: File read: 3981 bytes 008847.827: brfs: File read: /mfs/sd/config.txt 008848.057: dtparam: audio=on 008860.879: brfs: File read: 1179 bytes 008888.936: brfs: File read: /mfs/sd/overlays/vc4-kms-v3d-pi4.dtbo 009046.635: Loaded overlay 'vc4-kms-v3d' 009452.260: brfs: File read: 3913 bytes 009455.435: brfs: File read: /mfs/sd/cmdline.txt 009455.529: Read command line from file 'cmdline.txt': 009455.558: 'console=serial0,115200 console=tty1 root=PARTUUID=ed6bfd88-02 rootfstype=ext4 fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles cfg80211.ieee80211_regdom=CA' 009797.917: brfs: File read: 176 bytes 011516.205: brfs: File read: /mfs/sd/kernel8.img 011516.246: Loaded 'kernel8.img' to 0x80000 size 0x85349c 014531.096: Kernel relocated to 0x200000 014531.124: Device tree loaded to 0x2e098000 (size 0xdf1e) 014538.829: gpioman: gpioman_get_pin_num: pin SDCARD_CONTROL_POWER not defined 016771.631: vchiq_core: vchiq_init_state: slot_zero = 0xce400000, is_master = 1 016782.248: TV service:host side not connected, dropping notification 0x00000002, 0x00000001, 0x00000010 604418.475: video_decode:8:RIL: resolution changing 627123.536: video_decode:8:RIL: resolution changing 183592.993: video_decode:9:RIL: resolution changing

sudo vcdbg log assert No messages available

sudo vcdbg log ex No exceptions found


Memory

cat /proc/meminfo MemTotal: 3884232 kB MemFree: 750252 kB MemAvailable: 1569004 kB Buffers: 17900 kB Cached: 1269836 kB SwapCached: 0 kB Active: 2324796 kB Inactive: 219088 kB Active(anon): 1586040 kB Inactive(anon): 97568 kB Active(file): 738756 kB Inactive(file): 121520 kB Unevictable: 316100 kB Mlocked: 0 kB SwapTotal: 102396 kB SwapFree: 102396 kB Zswap: 0 kB Zswapped: 0 kB Dirty: 608 kB Writeback: 0 kB AnonPages: 1572032 kB Mapped: 492808 kB Shmem: 427268 kB KReclaimable: 87352 kB Slab: 138924 kB SReclaimable: 87352 kB SUnreclaim: 51572 kB KernelStack: 11400 kB PageTables: 36728 kB SecPageTables: 0 kB NFS_Unstable: 0 kB Bounce: 0 kB WritebackTmp: 0 kB CommitLimit: 2044512 kB Committed_AS: 8273356 kB VmallocTotal: 259653632 kB VmallocUsed: 19576 kB VmallocChunk: 0 kB Percpu: 752 kB CmaTotal: 524288 kB CmaFree: 303732 kB

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

Dma-buf Objects: size flags mode count exp_name ino name 03145728 00000000 00080005 00000010 drm 00000855 write fence:drm_sched v3d_render seq 22713 signalled write fence:drm_sched v3d_tfu seq 144776 signalled Attached Devices: fec00000.v3d fec00000.v3d Total 2 devices attached

03145728 00000000 00080005 00000010 drm 00000854 write fence:drm_sched v3d_render seq 22716 signalled write fence:drm_sched v3d_tfu seq 144777 signalled Attached Devices: fec00000.v3d fec00000.v3d Total 2 devices attached

02359296 00000002 00080007 00000003 drm 00000842 write fence:drm_sched v3d_tfu seq 144367 signalled Attached Devices: Total 0 devices attached

00356352 00000000 00080005 00000006 videobuf2_dma_contig 00000775 write fence:drm_sched v3d_tfu seq 14734 signalled Attached Devices: gpu fec00000.v3d Total 2 devices attached

07774208 00000002 00080007 00000007 drm 00000719 write fence:drm_sched v3d_tfu seq 144608 signalled write fence:drm_sched v3d_render seq 86908 signalled Attached Devices: Total 0 devices attached

07774208 00000002 00080007 00000007 drm 00000718 write fence:drm_sched v3d_tfu seq 144595 signalled write fence:drm_sched v3d_render seq 86907 signalled Attached Devices: Total 0 devices attached

07774208 00000002 00080007 00000007 drm 00000717 write fence:drm_sched v3d_tfu seq 144769 signalled write fence:drm_sched v3d_render seq 86909 signalled Attached Devices: Total 0 devices attached

03145728 00000000 00080005 00000010 drm 00000407 write fence:drm_sched v3d_tfu seq 22586 signalled write fence:drm_sched v3d_render seq 26009 signalled Attached Devices: fec00000.v3d fec00000.v3d Total 2 devices attached

00004096 00000000 00080005 00000005 drm 00000204 write fence:drm_sched v3d_render seq 804 signalled Attached Devices: fec00000.v3d Total 1 devices attached

00004096 00000000 00080005 00000005 drm 00000185 write fence:drm_sched v3d_render seq 753 signalled Attached Devices: fec00000.v3d Total 1 devices attached

03145728 00000000 00080005 00000010 drm 00000164 write fence:drm_sched v3d_render seq 26684 signalled write fence:drm_sched v3d_tfu seq 22892 signalled Attached Devices: fec00000.v3d fec00000.v3d Total 2 devices attached

03145728 00000000 00080005 00000005 drm 00000162 write fence:drm_sched v3d_render seq 22714 signalled write fence:drm_sched v3d_tfu seq 22893 signalled Attached Devices: fec00000.v3d Total 1 devices attached

03145728 00000000 00080005 00000005 drm 00000138 write fence:drm_sched v3d_render seq 22715 signalled write fence:drm_sched v3d_tfu seq 22894 signalled Attached Devices: fec00000.v3d Total 1 devices attached

00004096 00000000 00080005 00000009 drm 00000137 Attached Devices: fec00000.v3d fec00000.v3d Total 2 devices attached

00004096 00000000 00080005 00000009 drm 00000136 Attached Devices: fec00000.v3d fec00000.v3d Total 2 devices attached

00622592 00000002 00080007 00000001 vc_sm_cma 00000092 Attached Devices: Total 0 devices attached

00622592 00000000 00080005 00000002 videobuf2_dma_contig 00000091 Attached Devices: vcsm-cma Total 1 devices attached

00622592 00000002 00080007 00000001 vc_sm_cma 00000090 Attached Devices: Total 0 devices attached

00622592 00000000 00080005 00000002 videobuf2_dma_contig 00000089 Attached Devices: vcsm-cma Total 1 devices attached

00622592 00000002 00080007 00000001 vc_sm_cma 00000088 Attached Devices: Total 0 devices attached

00622592 00000000 00080005 00000002 videobuf2_dma_contig 00000087 Attached Devices: vcsm-cma Total 1 devices attached

00622592 00000002 00080007 00000001 vc_sm_cma 00000086 Attached Devices: Total 0 devices attached

00622592 00000000 00080005 00000002 videobuf2_dma_contig 00000085 Attached Devices: vcsm-cma Total 1 devices attached

00622592 00000002 00080007 00000001 vc_sm_cma 00000084 Attached Devices: Total 0 devices attached

00622592 00000000 00080005 00000002 videobuf2_dma_contig 00000083 Attached Devices: vcsm-cma Total 1 devices attached

00622592 00000002 00080007 00000001 vc_sm_cma 00000082 Attached Devices: Total 0 devices attached

00622592 00000000 00080005 00000002 videobuf2_dma_contig 00000081 Attached Devices: vcsm-cma Total 1 devices attached

00622592 00000000 00080005 00000009 videobuf2_dma_contig 00000080 write fence:drm_sched v3d_tfu seq 12334 signalled Attached Devices: gpu fec00000.v3d Total 2 devices attached

00622592 00000000 00080005 00000009 videobuf2_dma_contig 00000079 write fence:drm_sched v3d_tfu seq 12841 signalled Attached Devices: gpu fec00000.v3d Total 2 devices attached

00622592 00000000 00080005 00000009 videobuf2_dma_contig 00000078 write fence:drm_sched v3d_tfu seq 13087 signalled Attached Devices: gpu fec00000.v3d Total 2 devices attached

00622592 00000000 00080005 00000009 videobuf2_dma_contig 00000077 write fence:drm_sched v3d_tfu seq 12697 signalled Attached Devices: gpu fec00000.v3d Total 2 devices attached

00622592 00000000 00080005 00000009 videobuf2_dma_contig 00000076 write fence:drm_sched v3d_tfu seq 11935 signalled Attached Devices: gpu fec00000.v3d Total 2 devices attached

00622592 00000000 00080005 00000009 videobuf2_dma_contig 00000075 write fence:drm_sched v3d_tfu seq 12589 signalled Attached Devices: gpu fec00000.v3d Total 2 devices attached

01048576 00000002 00080007 00000001 vc_sm_cma 00000038 Attached Devices: Total 0 devices attached

01048576 00000000 00080005 00000002 videobuf2_dma_contig 00000037 Attached Devices: vcsm-cma Total 1 devices attached

01048576 00000002 00080007 00000001 vc_sm_cma 00000036 Attached Devices: Total 0 devices attached

01048576 00000000 00080005 00000002 videobuf2_dma_contig 00000035 Attached Devices: vcsm-cma Total 1 devices attached

01048576 00000002 00080007 00000001 vc_sm_cma 00000034 Attached Devices: Total 0 devices attached

01048576 00000000 00080005 00000002 videobuf2_dma_contig 00000033 Attached Devices: vcsm-cma Total 1 devices attached

01048576 00000002 00080007 00000001 vc_sm_cma 00000032 Attached Devices: Total 0 devices attached

01048576 00000000 00080005 00000002 videobuf2_dma_contig 00000031 Attached Devices: vcsm-cma Total 1 devices attached

01048576 00000002 00080007 00000001 vc_sm_cma 00000030 Attached Devices: Total 0 devices attached

01048576 00000000 00080005 00000002 videobuf2_dma_contig 00000029 Attached Devices: vcsm-cma Total 1 devices attached

01048576 00000002 00080007 00000001 vc_sm_cma 00000028 Attached Devices: Total 0 devices attached

01048576 00000000 00080005 00000002 videobuf2_dma_contig 00000027 Attached Devices: vcsm-cma Total 1 devices attached

01048576 00000002 00080007 00000001 vc_sm_cma 00000020 Attached Devices: Total 0 devices attached

01048576 00000000 00080005 00000002 videobuf2_dma_contig 00000019 Attached Devices: vcsm-cma Total 1 devices attached

01048576 00000002 00080007 00000001 vc_sm_cma 00000018 Attached Devices: Total 0 devices attached

01048576 00000000 00080005 00000002 videobuf2_dma_contig 00000017 Attached Devices: vcsm-cma Total 1 devices attached

00016384 00000000 00080005 00000010 drm 00000013 write fence:drm_sched v3d_render seq 91029 signalled Attached Devices: fec00000.v3d fec00000.v3d Total 2 devices attached

00004096 00000002 00080007 00000009 drm 00000009 write fence:drm_sched v3d_tfu seq 144767 signalled Attached Devices: gpu Total 1 devices attached

00016384 00000000 00080005 00000010 drm 00000005 write fence:drm_sched v3d_render seq 91047 signalled Attached Devices: fec00000.v3d fec00000.v3d Total 2 devices attached

00016384 00000000 00080005 00000010 drm 00000004 write fence:drm_sched v3d_render seq 91050 signalled Attached Devices: fec00000.v3d fec00000.v3d Total 2 devices attached

08294400 00000000 00080005 00000010 drm 00000003 write fence:drm_sched v3d_render seq 91057 signalled Attached Devices: fec00000.v3d fec00000.v3d Total 2 devices attached

00016384 00000000 00080005 00000010 drm 00000002 write fence:drm_sched v3d_render seq 90990 signalled Attached Devices: fec00000.v3d fec00000.v3d Total 2 devices attached

08294400 00000000 00080005 00000010 drm 00000001 write fence:drm_sched v3d_render seq 91056 signalled Attached Devices: fec00000.v3d fec00000.v3d Total 2 devices attached

Total 56 objects, 89571328 bytes

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

VC-ServiceHandle 0000000085e264f7

Resources

Resource 0000000073936415 NAME sm-host-resource SIZE 622592 DMABUF 0000000031f1381d ATTACH 000000001600daeb SGT 000000005506088f DMA_ADDR 0x00000000d0f00000 VC_HANDLE c000000f VC_MAPPING 1

Resource 00000000aa62f5a2 NAME sm-host-resource SIZE 622592 DMABUF 00000000f00099e3 ATTACH 0000000071bcfab9 SGT 0000000022427b7d DMA_ADDR 0x00000000d0e00000 VC_HANDLE c000000e VC_MAPPING 1

Resource 00000000aff8ab77 NAME sm-host-resource SIZE 622592 DMABUF 00000000848a62bb ATTACH 0000000046efc92d SGT 000000005341b6a0 DMA_ADDR 0x00000000d0d00000 VC_HANDLE c000000d VC_MAPPING 1

Resource 000000007bc3c86c NAME sm-host-resource SIZE 622592 DMABUF 00000000241fbc3e ATTACH 000000006990e27e SGT 0000000007941c70 DMA_ADDR 0x00000000d0900000 VC_HANDLE c000000c VC_MAPPING 1

Resource 00000000e0cee41c NAME sm-host-resource SIZE 622592 DMABUF 00000000d7ebad37 ATTACH 000000001b261314 SGT 00000000eddac51f DMA_ADDR 0x00000000d0800000 VC_HANDLE c000000b VC_MAPPING 1

Resource 00000000d3e282a3 NAME sm-host-resource SIZE 622592 DMABUF 00000000d25e23b4 ATTACH 000000002a0f051a SGT 00000000f047866a DMA_ADDR 0x00000000d0700000 VC_HANDLE c000000a VC_MAPPING 1

Resource 00000000b3fb2528 NAME sm-host-resource SIZE 1048576 DMABUF 0000000037d9f8cf ATTACH 0000000047dae984 SGT 00000000e5d0524a DMA_ADDR 0x00000000d0600000 VC_HANDLE c0000009 VC_MAPPING 1

Resource 00000000dda10180 NAME sm-host-resource SIZE 1048576 DMABUF 000000001afb5435 ATTACH 000000005eabe3fe SGT 00000000a5c4483e DMA_ADDR 0x00000000d0500000 VC_HANDLE c0000008 VC_MAPPING 1

Resource 00000000349b3267 NAME sm-host-resource SIZE 1048576 DMABUF 00000000fd2a3657 ATTACH 00000000377ee371 SGT 00000000883c7aa3 DMA_ADDR 0x00000000d0400000 VC_HANDLE c0000007 VC_MAPPING 1

Resource 000000000883f4ae NAME sm-host-resource SIZE 1048576 DMABUF 00000000aa7c588d ATTACH 000000007aa5bf31 SGT 0000000046c81740 DMA_ADDR 0x00000000d0300000 VC_HANDLE c0000006 VC_MAPPING 1

Resource 000000007a5e4757 NAME sm-host-resource SIZE 1048576 DMABUF 00000000d3702d7e ATTACH 00000000c06295a8 SGT 0000000052d748d3 DMA_ADDR 0x00000000d0200000 VC_HANDLE c0000005 VC_MAPPING 1

Resource 000000002a75db50 NAME sm-host-resource SIZE 1048576 DMABUF 00000000ee7ba4bb ATTACH 00000000f42ee461 SGT 000000003f3ea06a DMA_ADDR 0x00000000d0100000 VC_HANDLE c0000004 VC_MAPPING 1

Resource 0000000039404f27 NAME sm-host-resource SIZE 1048576 DMABUF 00000000cb8c514f ATTACH 000000007cfde075 SGT 00000000aff7131f DMA_ADDR 0x00000000d0000000 VC_HANDLE c0000003 VC_MAPPING 1

Resource 00000000bf4e0681 NAME sm-host-resource SIZE 1048576 DMABUF 00000000bf0ab10c ATTACH 0000000002ee2278 SGT 0000000088f6eacd DMA_ADDR 0x00000000cff00000 VC_HANDLE c0000002 VC_MAPPING 1

Total resource count: 14


Media Devices

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

Media device information

driver rpivid model rpivid serial
bus info platform:rpivid hw revision 0x0 driver version 6.1.58

Device topology

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

Media device information

driver unicam model unicam serial
bus info platform:fe801000.csi hw revision 0x0 driver version 6.1.58

Device topology

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

Media device information

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

Device topology

media-ctl -d 3 -p Media controller API version 6.1.58

Media device information

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

Device topology

media-ctl -d 4 -p Media controller API version 6.1.58

Media device information

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

Device topology


Cameras

libcamera-hello --list-cameras Available cameras

0 : imx708 [4608x2592 10-bit RGGB] (/base/soc/i2c0mux/i2c@1/imx708@1a) Modes: 'SRGGB10_CSI2P' : 1536x864 [120.13 fps - (768, 432)/3072x1728 crop] 2304x1296 [56.03 fps - (0, 0)/4608x2592 crop] 4608x2592 [14.35 fps - (0, 0)/4608x2592 crop]


Versions

uname -a Linux raspberrypi 6.1.0-rpi6-rpi-v8 #1 SMP PREEMPT Debian 1:6.1.58-1+rpt2 (2023-10-27) aarch64 GNU/Linux

cat /etc/os-release PRETTY_NAME="Raspbian GNU/Linux 12 (bookworm)" NAME="Raspbian GNU/Linux" VERSION_ID="12" VERSION="12 (bookworm)" VERSION_CODENAME=bookworm 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 Oct 17 2023 15:39:16 Copyright (c) 2012 Broadcom version 30f0c5e4d076da3ab4f341d88e7d505760b93ad7 (clean) (release) (start)

libcamera-hello --version libcamera-apps build: f8b05c47894c 23-10-2023 (09:51:59) libcamera build: v0.1.0+99-4a23664b

6by9 commented 1 year ago

OpenCV does not natively support libcamera - https://github.com/opencv/opencv/issues/21653

Please look at the picamera2 examples for using libcamera with OpenCV.

naushir commented 1 year ago

Nothing more to add to @6by9's comment above. You can find the picamera2 examples at https://github.com/raspberrypi/picamera2/tree/main/examples.