Page 1 of 2

Source text on main screen turns orange

Posted: Wed Nov 28, 2007 2:56 am
by eug
Hi,

I'm running the 1.22.3 LiveCD on a 2.2GHz Core2 Duo system with 2GB RAM and a Kodicom 8800 with 4 cameras set up. I can view all the video feeds fine, but Modect only works on two cameras.

I've put the same settings in to each source. I find that if i reduce the image buffer in one of the sources, the Source text on the main zm screen turns green again, but Modect doesn't work (nothing is picked up) and Force Alarm does not appear when i watch the stream.

Interestingly when i lower the image buffer on another particular camera, both the source text for that camera and the first camera turn orange.

I'm probably using all the wrong settings for the cameras - does anyone else have a similar setup? What settings do you use?

I get buffer overrun errors in the system log. If I increase the image buffer (is that the 'ring buffer'?), the source text turns orange.

zm reports load at 0.55, disk at 90%. The load averages are 0.22, 0.44, 0.46.

I'm not sure what info to include, so i'll just paste some info in the next message!

Posted: Wed Nov 28, 2007 3:09 am
by eug
Current camera settings:

Camera 1 (does not modect)
Modect
Max FPS 15
Alarm FPS 25
ref image blend %age 10

/dev/video0
channel 0
PAL
RGB24
352
288
Normal

Image buffer size 50
warmup frames 15
Pre event image buffer 25
Post event image buffer 125
Alarm frame count 1


Camera 2 (modect OK)
Modect
Max FPS 15
Alarm FPS 25
ref image blend %age 10

/dev/video1
channel 0
PAL
RGB24
352
288
Normal

Image buffer size 75
warmup frames 15
Pre event image buffer 25
Post event image buffer 125
Alarm frame count 2


Camera 3 (modect OK)
Modect
Max FPS 15
Alarm FPS 25
ref image blend %age 6

/dev/video2
channel 0
PAL
RGB24
352
288
Normal

Image buffer size 75
warmup frames 15
Pre event image buffer 25
Post event image buffer 60
Alarm frame count 2


Camera 5 (does not modect)
Modect
Max FPS 15
Alarm FPS 25
ref image blend %age 6

/dev/video4
channel 0
PAL
RGB24
352
288
Normal

Image buffer size 40
warmup frames 15
Pre event image buffer 25
Post event image buffer 60
Alarm frame count 2



Camera 4 has been disconnected temporarily.. it doesn't modect either.

If the image buffer is too small, modect tends to start too late - the person appears in the middle of the frame.


