mainsail-crew / crowsnest

Webcam Service for multiple Cams
GNU General Public License v3.0
314 stars 74 forks source link

Stream Problems with 2 Cameras #106

Closed sahck2003 closed 5 months ago

sahck2003 commented 1 year ago

What happened

Hello, I have two cameras on my system and use the developer version of Crowsnest. I use this because I have connected an RPI3 camera. The other is a Logitech C270

If I set both cams to multi, both cameras no longer work. If I only set the RPI3 Camera to Multi and the C270 to mjpg, the Stream from the C270 does not work. I Can see only the RPI3 Stream.

What did you expect to happen

Both streams should work

How to reproduce

Change the mode mpjg to multi for the C270

Additional information

[crowsnest] log_path: ~/printer_data/logs/crowsnest.log log_level: verbose # Valid Options are quiet/verbose/debug delete_log: false # Deletes log on every restart, if set to true

[cam picam] mode: multi # mjpg/multi - Multi uses webrtc, mjpg and snapshots at the same time enable_rtsp: false # If multi is used, this enables also usage of an rtsp server rtsp_port: 8554 # Set different ports for each device! port: 8080 # HTTP/MJPG Stream/Snapshot Port device: /base/soc/i2c0mux/i2c@1/imx708@1a # See Log for available ... resolution: 4608×2592 # widthxheight format max_fps: 30 # If Hardware Supports this it will be forced, otherwise ignored/coerced.

custom_flags: # You can run the Stream Services with custom flags.

v4l2ctl: # Add v4l2-ctl parameters to setup your camera, see Log what your cam is capable of.

[cam c270] mode: mjpg # mjpg/multi - Multi uses webrtc, mjpg and snapshots at the same time enable_rtsp: false # If multi is used, this enables also usage of an rtsp server rtsp_port: 8555 # Set different ports for each device! port: 8081 # HTTP/MJPG Stream/Snapshot Port device: /dev/video2 # See Log for available ... resolution: 1268x800 # widthxheight format max_fps: 30 # If Hardware Supports this it will be forced, otherwise ignored/coerced.

custom_flags: # You can run the Stream Services with custom flags.

v4l2ctl: # Add v4l2-ctl parameters to setup your camera, see Log what your cam is capable of.

sahck2003 commented 1 year ago

The Stream works. That was my Fault. But two Cameras on mode Multi are not working for me.

KwadFan commented 1 year ago

Hey @sahck2003,

Thanks for reporting this, but

  1. You are running the develop branch, which the implies, its a developing branch and not for production use.
  2. This branch has currently no support and we do not handle bug reports yet.
  3. You are using waaaayyy to high resolutions a raspberry pi HW encoder, which camera-streamer uses, is limited to 1080p@60FPS overall. This means it shares it for all cameras... Dont expect wonders please, its a pi not an full GPU like in a PC...

So, I will not close this yet to keep track of, but I think it wont get better due hardware limitations.

Regards Kwad

sahck2003 commented 1 year ago

Hey @KwadFan, I just wanted to report this because a feedback on the developer branch was desired. At least that's how I read it :) I also don't expect this bug to be fixed in this Branch. I just wanted to leave some feedback.

Regards sahck2003

KwadFan commented 1 year ago

Great, in that regard, your submit is welcome. Thanks.

ayufan commented 1 year ago

@sahck2003 I need logs, /boot/config.txt and dmesg.

sahck2003 commented 1 year ago

Hello , here are the logs.

config.txt

Details

``` # 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 camera_auto_detect=1 # Automatically load overlays for detected DSI displays display_auto_detect=1 # Enable DRM VC4 V3D driver dtoverlay=vc4-kms-v3d max_framebuffers=2 # Disable compensation for displays with overscan disable_overscan=1 [cm4] # Enable host mode on the 2711 built-in XHCI USB controller. # This line should be removed if the legacy DWC2 controller is required # (e.g. for USB device mode) or if USB support is not required. otg_mode=1 gpu_mem=256 [all] [pi4] # Run as fast as firmware / board allows arm_boost=1 [all] #################################################### #### MainsailOS specific configurations #### #################################################### #### DO NOT CHANGE SECTION BELOW !!! #### #### UNLESS YOU KNOW WHAT YOU ARE DOING !!! #### #################################################### ## For more options and information see ## https://www.raspberrypi.com/documentation/computers/config_txt.html ## Some settings may impact device functionality. See link above for details ## For additional information about device filters see ## https://www.raspberrypi.com/documentation/computers/config_txt.html#model-filters [pi0] ## This affects Pi Zero(W) and Pi Zero2 ## Due lag of RAM, limit GPU RAM gpu_mem=256 [pi2] gpu_mem=256 [pi3] ## Use 256 if 1Gb Ram Model! gpu_mem=256 [pi4] ## Do not use more than 256Mb on Pi Model 4, it uses its own Management. gpu_mem=256 [all] ## SPI Interface is enabled by default for Input Shaper ## This colides with Hyperpixel Display! ## Hyperpixel Screen uses the same Pin for Backlight. dtparam=spi=on ## Enable Hardware UART for Serial Communication ## This also disables Bluetooth! enable_uart=1 dtoverlay=disable-bt ## Disable libcamera (interferes with ustreamer, when using raspicams) camera_auto_detect=1 ## Enable VideoCore at boot, needed for Crowsnest (Raspicams and DSI devices). camera_auto_detect=1 ### EXPERIMENTAL - Enable 64bit Kernel ### The 64-bit kernel will only work on: ### Raspberry Pi 3, 3+, 4, 400, Zero 2 W and 2B rev 1.2 ### and Raspberry Pi Compute Modules 3, 3+ and 4. # arm_64bit=1 #################################################### [all] start_x=1 ```

