GNOME Bugzilla – Bug 576185
Acer Crystal Eye webcam not working
Last modified: 2009-07-30 18:24:30 UTC
Please describe the problem: My Acer Crystal Eye webcam is not working with Ekiga-3.2. Camera is grey'ed out in configuration - and a moving logo is shown instead. Let me know if I somehow can provide more information about this line: GMVideoInputManager_ptlib Encountered error 1 while opening device Regression from Ekiga-3.0.2. Steps to reproduce: 1. Start ekiga 2. Moving logo shown instead of Crystal Eye 3. Actual results: Expected results: Does this happen every time? Yes Other information: PTLIB 2.6 / OPAL 3.6 / EKIGA 3.2 -- stable branches from 20090321
Created attachment 131080 [details] D4 log
Is that with V4L or V4L2, and did you try both?
Sorry, it is with V4L2 -- V4L doesn't for this cam. Both Ekiga-3.0.2 and luvcview works ok. I have compiled the packages with debug enabled if there is anything I can try - let me know.
Uh... 3.0.2... you know, 3.2.0 is out : ftp://ftp.gnome.org/pub/gnome/sources/ekiga/3.2/ Could you test, please?
It is a regression from Ekiga-3.0.2 -- that version works ok. Ekiga-3.2.0-20090321 (rev 7798) is the one that doesn't work.
I'm very surprised it does not work. The code did not change at all during that period. Can you make sure it is not a problem on your side ? Try plugging/unplugging.
Updated to branches from today (20090410 - although hit 578635). Did a "rmmod uvcvideo", since it is a built-in web cam in the Acer notebook. Same results - "Detect" in video device preferences doesn't help.
Created attachment 132549 [details] D5 log from Ekiga-3.0 Attached is the log from Ekiga 3.0 - that shows that the web cam is initialized.
So bool GMVideoInputManager_ptlib::open (unsigned width, unsigned height, unsigned fps) fails in this line: input_device = PVideoInputDevice::CreateOpenedDevice (current_state.device.source, current_state.device.name, FALSE); with a VI_ERROR_DEVICE. So it looks like a regression in ptlib to me... Could I affected by the changes to ptlib/src//ptlib/common/osutils.cxx somehow ? I went through the diff between ptlib-2.4 and ptlib-2.6 and it seemed like the only change that could affect my uvcvideo driver. If you look at the log from Ekiga-3.0 it runs through the initializing phase two times, as the first phase returns a -1 - but it gets access to the camera in the second run. It also has to try a lot of color converters before finding one it can use... Let me know if I can provide more information.
Then it should be a problem in ptlib source. Could you analyse further in ptlib source, src/ptlib/common/videoio.cxx, line PVideoInputDevice * PVideoInputDevice::CreateOpenedDevice(const PString & driverName, ? to see where the behaviour changes in ptlib between ekiga 3.2 and ekiga 3.0?
There are no changes in videoio.cxx between ptlib-2.4 and ptlib-2.6. So the problem has to be deeper in the stack...
If you can compile the code, you can apply a manual bissect, simultaneously for ptlib/opal/ekiga. You will need maybe 8 compilations (2^8 = 256 commits)...
Using Fedora 11 and stable branch 3.2 (20090726) - same problem.
Jesper, I do not know how video works, but do you know if http://sourceforge.net/tracker/?func=detail&aid=2821189&group_id=204472&atid=989748 fixes your issue as well?
YES !! That patch solved the problem :) I have now moved to the Ekiga-3.2 branch using F11. Thanks, Eugen !
Glad to see it works!!