dmesg output:
Linux version 2.6.17-10mdv (qateam@mercury.mandriva.com) (gcc version 4.1.1 20060724 (prerelease) (4.1.1-3mdk)) #1 SMP Fri Feb 2 15:53:02 MST
2007
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000007f7b0000 (usable)
BIOS-e820: 000000007f7b0000 - 000000007f7be000 (ACPI data)
BIOS-e820: 000000007f7be000 - 000000007f7f0000 (ACPI NVS)
BIOS-e820: 000000007f7f0000 - 000000007f800000 (reserved)
BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
BIOS-e820: 00000000ffb00000 - 0000000100000000 (reserved)
1143MB HIGHMEM available.
895MB LOWMEM available.
found SMP MP-table at 000ff780
On node 0 totalpages: 522160
DMA zone: 4096 pages, LIFO batch:0
Normal zone: 225279 pages, LIFO batch:31
HighMem zone: 292785 pages, LIFO batch:31
DMI present.
ACPI: RSDP (v000 ACPIAM ) @ 0x000f93a0
ACPI: RSDT (v001 A M I OEMRSDT 0x03000726 MSFT 0x00000097) @ 0x7f7b0000
ACPI: FADT (v002 A M I OEMFACP 0x03000726 MSFT 0x00000097) @ 0x7f7b0200
ACPI: MADT (v001 A M I OEMAPIC 0x03000726 MSFT 0x00000097) @ 0x7f7b0390
ACPI: MCFG (v001 A M I OEMMCFG 0x03000726 MSFT 0x00000097) @ 0x7f7b0400
ACPI: OEMB (v001 A M I AMI_OEM 0x03000726 MSFT 0x00000097) @ 0x7f7be040
ACPI: GSCI (v001 A M I GMCHSCI 0x03000726 MSFT 0x00000097) @ 0x7f7be0a0
ACPI: DSDT (v001 1ADHK 1ADHK006 0x00000006 INTL 0x20051117) @ 0x00000000
ACPI: PM-Timer IO Port: 0x808
ACPI: Local APIC address 0xfee00000
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
Processor #0 6:15 APIC version 20
ACPI: LAPIC (acpi_id[0x02] lapic_id[0x01] enabled)
Processor #1 6:15 APIC version 20
ACPI: LAPIC (acpi_id[0x03] lapic_id[0x82] disabled)
ACPI: LAPIC (acpi_id[0x04] lapic_id[0x83] disabled)
ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])
IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-23
ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
ACPI: IRQ0 used by override.
ACPI: IRQ2 used by override.
ACPI: IRQ9 used by override.
Enabling APIC mode: Flat. Using 1 I/O APICs
Using ACPI (MADT) for SMP configuration information
Allocating PCI resources starting at 80000000 (gap: 7f800000:7f600000)
Built 1 zonelists
Kernel command line: auto BOOT_IMAGE=linux root=801 splash=silent
bootsplash: silent mode.
mapped APIC to ffffe000 (fee00000)
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
PID hash table entries: 4096 (order: 12, 16384 bytes)
Detected 2133.620 MHz processor.
Using pmtmr for high-res timesource
Console: colour dummy device 80x25
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 2065356k/2088640k available (2427k kernel code, 21548k reserved, 755k data, 244k init, 1171140k highmem, 0k BadRAM)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 4271.27 BogoMIPS (lpj=8542552)
Mount-cache hash table entries: 512
CPU: After generic identify, caps: bfebfbff 20100000 00000000 00000000 0000e3bd 00000000 00000001
CPU: After vendor identify, caps: bfebfbff 20100000 00000000 00000000 0000e3bd 00000000 00000001
monitor/mwait feature present.
using mwait in idle threads.
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 4096K
CPU: Physical Processor ID: 0
CPU: Processor Core ID: 0
CPU: After all inits, caps: bfebfbff 20100000 00000000 00000140 0000e3bd 00000000 00000001
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
Checking 'hlt' instruction... OK.
SMP alternatives: switching to UP code
checking if image is initramfs... it is
Freeing initrd memory: 444k freed
ACPI: Looking for DSDT in initramfs... error, file /DSDT.aml not found.
CPU0: Intel(R) Core(TM)2 CPU 6420 @ 2.13GHz stepping 06
SMP alternatives: switching to SMP code
Booting processor 1/1 eip 3000
Initializing CPU#1
Calibrating delay using timer specific routine.. 4266.85 BogoMIPS (lpj=8533710)
CPU: After generic identify, caps: bfebfbff 20100000 00000000 00000000 0000e3bd 00000000 00000001
CPU: After vendor identify, caps: bfebfbff 20100000 00000000 00000000 0000e3bd 00000000 00000001
monitor/mwait feature present.
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 4096K
CPU: Physical Processor ID: 0
CPU: Processor Core ID: 1
CPU: After all inits, caps: bfebfbff 20100000 00000000 00000140 0000e3bd 00000000 00000001
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#1.
CPU1: Intel(R) Core(TM)2 CPU 6420 @ 2.13GHz stepping 06
Total of 2 processors activated (8538.13 BogoMIPS).
ENABLING IO-APIC IRQs
..TIMER: vector=0x31 apic1=0 pin1=2 apic2=-1 pin2=-1
checking TSC synchronization across 2 CPUs: passed.
Brought up 2 CPUs
migration_cost=8000
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: BIOS Bug: MCFG area at e0000000 is not E820-reserved
PCI: Not using MMCONFIG.
PCI: PCI BIOS revision 3.00 entry at 0xf0031, last bus=2
Setting up standard PCI resources
ACPI: Subsystem revision 20060127
ACPI: Interpreter enabled
ACPI: Using IOAPIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (0000:00)
PCI: Probing PCI hardware (bus 00)
Boot video device is 0000:00:02.0
PCI: Transparent bridge - 0000:00:1e.0
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P1._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 *10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 10 11 12 *14 15)
ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 *6 7 10 11 12)
ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 *5 6 7 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 7 10 11 12 14 *15)
ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 7 *10 11 12)
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI init
pnp: PnP ACPI: found 17 devices
PnPBIOS: Disabled
PCI: Using ACPI for IRQ routing
PCI: If a device doesn't work, try "pci=routeirq". If it helps, post a report
pnp: 00:0a: ioport range 0xa00-0xa0f has been reserved
pnp: 00:0a: ioport range 0xb10-0xb1f has been reserved
PCI: Ignore bogus resource 6 [0:0] of 0000:00:02.0
PCI: Bridge: 0000:01:00.0
IO window: disabled.
MEM window: disabled.
PREFETCH window: bfe00000-bfefffff
PCI: Bridge: 0000:00:1e.0
IO window: b000-bfff
MEM window: ff700000-ff7fffff
PREFETCH window: bfe00000-bfefffff
PCI: Setting latency timer of device 0000:00:1e.0 to 64
NET: Registered protocol family 2
IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
TCP established hash table entries: 262144 (order: 9, 2097152 bytes)
TCP bind hash table entries: 65536 (order: 7, 524288 bytes)
TCP: Hash tables configured (established 262144 bind 65536)
TCP reno registered
apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16ac)
apm: disabled - APM is not SMP safe.
audit: initializing netlink socket (disabled)
audit(1196249260.796:1): initialized
highmem bounce pool size: 64 pages
Total HugeTLB memory allocated, 0
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
vesafb: framebuffer at 0xd0000000, mapped to 0xf8880000, using 3750k, total 7616k
vesafb: mode is 800x600x16, linelength=1600, pages=6
vesafb: protected mode interface info at 00ff:44f0
vesafb: scrolling: redraw
vesafb: Truecolor: size=0:5:6:5, shift=0:11:5:0
bootsplash 3.1.6-2004/03/31: looking for picture...<6> silentjpeg size 13182 bytes,<6>...found (800x600, 9805 bytes, v3).
Console: switching to colour frame buffer device 100x37
fb0: VESA VGA frame buffer device
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Real Time Clock Driver v1.12ac
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
00:06: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
00:07: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
RAMDISK driver initialized: 16 RAM disks of 32000K size 1024 blocksize
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
PNP: PS/2 Controller [PNP0303:PS2K] at 0x60,0x64 irq 1
PNP: PS/2 controller doesn't have AUX irq; using default 12
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
mice: PS/2 mouse device common for all mice
md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: bitmap version 4.39
TCP bic registered
NET: Registered protocol family 1
Starting balanced_irq
Using IPI No-Shortcut mode
ACPI wakeup devices:
P0P2 P0P1 PS2K USB0 USB1 USB2 USB3 EUSB USB4 USB5 USBE P0P4 P0P5 P0P6 P0P7 P0P8 P0P9
ACPI: (supports S0 S1 S3 S4 S5)
BIOS EDD facility v0.16 2004-Jun-25, 1 devices found
Freeing unused kernel memory: 244k freed
SCSI subsystem initialized
libata version 1.20 loaded.
ata_piix 0000:00:1f.2: version 1.05
ata_piix 0000:00:1f.2: MAP [ P0 P2 P1 P3 ]
ACPI: PCI Interrupt 0000:00:1f.2 -> GSI 19 (level, low) -> IRQ 16
PCI: Setting latency timer of device 0000:00:1f.2 to 64
ata1: SATA max UDMA/133 cmd 0xE880 ctl 0xE802 bmdma 0xE080 irq 16
ata2: SATA max UDMA/133 cmd 0xE480 ctl 0xE402 bmdma 0xE088 irq 16
ata1: SATA port has no device.
scsi0 : ata_piix
ata2: SATA port has no device.
scsi1 : ata_piix
ata_piix 0000:00:1f.5: MAP [ P0 P2 P1 P3 ]
ACPI: PCI Interrupt 0000:00:1f.5 -> GSI 19 (level, low) -> IRQ 16
PCI: Setting latency timer of device 0000:00:1f.5 to 64
ata3: SATA max UDMA/133 cmd 0xD000 ctl 0xCC02 bmdma 0xC480 irq 16
ata4: SATA max UDMA/133 cmd 0xC880 ctl 0xC802 bmdma 0xC488 irq 16
ata3: dev 0 cfg 49:0f00 82:0218 83:4000 84:4000 85:0218 86:0000 87:4000 88:101f
ata3: dev 0 ATAPI, max UDMA/66
ata3: PIO error
ata3: dev 1 failed to IDENTIFY (I/O error)
ata3: dev 0 configured for UDMA/66
scsi2 : ata_piix
ata4: dev 0 cfg 49:2f00 82:746b 83:7f61 84:4023 85:7469 86:3c41 87:4023 88:207f
ata4: dev 0 ATA-7, max UDMA/133, 625142448 sectors: LBA48
ata4: dev 0 configured for UDMA/133
scsi3 : ata_piix
Vendor: PIONEER Model: DVD-RW DVR-212 Rev: 1.15
Type: CD-ROM ANSI SCSI revision: 05
Vendor: ATA Model: WDC WD3200YS-01P Rev: 21.0
Type: Direct-Access ANSI SCSI revision: 05
Probing IDE interface ide0...
Probing IDE interface ide1...
SCSI device sda: 625142448 512-byte hdwr sectors (320073 MB)
sda: Write Protect is off
sda: Mode Sense: 00 3a 00 00
SCSI device sda: drive cache: write back
SCSI device sda: 625142448 512-byte hdwr sectors (320073 MB)
sda: Write Protect is off
sda: Mode Sense: 00 3a 00 00
SCSI device sda: drive cache: write back
sda: sda1 sda2 < sda5 sda6 >
sd 3:0:0:0: Attached scsi disk sda
sr0: scsi3-mmc drive: 40x/40x writer dvd-ram cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.20
sr 2:0:0:0: Attached scsi CD-ROM sr0
sr 2:0:0:0: Attached scsi generic sg0 type 5
sd 3:0:0:0: Attached scsi generic sg1 type 0
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
usbcore: registered new driver usbfs
usbcore: registered new driver hub
USB Universal Host Controller Interface driver v3.0
ACPI: PCI Interrupt 0000:00:1a.0[A] -> GSI 16 (level, low) -> IRQ 17
PCI: Setting latency timer of device 0000:00:1a.0 to 64
uhci_hcd 0000:00:1a.0: UHCI Host Controller
uhci_hcd 0000:00:1a.0: new USB bus registered, assigned bus number 1
uhci_hcd 0000:00:1a.0: irq 17, io base 0x0000dc00
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:1a.1 -> GSI 21 (level, low) -> IRQ 18
PCI: Setting latency timer of device 0000:00:1a.1 to 64
uhci_hcd 0000:00:1a.1: UHCI Host Controller
uhci_hcd 0000:00:1a.1: new USB bus registered, assigned bus number 2
uhci_hcd 0000:00:1a.1: irq 18, io base 0x0000d880
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:1d.0[A] -> GSI 23 (level, low) -> IRQ 19
PCI: Setting latency timer of device 0000:00:1d.0 to 64
uhci_hcd 0000:00:1d.0: UHCI Host Controller
uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 3
uhci_hcd 0000:00:1d.0: irq 19, io base 0x0000d800
usb usb3: configuration #1 chosen from 1 choice
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:1d.1 -> GSI 19 (level, low) -> IRQ 16
PCI: Setting latency timer of device 0000:00:1d.1 to 64
uhci_hcd 0000:00:1d.1: UHCI Host Controller
uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 4
uhci_hcd 0000:00:1d.1: irq 16, io base 0x0000d480
usb usb4: configuration #1 chosen from 1 choice
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:1d.2[C] -> GSI 18 (level, low) -> IRQ 20
PCI: Setting latency timer of device 0000:00:1d.2 to 64
uhci_hcd 0000:00:1d.2: UHCI Host Controller
uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 5
uhci_hcd 0000:00:1d.2: irq 20, io base 0x0000d400
usb usb5: configuration #1 chosen from 1 choice
hub 5-0:1.0: USB hub found
hub 5-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:1a.7[C] -> GSI 18 (level, low) -> IRQ 20
PCI: Setting latency timer of device 0000:00:1a.7 to 64
ehci_hcd 0000:00:1a.7: EHCI Host Controller
ehci_hcd 0000:00:1a.7: new USB bus registered, assigned bus number 6
ehci_hcd 0000:00:1a.7: debug port 1
PCI: cache line size of 32 is not supported by device 0000:00:1a.7
ehci_hcd 0000:00:1a.7: irq 20, io mem 0xff9fbc00
ehci_hcd 0000:00:1a.7: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb6: configuration #1 chosen from 1 choice
hub 6-0:1.0: USB hub found
hub 6-0:1.0: 4 ports detected
ACPI: PCI Interrupt 0000:00:1d.7[A] -> GSI 23 (level, low) -> IRQ 19
PCI: Setting latency timer of device 0000:00:1d.7 to 64
ehci_hcd 0000:00:1d.7: EHCI Host Controller
ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 7
ehci_hcd 0000:00:1d.7: debug port 1
PCI: cache line size of 32 is not supported by device 0000:00:1d.7
ehci_hcd 0000:00:1d.7: irq 19, io mem 0xff9fb800
ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb7: configuration #1 chosen from 1 choice
hub 7-0:1.0: USB hub found
hub 7-0:1.0: 6 ports detected
ieee1394: Initialized config rom entry `ip1394'
ACPI: PCI Interrupt 0000:01:03.0[A] -> GSI 19 (level, low) -> IRQ 16
ohci1394: fw-host0: OHCI-1394 1.1 (PCI): IRQ=[16] MMIO=[ff7fe800-ff7fefff] Max Packet=[2048] IR/IT contexts=[4/8]
Linux video capture interface: v1.00
bttv: driver version 0.9.16 loaded
bttv: using 16 buffers with 2080k (520 pages) each for capture
bttv: Bt8xx card found (0).
ACPI: PCI Interrupt 0000:02:08.0[A] -> GSI 16 (level, low) -> IRQ 17
bttv0: Bt878 (rev 17) at 0000:02:08.0, irq: 17, latency: 64, mmio: 0xbfeff000
bttv0: using: IVC-200 [card=102,insmod option]
bttv0: gpio: en=00000000, out=00000000 in=00ffffff [init]
ieee1394: Host added: ID:BUS[0-00:1023] GUID[001106660107c144]
bttv0: using tuner=-1
bttv0: i2c: checking for MSP34xx @ 0x80... not found
bttv0: i2c: checking for TDA9875 @ 0xb0... not found
bttv0: i2c: checking for TDA7432 @ 0x8a... not found
bttv0: i2c: checking for TDA9887 @ 0x86... not found
bttv0: registered device video0
bttv0: registered device vbi0
bttv0: PLL: 28636363 => 35468950 .. ok
bttv: Bt8xx card found (1).
ACPI: PCI Interrupt 0000:02:09.0[A] -> GSI 17 (level, low) -> IRQ 21
bttv1: Bt878 (rev 17) at 0000:02:09.0, irq: 21, latency: 64, mmio: 0xbfefd000
bttv1: using: IVC-200 [card=102,insmod option]
bttv1: gpio: en=00000000, out=00000000 in=00ffffff [init]
bttv1: using tuner=-1
bttv1: i2c: checking for MSP34xx @ 0x80... not found
bttv1: i2c: checking for TDA9875 @ 0xb0... not found
bttv1: i2c: checking for TDA7432 @ 0x8a... not found
bttv1: i2c: checking for TDA9887 @ 0x86... not found
bttv1: registered device video1
bttv1: registered device vbi1
bttv1: PLL: 28636363 => 35468950 .. ok
bttv: Bt8xx card found (2).
ACPI: PCI Interrupt 0000:02:0a.0[A] -> GSI 18 (level, low) -> IRQ 20
bttv2: Bt878 (rev 17) at 0000:02:0a.0, irq: 20, latency: 64, mmio: 0xbfefb000
bttv2: using: IVC-200 [card=102,insmod option]
bttv2: gpio: en=00000000, out=00000000 in=00ffffff [init]
bttv2: using tuner=-1
bttv2: i2c: checking for MSP34xx @ 0x80... not found
bttv2: i2c: checking for TDA9875 @ 0xb0... not found
bttv2: i2c: checking for TDA7432 @ 0x8a... not found
bttv2: i2c: checking for TDA9887 @ 0x86... not found
bttv2: registered device video2
bttv2: registered device vbi2
bttv2: PLL: 28636363 => 35468950 .. ok
bttv: Bt8xx card found (3).
ACPI: PCI Interrupt 0000:02:0b.0[A] -> GSI 19 (level, low) -> IRQ 16
bttv3: Bt878 (rev 17) at 0000:02:0b.0, irq: 16, latency: 64, mmio: 0xbfef9000
bttv3: using: IVC-200 [card=102,insmod option]
bttv3: gpio: en=00000000, out=00000000 in=00ffffff [init]
bttv3: using tuner=-1
bttv3: i2c: checking for MSP34xx @ 0x80... not found
bttv3: i2c: checking for TDA9875 @ 0xb0... not found
bttv3: i2c: checking for TDA7432 @ 0x8a... not found
bttv3: i2c: checking for TDA9887 @ 0x86... not found
bttv3: registered device video3
bttv3: registered device vbi3
bttv3: PLL: 28636363 => 35468950 .. ok
bttv: Bt8xx card found (4).
ACPI: PCI Interrupt 0000:02:0c.0[A] -> GSI 16 (level, low) -> IRQ 17
bttv4: Bt878 (rev 17) at 0000:02:0c.0, irq: 17, latency: 64, mmio: 0xbfef7000
bttv4: using: IVC-200 [card=102,insmod option]
bttv4: gpio: en=00000000, out=00000000 in=00ffffff [init]
bttv4: using tuner=-1
bttv4: i2c: checking for MSP34xx @ 0x80... not found
bttv4: i2c: checking for TDA9875 @ 0xb0... <6>usb 1-1: new low speed USB device using uhci_hcd and address 2
usb 1-1: configuration #1 chosen from 1 choice
input: Dell Dell USB Keyboard as /class/input/input0
usbcore: registered new driver usbkbd
drivers/usb/input/usbkbd.c: :USB HID Boot Protocol keyboard driver
usbcore: registered new driver hiddev
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
not found
bttv4: i2c: checking for TDA7432 @ 0x8a... not found
bttv4: i2c: checking for TDA9887 @ 0x86... not found
bttv4: registered device video4
bttv4: registered device vbi4
bttv4: PLL: 28636363 => 35468950 .. ok
bttv: Bt8xx card found (5).
ACPI: PCI Interrupt 0000:02:0d.0[A] -> GSI 17 (level, low) -> IRQ 21
bttv5: Bt878 (rev 17) at 0000:02:0d.0, irq: 21, latency: 64, mmio: 0xbfef5000
bttv5: using: IVC-200 [card=102,insmod option]
bttv5: gpio: en=00000000, out=00000000 in=00ffffff [init]
bttv5: using tuner=-1
bttv5: i2c: checking for MSP34xx @ 0x80... not found
bttv5: i2c: checking for TDA9875 @ 0xb0... not found
bttv5: i2c: checking for TDA7432 @ 0x8a... not found
bttv5: i2c: checking for TDA9887 @ 0x86... not found
bttv5: registered device video5
bttv5: registered device vbi5
bttv5: PLL: 28636363 => 35468950 .. ok
bttv: Bt8xx card found (6).
ACPI: PCI Interrupt 0000:02:0e.0[A] -> GSI 18 (level, low) -> IRQ 20
bttv6: Bt878 (rev 17) at 0000:02:0e.0, irq: 20, latency: 64, mmio: 0xbfef3000
bttv6: using: IVC-200 [card=102,insmod option]
bttv6: gpio: en=00000000, out=00000000 in=00ffffff [init]
bttv6: using tuner=-1
bttv6: i2c: checking for MSP34xx @ 0x80... not found
bttv6: i2c: checking for TDA9875 @ 0xb0... not found
bttv6: i2c: checking for TDA7432 @ 0x8a... not found
bttv6: i2c: checking for TDA9887 @ 0x86... not found
bttv6: registered device video6
bttv6: registered device vbi6
bttv6: PLL: 28636363 => 35468950 .. ok
bttv: Bt8xx card found (7).
ACPI: PCI Interrupt 0000:02:0f.0[A] -> GSI 19 (level, low) -> IRQ 16
bttv7: Bt878 (rev 17) at 0000:02:0f.0, irq: 16, latency: 64, mmio: 0xbfef1000
bttv7: using: IVC-200 [card=102,insmod option]
bttv7: gpio: en=00000000, out=00000000 in=00ffffff [init]
bttv7: using tuner=-1
bttv7: i2c: checking for MSP34xx @ 0x80... not found
bttv7: i2c: checking for TDA9875 @ 0xb0... not found
bttv7: i2c: checking for TDA7432 @ 0x8a... not found
bttv7: i2c: checking for TDA9887 @ 0x86... not found
bttv7: registered device video7
bttv7: registered device vbi7
bttv7: PLL: 28636363 => 35468950 .. ok
bt878: AUDIO driver version 0.0.0 loaded
bt878: Bt878 AUDIO function found (0).
ACPI: PCI Interrupt 0000:02:08.1[A] -> GSI 16 (level, low) -> IRQ 17
bt878_probe: card id=[0x0],[ <NULL> ] has DVB functions.
bt878(0): Bt878 (rev 17) at 02:08.1, irq: 17, latency: 64, memory: 0xbfefe000
bt878: Bt878 AUDIO function found (1).
ACPI: PCI Interrupt 0000:02:09.1[A] -> GSI 17 (level, low) -> IRQ 21
bt878_probe: card id=[0x0],[ <NULL> ] has DVB functions.
bt878(1): Bt878 (rev 17) at 02:09.1, irq: 21, latency: 64, memory: 0xbfefc000
bt878: Bt878 AUDIO function found (2).
ACPI: PCI Interrupt 0000:02:0a.1[A] -> GSI 18 (level, low) -> IRQ 20
bt878_probe: card id=[0x0],[ <NULL> ] has DVB functions.
bt878(2): Bt878 (rev 17) at 02:0a.1, irq: 20, latency: 64, memory: 0xbfefa000
bt878: Bt878 AUDIO function found (3).
ACPI: PCI Interrupt 0000:02:0b.1[A] -> GSI 19 (level, low) -> IRQ 16
bt878_probe: card id=[0x0],[ <NULL> ] has DVB functions.
bt878(3): Bt878 (rev 17) at 02:0b.1, irq: 16, latency: 64, memory: 0xbfef8000
bt878: Bt878 AUDIO function found (4).
ACPI: PCI Interrupt 0000:02:0c.1[A] -> GSI 16 (level, low) -> IRQ 17
bt878_probe: card id=[0x0],[ <NULL> ] has DVB functions.
bt878(4): Bt878 (rev 17) at 02:0c.1, irq: 17, latency: 64, memory: 0xbfef6000
bt878: Bt878 AUDIO function found (5).
ACPI: PCI Interrupt 0000:02:0d.1[A] -> GSI 17 (level, low) -> IRQ 21
bt878_probe: card id=[0x0],[ <NULL> ] has DVB functions.
bt878(5): Bt878 (rev 17) at 02:0d.1, irq: 21, latency: 64, memory: 0xbfef4000
bt878: Bt878 AUDIO function found (6).
ACPI: PCI Interrupt 0000:02:0e.1[A] -> GSI 18 (level, low) -> IRQ 20
bt878_probe: card id=[0x0],[ <NULL> ] has DVB functions.
bt878(6): Bt878 (rev 17) at 02:0e.1, irq: 20, latency: 64, memory: 0xbfef2000
bt878: buffer size error!
bt878: Bt878 AUDIO function found (7).
ACPI: PCI Interrupt 0000:02:0f.1[A] -> GSI 19 (level, low) -> IRQ 16
bt878_probe: card id=[0x0],[ <NULL> ] has DVB functions.
bt878(7): Bt878 (rev 17) at 02:0f.1, irq: 16, latency: 64, memory: 0xbfef0000
hw_random: RNG not detected
Linux agpgart interface v0.101 (c) Dave Jones
agpgart: Detected an Intel 965G Chipset.
agpgart: Detected 7676K stolen memory.
agpgart: AGP aperture is 256M @ 0xd0000000
device-mapper: 4.6.0-ioctl (2006-02-17) initialised: dm-devel@redhat.com
EXT3 FS on sda1, internal journal
Adding 4088500k swap on /dev/sda5. Priority:-1 extents:1 across:4088500k
kjournald starting. Commit interval 5 seconds
EXT3 FS on sda6, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
loop: loaded (max 8 devices, max 1 partitions per device)
ACPI: Power Button (FF) [PWRF]
ACPI: Power Button (CM) [PWRB]
Using specific hotkey driver
ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 22 (level, low) -> IRQ 22
PCI: Setting latency timer of device 0000:00:1b.0 to 64
NET: Registered protocol family 17
hda_codec: Unknown model for ALC883, trying auto-probe from BIOS...
r8169 Gigabit Ethernet driver 2.2LK loaded
ACPI: PCI Interrupt 0000:01:02.0[A] -> GSI 18 (level, low) -> IRQ 20
eth0: RTL8169sc/8110sc at 0xf9006400, 00:19:db:48:16:02, IRQ 20
r8169: eth0: link down
r8169: eth0: link up
[drm] Initialized drm 1.0.1 20051102
ACPI: PCI Interrupt 0000:00:02.0[A] -> GSI 16 (level, low) -> IRQ 17
[drm] Initialized i915 1.4.0 20060119 on minor 0
bootsplash: status on console 0 changed to off

Posted: Wed Nov 28, 2007 3:11 am
by eug
Sample error message in messages

Nov 28 12:35:13 localhost zma_m3[5028]: INF [Kitchen: 56000 - Processing at 15.38 fps]
Nov 28 12:35:13 localhost zma_m2[5020]: INF [Corridor: 53527 - Gone back into alarm state]
Nov 28 12:35:13 localhost zma_m2[5020]: INF [Corridor: 53528 - Gone into alert state]
Nov 28 12:35:13 localhost zmc_dvideo4[6745]: WAR [Buffer overrun at index 35, slow down capture, speed up analysis or increase ring buffer size]
Nov 28 12:35:14 localhost zmc_dvideo0[6318]: WAR [Buffer overrun at index 21, slow down capture, speed up analysis or increase ring buffer size]
Nov 28 12:35:15 localhost zma_m2[5020]: INF [Corridor: 53550 - Gone back into alarm state]
Nov 28 12:35:15 localhost zma_m2[5020]: INF [Corridor: 53553 - Gone into alert state]
Nov 28 12:35:15 localhost zma_m2[5020]: INF [Corridor: 53554 - Gone back into alarm state]
Nov 28 12:35:15 localhost zma_m2[5020]: INF [Corridor: 53557 - Gone into alert state]
Nov 28 12:35:16 localhost zmc_dvideo4[6745]: WAR [Buffer overrun at index 35, slow down capture, speed up analysis or increase ring buffer size]
Nov 28 12:35:16 localhost zma_m3[5028]: INF [Kitchen: 56079 - Gone into alert state]
Nov 28 12:35:16 localhost zma_m3[5028]: INF [Kitchen: 56080 - Gone back into alarm state]

I've got a gif of the zm window but I don't think i can attach files here..

Posted: Thu Nov 29, 2007 11:47 pm
by eug
What about a simpler question.. what does it mean when the source text turns orange?

e.g
http://members.iinet.net.au/~e/zm-orange.gif

Posted: Fri Nov 30, 2007 12:06 am
by jameswilson
just means the chip is in use. But not recording.
So if you using chip 0 twice then ot is in use

Posted: Fri Nov 30, 2007 12:44 am
by eug
jameswilson wrote:just means the chip is in use. But not recording.
So if you using chip 0 twice then ot is in use
Hmm... why would channel 1 be orange and channel 2 be green, if both are idle?

Posted: Fri Nov 30, 2007 12:48 am
by jameswilson
orange means it has issues, can be expected if sharing a chip, but as your having under run issues the prage is showing you do have a problem

Posted: Fri Nov 30, 2007 12:54 am
by eug
jameswilson wrote:orange means it has issues, can be expected if sharing a chip, but as your having under run issues the prage is showing you do have a problem
Ah ok... is the ring buffer the same as the image buffer for each channel?
Increasing the image buffer for each channel will make it turn orange.


thanks

Posted: Fri Nov 30, 2007 1:19 am
by jameswilson
yes but you should restart zm after changing those values

Posted: Mon Dec 03, 2007 12:35 am
by eug
jameswilson wrote:yes but you should restart zm after changing those values
Right after restarting, the source text turns green, but it still doesn't modect and "Force Alarm" doesn't appear on those windows.

When I do a refresh on the console, the text turns orange again.

Am I running out of some sort of resource?

Posted: Fri Jan 18, 2008 4:22 am
by eug
I'm still having that problem..
How can i fix the buffer underrun? I've tried increasing the ring buffer (image buffer?).. the source line just turns red.



thanks!
eug wrote:
jameswilson wrote:yes but you should restart zm after changing those values
Right after restarting, the source text turns green, but it still doesn't modect and "Force Alarm" doesn't appear on those windows.

When I do a refresh on the console, the text turns orange again.

Am I running out of some sort of resource?

Posted: Fri Jan 18, 2008 11:32 pm
by jameswilson
i bought a cheapo 8800 and if i try to use more than 3 channels it puts noise on the image making detection impossible. To test the card try using record on all channels and see how that goes. Then once we have a successful test of 5 channels recorded then chnage 1 to modect, then put that back to modect and try another. etc

Thats what id do to start with

Posted: Mon Jan 21, 2008 4:44 am
by eug
jameswilson wrote:i bought a cheapo 8800 and if i try to use more than 3 channels it puts noise on the image making detection impossible. To test the card try using record on all channels and see how that goes. Then once we have a successful test of 5 channels recorded then chnage 1 to modect, then put that back to modect and try another. etc

Thats what id do to start with
Someone broke in to the building last night.. only got footage off one camera.. shucks. Now I really have to get it working fully :(

It works fine when i set all 8 channels (4 channels have no cams at the moment so it records blue) to record.

Changing channels 1 and 5 to modect (while all other channels are set to Record) makes that line turn orange after i refresh the browser.

Changing any of the other channels seems to work fine. Channels 6, 7, and 8 have the default buffer settings.

The settings are:

Chan 1
max FPS 15
alarm FPS 25
reference image blend 10%
/dev/video0
channel 0
PAL RGB24
352x288
Image buffer size 100
Warmup frames 25
Pre event image buffer 50
Post event image buffer 200
Alarm frame count 2



Chan 2
max FPS 15
alarm FPS 25
reference image blend 10%
/dev/video1
channel 0
PAL RGB24
352x288
Image buffer size 100
Warmup frames 25
Pre event image buffer 50
Post event image buffer 200
Alarm frame count 2


Chan 3
max FPS 15
alarm FPS 25
reference image blend 6%
/dev/video2
channel 0
PAL RGB24
352x288
Image buffer size 100
Warmup frames 25
Pre event image buffer 50
Post event image buffer 200
Alarm frame count 2



Chan 4
max FPS 25
alarm FPS 25
reference image blend 7%
/dev/video3
channel 0
PAL RGB24
352x288
Image buffer size 50
Warmup frames 15
Pre event image buffer 25
Post event image buffer 60
Alarm frame count 2


Chan 5
max FPS 15
alarm FPS 25
reference image blend 6%
/dev/video4
channel 0
PAL RGB24
352x288
Image buffer size 40
Warmup frames 15
Pre event image buffer 25
Post event image buffer 60
Alarm frame count 2

Channel 6 - 8 are the default settings - i didn't touch them as they aren't in use yet.

I can provide you a login if you suddenly have nothing else to do. :)

I'm going to try move the cameras to the other inputs and copying the settings to see if that'll work..

Posted: Mon Jan 21, 2008 3:41 pm
by Lee Sharp
What changes do you have to your modprobe.d/options and sysctl.conf? How much memory is in the box?

Posted: Tue Jan 22, 2008 12:20 am
by eug
Lee Sharp wrote:What changes do you have to your modprobe.d/options and sysctl.conf? How much memory is in the box?
I haven't changed either file, they're whatever gets installed by the liveCD. There's no options file in /etc/modprobe.d either.

The box has 2GB of RAM, top reports about 55MB free. It's a Core2 Duo 2.13GHz. The motherboard uses either the i945 or i965 chipset... i can check for sure if necessary!

top - 09:28:44 up 5 days, 21:33, 3 users, load average: 0.64, 0.61, 0.50
Tasks: 127 total, 3 running, 124 sleeping, 0 stopped, 0 zombie
Cpu(s): 12.7% us, 1.3% sy, 0.0% ni, 84.9% id, 0.8% wa, 0.2% hi, 0.0% si
Mem: 2067396k total, 2011740k used, 55656k free, 57324k buffers
Swap: 4088500k total, 12084k used, 4076416k free, 1389652k cached