Problems using both Kodicom 8800 and Pico2000 in Zoneminder

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
craig1234
Posts: 6
Joined: Sun Feb 21, 2010 11:20 am
Location: United Kingdom

Problems using both Kodicom 8800 and Pico2000 in Zoneminder

Post by craig1234 »

Hi,

I’m trying to get both of my cards (Kodicom 8800 and Pico2000) to work in Zoneminder, however the cards seem to clash resulting in intermittent video feeds.

Both of the cards work separately, the issues arise when they are both used in one system.

Within my /etc/modprobe.d/bttv.conf I have the following config:

options i2c-algo-bit bit_test=1
options bttv gbuffers=16 card=102,102,102,102,102,102,102,102 radio=0,0,0,0,0,0,0,0 tuner=4,4,4,4,4,4,4,4 chroma_agc=1 combfilter=2 full_luma_range=1 coring=1 autoload=0
options bttv card=77 tuner=4 radio=0 triton1=0 vsfx=0 autoload=0

I’m new to zoneminder, so any help would be appreciated.

Thanks
mastertheknife
Posts: 678
Joined: Wed Dec 16, 2009 4:32 pm
Location: Israel

Post by mastertheknife »

I have both kodicom 8800 and pico2000 clones running together just fine.

Use these settings:

Code: Select all

options i2c-algo-bit bit_test=1
options bttv gbuffers=16 card=77,102,102,102,102,102,102,102,102 radio=0,0,0,0,0,0,0,0,0 tuner=4,4,4,4,4,4,4,4,4 chroma_agc=1 combfilter=2 full_luma_range=1 coring=1 autoload=0
However if the pico2000 is being detected after the kodicom 8800, then use this (77 and 102 swapped positions)

Code: Select all

options i2c-algo-bit bit_test=1
options bttv gbuffers=16 card=102,102,102,102,102,102,102,102,77 radio=0,0,0,0,0,0,0,0,0 tuner=4,4,4,4,4,4,4,4,4 chroma_agc=1 combfilter=2 full_luma_range=1 coring=1 autoload=0
craig1234
Posts: 6
Joined: Sun Feb 21, 2010 11:20 am
Location: United Kingdom

Post by craig1234 »

Thanks,

I've got both cards working. But the video is still intermittent i.e. shows the image then flashes blue. Also the frame rate does not stay at 20fps. It goes to 495fps 1722fps randomly.
mastertheknife
Posts: 678
Joined: Wed Dec 16, 2009 4:32 pm
Location: Israel

Post by mastertheknife »

Hi,

Tried both settings i posted?
if yes, you might want to try another program such as xawtv to see if the problem comes from zoneminder, to me it seems like its coming from zoneminder because of the fps jumps.
Maybe not big enough shmmax value for 2 cards?
Also, please paste any errors\warnings you see in your system log (/var/log/messages?)
craig1234
Posts: 6
Joined: Sun Feb 21, 2010 11:20 am
Location: United Kingdom

Post by craig1234 »

Hi,

Yes i tried both settings. The current shared memory is set to 268424446

Something strange in the logs. I've set-up /dev/video1 (0) on monitor-2 (which is the kodicom 8800), however in the logs video0 and video1 appear to be capturing to monitor-2.

Code: Select all

Feb 21 17:27:22 CCTV zmc_dvideo0[1866]: INF [Monitor-2: 14000 - Capturing at 24.39 fps]
Feb 21 17:27:32 CCTV zmc_dvideo1[2484]: INF [Monitor-2: 13000 - Capturing at 24.39 fps]
Feb 21 17:28:03 CCTV zmc_dvideo0[1866]: INF [Monitor-2: 15000 - Capturing at 24.39 fps]
Feb 21 17:28:13 CCTV zmc_dvideo1[2484]: INF [Monitor-2: 14000 - Capturing at 24.39 fps]
Feb 21 17:28:44 CCTV zmc_dvideo0[1866]: INF [Monitor-2: 16000 - Capturing at 24.39 fps]
Feb 21 17:28:54 CCTV zmc_dvideo1[2484]: INF [Monitor-2: 15000 - Capturing at 24.39 fps]
Feb 21 17:29:24 CCTV zmc_dvideo0[1866]: INF [Monitor-2: 17000 - Capturing at 25.00 fps]
Could this explain the problem and if so how do i fix it

Thanks
mastertheknife
Posts: 678
Joined: Wed Dec 16, 2009 4:32 pm
Location: Israel

Post by mastertheknife »

It could definitely explain the problem.

Have you tried removing all monitors and re-creating them all?
craig1234
Posts: 6
Joined: Sun Feb 21, 2010 11:20 am
Location: United Kingdom

Post by craig1234 »

Thanks for the great advise and support !

I removed all monitors and re-created them and both cards now work perfectly with no intermittent video.

Thanks
Craig
mastertheknife
Posts: 678
Joined: Wed Dec 16, 2009 4:32 pm
Location: Israel

Post by mastertheknife »

No problem :)
But for things working like they should and ability to access all the pico2000's channels need to determine which card is detected first.

If video0 is the pico2000 (like in my case), you need to use the first settings (look above.. the one with 77 at beginning), but if video0 is the kodicom8800, it means video8 is the pico2000 and you need to use the second settings (the one with 77 at end).

mastertheknife
craig1234
Posts: 6
Joined: Sun Feb 21, 2010 11:20 am
Location: United Kingdom

Post by craig1234 »

Thanks,

In the end the pico2000 was detected first as video0 and i use channels 0-3. All tested and working. :D
Post Reply