dmesg

Details

``` [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 6.1.19-v7+ (dom@buildbot) (arm-linux-gnueabihf-gcc-8 (Ubuntu/Linaro 8.4.0-3ubuntu1) 8.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #1637 SMP Tue Mar 14 11:04:52 GMT 2023 [ 0.000000] CPU: ARMv7 Processor [410fd034] revision 4 (ARMv7), cr=10c5383d [ 0.000000] CPU: div instructions available: patching division code [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] OF: fdt: Machine model: Raspberry Pi 3 Model B Rev 1.2 [ 0.000000] random: crng init done [ 0.000000] Memory policy: Data cache writealloc [ 0.000000] Reserved memory: created CMA memory pool at 0x1ec00000, size 256 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] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000000000000-0x000000002fffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000002fffffff] [ 0.000000] percpu: Embedded 17 pages/cpu s36884 r8192 d24556 u69632 [ 0.000000] pcpu-alloc: s36884 r8192 d24556 u69632 alloc=17*4096 [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 194880 [ 0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_headphones=0 snd_bcm2835.enable_headphones=1 snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_hdmi=0 video=Composite-1:720x480@60i vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 console=tty1 root=PARTUUID=46291a7d-02 rootfstype=ext4 fsck.repair=yes rootwait [ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear) [ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear) [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off [ 0.000000] Memory: 498216K/786432K available (10240K kernel code, 1452K rwdata, 2900K rodata, 1024K init, 613K bss, 26072K reserved, 262144K cma-reserved) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 [ 0.000000] ftrace: allocating 34798 entries in 103 pages [ 0.000000] ftrace: allocated 102 pages with 4 groups [ 0.000000] trace event string verifier disabled [ 0.000000] rcu: Hierarchical RCU implementation. [ 0.000000] Rude variant of Tasks RCU enabled. [ 0.000000] Tracing variant of Tasks RCU enabled. [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. [ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16 [ 0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention. [ 0.000000] arch_timer: cp15 timer(s) running at 19.20MHz (phys). [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x46d987e47, max_idle_ns: 440795202767 ns [ 0.000001] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns [ 0.000018] Switching to timer-based delay loop, resolution 52ns [ 0.000391] Console: colour dummy device 80x30 [ 0.001014] printk: console [tty1] enabled [ 0.001081] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=192000) [ 0.001127] pid_max: default: 32768 minimum: 301 [ 0.001286] LSM: Security Framework initializing [ 0.001509] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear) [ 0.001553] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear) [ 0.002728] cgroup: Disabling memory control group subsystem [ 0.002983] CPU: Testing write buffer coherency: ok [ 0.003425] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 [ 0.004290] cblist_init_generic: Setting adjustable number of callback queues. [ 0.004328] cblist_init_generic: Setting shift to 2 and lim to 1. [ 0.004457] cblist_init_generic: Setting shift to 2 and lim to 1. [ 0.004617] Setting up static identity map for 0x100000 - 0x10003c [ 0.004775] rcu: Hierarchical SRCU implementation. [ 0.004800] rcu: Max phase no-delay instances is 1000. [ 0.005523] smp: Bringing up secondary CPUs ... [ 0.006453] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 [ 0.007408] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002 [ 0.008287] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003 [ 0.008390] smp: Brought up 1 node, 4 CPUs [ 0.008475] SMP: Total of 4 processors activated (153.60 BogoMIPS). [ 0.008502] CPU: All CPU(s) started in HYP mode. [ 0.008521] CPU: Virtualization extensions available. [ 0.009242] devtmpfs: initialized [ 0.025206] VFP support v0.3: implementor 41 architecture 3 part 40 variant 3 rev 4 [ 0.025455] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.025511] futex hash table entries: 1024 (order: 4, 65536 bytes, linear) [ 0.035655] pinctrl core: initialized pinctrl subsystem [ 0.036876] NET: Registered PF_NETLINK/PF_ROUTE protocol family [ 0.040020] DMA: preallocated 1024 KiB pool for atomic coherent allocations [ 0.045174] audit: initializing netlink subsys (disabled) [ 0.045430] audit: type=2000 audit(0.040:1): state=initialized audit_enabled=0 res=1 [ 0.046049] thermal_sys: Registered thermal governor 'step_wise' [ 0.046937] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers. [ 0.046991] hw-breakpoint: maximum watchpoint size is 8 bytes. [ 0.047262] Serial: AMBA PL011 UART driver [ 0.054502] platform 3f101000.cprman: Fixed dependency cycle(s) with /soc/dsi@7e700000 [ 0.055001] bcm2835-mbox 3f00b880.mailbox: mailbox enabled [ 0.060212] platform 3f801000.csi: Fixed dependency cycle(s) with /soc/i2c0mux/i2c@1/imx708@1a [ 0.080083] raspberrypi-firmware soc:firmware: Attached to firmware from 2023-03-17T10:53:39, variant start_x [ 0.090096] raspberrypi-firmware soc:firmware: Firmware hash is 82f3750a65fadae9a38077e3c2e217ad158c8d54 [ 0.133129] kprobes: kprobe jump-optimization is enabled. All kprobes are optimized if possible. [ 0.138489] bcm2835-dma 3f007000.dma: DMA legacy API manager, dmachans=0x1 [ 0.140233] SCSI subsystem initialized [ 0.140490] usbcore: registered new interface driver usbfs [ 0.140572] usbcore: registered new interface driver hub [ 0.140641] usbcore: registered new device driver usb [ 0.140891] usb_phy_generic phy: supply vcc not found, using dummy regulator [ 0.141080] usb_phy_generic phy: dummy supplies not allowed for exclusive requests [ 0.141371] pps_core: LinuxPPS API ver. 1 registered [ 0.141396] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti [ 0.141446] PTP clock support registered [ 2.018711] clocksource: Switched to clocksource arch_sys_counter [ 2.115301] VFS: Disk quotas dquot_6.6.0 [ 2.115423] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 2.115597] FS-Cache: Loaded [ 2.115966] CacheFiles: Loaded [ 2.125685] NET: Registered PF_INET protocol family [ 2.126011] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear) [ 2.128662] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear) [ 2.128769] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear) [ 2.128818] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear) [ 2.128955] TCP bind hash table entries: 8192 (order: 5, 131072 bytes, linear) [ 2.129303] TCP: Hash tables configured (established 8192 bind 8192) [ 2.129456] UDP hash table entries: 512 (order: 2, 16384 bytes, linear) [ 2.129528] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear) [ 2.129765] NET: Registered PF_UNIX/PF_LOCAL protocol family [ 2.130322] RPC: Registered named UNIX socket transport module. [ 2.130351] RPC: Registered udp transport module. [ 2.130373] RPC: Registered tcp transport module. [ 2.130393] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 2.132315] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 7 counters available [ 2.135416] Initialise system trusted keyrings [ 2.135712] workingset: timestamp_bits=14 max_order=18 bucket_order=4 [ 2.145132] zbud: loaded [ 2.147573] NFS: Registering the id_resolver key type [ 2.147639] Key type id_resolver registered [ 2.147662] Key type id_legacy registered [ 2.147810] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 2.147839] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering... [ 2.149175] Key type asymmetric registered [ 2.149203] Asymmetric key parser 'x509' registered [ 2.149386] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247) [ 2.149420] io scheduler mq-deadline registered [ 2.149444] io scheduler kyber registered [ 2.155008] simple-framebuffer 3ea81000.framebuffer: framebuffer at 0x3ea81000, 0x177000 bytes [ 2.155074] simple-framebuffer 3ea81000.framebuffer: format=a8r8g8b8, mode=800x480x32, linelength=3200 [ 2.160314] Console: switching to colour frame buffer device 100x30 [ 2.167295] simple-framebuffer 3ea81000.framebuffer: fb0: simplefb registered! [ 2.173245] Serial: 8250/16550 driver, 1 ports, IRQ sharing enabled [ 2.177648] bcm2835-rng 3f104000.rng: hwrng registered [ 2.180633] vc-mem: phys_addr:0x00000000 mem_base=0x3ec00000 mem_size:0x40000000(1024 MiB) [ 2.184068] gpiomem-bcm2835 3f200000.gpiomem: Initialised: Registers at 0x3f200000 [ 2.197881] brd: module loaded [ 2.207919] loop: module loaded [ 2.211146] Loading iSCSI transport class v2.0-870. [ 2.215187] usbcore: registered new interface driver lan78xx [ 2.217825] usbcore: registered new interface driver smsc95xx [ 2.220423] dwc_otg: version 3.00a 10-AUG-2012 (platform bus) [ 2.951059] Core Release: 2.80a [ 2.953550] Setting default values for core params [ 2.956023] Finished setting default values for core params [ 3.158775] Using Buffer DMA mode [ 3.161237] Periodic Transfer Interrupt Enhancement - disabled [ 3.163723] Multiprocessor Interrupt Enhancement - disabled [ 3.166167] OTG VER PARAM: 0, OTG VER FLAG: 0 [ 3.168634] Dedicated Tx FIFOs mode [ 3.171688] WARN::dwc_otg_hcd_init:1074: FIQ DMA bounce buffers: virt = 9ed04000 dma = 0xded04000 len=9024 [ 3.178887] FIQ FSM acceleration enabled for : Non-periodic Split Transactions Periodic Split Transactions High-Speed Isochronous Endpoints Interrupt/Control Split Transaction hack enabled [ 3.190198] dwc_otg: Microframe scheduler enabled [ 3.190318] WARN::hcd_init_fiq:457: FIQ on core 1 [ 3.194514] WARN::hcd_init_fiq:458: FIQ ASM at 807c40e0 length 36 [ 3.198604] WARN::hcd_init_fiq:497: MPHI regs_base at b0810000 [ 3.202776] dwc_otg 3f980000.usb: DWC OTG Controller [ 3.204985] dwc_otg 3f980000.usb: new USB bus registered, assigned bus number 1 [ 3.207236] dwc_otg 3f980000.usb: irq 89, io mem 0x00000000 [ 3.209469] Init: Port Power? op_state=1 [ 3.211625] Init: Power Port (0) [ 3.213935] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.01 [ 3.216185] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 3.218409] usb usb1: Product: DWC OTG Controller [ 3.220610] usb usb1: Manufacturer: Linux 6.1.19-v7+ dwc_otg_hcd [ 3.222815] usb usb1: SerialNumber: 3f980000.usb [ 3.225619] hub 1-0:1.0: USB hub found [ 3.227858] hub 1-0:1.0: 1 port detected [ 3.230614] dwc_otg: FIQ enabled [ 3.230624] dwc_otg: NAK holdoff enabled [ 3.230632] dwc_otg: FIQ split-transaction FSM enabled [ 3.230648] Module dwc_common_port init [ 3.230954] usbcore: registered new interface driver usb-storage [ 3.233244] mousedev: PS/2 mouse device common for all mice [ 3.237857] sdhci: Secure Digital Host Controller Interface driver [ 3.240036] sdhci: Copyright(c) Pierre Ossman [ 3.242450] sdhci-pltfm: SDHCI platform and OF driver helper [ 3.246545] ledtrig-cpu: registered to indicate activity on CPUs [ 3.249209] hid: raw HID events driver (C) Jiri Kosina [ 3.251554] usbcore: registered new interface driver usbhid [ 3.253758] usbhid: USB HID core driver [ 3.260094] Initializing XFRM netlink socket [ 3.262344] NET: Registered PF_PACKET protocol family [ 3.264621] Key type dns_resolver registered [ 3.267471] Registering SWP/SWPB emulation handler [ 3.270250] registered taskstats version 1 [ 3.272381] Loading compiled-in X.509 certificates [ 3.275261] Key type .fscrypt registered [ 3.277319] Key type fscrypt-provisioning registered [ 3.290554] uart-pl011 3f201000.serial: there is not valid maps for state default [ 3.292969] uart-pl011 3f201000.serial: cts_event_workaround enabled [ 3.295190] 3f201000.serial: ttyAMA0 at MMIO 0x3f201000 (irq = 114, base_baud = 0) is a PL011 rev2 [ 3.301477] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer [ 3.304013] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver [ 3.307571] mmc-bcm2835 3f300000.mmcnr: mmc_debug:0 mmc_debug2:0 [ 3.309968] mmc-bcm2835 3f300000.mmcnr: DMA channel allocated [ 3.340170] sdhost: log_buf @ 64612f1b (ded07000) [ 3.358833] Indeed it is in host mode hprt0 = 00021501 [ 3.392053] mmc0: sdhost-bcm2835 loaded - DMA enabled (>1) [ 3.400593] of_cfs_init [ 3.402997] of_cfs_init: OK [ 3.406326] Waiting for root device PARTUUID=46291a7d-02... [ 3.429241] mmc0: host does not support reading read-only switch, assuming write-enable [ 3.435117] mmc0: new high speed SDHC card at address 5048 [ 3.438348] mmcblk0: mmc0:5048 SD32G 29.7 GiB [ 3.444481] mmcblk0: p1 p2 [ 3.447543] mmcblk0: mmc0:5048 SD32G 29.7 GiB (quirks 0x00004000) [ 3.468835] EXT4-fs (mmcblk0p2): INFO: recovery required on readonly filesystem [ 3.471255] EXT4-fs (mmcblk0p2): write access will be enabled during recovery [ 3.491414] mmc1: new high speed SDIO card at address 0001 [ 3.578740] usb 1-1: new high-speed USB device number 2 using dwc_otg [ 3.581391] Indeed it is in host mode hprt0 = 00001101 [ 3.743300] EXT4-fs (mmcblk0p2): recovery complete [ 3.748277] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Quota mode: none. [ 3.750907] VFS: Mounted root (ext4 filesystem) readonly on device 179:2. [ 3.761638] devtmpfs: mounted [ 3.769661] Freeing unused kernel image (initmem) memory: 1024K [ 3.772573] Run /sbin/init as init process [ 3.774946] with arguments: [ 3.774953] /sbin/init [ 3.774961] with environment: [ 3.774967] HOME=/ [ 3.774974] TERM=linux [ 3.819015] usb 1-1: New USB device found, idVendor=0424, idProduct=9514, bcdDevice= 2.00 [ 3.821541] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 3.824709] hub 1-1:1.0: USB hub found [ 3.827262] hub 1-1:1.0: 5 ports detected [ 4.158752] usb 1-1.1: new high-speed USB device number 3 using dwc_otg [ 4.285079] systemd[1]: System time before build time, advancing clock. [ 4.289088] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00, bcdDevice= 2.00 [ 4.291785] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 4.297132] smsc95xx v2.0.0 [ 4.470576] SMSC LAN8700 usb-001:003:01: attached PHY driver (mii_bus:phy_addr=usb-001:003:01, irq=199) [ 4.476703] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-3f980000.usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:fb:81:fb [ 4.558899] NET: Registered PF_INET6 protocol family [ 4.563261] Segment Routing with IPv6 [ 4.566091] In-situ OAM (IOAM) with IPv6 [ 4.578742] usb 1-1.3: new high-speed USB device number 4 using dwc_otg [ 4.641888] systemd[1]: systemd 247.3-7+rpi1+deb11u1 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +ZSTD +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2 default-hierarchy=unified) [ 4.651816] systemd[1]: Detected architecture arm. [ 4.689987] systemd[1]: Set hostname to . [ 4.920938] usb 1-1.3: New USB device found, idVendor=046d, idProduct=0825, bcdDevice= 0.12 [ 4.923934] usb 1-1.3: New USB device strings: Mfr=0, Product=0, SerialNumber=2 [ 4.926969] usb 1-1.3: SerialNumber: B8BEA520 [ 5.038784] usb 1-1.4: new full-speed USB device number 5 using dwc_otg [ 5.205813] usb 1-1.4: New USB device found, idVendor=1d50, idProduct=614e, bcdDevice= 1.00 [ 5.208844] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 5.211738] usb 1-1.4: Product: stm32f446xx [ 5.214556] usb 1-1.4: Manufacturer: Klipper [ 5.217307] usb 1-1.4: SerialNumber: 430030000450335331383520 [ 5.518750] usb 1-1.5: new full-speed USB device number 6 using dwc_otg [ 5.652187] usb 1-1.5: New USB device found, idVendor=1d50, idProduct=606f, bcdDevice= 0.00 [ 5.654895] usb 1-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 5.657469] usb 1-1.5: Product: budgetcan gs_usb [ 5.660039] usb 1-1.5: Manufacturer: budgetcan [ 5.662548] usb 1-1.5: SerialNumber: 004F003A5542501020303939 [ 5.836500] systemd[1]: Queued start job for default target Multi-User System. [ 5.893030] systemd[1]: Created slice system-getty.slice. [ 5.900080] systemd[1]: Created slice system-modprobe.slice. [ 5.906576] systemd[1]: Created slice system-systemd\x2dfsck.slice. [ 5.912940] systemd[1]: Created slice User and Session Slice. [ 5.918866] systemd[1]: Started Dispatch Password Requests to Console Directory Watch. [ 5.924727] systemd[1]: Started Forward Password Requests to Wall Directory Watch. [ 5.931574] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point. [ 5.940671] systemd[1]: Reached target Local Encrypted Volumes. [ 5.947529] systemd[1]: Reached target Paths. [ 5.954040] systemd[1]: Reached target Slices. [ 5.960263] systemd[1]: Reached target Swap. [ 5.967590] systemd[1]: Listening on Syslog Socket. [ 5.974426] systemd[1]: Listening on fsck to fsckd communication Socket. [ 5.981097] systemd[1]: Listening on initctl Compatibility Named Pipe. [ 5.988496] systemd[1]: Listening on Journal Audit Socket. [ 5.995474] systemd[1]: Listening on Journal Socket (/dev/log). [ 6.002644] systemd[1]: Listening on Journal Socket. [ 6.013776] systemd[1]: Listening on udev Control Socket. [ 6.020555] systemd[1]: Listening on udev Kernel Socket. [ 6.027308] systemd[1]: Condition check resulted in Huge Pages File System being skipped. [ 6.069192] systemd[1]: Mounting POSIX Message Queue File System... [ 6.080321] systemd[1]: Mounting RPC Pipe File System... [ 6.092393] systemd[1]: Mounting Kernel Debug File System... [ 6.104812] systemd[1]: Mounting Kernel Trace File System... [ 6.112075] systemd[1]: Condition check resulted in Kernel Module supporting RPCSEC_GSS being skipped. [ 6.124877] systemd[1]: Starting Restore / save the current clock... [ 6.137688] systemd[1]: Starting Set the console keyboard layout... [ 6.150685] systemd[1]: Starting Create list of static device nodes for the current kernel... [ 6.165154] systemd[1]: Starting Load Kernel Module configfs... [ 6.179619] systemd[1]: Starting Load Kernel Module drm... [ 6.193385] systemd[1]: Starting Load Kernel Module fuse... [ 6.218336] systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped. [ 6.230709] systemd[1]: Starting File System Check on Root Device... [ 6.252980] systemd[1]: Starting Journal Service... [ 6.286521] systemd[1]: Starting Load Kernel Modules... [ 6.289624] fuse: init (API version 7.37) [ 6.307922] systemd[1]: Starting Coldplug All udev Devices... [ 6.362012] systemd[1]: Mounted POSIX Message Queue File System. [ 6.369444] systemd[1]: Mounted RPC Pipe File System. [ 6.376903] systemd[1]: Mounted Kernel Debug File System. [ 6.384095] systemd[1]: Mounted Kernel Trace File System. [ 6.392571] systemd[1]: Finished Restore / save the current clock. [ 6.404459] systemd[1]: Finished Create list of static device nodes for the current kernel. [ 6.413078] systemd[1]: modprobe@configfs.service: Succeeded. [ 6.417955] systemd[1]: Finished Load Kernel Module configfs. [ 6.426780] systemd[1]: modprobe@fuse.service: Succeeded. [ 6.439150] systemd[1]: Finished Load Kernel Module fuse. [ 6.451167] systemd[1]: Finished Load Kernel Modules. [ 6.463213] systemd[1]: modprobe@drm.service: Succeeded. [ 6.467407] systemd[1]: Finished Load Kernel Module drm. [ 6.539361] systemd[1]: Mounting FUSE Control File System... [ 6.560240] systemd[1]: Mounting Kernel Configuration File System... [ 6.572685] systemd[1]: Started File System Check Daemon to report status. [ 6.596190] systemd[1]: Starting Apply Kernel Variables... [ 6.630106] systemd[1]: Started Journal Service. [ 6.875788] EXT4-fs (mmcblk0p2): re-mounted. Quota mode: none. [ 7.010399] systemd-journald[137]: Received client request to flush runtime journal. [ 7.035718] systemd-journald[137]: File /var/log/journal/ff8e78c26c28cef17168d92f63b04506/system.journal corrupted or uncleanly shut down, renaming and replacing. [ 8.463068] mc: Linux media interface: v0.10 [ 8.464149] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned. [ 8.466681] bcm2835_vc_sm_cma_probe: Videocore shared memory driver [ 8.466717] [vc_sm_connected_init]: start [ 8.490282] [vc_sm_connected_init]: installed successfully [ 8.573503] videodev: Linux video capture interface: v2.00 [ 8.715293] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned. [ 8.752837] bcm2835_audio bcm2835_audio: card created with 8 channels [ 8.762360] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned. [ 8.771935] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned. [ 8.793188] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned. [ 8.814892] bcm2835_isp: module is from the staging directory, the quality is unknown, you have been warned. [ 8.843056] bcm2835_codec: module is from the staging directory, the quality is unknown, you have been warned. [ 8.844526] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned. [ 8.872660] bcm2835-codec bcm2835-codec: Device registered as /dev/video10 [ 8.872723] bcm2835-codec bcm2835-codec: Loaded V4L2 decode [ 8.882640] bcm2835-isp bcm2835-isp: Device node output[0] registered as /dev/video13 [ 8.883217] bcm2835-isp bcm2835-isp: Device node capture[0] registered as /dev/video14 [ 8.883649] bcm2835-isp bcm2835-isp: Device node capture[1] registered as /dev/video15 [ 8.891222] bcm2835-isp bcm2835-isp: Device node stats[2] registered as /dev/video16 [ 8.891267] bcm2835-isp bcm2835-isp: Register output node 0 with media controller [ 8.891290] bcm2835-isp bcm2835-isp: Register capture node 1 with media controller [ 8.891307] bcm2835-isp bcm2835-isp: Register capture node 2 with media controller [ 8.891324] bcm2835-isp bcm2835-isp: Register capture node 3 with media controller [ 8.896811] bcm2835-codec bcm2835-codec: Device registered as /dev/video11 [ 8.896866] bcm2835-codec bcm2835-codec: Loaded V4L2 encode [ 8.902026] bcm2835-isp bcm2835-isp: Device node output[0] registered as /dev/video20 [ 8.902698] bcm2835-codec bcm2835-codec: Device registered as /dev/video12 [ 8.902708] bcm2835-isp bcm2835-isp: Device node capture[0] registered as /dev/video21 [ 8.902746] bcm2835-codec bcm2835-codec: Loaded V4L2 isp [ 8.903160] bcm2835-isp bcm2835-isp: Device node capture[1] registered as /dev/video22 [ 8.903608] bcm2835-isp bcm2835-isp: Device node stats[2] registered as /dev/video23 [ 8.903638] bcm2835-isp bcm2835-isp: Register output node 0 with media controller [ 8.903664] bcm2835-isp bcm2835-isp: Register capture node 1 with media controller [ 8.903694] bcm2835-isp bcm2835-isp: Register capture node 2 with media controller [ 8.903711] bcm2835-isp bcm2835-isp: Register capture node 3 with media controller [ 8.903910] bcm2835-isp bcm2835-isp: Loaded V4L2 bcm2835-isp [ 8.919197] bcm2835-codec bcm2835-codec: Device registered as /dev/video18 [ 8.919276] bcm2835-codec bcm2835-codec: Loaded V4L2 image_fx [ 8.922163] bcm2835-codec bcm2835-codec: Device registered as /dev/video31 [ 8.922213] bcm2835-codec bcm2835-codec: Loaded V4L2 encode_image [ 8.974149] i2c i2c-11: Added multiplexed i2c bus 0 [ 8.975822] i2c i2c-11: Added multiplexed i2c bus 10 [ 9.400941] cfg80211: Loading compiled-in X.509 certificates for regulatory database [ 9.553319] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7' [ 9.576185] cfg80211: loaded regulatory.db is malformed or signature is missing/invalid [ 9.608943] cdc_acm 1-1.4:1.0: ttyACM0: USB ACM device [ 9.609869] usbcore: registered new interface driver cdc_acm [ 9.609893] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters [ 9.657364] usb 1-1.3: Found UVC 1.00 device (046d:0825) [ 9.752465] CAN device driver interface [ 9.780115] input: UVC Camera (046d:0825) as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.3/1-1.3:1.0/input/input0 [ 9.780604] usbcore: registered new interface driver uvcvideo [ 9.790469] gs_usb 1-1.5:1.0: Configuring for 1 interfaces [ 9.792211] usbcore: registered new interface driver gs_usb [ 10.043669] usb 1-1.3: set resolution quirk: cval->res = 384 [ 10.044690] usbcore: registered new interface driver snd-usb-audio [ 10.062900] brcmfmac: F1 signature read @0x18000000=0x1541a9a6 [ 10.068290] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43430-sdio for chip BCM43430/1 [ 10.069827] usbcore: registered new interface driver brcmfmac [ 10.304994] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM43430/1 wl0: Jul 19 2021 03:24:18 version 7.45.98 (TOB) (56df937 CY) FWID 01-8e14b897 [ 11.385383] 8021q: 802.1Q VLAN Support v1.8 [ 11.601110] Adding 262140k swap on /var/swap. Priority:-2 extents:4 across:327676k SSFS [ 11.612910] vc4_dsi 3f700000.dsi: Failed to create device link (0x180) with 0.reg_bridge [ 11.613784] vc4_dsi 3f700000.dsi: Failed to create device link (0x180) with 0.panel_disp1 [ 11.614208] edt_ft5x06 10-0038: supply iovcc not found, using dummy regulator [ 11.662305] imx708 10-001a: camera module ID 0x0302 [ 11.667491] imx708 10-001a: Consider updating driver imx708 to match on endpoints [ 11.682035] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup [ 11.686353] smsc95xx 1-1.1:1.0 eth0: Link is Up - 100Mbps/Full - flow control off [ 11.686788] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 11.920863] Console: switching to colour dummy device 80x30 [ 11.934982] vc4-drm soc:gpu: bound 3f400000.hvs (ops vc4_hvs_ops [vc4]) [ 11.941070] Registered IR keymap rc-cec [ 11.946252] rc rc0: vc4-hdmi as /devices/platform/soc/3f902000.hdmi/rc/rc0 [ 11.972348] input: vc4-hdmi as /devices/platform/soc/3f902000.hdmi/rc/rc0/input1 [ 11.982398] vc4-drm soc:gpu: bound 3f902000.hdmi (ops vc4_hdmi_ops [vc4]) [ 12.001644] vc4-drm soc:gpu: bound 3f700000.dsi (ops vc4_dsi_ops [vc4]) [ 12.002477] vc4-drm soc:gpu: bound 3f004000.txp (ops vc4_txp_ops [vc4]) [ 12.003017] vc4-drm soc:gpu: bound 3f206000.pixelvalve (ops vc4_crtc_ops [vc4]) [ 12.004207] vc4-drm soc:gpu: bound 3f207000.pixelvalve (ops vc4_crtc_ops [vc4]) [ 12.007619] vc4-drm soc:gpu: bound 3f807000.pixelvalve (ops vc4_crtc_ops [vc4]) [ 12.008109] vc4-drm soc:gpu: bound 3fc00000.v3d (ops vc4_v3d_ops [vc4]) [ 12.048958] [drm] Initialized vc4 0.0.0 20140616 for soc:gpu on minor 0 [ 12.077943] input: generic ft5x06 (00) as /devices/platform/soc/3f205000.i2c/i2c-11/i2c-10/10-0038/input/input2 [ 12.485746] Console: switching to colour frame buffer device 100x30 [ 12.488302] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save disabled [ 12.506286] vc4-drm soc:gpu: [drm] fb0: vc4drmfb frame buffer device [ 13.405645] IPv6: ADDRCONF(NETDEV_CHANGE): can0: link becomes ready [ 13.833373] ICMPv6: process `dhcpcd' is using deprecated sysctl (syscall) net.ipv6.neigh.eth0.retrans_time - use net.ipv6.neigh.eth0.retrans_time_ms instead [ 22.858797] usb 1-1.3: reset high-speed USB device number 4 using dwc_otg [ 26.548773] usb 1-1.3: reset high-speed USB device number 4 using dwc_otg [ 26.980497] can: controller area network core [ 26.980576] NET: Registered PF_CAN protocol family [ 26.999496] can: raw protocol [ 31.408816] usb 1-1.3: reset high-speed USB device number 4 using dwc_otg [ 34.528842] usb 1-1.3: reset high-speed USB device number 4 using dwc_otg [ 61.571242] ------------[ cut here ]------------ [ 61.571259] WARNING: CPU: 3 PID: 1423 at drivers/media/mc/mc-entity.c:873 media_pipeline_stop+0x28/0x34 [mc] [ 61.571319] Modules linked in: can_raw can xt_DSCP xt_tcpudp nft_compat nf_tables nfnetlink joydev tc358762 rpi_panel_attiny_regulator dw9807_vcm imx708 edt_ft5x06 regmap_i2c 8021q garp stp llc spidev brcmfmac snd_usb_audio vc4 gs_usb snd_hwdep can_dev snd_usbmidi_lib snd_soc_hdmi_codec snd_rawmidi uvcvideo drm_display_helper brcmutil cec snd_seq_device cdc_acm drm_dma_helper drm_kms_helper sha256_generic cfg80211 snd_soc_core raspberrypi_hwmon snd_compress snd_pcm_dmaengine syscopyarea sysfillrect rfkill sysimgblt fb_sys_fops i2c_mux_pinctrl i2c_mux bcm2835_unicam v4l2_dv_timings v4l2_fwnode v4l2_async bcm2835_v4l2(C) bcm2835_codec(C) bcm2835_isp(C) v4l2_mem2mem bcm2835_mmal_vchiq(C) videobuf2_vmalloc videobuf2_dma_contig videobuf2_memops videobuf2_v4l2 snd_bcm2835(C) snd_pcm i2c_bcm2835 videobuf2_common spi_bcm2835 videodev snd_timer vc_sm_cma(C) snd mc panel_simple fixed uio_pdrv_genirq uio drm fuse drm_panel_orientation_quirks backlight ip_tables x_tables ipv6 [ 61.571614] CPU: 3 PID: 1423 Comm: camera-streamer Tainted: G C 6.1.19-v7+ #1637 [ 61.571623] Hardware name: BCM2835 [ 61.571636] unwind_backtrace from show_stack+0x18/0x1c [ 61.571657] show_stack from dump_stack_lvl+0x68/0x8c [ 61.571672] dump_stack_lvl from __warn+0x84/0x124 [ 61.571686] __warn from warn_slowpath_fmt+0xac/0x170 [ 61.571699] warn_slowpath_fmt from media_pipeline_stop+0x28/0x34 [mc] [ 61.571752] media_pipeline_stop [mc] from unicam_stop_streaming+0x8c/0x168 [bcm2835_unicam] [ 61.571822] unicam_stop_streaming [bcm2835_unicam] from __vb2_queue_cancel+0x30/0x25c [videobuf2_common] [ 61.571890] __vb2_queue_cancel [videobuf2_common] from vb2_core_queue_release+0x20/0x40 [videobuf2_common] [ 61.571968] vb2_core_queue_release [videobuf2_common] from _vb2_fop_release+0x6c/0x8c [videobuf2_v4l2] [ 61.572036] _vb2_fop_release [videobuf2_v4l2] from unicam_v4l2_release+0x44/0xd0 [bcm2835_unicam] [ 61.572084] unicam_v4l2_release [bcm2835_unicam] from v4l2_release+0xd0/0xdc [videodev] [ 61.572245] v4l2_release [videodev] from __fput+0x84/0x26c [ 61.572380] __fput from task_work_run+0xa0/0xcc [ 61.572401] task_work_run from do_exit+0x394/0xad8 [ 61.572419] do_exit from do_group_exit+0x40/0x8c [ 61.572435] do_group_exit from copy_siginfo_to_user+0x0/0x5c [ 61.572464] ---[ end trace 0000000000000000 ]--- [ 64.328716] usb 1-1.3: reset high-speed USB device number 4 using dwc_otg [ 73.918760] usb 1-1.3: reset high-speed USB device number 4 using dwc_otg ```

smwoodward commented 1 year ago

Would you be using a CM4 with a Manta board?

sahck2003 commented 1 year ago

No, Raspberry Pi 3 with an Octopus 1.1.

mryel00 commented 5 months ago

camera-streamer is merged for quite some time now and a lot of people are using multiple cameras with it. So I would close this and hope that you either join our Discord or our Github Discussions, if you still encounter this problem. The links can be found in the bot message below.

github-actions[bot] commented 5 months ago

Ahoi!

It looks like this ticket is a request for help (or similar). Many helpful people will not see your message here and you are unlikely to get a useful response.

We use the Github Issue-Tracker only for development related topics, like feature requests, bug reports etc. To get help, please join our Discord-Server or ask in Github Discussions:

This ticket will be automatically closed.

Fair wind and a following sea! ~ Your friendly MainsailGithubBot

PS: I'm just an automated script, not a real sailor.