Jan 29 10:16:17 router zmc_dvideo1: ERR [Sync failure for frame 1 buffer 2(1): Invalid argument]
Looks like a driver issue,
What is at the tail end of dmesg when you have ZM running?
What happens if you run xawtx and capture jpeg snapshots from it?
Sat Jan 31, 2009 9:43 pm
Joined: Tue Feb 27, 2007 12:58 pm Posts: 39
Looks like a driver issue, What is at the tail end of dmesg when you have ZM running? What happens if you run xawtx and capture jpeg snapshots from it?
Yea I've been thinking about that too.. because it's starting to be the only thing what I can't change in any way.. i think..
dmesg doesn't output anything, syslog says:
Feb 1 12:03:40 router kernel: [178718.620994] zc3xx: probe 2wr ov vga 0x0000 Feb 1 12:03:40 router zmc_dvideo0: ERR [Sync failure for frame 1 buffer 2(1): Invalid argument] Feb 1 12:03:40 router zmc_dvideo0: ERR [Failed to post-capture monitor 0] Feb 1 12:03:40 router zmdc: ERR ['zmc -d /dev/video0' exited abnormally, exit status 255]
And ZM's own logs:
02/01/09 12:02:17.685740 zmwatch.INF [Restarting capture daemon for New, time since last capture 8 seconds (1233482537-1233482529)] 02/01/09 12:02:17.777498 zmwatch.INF ['zmc -d /dev/video0' starting at 09/02/01 12:02:17, pid = 4186] 02/01/09 12:02:27.777958 zmwatch.ERR [Can't get shared memory id '7a6d0006', 6: No such file or directory]
And now the killblow.. xawtv says like this when trying to capture a still image:
libv4l2: error setting pixformat: Invalid argument no way to get: 2048x1572 24 bit TrueColor (BE: rgb) ioctl: VIDIOC_REQBUFS(count=2;type=VIDEO_CAPTURE;memory=MMAP): Device or resource busy v4l2: oops: select timeout ioctl: VIDIOC_REQBUFS(count=0;type=VIDEO_CAPTURE;memory=MMAP): Device or resource busy libv4l2: error requesting 4 buffers: Device or resource busy v4l2: read: Device or resource busy
I didn't change anything from xawtv.. just installed it from the repository.
Sun Feb 01, 2009 11:18 am
Joined: Thu Mar 12, 2009 9:48 pm Posts: 1
I have the same problem here.
After a lot of time wasted, I think I found a solution (Ubuntu 8.10 x64):
edit the file /usr/bin/zmdc.pl (#sudo gedit /usr/bin/zmdc.pl)
insert the following line:
this line should be inserted just before the "my @daemons = (" line
just restart zoneminder and it magically works !
I followed this post, and it solved my problems. I've been through the FAQ numerous times, tweaked shared memory.... I even gave up on my Fedora box and built and Ubuntu machine last, just to have the same problems with my Labtec Webcam Pro. I am temporarily using this cheap camera to check out zoneminder. I switched back to troubleshooting the Fedora box, and then found this post, and just as I was about to completely give up on this app! Thanks!
Users browsing this forum: Google [Bot] and 1 guest
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum