After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 576185 - Acer Crystal Eye webcam not working
Acer Crystal Eye webcam not working
Status: RESOLVED FIXED
Product: ekiga
Classification: Applications
Component: Devices
3.2.x
Other All
: Normal normal
: ---
Assigned To: Ekiga maintainers
Ekiga maintainers
Depends on:
Blocks:
 
 
Reported: 2009-03-21 13:20 UTC by Jesper Pedersen
Modified: 2009-07-30 18:24 UTC
See Also:
GNOME target: ---
GNOME version: 2.23/2.24


Attachments
D4 log (19.25 KB, application/x-gzip)
2009-03-21 13:22 UTC, Jesper Pedersen
Details
D5 log from Ekiga-3.0 (5.80 KB, text/plain)
2009-04-12 13:52 UTC, Jesper Pedersen
Details

Description Jesper Pedersen 2009-03-21 13:20:33 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
Comment 1 Jesper Pedersen 2009-03-21 13:22:42 UTC
Created attachment 131080 [details]
D4 log
Comment 2 Snark 2009-03-21 18:08:47 UTC
Is that with V4L or V4L2, and did you try both?
Comment 3 Jesper Pedersen 2009-03-21 19:37:48 UTC
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.
Comment 4 Snark 2009-03-21 19:53:56 UTC
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?
Comment 5 Jesper Pedersen 2009-03-22 01:30:27 UTC
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.
Comment 6 Damien Sandras 2009-03-23 16:13:47 UTC
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.
Comment 7 Jesper Pedersen 2009-04-10 17:43:34 UTC
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.
Comment 8 Jesper Pedersen 2009-04-12 13:52:27 UTC
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.
Comment 9 Jesper Pedersen 2009-04-12 15:02:48 UTC
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.
Comment 10 Eugen Dedu 2009-04-24 20:43:58 UTC
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?
Comment 11 Jesper Pedersen 2009-04-24 20:51:40 UTC
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...
Comment 12 Eugen Dedu 2009-04-24 21:57:21 UTC
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)...
Comment 13 Jesper Pedersen 2009-07-26 14:29:22 UTC
Using Fedora 11 and stable branch 3.2 (20090726) - same problem.
Comment 14 Eugen Dedu 2009-07-29 07:24:24 UTC
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?
Comment 15 Jesper Pedersen 2009-07-30 14:57:39 UTC
YES !!

That patch solved the problem :) I have now moved to the Ekiga-3.2 branch using F11.

Thanks, Eugen !
Comment 16 Eugen Dedu 2009-07-30 18:24:30 UTC
Glad to see it works!!