Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] UDP Network Stream crashed after a few hours #240

Closed
lazarusCantini opened this issue Jan 31, 2022 · 3 comments
Closed

[BUG] UDP Network Stream crashed after a few hours #240

lazarusCantini opened this issue Jan 31, 2022 · 3 comments

Comments

@lazarusCantini
Copy link

lazarusCantini commented Jan 31, 2022

Describe the bug
ERROR RPISTREAM rpi_stream.cpp:242
I have tried a several Times to hold a stream for continues surveilance via the libcamera app on a headless Raspberry without Preview Window. No try has worked for more than one day. I Shortened the Verbose Bug Report.

Bug report
`--------------------------------------------------------------------------------
libcamera-apps Bug Report

Date: 28-01-2022 (16:58:03)
Command: /usr/local/bin/camera-bug-report -o bug_report_long_stream_4.txt -c libcamera-vid -t 0 -v --width 1080 --height 720 -n --codec mjpeg -o udp://192.168.178.2:8672


Hardware information

** hostname **
raspberrypi

** cat /proc/cpuinfo **
processor : 0
model name : ARMv7 Processor rev 3 (v7l)
BogoMIPS : 270.00
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xd08
CPU revision : 3

processor : 1
model name : ARMv7 Processor rev 3 (v7l)
BogoMIPS : 270.00
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xd08
CPU revision : 3

processor : 2
model name : ARMv7 Processor rev 3 (v7l)
BogoMIPS : 270.00
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xd08
CPU revision : 3

processor : 3
model name : ARMv7 Processor rev 3 (v7l)
BogoMIPS : 270.00
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xd08
CPU revision : 3

Hardware : BCM2711
Revision : b03111
Serial : 1000000048be2eba
Model : Raspberry Pi 4 Model B Rev 1.1


Configuration

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

** cat /boot/config.txt **

For more options and information see

http://rpf.io/configtxt

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

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

#hdmi_safe=1

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

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

#overscan_left=16
#overscan_right=16
#overscan_top=16
#overscan_bottom=16

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

overscan.

#framebuffer_width=1280
#framebuffer_height=720

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

#hdmi_force_hotplug=1

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

#hdmi_group=1
#hdmi_mode=1

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

DMT (computer monitor) modes

#hdmi_drive=2

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

no display

#config_hdmi_boost=4

uncomment for composite PAL

#sdtv_mode=2

#uncomment to overclock the arm. 700 MHz is the default.
#arm_freq=800

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

#dtparam=i2c_arm=on
#dtparam=i2s=on
#dtparam=spi=on

Uncomment this to enable infrared communication.

#dtoverlay=gpio-ir,gpio_pin=17
#dtoverlay=gpio-ir-tx,gpio_pin=18

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

Enable audio (loads snd_bcm2835)

dtparam=audio=on

Automatically load overlays for detected cameras

!!!!!!!!!!!!!Von mir veraendert um einen Bug bei der Kamera App auszubuegeln. Sollte irgendwann vermutlich wieder raus

#camera_auto_detect=0

Automatically load overlays for detected DSI displays

display_auto_detect=1

Enable DRM VC4 V3D driver

!!!!!!!!!!!!!Von mir veraendert um einen Bug bei der Kamera App auszubuegeln. Sollte irgendwann vermutlich wieder raus

#dtoverlay=imx219
max_framebuffers=2

Disable compensation for displays with overscan

disable_overscan=1

[cm4]

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

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

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

otg_mode=1

[all]
#dtoverlay=vc4-kms-v3d
dtoverlay=imx219

[pi4]

Run as fast as firmware / board allows

arm_boost=1

[all]
#dtoverlay=vc4-kms-v3d
gpu_mem=256
dtoverlay=disable-wifi
dtoverlay=disable-bt


Logs

** dmesg **
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 5.10.92-v7l+ (dom@buildbot) (arm-linux-gnueabihf-gcc-8 (Ubuntu/Linaro 8.4.0-3ubuntu1) 8.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #1514 SMP Mon Jan 17 17:38:03 GMT 2022
[ 0.000000] CPU: ARMv7 Processor [410fd083] revision 3 (ARMv7), cr=30c5383d
[ 0.000000] CPU: div instructions available: patching division code
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[ 0.000000] OF: fdt: Machine model: Raspberry Pi 4 Model B Rev 1.1
[ 0.000000] random: fast init done
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] Reserved memory: created CMA memory pool at 0x000000002ac00000, size 64 MiB
[ 0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000000000000-0x000000002fffffff]
[ 0.000000] Normal empty
[ 0.000000] HighMem [mem 0x0000000030000000-0x000000007fffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x000000002fffffff]
[ 0.000000] node 0: [mem 0x0000000040000000-0x000000007fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000007fffffff]
[ 0.000000] On node 0 totalpages: 458752
[ 0.000000] DMA zone: 1728 pages used for memmap
[ 0.000000] DMA zone: 0 pages reserved
[ 0.000000] DMA zone: 196608 pages, LIFO batch:63
[ 0.000000] HighMem zone: 262144 pages, LIFO batch:63
[ 0.000000] percpu: Embedded 20 pages/cpu s50828 r8192 d22900 u81920
[ 0.000000] pcpu-alloc: s50828 r8192 d22900 u81920 alloc=20*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 457024
[ 0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 bcm2708_fb.fbwidth=0 bcm2708_fb.fbheight=0 bcm2708_fb.fbswap=1 smsc95xx.macaddr=DC:A6:32:57:75:50 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 console=ttyAMA0,115200 console=tty1 root=PARTUUID=a8cc43ed-02 rootfstype=ext4 fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles
[ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] software IO TLB: mapped [mem 0x0000000025a00000-0x0000000029a00000] (64MB)
[ 0.000000] Memory: 1667328K/1835008K available (10240K kernel code, 1366K rwdata, 3196K rodata, 2048K init, 882K bss, 102144K reserved, 65536K cma-reserved, 1048576K highmem)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] ftrace: allocating 34360 entries in 101 pages
[ 0.000000] ftrace: allocated 101 pages with 4 groups
[ 0.000000] rcu: Hierarchical RCU implementation.
[ 0.000000] Rude variant of Tasks RCU enabled.
[ 0.000000] Tracing variant of Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] GIC: Using split EOI/Deactivate mode
[ 0.000000] random: get_random_bytes called from start_kernel+0x3c8/0x59c with crng_init=1
[ 0.000008] sched_clock: 32 bits at 1000kHz, resolution 1000ns, wraps every 2147483647500ns
[ 0.000026] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275 ns
[ 0.000085] bcm2835: system timer (irq = 25)
[ 0.000755] arch_timer: cp15 timer(s) running at 54.00MHz (phys).
[ 0.000773] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0xc743ce346, max_idle_ns: 440795203123 ns
[ 0.000791] sched_clock: 56 bits at 54MHz, resolution 18ns, wraps every 4398046511102ns
[ 0.000806] Switching to timer-based delay loop, resolution 18ns
[ 0.001074] Console: colour dummy device 80x30
[ 0.001140] printk: console [tty1] enabled
[ 0.001196] Calibrating delay loop (skipped), value calculated using timer frequency.. 108.00 BogoMIPS (lpj=540000)
[ 0.001229] pid_max: default: 32768 minimum: 301
[ 0.001394] LSM: Security Framework initializing
[ 0.001580] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[ 0.001606] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[ 0.003063] cgroup: Disabling memory control group subsystem
[ 0.003294] CPU: Testing write buffer coherency: ok
[ 0.003752] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.004955] Setting up static identity map for 0x200000 - 0x20003c
[ 0.005152] rcu: Hierarchical SRCU implementation.
[ 0.006087] smp: Bringing up secondary CPUs ...
[ 0.007291] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.008662] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[ 0.009968] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[ 0.010126] smp: Brought up 1 node, 4 CPUs
[ 0.010147] SMP: Total of 4 processors activated (432.00 BogoMIPS).
[ 0.010163] CPU: All CPU(s) started in HYP mode.
[ 0.010177] CPU: Virtualization extensions available.
[ 0.011035] devtmpfs: initialized
[ 0.025747] VFP support v0.3: implementor 41 architecture 3 part 40 variant 8 rev 0
[ 0.025980] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.026009] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 0.027910] pinctrl core: initialized pinctrl subsystem
[ 0.028952] NET: Registered protocol family 16
[ 0.033005] DMA: preallocated 1024 KiB pool for atomic coherent allocations
[ 0.033785] audit: initializing netlink subsys (disabled)
[ 0.034045] audit: type=2000 audit(0.030:1): state=initialized audit_enabled=0 res=1
[ 0.034621] thermal_sys: Registered thermal governor 'step_wise'
[ 0.035425] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.035442] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.035856] Serial: AMBA PL011 UART driver
[ 0.069264] bcm2835-mbox fe00b880.mailbox: mailbox enabled
[ 0.080839] raspberrypi-firmware soc:firmware: Attached to firmware from 2022-01-20T13:56:48, variant start
[ 0.090851] raspberrypi-firmware soc:firmware: Firmware hash is bd88f66f8952d34e4e0613a85c7a6d3da49e13e2
[ 0.131756] Kprobes globally optimized
[ 0.137184] bcm2835-dma fe007000.dma: DMA legacy API manager, dmachans=0x1
[ 0.142097] vgaarb: loaded
[ 0.142581] SCSI subsystem initialized
[ 0.142795] usbcore: registered new interface driver usbfs
[ 0.142866] usbcore: registered new interface driver hub
[ 0.142937] usbcore: registered new device driver usb
[ 0.143294] usb_phy_generic phy: supply vcc not found, using dummy regulator
[ 0.145284] clocksource: Switched to clocksource arch_sys_counter
[ 1.171289] VFS: Disk quotas dquot_6.6.0
[ 1.171393] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 1.171574] FS-Cache: Loaded
[ 1.171748] CacheFiles: Loaded
[ 1.180981] NET: Registered protocol family 2
[ 1.181216] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[ 1.182556] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[ 1.182612] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
[ 1.182757] TCP bind hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 1.182825] TCP: Hash tables configured (established 8192 bind 8192)
[ 1.182989] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[ 1.183027] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[ 1.183258] NET: Registered protocol family 1
[ 1.184029] RPC: Registered named UNIX socket transport module.
[ 1.184045] RPC: Registered udp transport module.
[ 1.184061] RPC: Registered tcp transport module.
[ 1.184076] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 1.184099] PCI: CLS 0 bytes, default 64
[ 1.187168] Initialise system trusted keyrings
[ 1.187423] workingset: timestamp_bits=14 max_order=19 bucket_order=5
[ 1.195729] zbud: loaded
[ 1.197946] FS-Cache: Netfs 'nfs' registered for caching
[ 1.198721] NFS: Registering the id_resolver key type
[ 1.198778] Key type id_resolver registered
[ 1.198793] Key type id_legacy registered
[ 1.198943] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 1.198960] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[ 1.200014] Key type asymmetric registered
[ 1.200031] Asymmetric key parser 'x509' registered
[ 1.200223] bounce: pool size: 64 pages
[ 1.200277] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[ 1.200487] io scheduler mq-deadline registered
[ 1.200504] io scheduler kyber registered
[ 1.205066] brcm-pcie fd500000.pcie: host bridge /scb/pcie@7d500000 ranges:
[ 1.205097] brcm-pcie fd500000.pcie: No bus range found for /scb/pcie@7d500000, using [bus 00-ff]
[ 1.205178] brcm-pcie fd500000.pcie: MEM 0x0600000000..0x063fffffff -> 0x00c0000000
[ 1.205324] brcm-pcie fd500000.pcie: IB MEM 0x0000000000..0x007fffffff -> 0x0400000000
[ 1.267393] brcm-pcie fd500000.pcie: link up, 5.0 GT/s PCIe x1 (SSC)
[ 1.267781] brcm-pcie fd500000.pcie: PCI host bridge to bus 0000:00
[ 1.267802] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 1.267824] pci_bus 0000:00: root bus resource [mem 0x600000000-0x63fffffff] (bus address [0xc0000000-0xffffffff])
[ 1.267916] pci 0000:00:00.0: [14e4:2711] type 01 class 0x060400
[ 1.268160] pci 0000:00:00.0: PME# supported from D0 D3hot
[ 1.271805] PCI: bus0: Fast back to back transfers disabled
[ 1.272175] pci 0000:01:00.0: [1106:3483] type 00 class 0x0c0330
[ 1.272304] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x00000fff 64bit]
[ 1.272742] pci 0000:01:00.0: PME# supported from D0 D3cold
[ 1.276378] PCI: bus1: Fast back to back transfers disabled
[ 1.276476] pci 0000:00:00.0: BAR 8: assigned [mem 0x600000000-0x6000fffff]
[ 1.276501] pci 0000:01:00.0: BAR 0: assigned [mem 0x600000000-0x600000fff 64bit]
[ 1.276583] pci 0000:00:00.0: PCI bridge to [bus 01]
[ 1.276609] pci 0000:00:00.0: bridge window [mem 0x600000000-0x6000fffff]
[ 1.277031] pcieport 0000:00:00.0: enabling device (0140 -> 0142)
[ 1.277263] pcieport 0000:00:00.0: PME: Signaling with IRQ 63
[ 1.278248] bcm2708_fb soc:fb: Unable to determine number of FBs. Disabling driver.
[ 1.278298] bcm2708_fb: probe of soc:fb failed with error -2
[ 1.284392] Serial: 8250/16550 driver, 1 ports, IRQ sharing enabled
[ 1.287468] iproc-rng200 fe104000.rng: hwrng registered
[ 1.287774] vc-mem: phys_addr:0x00000000 mem_base=0x3ec00000 mem_size:0x40000000(1024 MiB)
[ 1.289169] gpiomem-bcm2835 fe200000.gpiomem: Initialised: Registers at 0xfe200000
[ 1.301459] brd: module loaded
[ 1.313728] loop: module loaded
[ 1.315547] Loading iSCSI transport class v2.0-870.
[ 1.318793] libphy: Fixed MDIO Bus: probed
[ 1.320497] bcmgenet fd580000.ethernet: GENET 5.0 EPHY: 0x0000
[ 1.335366] libphy: bcmgenet MII bus: probed
[ 1.435462] unimac-mdio unimac-mdio.-19: Broadcom UniMAC MDIO bus
[ 1.436635] usbcore: registered new interface driver r8152
[ 1.436704] usbcore: registered new interface driver lan78xx
[ 1.436778] usbcore: registered new interface driver smsc95xx
[ 1.438393] xhci_hcd 0000:01:00.0: enabling device (0140 -> 0142)
[ 1.438558] xhci_hcd 0000:01:00.0: xHCI Host Controller
[ 1.438593] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 1
[ 1.441938] xhci_hcd 0000:01:00.0: hcc params 0x002841eb hci version 0x100 quirks 0x00000e0000000890
[ 1.443280] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
[ 1.443299] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.443316] usb usb1: Product: xHCI Host Controller
[ 1.443333] usb usb1: Manufacturer: Linux 5.10.92-v7l+ xhci-hcd
[ 1.443349] usb usb1: SerialNumber: 0000:01:00.0
[ 1.444075] hub 1-0:1.0: USB hub found
[ 1.444175] hub 1-0:1.0: 1 port detected
[ 1.444848] xhci_hcd 0000:01:00.0: xHCI Host Controller
[ 1.444876] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 2
[ 1.444901] xhci_hcd 0000:01:00.0: Host supports USB 3.0 SuperSpeed
[ 1.445502] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.10
[ 1.445520] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.445538] usb usb2: Product: xHCI Host Controller
[ 1.445554] usb usb2: Manufacturer: Linux 5.10.92-v7l+ xhci-hcd
[ 1.445571] usb usb2: SerialNumber: 0000:01:00.0
[ 1.446292] hub 2-0:1.0: USB hub found
[ 1.446393] hub 2-0:1.0: 4 ports detected
[ 1.448135] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[ 1.448450] dwc_otg: FIQ enabled
[ 1.448464] dwc_otg: NAK holdoff enabled
[ 1.448479] dwc_otg: FIQ split-transaction FSM enabled
[ 1.448496] Module dwc_common_port init
[ 1.448919] usbcore: registered new interface driver uas
[ 1.449026] usbcore: registered new interface driver usb-storage
[ 1.449239] mousedev: PS/2 mouse device common for all mice
[ 1.450903] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
[ 1.454328] sdhci: Secure Digital Host Controller Interface driver
[ 1.454343] sdhci: Copyright(c) Pierre Ossman
[ 1.454963] sdhci-pltfm: SDHCI platform and OF driver helper
[ 1.458171] ledtrig-cpu: registered to indicate activity on CPUs
[ 1.458517] hid: raw HID events driver (C) Jiri Kosina
[ 1.458706] usbcore: registered new interface driver usbhid
[ 1.458721] usbhid: USB HID core driver
[ 1.464739] Initializing XFRM netlink socket
[ 1.464781] NET: Registered protocol family 17
[ 1.464887] Key type dns_resolver registered
[ 1.465639] Registering SWP/SWPB emulation handler
[ 1.465807] registered taskstats version 1
[ 1.465835] Loading compiled-in X.509 certificates
[ 1.466697] Key type ._fscrypt registered
[ 1.466714] Key type .fscrypt registered
[ 1.466729] Key type fscrypt-provisioning registered
[ 1.478551] uart-pl011 fe201000.serial: there is not valid maps for state default
[ 1.478815] uart-pl011 fe201000.serial: cts_event_workaround enabled
[ 1.478890] fe201000.serial: ttyAMA0 at MMIO 0xfe201000 (irq = 36, base_baud = 0) is a PL011 rev2
[ 1.486817] printk: console [ttyAMA0] enabled
[ 1.495451] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver
[ 1.498799] of_cfs_init
[ 1.499050] of_cfs_init: OK
[ 1.534319] mmc0: SDHCI controller on fe340000.mmc [fe340000.mmc] using ADMA
[ 1.535243] Waiting for root device PARTUUID=a8cc43ed-02...
[ 1.633626] mmc0: new ultra high speed DDR50 SDHC card at address 0001
[ 1.634591] mmcblk0: mmc0:0001 EB1QT 29.8 GiB
[ 1.636784] mmcblk0: p1 p2
[ 1.665179] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 1.665252] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[ 1.666173] devtmpfs: mounted
[ 1.676291] Freeing unused kernel memory: 2048K
[ 1.715641] Run /sbin/init as init process
[ 1.715656] with arguments:
[ 1.715670] /sbin/init
[ 1.715685] splash
[ 1.715699] with environment:
[ 1.715713] HOME=/
[ 1.715727] TERM=linux
[ 1.735335] usb 1-1: new high-speed USB device number 2 using xhci_hcd
[ 1.928241] usb 1-1: New USB device found, idVendor=2109, idProduct=3431, bcdDevice= 4.21
[ 1.928263] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 1.928280] usb 1-1: Product: USB2.0 Hub
[ 1.930274] hub 1-1:1.0: USB hub found
[ 1.930555] hub 1-1:1.0: 4 ports detected
[ 2.061596] systemd[1]: System time before build time, advancing clock.
[ 2.157610] NET: Registered protocol family 10
[ 2.158985] Segment Routing with IPv6
[ 2.222360] systemd[1]: systemd 247.3-6+rpi1 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +ZSTD +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2 default-hierarchy=unified)
[ 2.223245] systemd[1]: Detected architecture arm.
[ 2.225221] systemd[1]: Set hostname to .
[ 2.357341] uart-pl011 fe201000.serial: no DMA platform data
[ 2.944956] systemd[1]: /lib/systemd/system/plymouth-start.service:16: Unit configured to use KillMode=none. This is unsafe, as it disables systemd's process lifecycle management for the service. Please update your service to use a safer KillMode=, such as 'mixed' or 'control-group'. Support for KillMode=none is deprecated and will eventually be removed.
[ 3.140259] systemd[1]: Queued start job for default target Graphical Interface.
[ 3.141828] random: systemd: uninitialized urandom read (16 bytes read)
[ 3.144289] systemd[1]: Created slice system-getty.slice.
[ 3.144638] random: systemd: uninitialized urandom read (16 bytes read)
[ 3.145788] systemd[1]: Created slice system-modprobe.slice.
[ 3.145907] random: systemd: uninitialized urandom read (16 bytes read)
[ 3.146818] systemd[1]: Created slice system-serial\x2dgetty.slice.
[ 3.147824] systemd[1]: Created slice system-systemd\x2dfsck.slice.
[ 3.148659] systemd[1]: Created slice User and Session Slice.
[ 3.149209] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[ 3.150282] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[ 3.151075] systemd[1]: Reached target Slices.
[ 3.151357] systemd[1]: Reached target Swap.
[ 3.152431] systemd[1]: Listening on Syslog Socket.
[ 3.153172] systemd[1]: Listening on fsck to fsckd communication Socket.
[ 3.153641] systemd[1]: Listening on initctl Compatibility Named Pipe.
[ 3.154745] systemd[1]: Listening on Journal Audit Socket.
[ 3.155897] systemd[1]: Listening on Journal Socket (/dev/log).
[ 3.156862] systemd[1]: Listening on Journal Socket.
[ 3.162340] systemd[1]: Listening on udev Control Socket.
[ 3.163229] systemd[1]: Listening on udev Kernel Socket.
[ 3.164098] systemd[1]: Condition check resulted in Huge Pages File System being skipped.
[ 3.169013] systemd[1]: Mounting POSIX Message Queue File System...
[ 3.174930] systemd[1]: Mounting RPC Pipe File System...
[ 3.181407] systemd[1]: Mounting Kernel Debug File System...
[ 3.188203] systemd[1]: Mounting Kernel Trace File System...
[ 3.188800] systemd[1]: Condition check resulted in Kernel Module supporting RPCSEC_GSS being skipped.
[ 3.200855] systemd[1]: Starting Restore / save the current clock...
[ 3.210479] systemd[1]: Starting Set the console keyboard layout...
[ 3.217653] systemd[1]: Starting Create list of static device nodes for the current kernel...
[ 3.224464] systemd[1]: Starting Load Kernel Module configfs...
[ 3.232265] systemd[1]: Starting Load Kernel Module drm...
[ 3.239754] systemd[1]: Starting Load Kernel Module fuse...
[ 3.248196] systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped.
[ 3.254124] systemd[1]: Starting File System Check on Root Device...
[ 3.270099] systemd[1]: Starting Journal Service...
[ 3.279807] systemd[1]: Starting Load Kernel Modules...
[ 3.286979] systemd[1]: Starting Coldplug All udev Devices...
[ 3.292968] fuse: init (API version 7.32)
[ 3.308239] systemd[1]: Mounted POSIX Message Queue File System.
[ 3.309109] systemd[1]: Mounted RPC Pipe File System.
[ 3.309889] systemd[1]: Mounted Kernel Debug File System.
[ 3.323412] systemd[1]: Mounted Kernel Trace File System.
[ 3.325908] systemd[1]: Finished Create list of static device nodes for the current kernel.
[ 3.328786] systemd[1]: modprobe@configfs.service: Succeeded.
[ 3.330203] systemd[1]: Finished Load Kernel Module configfs.
[ 3.332640] systemd[1]: modprobe@fuse.service: Succeeded.
[ 3.334185] systemd[1]: Finished Load Kernel Module fuse.
[ 3.347763] systemd[1]: Mounting FUSE Control File System...
[ 3.360301] systemd[1]: Mounting Kernel Configuration File System...
[ 3.371839] systemd[1]: Started File System Check Daemon to report status.
[ 3.374018] i2c /dev entries driver
[ 3.406757] systemd[1]: Finished Restore / save the current clock.
[ 3.408910] systemd[1]: modprobe@drm.service: Succeeded.
[ 3.410542] systemd[1]: Finished Load Kernel Module drm.
[ 3.413147] systemd[1]: Finished Load Kernel Modules.
[ 3.414221] systemd[1]: Mounted FUSE Control File System.
[ 3.445761] systemd[1]: Starting Apply Kernel Variables...
[ 3.464454] systemd[1]: Mounted Kernel Configuration File System.
[ 3.509821] systemd[1]: Finished Apply Kernel Variables.
[ 3.550785] systemd[1]: Finished File System Check on Root Device.
[ 3.556606] systemd[1]: Starting Remount Root and Kernel File Systems...
[ 3.598903] systemd[1]: Started Journal Service.
[ 3.718256] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[ 3.783649] systemd-journald[133]: Received client request to flush runtime journal.
[ 3.802619] systemd-journald[133]: File /var/log/journal/86e24053a87844d8a883148b7c0d4f2e/system.journal corrupted or uncleanly shut down, renaming and replacing.
[ 4.896221] rpivid-mem feb00000.hevc-decoder: rpivid-hevcmem initialised: Registers at 0xfeb00000 length 0x00010000
[ 4.896802] rpivid-mem feb10000.rpivid-local-intc: rpivid-intcmem initialised: Registers at 0xfeb10000 length 0x00001000
[ 4.897328] rpivid-mem feb20000.h264-decoder: rpivid-h264mem initialised: Registers at 0xfeb20000 length 0x00010000
[ 4.897871] rpivid-mem feb30000.vp9-decoder: rpivid-vp9mem initialised: Registers at 0xfeb30000 length 0x00010000
[ 5.043785] mc: Linux media interface: v0.10
[ 5.079049] videodev: Linux video capture interface: v2.00
[ 5.120459] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned.
[ 5.120934] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned.
[ 5.122583] bcm2835_vc_sm_cma_probe: Videocore shared memory driver
[ 5.122609] [vc_sm_connected_init]: start
[ 5.123867] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.
[ 5.126523] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned.
[ 5.135688] [vc_sm_connected_init]: installed successfully
[ 5.138553] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[ 5.138560] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[ 5.149393] bcm2835_audio bcm2835_audio: card created with 8 channels
[ 5.151919] bcm2835_isp: module is from the staging directory, the quality is unknown, you have been warned.
[ 5.153076] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned.
[ 5.159066] bcm2835_codec: module is from the staging directory, the quality is unknown, you have been warned.
[ 5.167649] bcm2835-isp bcm2835-isp: Device node output[0] registered as /dev/video13
[ 5.168160] bcm2835-isp bcm2835-isp: Device node capture[0] registered as /dev/video14
[ 5.168556] bcm2835-isp bcm2835-isp: Device node capture[1] registered as /dev/video15
[ 5.168854] bcm2835-isp bcm2835-isp: Device node stats[2] registered as /dev/video16
[ 5.168883] bcm2835-isp bcm2835-isp: Register output node 0 with media controller
[ 5.168908] bcm2835-isp bcm2835-isp: Register capture node 1 with media controller
[ 5.168931] bcm2835-isp bcm2835-isp: Register capture node 2 with media controller
[ 5.168954] bcm2835-isp bcm2835-isp: Register capture node 3 with media controller
[ 5.181148] bcm2835-isp bcm2835-isp: Device node output[0] registered as /dev/video20
[ 5.186001] bcm2835-isp bcm2835-isp: Device node capture[0] registered as /dev/video21
[ 5.186718] bcm2835-isp bcm2835-isp: Device node capture[1] registered as /dev/video22
[ 5.187158] bcm2835-isp bcm2835-isp: Device node stats[2] registered as /dev/video23
[ 5.187187] bcm2835-isp bcm2835-isp: Register output node 0 with media controller
[ 5.187194] bcm2835-codec bcm2835-codec: Device registered as /dev/video10
[ 5.187226] bcm2835-isp bcm2835-isp: Register capture node 1 with media controller
[ 5.187238] bcm2835-codec bcm2835-codec: Loaded V4L2 decode
[ 5.187256] bcm2835-isp bcm2835-isp: Register capture node 2 with media controller
[ 5.187279] bcm2835-isp bcm2835-isp: Register capture node 3 with media controller
[ 5.187580] bcm2835-isp bcm2835-isp: Loaded V4L2 bcm2835-isp
[ 5.201859] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned.
[ 5.204538] bcm2835-codec bcm2835-codec: Device registered as /dev/video11
[ 5.204583] bcm2835-codec bcm2835-codec: Loaded V4L2 encode
[ 5.225921] bcm2835-codec bcm2835-codec: Device registered as /dev/video12
[ 5.225966] bcm2835-codec bcm2835-codec: Loaded V4L2 isp
[ 5.234192] bcm2835-codec bcm2835-codec: Device registered as /dev/video18
[ 5.234261] bcm2835-codec bcm2835-codec: Loaded V4L2 image_fx
[ 5.245860] i2c i2c-22: Added multiplexed i2c bus 0
[ 5.247017] i2c i2c-22: Added multiplexed i2c bus 10
[ 6.668063] 8021q: 802.1Q VLAN Support v1.8
[ 7.021060] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 7.025450] Adding 102396k swap on /var/swap. Priority:-2 extents:1 across:102396k SSFS
[ 7.055509] imx219 10-0010: Consider updating driver imx219 to match on endpoints
[ 7.121065] random: crng init done
[ 7.121079] random: 7 urandom warning(s) missed due to ratelimiting
[ 7.146182] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 7.205283] cfg80211: loaded regulatory.db is malformed or signature is missing/invalid
[ 7.408308] bcmgenet fd580000.ethernet: configuring instance for external RGMII (RX delay)
[ 7.411743] bcmgenet fd580000.ethernet eth0: Link is Down
[ 11.595530] bcmgenet fd580000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[ 11.595559] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 13.038038] ICMPv6: process `dhcpcd' is using deprecated sysctl (syscall) net.ipv6.neigh.eth0.retrans_time - use net.ipv6.neigh.eth0.retrans_time_ms instead
[ 31.835338] cam-dummy-reg: disabling
[ 31.835361] cam1-reg: disabling

