I've been dealing with my DVR/motion box crashing for some time now, I
have asked for help/advice on the issue both here before and the
video4linux mailing list.. but I believe I have now figured out the
cause. I would usually average about 5-10 day uptimes before a hard
crash would take down the box, and then one of our cameras broke and I
removed it from motion.. sure enough the box didn't crash for about 75
days. It only crashed again (within a day or two) when I put the camera
back online. The problem? If two bttvs are on the same interrupt, I
cannot use both of them otherwise the box will crash. Before that I had
tried different versions of linux, different capture cards, completely
different machines, etc.
The capture card is Kodicom clone 8 port (8 chip bt878) PCI. Its the
only PCI card in the system on the only slot. Machine is a atom 330,
dual core w/HT. Here are my current interrupts for bttv.
50: 3372799 0 78458500 0 IO-APIC-level
58: 20244344 0 4699281 0 IO-APIC-level
66: 1729045 0 80102578 0 IO-APIC-level
74: 750628 0 81095892 0 IO-APIC-level
Right now I'm back to using only 1 bttv per interrupt, ie I won't use
bttv4 if bttv0 is used, so my long standing problem of the machine
crashing is no longer such a mystery. The problem is I'm limited to 4
ports only now.
Has anyone seem this problem before? or have not seen it, ie working
properly, on a setup like this (dual bttv on same interrupt) ?
May it be load related, saturating the pci bus maybe?
Any way I can get the bttv chips to be on their own interrupts?
On a similar note, I'm capturing at 720x480 at about 10 fps.. is this
too high of a resolution? Am I wasting space? What is preferred capture
resolution for high quality NTSC video from good security cameras? I've
heard all sort of numbers.. 352 x 288, 640 x 480, etc. Anyone have a
good quality analog NTSC capture resolution and the reason behind it?