How configure webcam

Hello, i have a logitech quickcam and it worked well till some days ago… If i execute cheese it gives the error:

cheese:13714): Clutter-CRITICAL **: Unable to initialize Clutter: Unable to find suitable fbconfig for the GLX context: Failed to find any compatible fbconfigs

It doent work either in amsn. Seem some update broke it or i dont know what happened.

Perhaps systemd vs system V problem ?

My lsusb:


eduardo@Desktop:/usr/share/amsn$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 05e3:0606 Genesys Logic, Inc. USB 2.0 Hub / D-Link DUB-H4 USB 2.0 Hub
Bus 001 Device 003: ID 046d:09a4 Logitech, Inc. QuickCam E 3500
Bus 001 Device 004: ID 11b0:6148 ATECH FLASH TECHNOLOGY 
Bus 001 Device 005: ID 0a5c:2121 Broadcom Corp. BCM2210 Bluetooth

On 2012-03-02 21:16, ejgutierrez wrote:

> cheese:13714): Clutter-CRITICAL **: Unable to initialize Clutter:
> Unable to find suitable fbconfig for the GLX context: Failed to find any
> compatible fbconfigs

You did not say what openSUSE version you are using. Is it 12.1? Then it is
a known bug (731585) with no resolution.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

What EXACTLY did you do several days ago ? Did you update your video driver ? You can check what apps were installed by running:


rpm -qa --last | less

When I look here Linux UVC driver & tools I see the 046d:09a4 is supported with a ‘uvc’ driver.

You say it stopped working some days ago. Have you rebooted since ? Are you running a stock kernel ? If so, what is your kernel version ? You can find that out by typing:


uname -a

Do you have the uvc driver loaded ?

What is the output of


lsmod | grep uvc

For example I get (with my Logitech C910) :


uvcvideo               69865  0 
videodev               81032  1 uvcvideo
v4l1_compat            17057  2 uvcvideo,videodev
usbcore               210466  9 usb_storage,uas,usbhid,snd_usb_audio,snd_usbmidi_lib,uvcvideo,uhci_hcd,ehci_hcd

Also, what do you see in the dmesg for your webcam ? For example I get (with my Logitech C910) :


    6.798097] uvcvideo: Found UVC 1.00 device <unnamed> (046d:0821)
    6.810735] input: UVC Camera (046d:0821) as /devices/pci0000:00/0000:00:1d.7/usb2/2-3/2-3:1.2/input/input3
    6.810793] usbcore: registered new interface driver uvcvideo
    6.810795] USB Video Class driver (v1.0.0)

I read of one case where a user had this happen possibly due to their video driver: Can’t run cheese (webcam app) over ssh but that may be inaccurate.

Does it work in guvcview ?

731585 appears to be to be an issue with clutter libs ?

I note guvcview (not a clutter lib to my knowledge) works well in a 64-bit 12.1 KDE with a Logitec C910 webcam that also uses a uvc driver.

IMHO guvcview is superior to cheese.

On 2012-03-02 22:56, oldcpu wrote:
> I note guvcview (not a clutter lib to my knowledge) works well in a
> 64-bit 12.1 KDE with a Logitec C910 webcam that also uses a uvc driver.
>
> IMHO guvcview is superior to cheese.

It still fails to capture images from my “Acer crystal eye webcam”. When I
ask it to take a photo, it does nothing. When asked to take a video, it
crashes and takes the system down with it.

Weird… system recovered while I was writing this.