** sudo vcdbg log msg **
004688.004: arasan: arasan_emmc_open
005136.309: brfs: File read: /mfs/sd/config.txt
005137.434: brfs: File read: 2434 bytes
005187.857: HDMI0:EDID error reading EDID block 0 attempt 0
005193.881: HDMI0:EDID error reading EDID block 0 attempt 1
005199.906: HDMI0:EDID error reading EDID block 0 attempt 2
005205.928: HDMI0:EDID error reading EDID block 0 attempt 3
005211.953: HDMI0:EDID error reading EDID block 0 attempt 4
005217.976: HDMI0:EDID error reading EDID block 0 attempt 5
005224.001: HDMI0:EDID error reading EDID block 0 attempt 6
005230.023: HDMI0:EDID error reading EDID block 0 attempt 7
005236.047: HDMI0:EDID error reading EDID block 0 attempt 8
005242.070: HDMI0:EDID error reading EDID block 0 attempt 9
005243.085: HDMI0:EDID giving up on reading EDID block 0
005263.451: HDMI1:EDID error reading EDID block 0 attempt 0
005269.474: HDMI1:EDID error reading EDID block 0 attempt 1
005275.498: HDMI1:EDID error reading EDID block 0 attempt 2
005281.521: HDMI1:EDID error reading EDID block 0 attempt 3
005287.545: HDMI1:EDID error reading EDID block 0 attempt 4
005293.567: HDMI1:EDID error reading EDID block 0 attempt 5
005299.591: HDMI1:EDID error reading EDID block 0 attempt 6
005305.614: HDMI1:EDID error reading EDID block 0 attempt 7
005311.639: HDMI1:EDID error reading EDID block 0 attempt 8
005317.661: HDMI1:EDID error reading EDID block 0 attempt 9
005318.676: HDMI1:EDID giving up on reading EDID block 0
005320.481: brfs: File read: /mfs/sd/config.txt
006605.660: gpioman: gpioman_get_pin_num: pin DISPLAY_DSI_PORT not defined
006608.183: *** Restart logging
006608.203: brfs: File read: 2434 bytes
006613.727: hdmi: HDMI0:EDID error reading EDID block 0 attempt 0
006619.755: hdmi: HDMI0:EDID error reading EDID block 0 attempt 1
006625.780: hdmi: HDMI0:EDID error reading EDID block 0 attempt 2
006631.806: hdmi: HDMI0:EDID error reading EDID block 0 attempt 3
006637.831: hdmi: HDMI0:EDID error reading EDID block 0 attempt 4
006643.857: hdmi: HDMI0:EDID error reading EDID block 0 attempt 5
006649.881: hdmi: HDMI0:EDID error reading EDID block 0 attempt 6
006655.909: hdmi: HDMI0:EDID error reading EDID block 0 attempt 7
006661.932: hdmi: HDMI0:EDID error reading EDID block 0 attempt 8
006667.959: hdmi: HDMI0:EDID error reading EDID block 0 attempt 9
006668.975: hdmi: HDMI0:EDID giving up on reading EDID block 0
006674.020: hdmi: HDMI0:EDID error reading EDID block 0 attempt 0
006680.047: hdmi: HDMI0:EDID error reading EDID block 0 attempt 1
006686.072: hdmi: HDMI0:EDID error reading EDID block 0 attempt 2
006692.098: hdmi: HDMI0:EDID error reading EDID block 0 attempt 3
006698.123: hdmi: HDMI0:EDID error reading EDID block 0 attempt 4
006704.149: hdmi: HDMI0:EDID error reading EDID block 0 attempt 5
006710.173: hdmi: HDMI0:EDID error reading EDID block 0 attempt 6
006716.200: hdmi: HDMI0:EDID error reading EDID block 0 attempt 7
006722.224: hdmi: HDMI0:EDID error reading EDID block 0 attempt 8
006728.250: hdmi: HDMI0:EDID error reading EDID block 0 attempt 9
006729.265: hdmi: HDMI0:EDID giving up on reading EDID block 0
006729.285: hdmi: HDMI:hdmi_get_state is deprecated, use hdmi_get_display_state instead
006734.328: hdmi: HDMI1:EDID error reading EDID block 0 attempt 0
006740.352: hdmi: HDMI1:EDID error reading EDID block 0 attempt 1
006746.379: hdmi: HDMI1:EDID error reading EDID block 0 attempt 2
006752.403: hdmi: HDMI1:EDID error reading EDID block 0 attempt 3
006758.431: hdmi: HDMI1:EDID error reading EDID block 0 attempt 4
006764.455: hdmi: HDMI1:EDID error reading EDID block 0 attempt 5
006770.482: hdmi: HDMI1:EDID error reading EDID block 0 attempt 6
006776.506: hdmi: HDMI1:EDID error reading EDID block 0 attempt 7
006782.533: hdmi: HDMI1:EDID error reading EDID block 0 attempt 8
006788.557: hdmi: HDMI1:EDID error reading EDID block 0 attempt 9
006789.575: hdmi: HDMI1:EDID giving up on reading EDID block 0
006794.615: hdmi: HDMI1:EDID error reading EDID block 0 attempt 0
006800.639: hdmi: HDMI1:EDID error reading EDID block 0 attempt 1
006806.666: hdmi: HDMI1:EDID error reading EDID block 0 attempt 2
006812.690: hdmi: HDMI1:EDID error reading EDID block 0 attempt 3
006818.717: hdmi: HDMI1:EDID error reading EDID block 0 attempt 4
006824.741: hdmi: HDMI1:EDID error reading EDID block 0 attempt 5
006830.767: hdmi: HDMI1:EDID error reading EDID block 0 attempt 6
006836.792: hdmi: HDMI1:EDID error reading EDID block 0 attempt 7
006842.818: hdmi: HDMI1:EDID error reading EDID block 0 attempt 8
006848.842: hdmi: HDMI1:EDID error reading EDID block 0 attempt 9
006849.860: hdmi: HDMI1:EDID giving up on reading EDID block 0
006849.877: hdmi: HDMI:hdmi_get_state is deprecated, use hdmi_get_display_state instead
006849.890: HDMI0: hdmi_pixel_encoding: 300000000
006849.904: HDMI1: hdmi_pixel_encoding: 300000000
006854.668: dtb_file 'bcm2711-rpi-4-b.dtb'
006860.581: brfs: File read: /mfs/sd/bcm2711-rpi-4-b.dtb
006860.598: Loading 'bcm2711-rpi-4-b.dtb' to 0x100 size 0xc957
006873.808: brfs: File read: 51543 bytes
006886.684: brfs: File read: /mfs/sd/overlays/overlay_map.dtb
006953.545: brfs: File read: 1703 bytes
006955.985: brfs: File read: /mfs/sd/config.txt
006956.482: dtparam: audio=on
006967.009: brfs: File read: 2434 bytes
006974.706: brfs: File read: /mfs/sd/overlays/imx219.dtbo
007013.504: Loaded overlay 'imx219'
007067.762: brfs: File read: 2951 bytes
007071.432: brfs: File read: /mfs/sd/overlays/disable-wifi.dtbo
007080.117: Loaded overlay 'disable-wifi'
007094.076: brfs: File read: 387 bytes
007098.574: brfs: File read: /mfs/sd/overlays/disable-bt.dtbo
007113.224: Loaded overlay 'disable-bt'
007154.913: brfs: File read: 1073 bytes
007156.808: brfs: File read: /mfs/sd/cmdline.txt
007156.852: Read command line from file 'cmdline.txt':
007156.864: 'console=serial0,115200 console=tty1 root=PARTUUID=a8cc43ed-02 rootfstype=ext4 fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles'
007263.832: brfs: File read: 148 bytes
007879.079: brfs: File read: /mfs/sd/kernel7l.img
007879.101: Loading 'kernel7l.img' to 0x8000 size 0x679a48
007879.126: Device tree loaded to 0x2eff2e00 (size 0xd12a)
007909.639: gpioman: gpioman_get_pin_num: pin SDCARD_CONTROL_POWER not defined
010399.331: vchiq_core: vchiq_init_state: slot_zero = 0xead80000, is_master = 1

