No errors, no video, blank black screens (Solved!!!)

Support and queries relating to all previous versions of ZoneMinder
mpoertner
Posts: 29
Joined: Mon Jul 05, 2004 5:18 am

No errors, no video, blank black screens (Solved!!!)

Post by mpoertner »

Blank black screen showing time and date. No errors that I can tell in the logs. Any help?

ZoneMinder 1.22.3
Gentoo 2007.0
emerge zoneminder (not from source)
PV-155 16 port (from bluecherry)

Logs below:

:::::::::::::
zmaudit.log
::::::::::::::
::::::::::::::
zmdc.log
::::::::::::::
08/09/07 18:50:34.137652 zmdc[9088].INF [Server starting at 07/08/09 18:50:34]
08/09/07 18:50:37.326450 zmdc[9088].INF ['zmfilter.pl' starting at 07/08/09 18:50:37, pid = 9111]
08/09/07 18:50:37.726452 zmdc[9088].INF ['zmaudit.pl -c' starting at 07/08/09 18:50:37, pid = 9116]
08/09/07 18:50:38.066350 zmdc[9088].INF ['zmwatch.pl' starting at 07/08/09 18:50:38, pid = 9121]
08/09/07 18:50:38.398367 zmdc[9088].INF ['zmupdate.pl -c' starting at 07/08/09 18:50:38, pid = 9125]
08/09/07 18:50:38.809844 zmdc[9088].WAR [Can't find process with command of 'zma -m']
08/09/07 18:50:38.975730 zmdc[9088].WAR [Can't find process with command of 'zmc -m']
08/09/07 18:52:22.396303 zmdc[9088].WAR [Can't find process with command of 'zmc -d /dev/video0']
08/09/07 18:52:22.565234 zmdc[9088].INF ['zmc -d /dev/video0' starting at 07/08/09 18:52:22, pid = 9160]
08/09/07 18:52:22.780765 zmdc[9088].WAR [Can't find process with command of 'zma -m 7']
08/09/07 18:52:22.996027 zmdc[9088].WAR [Can't find process with command of 'zma -m']
08/09/07 18:52:23.168867 zmdc[9088].WAR [Can't find process with command of 'zmc -m']
::::::::::::::
zmfilter.log
::::::::::::::
08/09/07 18:50:37.562667 zmfilter[9111].INF [Scanning for events]
08/09/07 18:50:42.566472 zmfilter[9111].DBG [Reloading filters]
08/09/07 18:50:42.567316 zmfilter[9111].DBG [Sleeping for 60 seconds]
08/09/07 18:51:42.570439 zmfilter[9111].DBG [Sleeping for 60 seconds]
08/09/07 18:52:42.574353 zmfilter[9111].DBG [Sleeping for 60 seconds]
::::::::::::::
zmpkg.log
::::::::::::::
08/09/07 18:50:33.782183 zmpkg[9076].INF [Command: start]
::::::::::::::
zmupdate.log
::::::::::::::
::::::::::::::
zmwatch.log
::::::::::::::
08/09/07 18:50:38.218920 zmwatch[9121].INF [Watchdog starting]
08/09/07 18:50:38.219439 zmwatch[9121].INF [Watchdog pausing for 30 seconds]

==> messages <==
Aug 9 18:52:22 localhost zmdc[9088]: WAR [Can't find process with command of 'zmc -d /dev/video0']
Aug 9 18:52:22 localhost zmdc[9088]: INF ['zmc -d /dev/video0' starting at 07/08/09 18:52:22, pid = 9160]
Aug 9 18:52:22 localhost zmdc[9160]: INF ['zmc -d /dev/video0' started at 07/08/09 18:52:22]
Aug 9 18:52:22 localhost zmc_dvideo0[9160]: INF [Debug Level = 0, Debug Log = <none>]
Aug 9 18:52:22 localhost zmc_dvideo0[9160]: INF [Starting Capture]
Aug 9 18:52:22 localhost zmdc[9088]: WAR [Can't find process with command of 'zma -m 7']
Aug 9 18:52:22 localhost zmdc[9088]: WAR [Can't find process with command of 'zma -m']
Aug 9 18:52:23 localhost zmdc[9088]: WAR [Can't find process with command of 'zmc -m']
Aug 9 18:53:29 localhost zmc_dvideo0[9160]: INF [New: 1000 - Capturing at 14.93 fps]
Aug 9 18:54:36 localhost zmc_dvideo0[9160]: INF [New: 2000 - Capturing at 14.93 fps]
Aug 9 18:55:42 localhost zmc_dvideo0[9160]: INF [New: 3000 - Capturing at 15.15 fps]
Aug 9 18:56:49 localhost zmc_dvideo0[9160]: INF [New: 4000 - Capturing at 14.93 fps]

Any ideas?
Last edited by mpoertner on Thu Aug 30, 2007 10:35 pm, edited 2 times in total.
User avatar
Lee Sharp
Posts: 1069
Joined: Sat Mar 31, 2007 9:18 pm
Location: Houston, TX

Post by Lee Sharp »

Can you see video with xawtv?
mpoertner
Posts: 29
Joined: Mon Jul 05, 2004 5:18 am

Post by mpoertner »

Lee Sharp wrote:Can you see video with xawtv?
I don't have X installed.
mpoertner
Posts: 29
Joined: Mon Jul 05, 2004 5:18 am

Post by mpoertner »

Very interesting...

I changed the monitors from NTSC to PAL - And I get a scrambled picture!!!! So what the heck? Did I forget to enable NTSC somewhere?

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

Post by jameswilson »

have you set your card type? and whats your messages log say
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
mpoertner
Posts: 29
Joined: Mon Jul 05, 2004 5:18 am

Post by mpoertner »

jameswilson wrote:have you set your card type? and whats your messages log say
Not sure what you mean about the card type? Where do I do that? The messages log is included at the bottom of my first post.

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

Post by jameswilson »

just seen that and as its capturing that seems odd. Can you playback anything?
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 »

An output from:
dmesg |grep bttv

Should answer a few questions.
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

mpoertner
Posts: 29
Joined: Mon Jul 05, 2004 5:18 am

Post by mpoertner »

cordel wrote:An output from:
dmesg |grep bttv

Should answer a few questions.
dmesg|grep bttv
bttv: driver version 0.9.17 loaded
bttv: using 8 buffers with 2080k (520 pages) each for capture
bttv: Bt8xx card found (0).
bttv0: Bt878 (rev 17) at 0000:04:08.0, irq: 18, latency: 132, mmio: 0xf8000000
bttv0: detected: Provideo PV150A-1 [card=98], PCI subsystem ID is aa00:1460
bttv0: using: ProVideo PV150 [card=98,autodetected]
bttv0: gpio: en=00000000, out=00000000 in=00ffffff [init]
bttv0: using tuner=-1
bttv0: registered device video0
bttv0: registered device vbi0
bttv0: PLL: 28636363 => 35468950 .. ok
bttv: Bt8xx card found (1).
bttv1: Bt878 (rev 17) at 0000:04:09.0, irq: 19, latency: 132, mmio: 0xf8002000
bttv1: detected: Provideo PV150A-2 [card=98], PCI subsystem ID is aa01:1461
bttv1: using: ProVideo PV150 [card=98,autodetected]
bttv1: gpio: en=00000000, out=00000000 in=00ffffff [init]
bttv1: using tuner=-1
bttv1: registered device video1
bttv1: registered device vbi1
bttv1: PLL: 28636363 => 35468950 .. ok
bttv: Bt8xx card found (2).
bttv2: Bt878 (rev 17) at 0000:04:0a.0, irq: 20, latency: 132, mmio: 0xf8004000
bttv2: detected: Provideo PV150A-3 [card=98], PCI subsystem ID is aa02:1462
bttv2: using: ProVideo PV150 [card=98,autodetected]
bttv2: gpio: en=00000000, out=00000000 in=00ffffff [init]
bttv2: using tuner=-1
bttv2: registered device video2
bttv2: registered device vbi2
bttv2: PLL: 28636363 => 35468950 .. ok
bttv: Bt8xx card found (3).
bttv3: Bt878 (rev 17) at 0000:04:0b.0, irq: 17, latency: 132, mmio: 0xf8006000
bttv3: detected: Provideo PV150A-4 [card=98], PCI subsystem ID is aa03:1463
bttv3: using: ProVideo PV150 [card=98,autodetected]
bttv3: gpio: en=00000000, out=00000000 in=00ffffff [init]
bttv3: using tuner=-1
bttv3: registered device video3
bttv3: registered device vbi3
bttv3: PLL: 28636363 => 35468950 .. ok
bttv0: PLL can sleep, using XTAL (28636363).
bttv0: PLL: 28636363 => 35468950 .. ok
bttv0: PLL can sleep, using XTAL (28636363).
bttv0: PLL: 28636363 => 35468950 .. ok

The last two lines there repeated about 200 times. I cut them off just to shorten the post.

Matt
mpoertner
Posts: 29
Joined: Mon Jul 05, 2004 5:18 am

Post by mpoertner »

cordel wrote:A quick search turned up this:
http://www.zoneminder.com/forums/viewto ... ight=pv155
I'm having that problem too but in his post he says the first channels work fine where mine don't. PAL gets me an image but NTSC does not.

Matt
mpoertner
Posts: 29
Joined: Mon Jul 05, 2004 5:18 am

Post by mpoertner »

mpoertner wrote:
cordel wrote:A quick search turned up this:
http://www.zoneminder.com/forums/viewto ... ight=pv155
I'm having that problem too but in his post he says the first channels work fine where mine don't. PAL gets me an image but NTSC does not.

Matt
I used the module options to fix that other problem but I'm still having the PAL/NTSC issue.

Any more ideas? I feel so close to having a working system here. Any help would be greatly appreciated!

Cheers!
Matt
overly
Posts: 36
Joined: Mon Aug 20, 2007 6:14 pm
Location: Cleveland, Ohio USA

Post by overly »

Are you guys perhaps using a 2.6.21.5 kernel on your distribution? I was on my Slack12 installation and found that a bug was introduced in the bttv driver in this version. Check my post on the subject:

http://www.zoneminder.com/forums/viewtopic.php?t=10108

I had similar symtoms where PAL would show a fuzzy picture but nothing with NTSC. I managed to get it working once by unloading then reloading the bttv driver then running TVTime to init the driver. Once the machine was rebooted I couldn't get it to work again, and I had forgotten what I did before to get it working.

Try this test:

stop zm:
zmpkg.pl stop

unload the bttv driver:
rmmod bttv

reload the bttv driver:
modprobe bttv

run tvtime to init the driver (if you have it installed)
tvtime -d /dev/video0
(change /dev/video0 to whatever your device is)

exit tvtime

Then try starting zm and see if you get a picture in NTSC. If you get a picture then you are probably experiencing the kernel bug that I was.
hushpuppy
Posts: 147
Joined: Wed Aug 08, 2007 10:28 am

Post by hushpuppy »

I use bttv on a debian system, dmesg shows this.

bttv: driver version 0.9.15 loaded
bttv: using 8 buffers with 2080k (520 pages) each for capture
bttv: Bt8xx card found (0).
bttv0: Bt878 (rev 17) at 0000:00:0a.0, irq: 169, latency: 32, mmio: 0xde009000
bttv0: using: *** UNKNOWN/GENERIC *** [card=0,autodetected]
bttv0: gpio: en=00000000, out=00000000 in=00f360ff [init]
bttv: readee error
bttv0: using tuner=-1
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


If i remember correctly (this was configured 18 months ago) i had to use the device Format as Auto, and capture pallette as RGB24, anything else gave a similar display to what you describe.
If you use a different channel, do you get a blue screen ?.

Is your camera working correctly ?

Have you tried forcing a generic card, (when using modprobe)?.
mpoertner
Posts: 29
Joined: Mon Jul 05, 2004 5:18 am

Post by mpoertner »

overly wrote:Are you guys perhaps using a 2.6.21.5 kernel on your distribution? I was on my Slack12 installation and found that a bug was introduced in the bttv driver in this version.
Yup, it was the Kernel!!!! I downloaded and configured 2.6.23 (Gentoo mm-sources) and now I get a clear picture.

Thanks a TON overly!

Matt
Locked