> Mar  3 00:04:36 Elanor kernel: [120115.462130] uvcvideo: Failed to set UVC commit control : -32 (exp. 26).
> Mar  3 00:04:36 Elanor kernel: [120115.462165] uvcvideo 1-1:1.1: resume error -5
> Mar  3 00:04:36 Elanor kernel: [120115.809709] uvcvideo: Failed to set UVC commit control : -32 (exp. 26).
> Mar  3 00:04:37 Elanor kernel: [120116.159184] uvcvideo: Failed to set UVC commit control : -32 (exp. 26).
> Mar  3 00:04:37 Elanor kernel: [120116.209159] uvcvideo: Failed to set UVC commit control : -32 (exp. 26).
> Mar  3 00:06:28 Elanor kernel: [120227.024512] uvcvideo: Failed to query (SET_CUR) UVC control 9 on unit 2: -110 (exp. 2).
> Mar  3 00:06:28 Elanor kernel: [120227.324152] uvcvideo: Failed to query (SET_CUR) UVC control 2 on unit 2: -110 (exp. 2).
> Mar  3 00:06:28 Elanor kernel: [120227.623720] uvcvideo: Failed to query (SET_CUR) UVC control 3 on unit 2: -110 (exp. 2).
> Mar  3 00:06:29 Elanor kernel: [120227.923363] uvcvideo: Failed to query (SET_CUR) UVC control 7 on unit 2: -110 (exp. 2).
> Mar  3 00:06:29 Elanor kernel: [120228.222913] uvcvideo: Failed to query (SET_CUR) UVC control 6 on unit 2: -110 (exp. 2).
> Mar  3 00:06:29 Elanor kernel: [120228.522563] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -110 (exp. 2).
> Mar  3 00:06:29 Elanor kernel: [120228.822147] uvcvideo: Failed to query (SET_CUR) UVC control 9 on unit 2: -110 (exp. 2).
> Mar  3 00:06:30 Elanor kernel: [120229.121776] uvcvideo: Failed to query (SET_CUR) UVC control 1 on unit 2: -110 (exp. 2).
> Mar  3 00:06:30 Elanor kernel: [120229.421368] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -110 (exp. 2).
> Mar  3 00:06:30 Elanor kernel: [120229.720960] uvcvideo: Failed to query (SET_CUR) UVC control 8 on unit 2: -110 (exp. 2).
> ...
> Mar  3 00:06:36 Elanor kernel: [120235.113851] uvcvideo: Failed to query (GET_CUR) UVC control 10 on unit 2: -110 (exp. 2).
> Mar  3 00:06:36 Elanor kernel: [120235.132244] guvcview[23345]: segfault at 8 ip 0000000000421985 sp 00007facce533b60 error 4 in guvcview[400000+3d000]
> Mar  2 23:08:16 Elanor rtkit-daemon[3635]: The canary thread is apparently starving. Taking action.
> Mar  2 23:08:16 Elanor rtkit-daemon[3635]: Demoting known real-time threads.
> Mar  2 23:08:16 Elanor rtkit-daemon[3635]: Successfully demoted thread 22684 of process 16560 (/usr/bin/pulseaudio).
> Mar  2 23:08:16 Elanor rtkit-daemon[3635]: Demoted 1 threads.
> Mar  3 00:08:16 Elanor kernel: [120335.660057] usb 1-1: USB disconnect, device number 2


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

It works fine for me with my Logitech C910 webcam on my 64-bit openSUSE-11.4 PC on version 1.5.0-1 of guvcview that I built from source. I do get the error:


[35909.011723] uvcvideo: Failed to query (GET_CUR) UVC control 6 on unit 1: -110 (exp. 2)

but I do not get those other uvcvideo errors that you report.

I will need to reboot to my 12.1 partition to test this on 12.1.

I just tested capturing an image (to jpg format) on my openSUSE-12.1 partition on same PC. It just works.

This is with guvcview-1.5.1-1.2.x86_64 from Packman.

I do get this error when starting guvcview (in the dmesg):


   51.101840] uvcvideo: Deprecated UVCIOC_CTRL_{ADD,MAP_OLD,GET,SET} ioctls will be removed in 2.6.42.
   51.101842] uvcvideo: See http://www.ideasonboard.org/uvc/upgrade/ for upgrade instructions.
   51.708092] uvcvideo: Failed to query (GET_CUR) UVC control 6 on unit 1: -110 (exp. 2).

but that does not stop it from functioning.

On 2012-03-03 09:06, oldcpu wrote:

> It works fine for me with my Logitech C910 webcam on my 64-bit
> openSUSE-11.4 PC on version 1.5.0-1 of guvcview that I built from
> source. I do get the error:

My desktop camera has never worked on linux. Google talk plugin can make it
work on occasion. I hoped that it would work on 12.1, but as cheese crashes
and guvcview is not an official package, I can not bugzilla about it. :frowning:

I attached the camera usb connection to vmware player and the 12.1 guest I
have in there. It should work, if it works. I tried version guvcview 1.5.2
from packman.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

True.

BUT you can report guvcview problems in the uvc mailing list, and my experience is the technical help there (which the developers support) is pretty good. I think I pointed you to the uvc mailing list once before ? (or maybe I have you mixed up with someone else - I’ve made such mistakes MANY times in the past).

Anyway, instructions for joining uvc mailing list are here: Linux-uvc-devel Info Page

