8 way bt878a board - works-sort of: please read second reply

Post here to indicate any hardware you have used and which is known to work with ZoneMinder. Not for questions.
conor
Posts: 28
Joined: Fri Sep 26, 2003 8:59 pm

Post by conor »

Jason,

Glad it is going OK. Note that xawtv would view one channel at full frame rate and this is why there is smooth appearance there. What is the maximum fps setting for your channels in ZM as it should be capable of going above 4 fps with this card.

Please post the output for one channel from your dmesg as well.

Regards,

Conor
User avatar
JasonH
Posts: 27
Joined: Thu Dec 16, 2004 8:33 pm
Location: Yorkshire

Post by JasonH »

conor,

I can get 25 fps but the motion is jerky, especially when viewed in slow motion. It's more puzzling than annoying. Here's the dmesg output.

thanks,
J

Code: Select all

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] -> Link [LNKB] -> GSI 11 (level, low) -> IRQ 11
bttv0: Bt878 (rev 17) at 0000:02:08.0, irq: 11, latency: 64, mmio: 0xcdbfe000
bttv0: using: IVC-200 [card=102,insmod option]
bttv0: gpio: en=00000000, out=00000000 in=00ffffff [init]
i2c-algo-bit.o: (0) scl=0, sda=0
i2c-algo-bit.o: bt878 #0 [sw] seems to be busy.
bttv0: using tuner=-1
bttv0: registered device video0
bttv0: registered device vbi0
bttv0: registered device radio0
bttv0: PLL: 28636363 => 35468950 .. ok
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

hi just to reserect this one

I have what looks like a 4400r and adding
options bttv gbuffers=16 card=133,132,133,133

makes it work great as a 4 hannel card but when i then add dev/video1 channels 0-3 they are just a copy of whats connected to video0.
Does anyone know how to get all 16 channels working in zm. They all work in tvtime but are called composite0-15 (well all but 6)

James
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

Hi James,
Here is something I had posted a while back.
http://www.zoneminder.com/forums/viewto ... ht=kodicom

This board does not work like the rest.
You have inputs 0 to 15,
by tieing an input to a device (/dev/video0 (3) ) you are telling the board to put that input on that device :lol: The mux chip is responcible for doing this.

So unlike the other cards where the input is constantly tied to the bt878 chip, this one is not.

Regards,
Corey
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

yes corey thanks. I have another card on eof those tibet cs16 (card=131 i think) and that works like that /dev/video0-16 but on this kodicom once i go above video3 video4 goes red. I can get 6 ports to work slowly by using video0 and channels 0-5 but 6 and abive dont work. I have tried it in 3 different boards now (via,intel and nvidia chipsets) all with the same result. I hoped a kernel update would do it but i have gone upto 2.6.14 and still its the same lol. (i was hoping one of my saa philips cards would work too but alas. Maybe i have a faulty kodicom, but it seems ok as long as you only use the 4 ports on th card itself
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
stealth
Posts: 17
Joined: Tue Mar 21, 2006 3:14 am

Post by stealth »

I just bought the exact same card off ebay... Why does it take 30 minutes for me to run:

Code: Select all

modprobe bttv gbuffers=16 radio=-1 card=102,102,102,102,102,102,102,102
lspci shows:

Code: Select all

02:08.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
02:08.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
... 7 more times
when modprobe finally does finish, and after eating 90% of my cpu... i run tvtime and get a red screen with some lines with snow...

confused, help.
thanks
[/code]
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

James,
If you have the card that I think you have (4 bt878s) the setting 133,132,133,133 is for a 4 chip card so you would only have video 0 to 3.

stealth,
Apparently you have your card setup up wrong and need to open your own thread so we can work on your issue effectivly unless you know that you have a kodicom 4400 card :wink:

Corey
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

James,
If you have the card that I think you have (4 bt878s) the setting 133,132,133,133 is for a 4 chip card so you would only have video 0 to 3
Thats ehat i have nbeen using mate and i can get all 16 (well apaer from 6) working in tv time. In tvtime they are listed as composite0 -15. But this wont work in zm and i can take it up to 6 channels then no more
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
stealth
Posts: 17
Joined: Tue Mar 21, 2006 3:14 am

Post by stealth »

I am sure I have the same card pictured. as for the slowness I looked at the tvtime site and they said with bttv try to play with i2c and use

Code: Select all

options i2c-algo-bit bit_test=1
which worked.. all 8 chips probe in under a few seconds.. but now in tvtime all I get is horrible lines.. I can see that it is taking input and there is some motion but its really bad. when i remove the input the screen is red.
stealth
Posts: 17
Joined: Tue Mar 21, 2006 3:14 am

Post by stealth »

Ah, my bad.. it was Xgl that I just began playing with. It seems tvtime and Xgl do not play well together just yet. I switched back to normal Xorg and the first input runs well.
Post Reply