Problem with two 8 channel PCI CCTV card based on bt878

Post here to ask any questions about hardware suitability, configuration in ZoneMinder, or experiences. If you just want to know if something works with ZoneMinder or not, please check the Hardware Compatibility sections in the forum, and the Wiki first. Also search this topic as well.
Post Reply
blink
Posts: 4
Joined: Tue Oct 28, 2008 9:08 pm

Problem with two 8 channel PCI CCTV card based on bt878

Post by blink »

Hi, I have some problem running zoneminder with two 8 channel PCI CCTV capture card based on bt878 chip. Both card have eight bt878a chipset.
When use zoneminder with both card I have bad picture, some extra line. see picture

Image

When I use only one card evrything is all right.

My system is Debian lenny/sid, kernel 2.6.26-1-686-bigmem, CPU Pentium D 3.40GHz 1,5GB RAM

Code: Select all

monitor:~# cat /proc/interrupts 
           CPU0       CPU1       
  0:         64          0   IO-APIC-edge      timer
  1:         16          0   IO-APIC-edge      i8042
  8:         28          0   IO-APIC-edge      rtc0
  9:          0          0   IO-APIC-fasteoi   acpi
 14:          0          0   IO-APIC-edge      ide0
 16:     898511          0   IO-APIC-fasteoi   uhci_hcd:usb4, bttv11, bttv15
 17:     894989          0   IO-APIC-fasteoi   bttv10, bttv14
 18:     898851          0   IO-APIC-fasteoi   uhci_hcd:usb3, bttv8, bttv12
 19:     908946          0   IO-APIC-fasteoi   uhci_hcd:usb2, ata_piix, bttv9, bttv13
 20:     899465          0   IO-APIC-fasteoi   bttv2, bttv6
 21:     899471          0   IO-APIC-fasteoi   bttv1, bttv5
 22:     899548          0   IO-APIC-fasteoi   bttv0, bttv4
 23:     899278          0   IO-APIC-fasteoi   uhci_hcd:usb1, bttv3, bttv7
218:      64296          0   PCI-MSI-edge      eth0
NMI:          0          0   Non-maskable interrupts
LOC:    1108490    1305012   Local timer interrupts
RES:       5005     190785   Rescheduling interrupts
CAL:         47        144   function call interrupts
TLB:        233        399   TLB shootdowns
TRM:          0          0   Thermal event interrupts
SPU:          0          0   Spurious interrupts
ERR:          0
MIS:          0

Code: Select all

monitor:~# ipcs -l

------ Shared Memory Limits --------
max number of segments = 4096
max seg size (kbytes) = 262144
max total shared memory (kbytes) = 1073741824
min seg size (bytes) = 1

------ Semaphore Limits --------
max number of arrays = 128
max semaphores per array = 250
max semaphores system wide = 32000
max ops per semop call = 32
semaphore max value = 32767

------ Messages: Limits --------
max queues system wide = 1758
max size of message (bytes) = 8192
default max size of queue (bytes) = 16384

Code: Select all

/etc/sysctl.conf

kernel.shmall=268435456
kernel.shmmax=268435456
Any sugestion ?
Thanks for answers
TrOjAn
Posts: 74
Joined: Thu Sep 11, 2008 5:03 pm

Post by TrOjAn »

I get that if I try and up the display size to something the card dont like, try reducing the picture size and see if it clears..

TrOjAn
throwgood
Posts: 18
Joined: Mon Oct 27, 2008 10:33 pm

Post by throwgood »

Try reducing your fps. I have two 4 port cards with 6 cameras and use maximum FPS 10 and Alarm FPS 18 and it works great. Also check to make sure under the source tab you have the correct Device Format. I have NTSC.
blink
Posts: 4
Joined: Tue Oct 28, 2008 9:08 pm

Post by blink »

TrOjAn wrote:I get that if I try and up the display size to something the card dont like, try reducing the picture size and see if it clears..

TrOjAn
This happen on all resolution eg 320x240, 352x288 and higher. Only if I remove one of this card evrything is working fine :/
throwgood wrote:Try reducing your fps. I have two 4 port cards with 6 cameras and use maximum FPS 10 and Alarm FPS 18 and it works great. Also check to make sure under the source tab you have the correct Device Format. I have NTSC.
I have correct settings of cameras becouse when I use one card on this same setting and all 8 cameras is working fine.
I will try to reduce FPS, but my card support 200fps (this is 25fps per camera)

Reducing fps is no take effect, still I have this lines.
User avatar
Normando
Posts: 219
Joined: Sun Aug 17, 2008 5:34 am
Location: Rosario - Argentina

Post by Normando »

Blink, I have this same issue and this is the fix:

Not enabled inputs without a camera attached to them. So, if you have only 5 cameras, disable the rest of cards inputs (set to NONE each input, and uncheck the enable checkbox)

Tell me what happens now.
timcraig
Posts: 195
Joined: Mon Dec 10, 2007 5:53 pm
Location: San Jose, CA

Post by timcraig »

Try restarting Zoneminder whenever you change a monitor Device Path or Device Channel setting.
throwgood
Posts: 18
Joined: Mon Oct 27, 2008 10:33 pm

Post by throwgood »

Did Normando's suggestion work? I'm not currently having this issue but I hate going through threads where fixes are never confirmed.
blink
Posts: 4
Joined: Tue Oct 28, 2008 9:08 pm

Post by blink »

When I back to home I try this solution.

---- EDIT -----

I must confirm, when You use two card You must disable nonconected inputs. Today I will tested all 12 camera and make 4 slots empty
Post Reply