On 2012-03-04 16:26, oldcpu wrote:
>
> robin_listas;2445669 Wrote:
>>
>> and guvcview is not an official package, I can not bugzilla about it.
>> :frowning:
>>
>
> True.
>
> BUT you can report guvcview problems in the uvc mailing list, and my
> experience is the technical help there (which the developers support) is
> pretty good. I think I pointed you to the uvc mailing list once before
> ? (or maybe I have you mixed up with someone else - I’ve made such
> mistakes MANY times in the past).

No, I think you did, and I forgot.

> Anyway, instructions for joining uvc mailing list are here:
> ‘Linux-uvc-devel Info Page’
> (http://lists.berlios.de/mailman/listinfo/linux-uvc-devel)

················
Your subscription request was deferred because subscriptions to
Linux-uvc-devel require moderator approval. Your request has been forwarded
to the list moderator. You will receive email informing you of the
moderator’s decision when they get to your request.
················

This was not said in advance on that page.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

Agree that IS a pain. It should be noted in advance. I vaguely recall they implemented that ‘approval’ policy because they were getting spammed by a lot of advertisements and such. I do agree with your point.

On 2012-03-04 18:36, oldcpu wrote:
>
> robin_listas;2445729 Wrote:

>> This was not said in advance on that page.
>>
> Agree that IS a pain. It should be noted in advance. I vaguely recall
> they implemented that ‘approval’ policy because they were getting
> spammed by a lot of advertisements and such. I do agree with your
> point.

Worse: I was rejected.

···················
Your request to the Linux-uvc-devel mailing list

Subscription request

has been rejected by the list moderator. The moderator gave the
following reason for rejecting your request:

“The mailing list has moved. Please visit
https://lists.sourceforge.net/lists/listinfo/linux-uvc-devel
···················

I wonder why they keep open a list to which you can try to subscribe, to be
told several hours later that you were rejected because the mail list has
moved somewhere else.

Ok, the second one apparently worked. I’ll lurk for a while.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

Even worse –Oldcpu forgot to update his bookmarks! :wink:

I wonder why they keep open a list to which you can try to subscribe, to be
told several hours later that you were rejected because the mail list has
moved somewhere else.
Speculating, but it might be preserved for the case of people coming from sites with old/stale links

On 2012-03-05 02:56, Tyler K wrote:
> Speculating, but it might be preserved for the case of people coming
> from sites with old/stale links

True, but there is no need to have us go trhough the motion of subscribing,
having to wait several hours, and then been “rejected” to be told that the
list has moved elsewhere in the rejection note.

It might be that the list software does not offer a “we have moved” notice
and so they do this very weird trick. Berlios was about to close last
December, but then they said they would continue.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

lol !!

I probably should have a bookmark. I did a ‘uvc mailing list’ search and from the search the out-of-date-URL for ‘uvc mailing list’ was my top hit. I had forgotten that the mailing list had moved, and even had I remembered that the list moved, I probably would have assumed the that the old web page would have been removed (which it was not).

I think I need to pay much much more attention.

On 03/04/2012 08:26 PM, oldcpu wrote:
>
> Tyler_K;2445834 Wrote:
>> Even worse --'Oldcpu forgot to update his bookmarks! ’
>> (http://tinyurl.com/7979lol) :wink:
>>
> lol !!
>
> I probably should have a bookmark. I did a ‘uvc mailing list’ search
> and from the search the out-of-date-URL for ‘uvc mailing list’ was my
> top hit. I had forgotten that the mailing list had moved, and even had
> I remembered that the list moved, I probably would have assumed the that
> the old web page would have been removed (which it was not).
>
> I think I need to pay much much more attention.

Not bad advice for any of us, oldcpu, but on the whole I think your hits
here far out weigh your misses. Thanks for all you do…


Kevin Miller - http://www.alaska.net/~atftb
Juneau, Alaska
In a recent survey, 7 out of 10 hard drives preferred Linux
Registered Linux User No: 307357, http://linuxcounter.net

On 2012-03-05 06:26, oldcpu wrote:
>
> Tyler_K;2445834 Wrote:
>> Even worse --'Oldcpu forgot to update his bookmarks! ’
>> (http://tinyurl.com/7979lol) :wink:
>>
> lol !!
>

:slight_smile:

> I remembered that the list moved, I probably would have assumed the that
> the old web page would have been removed (which it was not).

I guess that it was not removed because the old archive is there, and also
berlios was to go out of commission last December (and then it did not).

> I think I need to pay much much more attention.

Don’t worry, it was not your fault. :slight_smile:


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)