Four Channel 878 Card Help

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
Nsaunders
Posts: 11
Joined: Sun Jan 09, 2005 11:12 pm

Four Channel 878 Card Help

Post by Nsaunders »

HI
I've recently built a PC for use with Zoneminder.

ASROCK K7 upgrade 600
AMD 1600+ CPU
256 M Ram
Which works fine in Grey with a 4 channel card BT878 , I can't get the Pictures to appear in Colour, each time I select the colour Palette the frame rate drops to 0.

Any Ideas?

Nick
User avatar
thelight
Posts: 54
Joined: Sat Jun 26, 2004 9:25 pm
Contact:

Post by thelight »

Any significant log entries?
Nsaunders
Posts: 11
Joined: Sun Jan 09, 2005 11:12 pm

Post by Nsaunders »

HI,

I've found this from Dmseg

Code: Select all

bttv: driver version 0.9.14 loaded
bttv: using 4 buffers with 2080k (520 pages) each for capture
bttv: Bt8xx card found (0).
bttv0: Bt878 (rev 17) at 0000:00:09.0, irq: 17, latency: 32, mmio: 0xdfdfe000
bttv0: using:  *** UNKNOWN/GENERIC ***  [card=0,autodetected]
bttv0: gpio: en=00000000, out=00000000 in=00f360ff [init]
bttv: readee error
bttv0: using tuner=4
bttv0: i2c: checking for MSP34xx @ 0x80... not found
bttv0: i2c: checking for TDA9875 @ 0xb0... not found
bttv0: i2c: checking for TDA7432 @ 0x8a... not found
bttv0: registered device video0
bttv0: registered device vbi0
User avatar
thelight
Posts: 54
Joined: Sat Jun 26, 2004 9:25 pm
Contact:

Post by thelight »

I was thinking more along the lines of from zm itself. If they work in grey the problem is less likely to be with the card itself? When you start up zm see if there's any error's output to your messages file, I dont know about other distro's but in Fedora this is located at /var/log/messages and is where I normally get zm info and errors from.
Nsaunders
Posts: 11
Joined: Sun Jan 09, 2005 11:12 pm

Post by Nsaunders »

Not sure which File I'm looking at I have the follwing Files in /tmp

zmaudit.log
zmdc.log
zmfilter.log
zmpkg.log
zmupdate.log
zmwatch.log

The Card is /dev/video0

I've got these from mandrake tools Log
This is when the Camera is changed into Colour RGB24

Code: Select all

18:00:34 zmfix[3559]: INF [Debug Level = 0, Debug Log = ] 
18:00:34 zmfix[3559]: ERR [Can't stat /dev/video1: No such file or directory] 
18:00:34 zmc-d0[2546]: INF [Got TERM signal, exiting] 
18:00:34 zmc-d0[2546]: ERR [Sync failure for frame 3: Interrupted system call] 
18:00:35 zmc-d0[3568]: INF [Debug Level = 0, Debug Log = ] 
18:00:35 zmc-d0[3568]: ERR [Can't shmget, probably not enough shared memory space free: Invalid argument] 
18:00:35 zmc-d0[3570]: INF [Debug Level = 0, Debug Log = ] 
18:00:35 zmc-d0[3570]: ERR [Can't shmget, probably not enough shared memory space free: Invalid argument] 
18:00:36 zmu[3578]: ERR [Can't shmget, probably not enough shared memory space free: Invalid argument] 
18:00:40 zmc-d0[3595]: INF [Debug Level = 0, Debug Log = ] 
18:00:40 zmc-d0[3595]: ERR [Can't shmget, probably not enough shared memory space free: Invalid argument] 
18:00:40 zmu[3597]: ERR [Can't shmget, probably not enough shared memory space free: Invalid argument] 
18:00:43 zmu[3601]: ERR [Can't shmget, probably not enough shared memory space free: Invalid argument] 
18:00:47 zmu[3605]: ERR [Can't shmget, probably not enough shared memory space free: Invalid argument] 
18:00:50 zmc-d0[3609]: INF [Debug Level = 0, Debug Log = ] 
18:00:50 zmc-d0[3609]: ERR [Can't shmget, probably not enough shared memory space free: Invalid argument] 
18:00:50 zmu[3611]: ERR [Can't shmget, probably not enough shared memory space free: Invalid argument] 
18:00:51 zmc-d0[3617]: INF [Debug Level = 0, Debug Log = ] 
18:00:51 zmc-d0[3617]: ERR [Can't shmget, probably not enough shared memory space free: Invalid argument] 
18:00:54 zmu[3619]: ERR [Can't shmget, probably not enough shared memory space free: Invalid argument] 
18:00:55 zmfix[3624]: INF [Debug Level = 0, Debug Log = ] 
18:00:55 zmfix[3624]: ERR [Can't stat /dev/video1: No such file or directory] 
18:00:55 zmc-d0[3633]: INF [Debug Level = 0, Debug Log = ] 
18:00:55 zmc-d0[3633]: INF [Starting Capture] 

Thanks for the Help :)

Nick
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

There are a couple of obvious things here,

Code: Select all

18:00:34 zmfix[3559]: ERR [Can't stat /dev/video1: No such file or directory]
This means that you don't have that video device. If your card only has one BTTV chip on it then you will probably just have channels 0-3 on /dev/video0. If you actually do have four chips then you might need to check your modules.conf and check that is correct. Either way that is a Linux issue.

Code: Select all

18:00:35 zmc-d0[3568]: ERR [Can't shmget, probably not enough shared memory space free: Invalid argument] 
This one is a ZoneMinder error. Check the FAQ and/or README for instructions on how to fix it.

Phil
Nsaunders
Posts: 11
Joined: Sun Jan 09, 2005 11:12 pm

Post by Nsaunders »

Thanks,

The /dev/video1 is a webcam which at the time of the log was not connected.


Will Try the fix on FAQ tomorrow.

Nick
Nsaunders
Posts: 11
Joined: Sun Jan 09, 2005 11:12 pm

Problem Solved

Post by Nsaunders »

Hi,

I Followed the FAQ. Installing the card as a Grandtec 4 Multiple 878 Card.

Works Fine :D

Thanks For the help

Nick
Post Reply