** sudo vcdbg log assert **
No messages available

** sudo vcdbg log ex **
No exceptions found


Memory

** cat /proc/meminfo **
MemTotal: 1734912 kB
MemFree: 68064 kB
MemAvailable: 64248 kB
Buffers: 14360 kB
Cached: 44344 kB
SwapCached: 3340 kB
Active: 104484 kB
Inactive: 1508404 kB
Active(anon): 61152 kB
Inactive(anon): 1492948 kB
Active(file): 43332 kB
Inactive(file): 15456 kB
Unevictable: 16 kB
Mlocked: 16 kB
HighTotal: 1048576 kB
HighFree: 7208 kB
LowTotal: 686336 kB
LowFree: 60856 kB
SwapTotal: 102396 kB
SwapFree: 9984 kB
Dirty: 272 kB
Writeback: 16 kB
AnonPages: 1550764 kB
Mapped: 26196 kB
Shmem: 76 kB
KReclaimable: 12936 kB
Slab: 29568 kB
SReclaimable: 12936 kB
SUnreclaim: 16632 kB
KernelStack: 1304 kB
PageTables: 8316 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 969852 kB
Committed_AS: 3570316 kB
VmallocTotal: 245760 kB
VmallocUsed: 3736 kB
VmallocChunk: 0 kB
Percpu: 528 kB
CmaTotal: 65536 kB
CmaFree: 23792 kB

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

