CentOS 5.6 and 1.24.4 messed up camera images and montage.

Forum for questions and support relating to the 1.24.x releases only.
Locked
marrs
Posts: 28
Joined: Mon Dec 08, 2003 9:50 am

CentOS 5.6 and 1.24.4 messed up camera images and montage.

Post by marrs »

Need help :)

I have 7 cameras and when I click montage one of the 7 cameras is chosen and that same image is displayed on all monitors. Occaisionally it will display 2 cameras with the images repeated. ZM seems to select the video source randomly. I am using a genuine kodicom 4400r.

my configure:

./configure --with-webdir=/var/www/html/zm --with-cgidir=/var/www/cgi-bin --with-webuser=apache --with-webgroup=apache ZM_DB_HOST=localhost ZM_DB_NAME=zm ZM_DB_USER=zmuser ZM_DB_PASS=zmpass --with-extralibs="-L/usr/lib64 -L/usr/lib64/mysql" --with-ffmpeg=/usr/local/share/ffmpeg CXXFLAGS="-D__STDC_CONSTANT_MACROS"

bttv.conf:
options bttv gbuffers=32 card=133,132,133,133 tuner=4

[root@zoneminder zm]# cat /etc/sysctl.conf
# Kernel sysctl configuration file for Red Hat Linux
#
# For binary values, 0 is disabled, 1 is enabled. See sysctl(8) and
# sysctl.conf(5) for more details.


# Controls the maximum size of a message, in bytes
kernel.msgmnb = 65536

# Controls the default maxmimum size of a mesage queue
kernel.msgmax = 65536

# Controls the maximum shared segment size, in bytes
kernel.shmmax = 68719476736

# Controls the maximum number of shared memory segments, in pages
kernel.shmall = 4294967296

Also zmu is not working:
[root@zoneminder zm]# zmu -q -v -d /dev/video0
Error, failed to query crop capabilities /dev/video0: Invalid argument
Same for all cameras.

relevant dmesg:
bttv: driver version 0.9.16 loaded
bttv: using 32 buffers with 2080k (520 pages) each for capture
e1000: eth1: e1000_probe: Intel(R) PRO/1000 Network Connection
bttv: Bt8xx card found (0).
GSI 22 sharing vector 0xD9 and IRQ 22
ACPI: PCI Interrupt 0000:07:0c.0[A] -> GSI 17 (level, low) -> IRQ 217
bttv0: Bt878 (rev 17) at 0000:07:0c.0, irq: 217, latency: 32, mmio: 0xd8000000
bttv0: using: Kodicom 4400R (slave) [card=133,insmod option]
bttv0: gpio: en=00000000, out=00000000 in=00ffffff [init]
i2c-algo-bit.o: (0) scl=1, sda=1
i2c-algo-bit.o: (1) scl=1, sda=0
i2c-algo-bit.o: (2) scl=1, sda=1
i2c-algo-bit.o: (3) scl=0, sda=1
i2c-algo-bit.o: (4) scl=1, sda=1
i2c-algo-bit.o: bt878 #0 [sw] passed test.
bttv0: using tuner=4
bttv0: i2c: checking for TDA9887 @ 0x86... not found
Floppy drive(s): fd0 is 1.44M
FDC 0 is a National Semiconductor PC87306
bttv0: registered device video0
bttv0: registered device vbi0
bttv0: PLL: 28636363 => 35468950 .. ok
bttv: Bt8xx card found (1).
ACPI: PCI Interrupt 0000:07:0d.0[A] -> GSI 18 (level, low) -> IRQ 177
bttv1: Bt878 (rev 17) at 0000:07:0d.0, irq: 177, latency: 32, mmio: 0xd8002000
bttv1: using: Kodicom 4400R (master) [card=132,insmod option]
bttv1: gpio: en=00000000, out=00000000 in=00feffff [init]
i2c-algo-bit.o: (0) scl=0, sda=0
i2c-algo-bit.o: bt878 #1 [sw] seems to be busy.
bttv1: using tuner=-1
bttv1: registered device video1
bttv1: registered device vbi1
bttv1: PLL: 28636363 => 35468950 .. ok
bttv: Bt8xx card found (2).
ACPI: PCI Interrupt 0000:07:0e.0[A] -> GSI 19 (level, low) -> IRQ 193
bttv2: Bt878 (rev 17) at 0000:07:0e.0, irq: 193, latency: 32, mmio: 0xd8004000
bttv2: using: Kodicom 4400R (slave) [card=133,insmod option]
bttv2: gpio: en=00000000, out=00000000 in=00ffffff [init]
i2c-algo-bit.o: (0) scl=0, sda=0
i2c-algo-bit.o: bt878 #2 [sw] seems to be busy.
bttv2: using tuner=-1
bttv2: registered device video2
bttv2: registered device vbi2
bttv2: PLL: 28636363 => 35468950 .. ok
bttv: Bt8xx card found (3).
ACPI: PCI Interrupt 0000:07:0f.0[A] -> GSI 16 (level, low) -> IRQ 169
bttv3: Bt878 (rev 17) at 0000:07:0f.0, irq: 169, latency: 32, mmio: 0xd8006000
bttv3: using: Kodicom 4400R (slave) [card=133,insmod option]
bttv3: gpio: en=00000000, out=00000000 in=00feffff [init]
i2c-algo-bit.o: (0) scl=0, sda=0
i2c-algo-bit.o: bt878 #3 [sw] seems to be busy.
bttv3: using tuner=-1
bttv3: registered device video3
bttv3: registered device vbi3
bttv3: PLL: 28636363 => 35468950 .. ok


all cameras view fine with xawtv.

I need help please?!
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Re: CentOS 5.6 and 1.24.4 messed up camera images and montag

Post by zoneminder »

Have a look at Options->Config->V4L_MULTI_BUFFER and CAPTURES_PER_FRAME and see if that helps.
Phil
marrs
Posts: 28
Joined: Mon Dec 08, 2003 9:50 am

Re: CentOS 5.6 and 1.24.4 messed up camera images and montag

Post by marrs »

How embarrasing, it is the browser,
firefox works 100%, IE nope, its all over the place.

I apologise for wasting everyones time when the issue was due to something I should have checked at the very beginning. I could have saved everyone, including myself a lot of time.

I am happy to report zm is now all configured and is modect'ing beautifully and everything is now as it should be.

zmu still has issues:
[root@zoneminder ~]# zmu -q -v -d /dev/video0
Error, failed to query crop capabilities /dev/video0: Invalid argument

This is the first time I have built the zm from scratch - normally I use the liveCD hdd install so I am quite chuffed it works so well!


Many thanks,
mark
Locked