Longer story, I upgraded to Ubuntu 11.10. I kept ZM at 1.24.2 rather than upgrading zm at the same time just to reduce my variables in debugging something like this. My video capture can still be seen just fine by xawtv. zmfix -a is doing its job and setting permissions on my video devices.
I turned on the extra debugging and manually ran one capture process as suggested in the troubleshooting guide
Code: Select all
sudo /usr/bin/zmc -d /dev/video6 -m 1
I don't know if it's a cause or an effect, but when I try to fully start ZM, zmwatch gives me an error in the logs of, 'Shared data size conflict in shared_data for monitor <monitor name>'. I don't see that when running zmc manually, so I suspect that could be a function of zmc exiting abnormally and then zmwatch sees the shared memory problem. I do have shmall and shmmax set in /etc/sysctl.conf exact as it has been for years now. No changes there, so I wouldn't expect there to be a problem with those values.
The troubleshooting guide suggests runnnig 'ipcs -m' to check that the shared memory segment has been created, but honestly I don't know what to look for in that output. At a minimum I do not see the SHM_KEY (0x7a6d2000) listed as a key in the output of 'ipcs -m', but it seems to me that zmc is never getting to the point of creating the shared memory segment because it's failing before that point. I feel the right thing is to focus on finding out what causes the failure "to get picture attributes".
Additionally, I don't know if this is relevant or not, but when running xawtv, I get a few warnings to the console as well as ioctl messages. Since a call to ioctl() seems to be the function that is failing in zm_local_camera.cpp, perhaps this is relevant. Here is what I see:
Code: Select all
> xawtv -device /dev/video6
This is xawtv-3.95.dfsg.1, running on Linux/i686 (3.0.0-14-generic)
xinerama 0: 1600x1200+0+0
WARNING: No DGA direct video mode for this display.
WARNING: couldn't find framebuffer base address, try manual
configuration ("v4l-conf -a <addr>")
v4l2: WARNING: framebuffer base address mismatch
v4l2: me=(nil) v4l=(nil)
Warning: Cannot convert string "-*-ledfixed-medium-r-*--39-*-*-*-c-*-*-*" to type FontStruct
ioctl: VIDIOC_S_CTRL(id=9963785;value=0): Invalid argument
ioctl: VIDIOC_S_CTRL(id=9963778;value=32768): Invalid argument
ioctl: VIDIOC_S_CTRL(id=9963776;value=32768): Invalid argument
ioctl: VIDIOC_S_CTRL(id=9963779;value=32768): Invalid argument
ioctl: VIDIOC_S_CTRL(id=9963777;value=32768): Invalid argument
Xlib: extension "GLX" missing on display ":0".
ioctl: VIDIOC_S_CTRL(id=9963785;value=1): Invalid argument