Dma-buf Objects:
size flags mode count exp_name ino
00032768 00000002 00080007 00000001 heap_helpers 04380653 ls_grid
Attached Devices:
Total 0 devices attached

Total 1 objects, 32768 bytes

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

VC-ServiceHandle 63786843

Resources

Resource fb9c9bf1
NAME sm-host-resource
SIZE 32768
DMABUF 244c3ff3
ATTACH 00000000
SGT 00000000
DMA_ADDR 0x00000000eadc8000
VC_HANDLE c000000d
VC_MAPPING 2

Total resource count: 1


Media Devices

** media-ctl -d 0 -p **
Media controller API version 5.10.92

Media device information

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

Device topology

  • entity 1: bcm2835_isp0 (4 pads, 4 links)
    type Node subtype Unknown flags 0
    pad0: Sink
    <- "bcm2835-isp0-output0":0 [ENABLED,IMMUTABLE]
    pad1: Source
    -> "bcm2835-isp0-capture1":0 [ENABLED,IMMUTABLE]
    pad2: Source
    -> "bcm2835-isp0-capture2":0 [ENABLED,IMMUTABLE]
    pad3: Source
    -> "bcm2835-isp0-capture3":0 [ENABLED,IMMUTABLE]

  • entity 6: bcm2835-isp0-output0 (1 pad, 1 link)
    type Node subtype V4L flags 0
    device node name /dev/video13
    pad0: Source
    -> "bcm2835_isp0":0 [ENABLED,IMMUTABLE]

  • entity 12: bcm2835-isp0-capture1 (1 pad, 1 link)
    type Node subtype V4L flags 0
    device node name /dev/video14
    pad0: Sink
    <- "bcm2835_isp0":1 [ENABLED,IMMUTABLE]

  • entity 18: bcm2835-isp0-capture2 (1 pad, 1 link)
    type Node subtype V4L flags 0
    device node name /dev/video15
    pad0: Sink
    <- "bcm2835_isp0":2 [ENABLED,IMMUTABLE]

  • entity 24: bcm2835-isp0-capture3 (1 pad, 1 link)
    type Node subtype V4L flags 0
    device node name /dev/video16
    pad0: Sink
    <- "bcm2835_isp0":3 [ENABLED,IMMUTABLE]

** media-ctl -d 1 -p **
Media controller API version 5.10.92

Media device information

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

Device topology

  • entity 1: bcm2835_isp0 (4 pads, 4 links)
    type Node subtype Unknown flags 0
    pad0: Sink
    <- "bcm2835-isp0-output0":0 [ENABLED,IMMUTABLE]
    pad1: Source
    -> "bcm2835-isp0-capture1":0 [ENABLED,IMMUTABLE]
    pad2: Source
    -> "bcm2835-isp0-capture2":0 [ENABLED,IMMUTABLE]
    pad3: Source
    -> "bcm2835-isp0-capture3":0 [ENABLED,IMMUTABLE]

  • entity 6: bcm2835-isp0-output0 (1 pad, 1 link)
    type Node subtype V4L flags 0
    device node name /dev/video20
    pad0: Source
    -> "bcm2835_isp0":0 [ENABLED,IMMUTABLE]

  • entity 12: bcm2835-isp0-capture1 (1 pad, 1 link)
    type Node subtype V4L flags 0
    device node name /dev/video21
    pad0: Sink
    <- "bcm2835_isp0":1 [ENABLED,IMMUTABLE]

  • entity 18: bcm2835-isp0-capture2 (1 pad, 1 link)
    type Node subtype V4L flags 0
    device node name /dev/video22
    pad0: Sink
    <- "bcm2835_isp0":2 [ENABLED,IMMUTABLE]

  • entity 24: bcm2835-isp0-capture3 (1 pad, 1 link)
    type Node subtype V4L flags 0
    device node name /dev/video23
    pad0: Sink
    <- "bcm2835_isp0":3 [ENABLED,IMMUTABLE]

