Bad card ????

Support and queries relating to all previous versions of ZoneMinder
Locked
User avatar
diablo43000
Posts: 5
Joined: Fri Apr 14, 2006 1:00 am
Location: Romania

Bad card ????

Post by diablo43000 »

Hi
i got a BT878 card with 1 cip/4 ins - Provideo PV143

lspci :
(relevant part)
02:04.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
02:04.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)

dmesg :
(relevant part)
bttv: driver version 0.9.16 loaded
bttv: using 8 buffers with 2080k (520 pages) each for capture
bttv: Bt8xx card found (0).
ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 11
ACPI: PCI Interrupt 0000:02:04.0[A] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11
bttv0: Bt878 (rev 17) at 0000:02:04.0, irq: 11, latency: 66, mmio: 0x40c00000
bttv0: detected: Provideo PV143A [card=105], PCI subsystem ID is aa00:1430
bttv0: using: ProVideo PV143 [card=105,autodetected]
bttv0: gpio: en=00000000, out=00000000 in=00ffffff [init]
bttv0: using tuner=-1
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


zm is working but images are like this:
Image


anyone has any ideea whats wrong with this ?

Thank you all.
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

your not feeding ntsc into a pal input or vice versa? And what color palle you tried
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
diablo43000
Posts: 5
Joined: Fri Apr 14, 2006 1:00 am
Location: Romania

Post by diablo43000 »

tryed all Capture Palettes but it seems thats not the problem

about feeding pal in to ntsc or viceversa: they are bouth pal :D

so thats not my problem

ty for ur answer

output of

Code: Select all

eye1 ~# zmu -d /dev/video0 -q -v
Video Capabilities
  Name: BT878 video (ProVideo PV143)
  Type: 171
    Can capture
    Can tune
    Overlay onto frame buffer
    Can clip
    Scalable
  Video Channels: 4
  Audio Channels: 0
  Maximum Width: 924
  Maximum Height: 576
  Minimum Width: 48
  Minimum Height: 32
Window Attributes
  X Offset: 0
  Y Offset: 0
  Width: 528
  Height: 432
Picture Attributes
  Palette: 4 - 24bit RGB
  Colour Depth: 24
  Brightness: 40000
  Hue: 32768
  Colour :32768
  Contrast: 32768
  Whiteness: 0
Channel 0 Attributes
  Name: Composite0
  Channel: 0
  Flags: 2
    Channel has audio
  Type: 2 - Camera
  Format: 0 - PAL
Channel 1 Attributes
  Name: Composite1
  Channel: 1
  Flags: 2
    Channel has audio
  Type: 2 - Camera
  Format: 0 - PAL
Channel 2 Attributes
  Name: Composite2
  Channel: 2
  Flags: 2
    Channel has audio
  Type: 2 - Camera
  Format: 0 - PAL
Channel 3 Attributes
  Name: Composite3
  Channel: 3
  Flags: 2
    Channel has audio
  Type: 2 - Camera
  Format: 0 - PAL
any other ideeas ?


it looks to me like its a frquency problem (just like a monitor witch doesent support the feded frequency) can this be a cause ???
User avatar
diablo43000
Posts: 5
Joined: Fri Apr 14, 2006 1:00 am
Location: Romania

Post by diablo43000 »

Any ideea anyone, cause i would really hate to trow away two otherwise "good" cards ....
:(
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

One thing i would try is research your card and check its being detected properly, ie if its autodetecting as a card=105 are you sure its a 105. Have you tried the usual 77?
Just my 2 pence mate and getting cards to work can be a 8astard!
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
maclellan
Posts: 44
Joined: Fri Feb 25, 2005 10:57 pm

Post by maclellan »

Hello,

Try a few standard monitor resolutions. That is 640x480, 480x360, 320x240. Be sure to set all the monitor resolutions to the same resolution. Dont forget to restart zoneminder after making changes. Try varying the buffers say ... 20,5,10,10,1. Also check the shared memory max in sysctl.conf to approx 3/4 total memory .. ie kernel.shmmax=384000000 for 512K.


-scott
kevin_robson
Posts: 247
Joined: Sun Jan 16, 2005 11:26 am

Post by kevin_robson »

As James said it looks like you need card=77 in /etc/modprobe.conf.
Locked