no monitors at all - shared memory error

Forum for questions and support relating to the 1.24.x releases only.
Locked
nuck
Posts: 148
Joined: Tue Nov 11, 2008 1:43 am
Location: Canada

no monitors at all - shared memory error

Post by nuck »

I pulled down zm-1.24 from svn late last night. Seemed to build and install fine but I can't get any monitors to work. I have the monitors configured as V4L2, 320x240, NTSC, grey scale. I tried V4L1 to see if that would work but got no joy there either.

from /varlog/syslog

Code: Select all

Feb 17 11:44:35 ZM zmc_dvideo3[2831]: ERR [Captured image does not match expected size, check width, height and colour depth]
Feb 17 11:44:35 ZM zmc_dvideo3[2831]: ERR [Failed to capture monitor 0 image]
Feb 17 11:44:35 ZM zmdc[2809]: ERR ['zmc -d /dev/video3' exited abnormally, exit status 255] 
Feb 17 11:44:35 ZM zmc_dvideo1[2834]: ERR [Captured image does not match expected size, check width, height and colour depth]
Feb 17 11:44:35 ZM zmc_dvideo1[2834]: ERR [Failed to capture monitor 0 image]
Feb 17 11:44:35 ZM zmdc[2809]: ERR ['zmc -d /dev/video1' exited abnormally, exit status 255] 
Feb 17 11:44:36 ZM zmc_dvideo3[2836]: ERR [Captured image does not match expected size, check width, height and colour depth]
Feb 17 11:44:36 ZM zmc_dvideo3[2836]: ERR [Failed to capture monitor 0 image]
Feb 17 11:44:36 ZM zmdc[2809]: ERR ['zmc -d /dev/video3' exited abnormally, exit status 255] 
Feb 17 11:44:36 ZM zmc_dvideo1[2837]: ERR [Captured image does not match expected size, check width, height and colour depth]
Feb 17 11:44:36 ZM zmc_dvideo1[2837]: ERR [Failed to capture monitor 0 image]
Feb 17 11:44:36 ZM zmdc[2809]: ERR ['zmc -d /dev/video1' exited abnormally, exit status 255] 
Feb 17 11:44:41 ZM zmc_dvideo1[2864]: ERR [Captured image does not match expected size, check width, height and colour depth]
Feb 17 11:44:41 ZM zmc_dvideo1[2864]: ERR [Failed to capture monitor 0 image]
Feb 17 11:44:41 ZM zmc_dvideo3[2865]: ERR [Captured image does not match expected size, check width, height and colour depth]
Feb 17 11:44:41 ZM zmc_dvideo3[2865]: ERR [Failed to capture monitor 0 image]
Feb 17 11:44:41 ZM zmdc[2809]: ERR ['zmc -d /dev/video1' exited abnormally, exit status 255] 
Feb 17 11:44:41 ZM zmdc[2809]: ERR ['zmc -d /dev/video3' exited abnormally, exit status 255] 
Feb 17 11:44:51 ZM zmc_dvideo1[2890]: ERR [Captured image does not match expected size, check width, height and colour depth]
Feb 17 11:44:51 ZM zmc_dvideo1[2890]: ERR [Failed to capture monitor 0 image]
Feb 17 11:44:51 ZM zmc_dvideo3[2891]: ERR [Captured image does not match expected size, check width, height and colour depth]
Feb 17 11:44:51 ZM zmc_dvideo3[2891]: ERR [Failed to capture monitor 0 image]
Feb 17 11:44:51 ZM zmdc[2809]: ERR ['zmc -d /dev/video1' exited abnormally, exit status 255] 
Feb 17 11:44:51 ZM zmdc[2809]: ERR ['zmc -d /dev/video3' exited abnormally, exit status 255] 
Feb 17 11:45:07 ZM zmwatch[2842]: ERR [Can't get shared memory id '7a6d0001', 1: No such file or directory] 
Feb 17 11:45:07 ZM zmwatch[2842]: ERR [Can't get shared memory id '7a6d0002', 2: No such file or directory] 
Feb 17 11:45:11 ZM zmc_dvideo1[2898]: ERR [Captured image does not match expected size, check width, height and colour depth]
Feb 17 11:45:11 ZM zmc_dvideo1[2898]: ERR [Failed to capture monitor 0 image]
Feb 17 11:45:11 ZM zmc_dvideo3[2899]: ERR [Captured image does not match expected size, check width, height and colour depth]
Feb 17 11:45:11 ZM zmc_dvideo3[2899]: ERR [Failed to capture monitor 0 image]
Feb 17 11:45:11 ZM zmdc[2809]: ERR ['zmc -d /dev/video1' exited abnormally, exit status 255] 
Feb 17 11:45:11 ZM zmdc[2809]: ERR ['zmc -d /dev/video3' exited abnormally, exit status 255] 
Feb 17 11:45:17 ZM zmwatch[2842]: ERR [Can't get shared memory id '7a6d0001', 1: No such file or directory] 
Feb 17 11:45:17 ZM zmwatch[2842]: ERR [Can't get shared memory id '7a6d0002', 2: No such file or directory] 
Feb 17 11:45:27 ZM zmwatch[2842]: ERR [Can't get shared memory id '7a6d0001', 1: No such file or directory] 
Feb 17 11:45:27 ZM zmwatch[2842]: ERR [Can't get shared memory id '7a6d0002', 2: No such file or directory] 
Feb 17 11:45:37 ZM zmwatch[2842]: ERR [Can't get shared memory id '7a6d0001', 1: No such file or directory] 
Feb 17 11:45:37 ZM zmwatch[2842]: ERR [Can't get shared memory id '7a6d0002', 2: No such file or directory] 
from /tmp/zmwatch.log

Code: Select all

02/17/09 11:44:37.571199 zmwatch[2842].INF [Watchdog starting]
02/17/09 11:44:37.579896 zmwatch[2842].INF [Watchdog pausing for 30 seconds]
02/17/09 11:45:07.583998 zmwatch[2842].ERR [Can't get shared memory id '7a6d0001', 1: No such file or directory]
02/17/09 11:45:07.584623 zmwatch[2842].ERR [Can't get shared memory id '7a6d0002', 2: No such file or directory]
02/17/09 11:45:17.587033 zmwatch[2842].ERR [Can't get shared memory id '7a6d0001', 1: No such file or directory]
02/17/09 11:45:17.587637 zmwatch[2842].ERR [Can't get shared memory id '7a6d0002', 2: No such file or directory]
02/17/09 11:45:27.591472 zmwatch[2842].ERR [Can't get shared memory id '7a6d0001', 1: No such file or directory]
02/17/09 11:45:27.592076 zmwatch[2842].ERR [Can't get shared memory id '7a6d0002', 2: No such file or directory]
02/17/09 11:45:37.595935 zmwatch[2842].ERR [Can't get shared memory id '7a6d0001', 1: No such file or directory]
02/17/09 11:45:37.596545 zmwatch[2842].ERR [Can't get shared memory id '7a6d0002', 2: No such file or directory]
from /tmp/zmdc.log

Code: Select all

02/17/09 11:44:32.099872 zmdc[2809].INF [Server starting at 09/02/17 11:44:32]
02/17/09 11:44:35.332996 zmdc[2809].INF ['zmc -d /dev/video3' starting at 09/02/17 11:44:35, pid = 2831]
02/17/09 11:44:35.672730 zmdc[2809].ERR ['zmc -d /dev/video3' exited abnormally, exit status 255]
02/17/09 11:44:35.673550 zmdc[2809].INF ['zmc -d /dev/video1' starting at 09/02/17 11:44:35, pid = 2834]
02/17/09 11:44:35.804487 zmdc[2809].INF [Starting pending process, zmc -d /dev/video3]
02/17/09 11:44:35.840728 zmdc[2809].INF ['zmc -d /dev/video3' starting at 09/02/17 11:44:35, pid = 2836]
02/17/09 11:44:35.966414 zmdc[2809].ERR ['zmc -d /dev/video1' exited abnormally, exit status 255]
02/17/09 11:44:35.966985 zmdc[2809].INF [Starting pending process, zmc -d /dev/video1]
02/17/09 11:44:35.972879 zmdc[2809].INF ['zmc -d /dev/video1' starting at 09/02/17 11:44:35, pid = 2837]
02/17/09 11:44:36.138993 zmdc[2809].INF ['zmfilter.pl' starting at 09/02/17 11:44:36, pid = 2838]
02/17/09 11:44:36.184632 zmdc[2809].ERR ['zmc -d /dev/video3' exited abnormally, exit status 255]
02/17/09 11:44:36.266601 zmdc[2809].ERR ['zmc -d /dev/video1' exited abnormally, exit status 255]
02/17/09 11:44:36.569783 zmdc[2809].INF ['zmaudit.pl -c' starting at 09/02/17 11:44:36, pid = 2840]
02/17/09 11:44:37.120226 zmdc[2809].INF ['zmwatch.pl' starting at 09/02/17 11:44:37, pid = 2842]
02/17/09 11:44:37.604748 zmdc[2809].INF ['zmupdate.pl -c' starting at 09/02/17 11:44:37, pid = 2845]
02/17/09 11:44:41.008676 zmdc[2809].INF [Starting pending process, zmc -d /dev/video1]
02/17/09 11:44:41.032972 zmdc[2809].INF ['zmc -d /dev/video1' starting at 09/02/17 11:44:41, pid = 2864]
02/17/09 11:44:41.033584 zmdc[2809].INF [Starting pending process, zmc -d /dev/video3]
02/17/09 11:44:41.057000 zmdc[2809].INF ['zmc -d /dev/video3' starting at 09/02/17 11:44:41, pid = 2865]
02/17/09 11:44:41.305286 zmdc[2809].ERR ['zmc -d /dev/video1' exited abnormally, exit status 255]
02/17/09 11:44:41.325869 zmdc[2809].ERR ['zmc -d /dev/video3' exited abnormally, exit status 255]
02/17/09 11:44:51.025218 zmdc[2809].INF [Starting pending process, zmc -d /dev/video1]
02/17/09 11:44:51.041676 zmdc[2809].INF ['zmc -d /dev/video1' starting at 09/02/17 11:44:51, pid = 2890]
02/17/09 11:44:51.043621 zmdc[2809].INF [Starting pending process, zmc -d /dev/video3]
02/17/09 11:44:51.109436 zmdc[2809].INF ['zmc -d /dev/video3' starting at 09/02/17 11:44:51, pid = 2891]
02/17/09 11:44:51.382697 zmdc[2809].ERR ['zmc -d /dev/video1' exited abnormally, exit status 255]
02/17/09 11:44:51.403313 zmdc[2809].ERR ['zmc -d /dev/video3' exited abnormally, exit status 255]
02/17/09 11:45:11.018048 zmdc[2809].INF [Starting pending process, zmc -d /dev/video1]
02/17/09 11:45:11.046352 zmdc[2809].INF ['zmc -d /dev/video1' starting at 09/02/17 11:45:11, pid = 2898]
02/17/09 11:45:11.046980 zmdc[2809].INF [Starting pending process, zmc -d /dev/video3]
02/17/09 11:45:11.070385 zmdc[2809].INF ['zmc -d /dev/video3' starting at 09/02/17 11:45:11, pid = 2899]
02/17/09 11:45:11.303909 zmdc[2809].ERR ['zmc -d /dev/video1' exited abnormally, exit status 255]
02/17/09 11:45:11.324583 zmdc[2809].ERR ['zmc -d /dev/video3' exited abnormally, exit status 255]
02/17/09 11:45:41.902571 zmdc[2809].INF ['zmfilter.pl ' stopping at 09/02/17 11:45:41]
02/17/09 11:45:41.904463 zmdc[2809].INF ['zmfilter.pl ' exited, signal 14]
02/17/09 11:45:41.905003 zmdc[2809].INF ['zmupdate.pl -c' stopping at 09/02/17 11:45:41]
02/17/09 11:45:41.906253 zmdc[2809].INF ['zmupdate.pl -c' exited, signal 14]
02/17/09 11:45:41.906677 zmdc[2809].INF ['zmwatch.pl ' stopping at 09/02/17 11:45:41]
02/17/09 11:45:41.907810 zmdc[2809].INF ['zmwatch.pl ' exited, signal 14]
02/17/09 11:45:41.908268 zmdc[2809].INF ['zmaudit.pl -c' stopping at 09/02/17 11:45:41]
02/17/09 11:45:41.909520 zmdc[2809].INF ['zmaudit.pl -c' exited, signal 14]
02/17/09 11:45:52.022493 zmdc[2809].INF [Server shutdown at 09/02/17 11:45:52]
I'm stumped.
nuck
Posts: 148
Joined: Tue Nov 11, 2008 1:43 am
Location: Canada

Post by nuck »

What version of ffmpeg should be used to build zm-1.24 at it's current status? I was using a release from Feb 10th 09
newvisionantenna
Posts: 381
Joined: Sat Jan 17, 2009 7:49 pm
Location: Germany

Post by newvisionantenna »

Just put a SVN Live CD together today with the patch for ffmpeg, seems to work fine on 8.10 for me. What kind of devices are you trying to use? Maybe I missed that part somewhere, but all the devices I've plugged in so far are v4l1 and work.
nuck
Posts: 148
Joined: Tue Nov 11, 2008 1:43 am
Location: Canada

Post by nuck »

newvisionantenna wrote:Just put a SVN Live CD together today with the patch for ffmpeg, seems to work fine on 8.10 for me.
The only problem I was running into with the original release was when I was trying to multiplex inputs. I had a working setup with the 1.24.0 release. Nothing seems to want to work with svn-2766.
What kind of devices are you trying to use? Maybe I missed that part somewhere, but all the devices I've plugged in so far are v4l1 and work.
LMLBT44 card with X10 b/w cameras. Nothing fancy.

I'm starting to wonder if I shouldn't be installing yet another "newer" version of ffmpeg. I'm pretty sure the version I have installed is svn-17125 but I'm not 100% sure of that.
nuck
Posts: 148
Joined: Tue Nov 11, 2008 1:43 am
Location: Canada

Post by nuck »

Ok, I pulled down and installed svn-2775 tonight. No noticeable changes from what I can see as far as any monitors I set up not working.

Here's a debug log -

Code: Select all

02/18/09 01:50:44.152584 zmc_dvideo3[13714].INF-zm_debug.c/292 [New Debug Level = 5, New Debug Log = /tmp/zm_debug.log.13714]
02/18/09 01:50:44.153048 zmc_dvideo3[13714].DB1-zm_monitor.cpp/1706 [Got 1 monitors]
02/18/09 01:50:44.153656 zmc_dvideo3[13714].DB2-zm_local_camera.cpp/287 [V4L2 support enabled, using V4L2 api]
02/18/09 01:50:44.154172 zmc_dvideo3[13714].DB1-zm_monitor.cpp/338 [monitor purpose=1]
02/18/09 01:50:44.154202 zmc_dvideo3[13714].DB1-zm_monitor.cpp/345 [mem.size=3073192]
02/18/09 01:50:44.154303 zmc_dvideo3[13714].DB1-zm_monitor.cpp/369 [Unable to map file /dev/shm/.zm.mmap.1 (3073192 bytes) to locked memory, trying unlocked]
02/18/09 01:50:44.161933 zmc_dvideo3[13714].DB1-zm_zone.cpp/50 [Initialised zone 0/All - 1 - 320x240 - Rgb:ff0000, CM:3, MnAT:15, MxAT:0, MnAP:50, MxAP:75000, FB:3x3, MnFP:50, MxFP:50000, MnBS:10, MxBS:0, MnB:0, MxB:0, OF: 0]
02/18/09 01:50:44.165356 zmc_dvideo3[13714].DB1-zm_monitor.cpp/458 [Monitor New has function 2]
02/18/09 01:50:44.165384 zmc_dvideo3[13714].DB1-zm_monitor.cpp/459 [Monitor New LBF = '%N - %y/%m/%d %H:%M:%S', LBX = 0, LBY = 0]
02/18/09 01:50:44.165409 zmc_dvideo3[13714].DB1-zm_monitor.cpp/460 [Monitor New IBC = 40, WUC = 25, pEC = 10, PEC = 10, EAF = 1, FRI = 1000, RBP = 7, FM = 0]
02/18/09 01:50:44.165831 zmc_dvideo3[13714].DB1-zm_zone.cpp/889 [Got 1 zones for monitor New]
02/18/09 01:50:44.165873 zmc_dvideo3[13714].DB5-zm_zone.cpp/918 [Parsing polygon 0,0 319,0 319,239 0,239]
02/18/09 01:50:44.165900 zmc_dvideo3[13714].DB3-zm_zone.cpp/758 [Parsing polygon string '0,0 319,0 319,239 0,239']
02/18/09 01:50:44.165924 zmc_dvideo3[13714].DB3-zm_zone.cpp/796 [Got coordinate 0,0 from polygon string]
02/18/09 01:50:44.165947 zmc_dvideo3[13714].DB3-zm_zone.cpp/796 [Got coordinate 319,0 from polygon string]
02/18/09 01:50:44.165969 zmc_dvideo3[13714].DB3-zm_zone.cpp/796 [Got coordinate 319,239 from polygon string]
02/18/09 01:50:44.165990 zmc_dvideo3[13714].DB3-zm_zone.cpp/796 [Got coordinate 0,239 from polygon string]
02/18/09 01:50:44.166014 zmc_dvideo3[13714].DB3-zm_zone.cpp/816 [Successfully parsed polygon string]
02/18/09 01:50:44.166037 zmc_dvideo3[13714].DB1-zm_zone.cpp/50 [Initialised zone 1/All - 1 - 320x240 - Rgb:ff0000, CM:3, MnAT:25, MxAT:0, MnAP:2304, MxAP:57600, FB:3x3, MnFP:2304, MxFP:57600, MnBS:1536, MxBS:0, MnB:1, MxB:0, OF: 0]
02/18/09 01:50:44.169298 zmc_dvideo3[13714].DB1-zm_monitor.cpp/1808 [Loaded monitor 1(New), 1 zones]
02/18/09 01:50:44.169328 zmc_dvideo3[13714].INF-zmc.cpp/186 [Starting Capture]
02/18/09 01:50:44.169643 zmc_dvideo3[13714].DB3-zm_local_camera.cpp/347 [Opening video device /dev/video3]
02/18/09 01:50:44.169753 zmc_dvideo3[13714].DB2-zm_local_camera.cpp/353 [V4L2 support enabled, using V4L2 api]
02/18/09 01:50:44.169779 zmc_dvideo3[13714].DB3-zm_local_camera.cpp/358 [Checking video device capabilities]
02/18/09 01:50:44.169830 zmc_dvideo3[13714].DB3-zm_local_camera.cpp/368 [Setting up video format]
02/18/09 01:50:44.169865 zmc_dvideo3[13714].DB3-zm_local_camera.cpp/397 [Setting up request buffers]
02/18/09 01:50:44.169900 zmc_dvideo3[13714].DB3-zm_local_camera.cpp/425 [Setting up 8 data buffers]
02/18/09 01:50:44.170002 zmc_dvideo3[13714].DB3-zm_local_camera.cpp/460 [Configuring video source]
02/18/09 01:50:44.170050 zmc_dvideo3[13714].DB3-zm_local_camera.cpp/641 [Setting up static colour tables]
02/18/09 01:50:44.170083 zmc_dvideo3[13714].DB2-zm_local_camera.cpp/1131 [Priming capture]
02/18/09 01:50:44.170106 zmc_dvideo3[13714].DB3-zm_local_camera.cpp/1135 [Queueing buffers]
02/18/09 01:50:44.171668 zmc_dvideo3[13714].DB3-zm_local_camera.cpp/1151 [Starting video stream]
02/18/09 01:50:44.171850 zmc_dvideo3[13714].DB2-zm_local_camera.cpp/1177 [Pre-capturing]
02/18/09 01:50:44.171887 zmc_dvideo3[13714].DB3-zm_local_camera.cpp/1183 [Capturing]
02/18/09 01:50:44.171910 zmc_dvideo3[13714].DB3-zm_local_camera.cpp/1206 [Capturing 1 frames]
02/18/09 01:50:44.287395 zmc_dvideo3[13714].DB3-zm_local_camera.cpp/1230 [Captured frame 0/4 from channel 0]
02/18/09 01:50:44.287439 zmc_dvideo3[13714].DB3-zm_local_camera.cpp/1264 [Doing format conversion]
02/18/09 01:50:44.290890 zmc_dvideo3[13714].DB3-zm_local_camera.cpp/1569 [Assigning image]
02/18/09 01:50:44.291135 zmc_dvideo3[13714].ERR-zm_monitor.cpp/2499 [Captured image does not match expected size, check width, height and colour depth]
02/18/09 01:50:44.291409 zmc_dvideo3[13714].ERR-zmc.cpp/258 [Failed to capture monitor 0 image]
02/18/09 01:50:44.291569 zmc_dvideo3[13714].DB3-zm_local_camera.cpp/685 [Terminating video stream]
02/18/09 01:50:44.320776 zmc_dvideo3[13714].DB3-zm_local_camera.cpp/691 [Unmapping video buffers]
Perhaps I may be I'm going senile but I have to ask. Early on in the setup process it says "Loaded Monitor 1" and when it finally errors out it is saying "Failed to capture Monitor 0 image". Am I seeing things, or just not understanding what is going on here?

Not at all concerned about the "Unable to map file /dev/shm/.zm.mmap.1" at the moment. The file is there, zm created it, so it should be writeable. I was just tinkering and enabled mmap when I ran the last build.

In /var/log/syslog I'm seeing this -

Code: Select all

Feb 18 01:40:14 ZM zmc_dvideo3[13627]: ERR [Captured image does not match expected size, check width, height and colour depth]
Feb 18 01:40:14 ZM zmc_dvideo3[13627]: ERR [Failed to capture monitor 0 image]
Feb 18 01:40:14 ZM zmdc[13400]: ERR ['zmc -d /dev/video3' exited abnormally, exit status 255] 
Feb 18 01:40:24 ZM zmc_dvideo3[13628]: ERR [Captured image does not match expected size, check width, height and colour depth]
Feb 18 01:40:24 ZM zmc_dvideo3[13628]: ERR [Failed to capture monitor 0 image]
Feb 18 01:40:24 ZM zmdc[13400]: ERR ['zmc -d /dev/video3' exited abnormally, exit status 255] 
Feb 18 01:40:44 ZM zmc_dvideo3[13629]: ERR [Captured image does not match expected size, check width, height and colour depth]
Feb 18 01:40:44 ZM zmc_dvideo3[13629]: ERR [Failed to capture monitor 0 image]
Feb 18 01:40:44 ZM zmdc[13400]: ERR ['zmc -d /dev/video3' exited abnormally, exit status 255] 
Feb 18 01:41:24 ZM zmc_dvideo3[13652]: ERR [Captured image does not match expected size, check width, height and colour depth]
Feb 18 01:41:24 ZM zmc_dvideo3[13652]: ERR [Failed to capture monitor 0 image]
Feb 18 01:41:24 ZM zmdc[13400]: ERR ['zmc -d /dev/video3' exited abnormally, exit status 255] 
Feb 18 01:42:44 ZM zmc_dvideo3[13662]: ERR [Captured image does not match expected size, check width, height and colour depth]
Feb 18 01:42:44 ZM zmc_dvideo3[13662]: ERR [Failed to capture monitor 0 image]
Feb 18 01:42:44 ZM zmdc[13400]: ERR ['zmc -d /dev/video3' exited abnormally, exit status 255] 
Feb 18 01:44:11 ZM zmdc[13400]: WAR [Can't find process with command of 'zmc -m'] 
Feb 18 01:44:11 ZM zmdc[13400]: WAR [Can't find process with command of 'zma -m'] 
Feb 18 01:44:16 ZM zmwatch[13429]: ERR [Can't open memory map file '/dev/shm/.zm.mmap.2': No such file or directory] 
Feb 18 01:44:56 ZM last message repeated 4 times
So call me a senile old old fart, but I know what I'm seeing and it's not making sense. What's with the references to monitor 0? /dev/video3 is the correct device.

Also, where zmwatch had been squaking about not being able to create memory space for the first monitor when I only had one monitor defined, I'd created a second monitor and now it's squaking about not being to create memory space for it. All in all, me thinks device numbering has been stomped on somehow, somewhere along the line.
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

Ignore zmwatch for now. The error message about monitor 0 is confusing and I was looking at changing it yesterday. It basically refers to the zeroth monitor that that zmc has to handle. If you have multiple cams on a card on the same input but on different channels then there may be several monitors that one zmc is looking after. In this case it just means the single one so that is consistent.

I think your issue is related to the cams being grey-scale. I will go check the code and run some tests here but in the meantime maybe you could try with a different palette and see if that makes a difference.
Phil
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

I have found a bit of a bug with greyscale monitors which I have now fixed and which will be up on the SVN a little later. I have also revisited the conversion area and removed format conversions where both formats are the same which might make a tiny bit of a performance improvement also.
Phil
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

I have also tweaked that error message bit to make it clearer.
Phil
nuck
Posts: 148
Joined: Tue Nov 11, 2008 1:43 am
Location: Canada

Post by nuck »

zoneminder wrote:I have found a bit of a bug with greyscale monitors which I have now fixed and which will be up on the SVN a little later.
Ok, thanks Phil. I'll have a look later on today after I've done my first round of snow shovelling.
nuck
Posts: 148
Joined: Tue Nov 11, 2008 1:43 am
Location: Canada

Post by nuck »

I just installed svn-2778 and I have monitors back working again. I also have 2 channels functioning again. This is on a LMLBT44 card.

Congratulations Phil, and thanks.

The only issue that jumped right out at me is that when I first define a monitor I have to open the source config window (click on the device) and resave the monitor before it will enable (change from red). Perhaps if I were to wait long enough it may enable on it's own.
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

I'm not sure I exactly understand what you are referring to here but if perhaps you installed on top of a running ZM then it might take up to 15 minutes I think for the capture daemons to get restarted.

The normal behaviour is that is any daemon or process fails it is restarted immediately. If it keeps falling over then the restart gets progressively less frequent to avoid (a) clogging up the logs and (b) using systems resources on things that aren't working. The maximum delay is about 15 minutes I think. You can manually type

Code: Select all

zmdc.pl status
and it will list as pending any processes that are waiting to be restarted and at what time the next restart attempt is.

As a general rule I would recommend stopping ZM entirely before installing though.
Phil
nuck
Posts: 148
Joined: Tue Nov 11, 2008 1:43 am
Location: Canada

Post by nuck »

zoneminder wrote:As a general rule I would recommend stopping ZM entirely before installing though.
No, I'd stopped ZM before installing. I've run into an install failing due to not being able to replace a running binary, so I know better.

Not a huge deal anyway. It's only a matter of clicking on the source and saving it again to get it to come alive. It's working which is all that really matters in the end.
Locked