** media-ctl -d 2 -p **
Media controller API version 5.10.92

Media device information

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

Device topology

  • entity 1: imx219 10-0010 (2 pads, 2 links)
    type V4L2 subdev subtype Sensor flags 0
    device node name /dev/v4l-subdev0
    pad0: Source
    [fmt:SBGGR10_1X10/1920x1080 field:none colorspace:raw xfer:none ycbcr:601 quantization:full-range
    crop.bounds:(8,8)/3280x2464
    crop:(688,700)/1920x1080]
    -> "unicam-image":0 [ENABLED,IMMUTABLE]
    pad1: Source
    [fmt:unknown/16384x1 field:none
    crop.bounds:(8,8)/3280x2464
    crop:(688,700)/1920x1080]
    -> "unicam-embedded":0 [ENABLED,IMMUTABLE]

  • entity 4: unicam-image (1 pad, 1 link)
    type Node subtype V4L flags 1
    device node name /dev/video0
    pad0: Sink
    <- "imx219 10-0010":0 [ENABLED,IMMUTABLE]

  • entity 10: unicam-embedded (1 pad, 1 link)
    type Node subtype V4L flags 0
    device node name /dev/video1
    pad0: Sink
    <- "imx219 10-0010":1 [ENABLED,IMMUTABLE]

** media-ctl -d 3 -p **
Media controller API version 5.10.92

Media device information

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

Device topology

  • entity 1: bcm2835-codec-decode-source (1 pad, 1 link)
    type Node subtype V4L flags 0
    device node name /dev/video10
    pad0: Source
    -> "bcm2835-codec-decode-proc":0 [ENABLED,IMMUTABLE]

  • entity 3: bcm2835-codec-decode-proc (2 pads, 2 links)
    type Node subtype Unknown flags 0
    pad0: Sink
    <- "bcm2835-codec-decode-source":0 [ENABLED,IMMUTABLE]
    pad1: Source
    -> "bcm2835-codec-decode-sink":0 [ENABLED,IMMUTABLE]

  • entity 6: bcm2835-codec-decode-sink (1 pad, 1 link)
    type Node subtype V4L flags 0
    device node name /dev/video10
    pad0: Sink
    <- "bcm2835-codec-decode-proc":1 [ENABLED,IMMUTABLE]

  • entity 15: bcm2835-codec-encode-source (1 pad, 1 link)
    type Node subtype V4L flags 0
    device node name /dev/video11
    pad0: Source
    -> "bcm2835-codec-encode-proc":0 [ENABLED,IMMUTABLE]

  • entity 17: bcm2835-codec-encode-proc (2 pads, 2 links)
    type Node subtype Unknown flags 0
    pad0: Sink
    <- "bcm2835-codec-encode-source":0 [ENABLED,IMMUTABLE]
    pad1: Source
    -> "bcm2835-codec-encode-sink":0 [ENABLED,IMMUTABLE]

  • entity 20: bcm2835-codec-encode-sink (1 pad, 1 link)
    type Node subtype V4L flags 0
    device node name /dev/video11
    pad0: Sink
    <- "bcm2835-codec-encode-proc":1 [ENABLED,IMMUTABLE]

  • entity 29: bcm2835-codec-isp-source (1 pad, 1 link)
    type Node subtype V4L flags 0
    device node name /dev/video12
    pad0: Source
    -> "bcm2835-codec-isp-proc":0 [ENABLED,IMMUTABLE]

  • entity 31: bcm2835-codec-isp-proc (2 pads, 2 links)
    type Node subtype Unknown flags 0
    pad0: Sink
    <- "bcm2835-codec-isp-source":0 [ENABLED,IMMUTABLE]
    pad1: Source
    -> "bcm2835-codec-isp-sink":0 [ENABLED,IMMUTABLE]

  • entity 34: bcm2835-codec-isp-sink (1 pad, 1 link)
    type Node subtype V4L flags 0
    device node name /dev/video12
    pad0: Sink
    <- "bcm2835-codec-isp-proc":1 [ENABLED,IMMUTABLE]

  • entity 43: bcm2835-codec-image_fx-source (1 pad, 1 link)
    type Node subtype V4L flags 0
    device node name /dev/video18
    pad0: Source
    -> "bcm2835-codec-image_fx-proc":0 [ENABLED,IMMUTABLE]

  • entity 45: bcm2835-codec-image_fx-proc (2 pads, 2 links)
    type Node subtype Unknown flags 0
    pad0: Sink
    <- "bcm2835-codec-image_fx-source":0 [ENABLED,IMMUTABLE]
    pad1: Source
    -> "bcm2835-codec-image_fx-sink":0 [ENABLED,IMMUTABLE]

  • entity 48: bcm2835-codec-image_fx-sink (1 pad, 1 link)
    type Node subtype V4L flags 0
    device node name /dev/video18
    pad0: Sink
    <- "bcm2835-codec-image_fx-proc":1 [ENABLED,IMMUTABLE]

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


Cameras

** libcamera-vid --list-cameras **
[79:28:56.396482483] [15441] INFO Camera camera_manager.cpp:293 libcamera v0.0.0+3384-44d59841
[79:28:56.460710157] [15443] WARN RPI raspberrypi.cpp:1202 Mismatch between Unicam and CamHelper for embedded data usage!
[79:28:56.461376311] [15443] INFO RPI raspberrypi.cpp:1313 Registered camera /base/soc/i2c0mux/i2c@1/imx219@10 to Unicam device /dev/media2 and ISP device /dev/media0
Available cameras

0 : imx219 [3280x2464] (/base/soc/i2c0mux/i2c@1/imx219@10)
Modes: 'SBGGR10_CSI2P' : 640x480 1640x1232 1920x1080 3280x2464
'SBGGR8' : 640x480 1640x1232 1920x1080 3280x2464


Versions

** uname -a **
Linux raspberrypi 5.10.92-v7l+ #1514 SMP Mon Jan 17 17:38:03 GMT 2022 armv7l GNU/Linux

** cat /etc/os-release **
PRETTY_NAME="Raspbian GNU/Linux 11 (bullseye)"
NAME="Raspbian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"

** vcgencmd version **
Jan 20 2022 13:56:48
Copyright (c) 2012 Broadcom
version bd88f66f8952d34e4e0613a85c7a6d3da49e13e2 (clean) (release) (start)

** libcamera-vid --version **
libcamera-apps build: 14e32b7-intree 28-01-2022 (09:42:37)
libcamera build: v0.0.0+3384-44d59841


libcamera-vid -t 0 -v --width 1080 --height 720 -n --codec mjpeg -o udp://192.168.178.2:8672

Options:
verbose: 1
info_text:#%frame (%fps fps) exp %exp ag %ag dg %dg
timeout: 0
width: 1080
height: 720
output: udp://192.168.178.2:8672
post_process_file:
rawfull: 0
preview: none
qt-preview: 0
transform: identity
roi: all
metering: centre
exposure: normal
ev: 0
awb: auto
flush: false
wrap: 0
brightness: 0
contrast: 1
saturation: 1
sharpness: 1
framerate: 30
denoise: auto
viewfinder-width: 0
viewfinder-height: 0
tuning-file: (libcamera)
lores-width: 0
lores-height: 0
mode: unspecified
viewfinder-mode: unspecified
bitrate: 0
profile:
level:
intra: 0
inline: 0
save-pts:
codec: mjpeg
quality (for MJPEG): 50
keypress: 0
signal: 0
initial: record
split: 0
segment: 0
circular: 0
Running without preview window
Opening camera...
[7:44:17.872144812] [4601] INFO Camera camera_manager.cpp:293 libcamera v0.0.0+3384-44d59841
[7:44:17.928134489] [4602] WARN RPI raspberrypi.cpp:1202 Mismatch between Unicam and CamHelper for embedded data usage!
[7:44:17.929035215] [4602] INFO RPI raspberrypi.cpp:1313 Registered camera /base/soc/i2c0mux/i2c@1/imx219@10 to Unicam device /dev/media2 and ISP device /dev/media0
Acquired camera /base/soc/i2c0mux/i2c@1/imx219@10
Configuring video...
[7:44:17.940633721] [4601] INFO Camera camera.cpp:1028 configuring streams: (0) 1080x720-YUV420
[7:44:17.940982363] [4602] INFO RPI raspberrypi.cpp:738 Sensor: /base/soc/i2c0mux/i2c@1/imx219@10 - Selected sensor format: 1920x1080-SBGGR10_1X10 - Selected unicam format: 1920x1080-pBAA
Camera streams configured
Buffers allocated and mapped
Video setup complete
Opened MjpegEncoder
Requests created
[7:44:18.050150785] [4613] INFO IPARPI raspberrypi.cpp:626 Request ctrl: Saturation = 1.000000
[7:44:18.050327078] [4613] INFO IPARPI raspberrypi.cpp:626 Request ctrl: Contrast = 1.000000
[7:44:18.050366540] [4613] INFO IPARPI raspberrypi.cpp:626 Request ctrl: Brightness = 0.000000
[7:44:18.050395503] [4613] INFO IPARPI raspberrypi.cpp:626 Request ctrl: AwbMode = 0
[7:44:18.050419780] [4613] INFO IPARPI raspberrypi.cpp:626 Request ctrl: Sharpness = 1.000000
[7:44:18.050446595] [4613] INFO IPARPI raspberrypi.cpp:626 Request ctrl: ExposureValue = 0.000000
[7:44:18.050516427] [4613] INFO IPARPI raspberrypi.cpp:626 Request ctrl: AeExposureMode = 0
[7:44:18.050560111] [4613] INFO IPARPI raspberrypi.cpp:626 Request ctrl: FrameDurationLimits = [ 33333, 33333 ]
[7:44:18.050589129] [4613] INFO IPARPI raspberrypi.cpp:626 Request ctrl: AeMeteringMode = 0
[7:44:18.050611555] [4613] INFO IPARPI raspberrypi.cpp:626 Request ctrl: NoiseReductionMode = 1
[7:44:18.051301728] [4602] INFO RPISTREAM rpi_stream.cpp:133 No buffers available for ISP Output0
[7:44:18.051351524] [4602] INFO RPISTREAM rpi_stream.cpp:133 No buffers available for ISP Output0
[7:44:18.051369709] [4602] INFO RPISTREAM rpi_stream.cpp:133 No buffers available for ISP Output0
[7:44:18.051385801] [4602] INFO RPISTREAM rpi_stream.cpp:133 No buffers available for ISP Output0
[7:44:18.051401930] [4602] INFO RPISTREAM rpi_stream.cpp:133 No buffers available for ISP Output0
[7:44:18.051418041] [4602] INFO RPISTREAM rpi_stream.cpp:133 No buffers available for ISP Output0
Camera started!
Viewfinder frame 0
NetOutput: output buffer 0xb500d008 size 72105
Viewfinder frame 1
NetOutput: output buffer 0xafb24468 size 72204
Viewfinder frame 2
NetOutput: output buffer 0xb17249b0 size 70014
Viewfinder frame 3
NetOutput: output buffer 0xb17249b0 size 69989
Viewfinder frame 4
NetOutput: output buffer 0xaf924468 size 69957
Viewfinder frame 5
NetOutput: output buffer 0xb17249b0 size 69830
Viewfinder frame 6
NetOutput: output buffer 0xb17249b0 size 69701
Viewfinder frame 7
NetOutput: output buffer 0xb17249b0 size 69674
Viewfinder frame 8
Viewfinder frame 9
NetOutput: output buffer 0xb0524468 size 69814
NetOutput: output buffer 0xafb24468 size 69789
Viewfinder frame 10
NetOutput: output buffer 0xafb24468 size 69561
Viewfinder frame 11
Viewfinder frame 12
NetOutput: output buffer 0xaf924468 size 69763
Viewfinder frame 13
NetOutput: output buffer 0xafb24468 size 69579
Viewfinder frame 14
NetOutput: output buffer 0xb0524468 size 69665
NetOutput: output buffer 0xb17249b0 size 69506
Viewfinder frame 15
Viewfinder frame 16
NetOutput: output buffer 0xaf924468 size 69696
NetOutput: output buffer 0xafb24468 size 69562
Viewfinder frame 17
NetOutput: output buffer 0xb0524468 size 69436
Viewfinder frame 18
Viewfinder frame 19
NetOutput: output buffer 0xb17249b0 size 69359
NetOutput: output buffer 0xb0524468 size 69280
Viewfinder frame 20
NetOutput: output buffer 0xafb24468 size 69526
Viewfinder frame 21
Viewfinder frame 22
...
.
.
...
Viewfinder frame 85892
NetOutput: output buffer 0xafb14660 size 64345
NetOutput: output buffer 0xaf914860 size 64277
Viewfinder frame 85893
Viewfinder frame 85894
NetOutput: output buffer 0xb0514a60 size 64278
NetOutput: output buffer 0xb17149a8 size 64390
Viewfinder frame 85895
Viewfinder frame 85896
NetOutput: output buffer 0xafb14660 size 64400
NetOutput: output buffer 0xaf914860 size 64370
Viewfinder frame 85897
Viewfinder frame 85898
NetOutput: output buffer 0xb0514a60 size 64201
NetOutput: output buffer 0xaf914860 size 64337
Viewfinder frame 85899
Viewfinder frame 85900
NetOutput: output buffer 0xafb14660 size 64395
NetOutput: output buffer 0xb0514a60 size 64316
Viewfinder frame 85901
NetOutput: output buffer 0xb17149a8 size 64239
Viewfinder frame 85902
Viewfinder frame 85903
NetOutput: output buffer 0xafb14660 size 64278
NetOutput: output buffer 0xb17149a8 size 64302
Viewfinder frame 85904
Viewfinder frame 85905
Viewfinder frame 85906
NetOutput: output buffer 0xaf914860 size 64298
NetOutput: output buffer 0xb0514a60 size 64419
NetOutput: output buffer 0xafb14660 size 64287
Viewfinder frame 85907
Viewfinder frame 85908
NetOutput: output buffer 0xb17149a8 size 64443
NetOutput: output buffer 0xaf914860 size 64404
Viewfinder frame 85909
NetOutput: output buffer 0xb0514a60 size 64418
Viewfinder frame 85910
NetOutput: output buffer 0xb17149a8 size 64182
Viewfinder frame 85911
Viewfinder frame 85912
NetOutput: output buffer 0xb17149a8 size 64375
Viewfinder frame 85913
NetOutput: output buffer 0xb0514a60 size 64275
NetOutput: output buffer 0xb1716360 size 64173
Viewfinder frame 85914
[8:32:07.920215288] [4602] ERROR RPISTREAM rpi_stream.cpp:242
NetOutput: output buffer 0xb0514a60 size 64422
Error: ***** INTERRUPT *****
`

@lazarusCantini lazarusCantini changed the title [BUG] UDP Network Stream crashed after 14 hours [BUG] UDP Network Stream crashed after a few hours Jan 31, 2022
@davidplowman
Copy link
Collaborator

Hi, thanks for reporting this. Actually I think it looks the same as some of the other recent reports, and we're investigating right now.

@naushir
Copy link
Collaborator

naushir commented Feb 1, 2022

We have identified the cause of this problem, and a fix has been submitted for review/merge here. Hopefully this should be merged very soon.

kbingham pushed a commit to kbingham/libcamera that referenced this issue Feb 1, 2022
…nput stream

The ISP input stream currently only allocates a single slot in the
V4L2VideoDevice cache as it follows the number of buffers allocated for use.
However, this is wrong as the ISP input stream imports buffers from Unicam
image stream.  As a consequence of this, only one cache slot was used during
runtime for the ISP input stream, and if multiple buffers were to be queued
simultaneously, the queue operation would return a failure.

Fix this by passing the same number of RAW buffers available from the Unicam
image stream. Additionally, double this count in the cases where buffers could
be allocated externally from the application.

Bug: raspberrypi/rpicam-apps#236
Bug: raspberrypi/rpicam-apps#238
Bug: raspberrypi/rpicam-apps#240
Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
Reviewed-by: David Plowman <david.plowman@raspberrypi.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
@naushir
Copy link
Collaborator

naushir commented Feb 2, 2022

The fixes for this issue have now been merged. You can get the latest libraries by doing:

sudo apt update
sudo apt upgrade

I'll close this issue down now, please re-open if you still have problems.

@naushir naushir closed this as completed Feb 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants