Bugzilla – Bug 536550
fix applications to use libv4l (gspca webcams stopped working!)
Last modified: 2010-03-10 23:50:12 UTC
User-Agent: Mozilla/5.0 (X11; U; Linux i686; it; rv:1.9.1.2) Gecko/20090730 Firefox/3.5.2 I've tested openSuSE 11.2 GNOME LiveCD Milestone 6 with my webcam Creative PC-CAM 600. gspca_main and gspca_sunplus modules are loaded, but the device video is not created. After unloading both modules and loading them, the device video /dev/video0 appears. With ekiga I've selected my webcam model, but I haven't seen any image. With cheese I've seen images from my webcam, starting the application with this sintax: LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so cheese With skype the webcam video image is green, while with Adobe Flash Plugin the image is black Reproducible: Always Steps to Reproduce: 1. 2. 3.
I have the same problem with my Logitech Quickcam webcam. In skype no image, only green. I know the camera is working because in amsn I have video. In gsta-camera I have no video, exits with "no pipe", and cheese shows a test image (like on the tv), but no errors are shows. The option in cheese to select a video device is greyed out. I am member of the group video, so that is also not the cause. I installed 32bit versions of v4l libs to no avail, tried the LD_PRELOAD=xxx with skype, didn't work. To me it seems there are some apps or libraries missing that are needed for this webcam to work in certain (mainly gnome) apps, I use KDE. Have not found a solution yet. Opensuse 11.2 x86_64 kde4
I have the same problem with my Creative WebCam Live! in 11.2 (x86_64), has anyone found a solution for gspca based webcams?
(In reply to comment #0) > I've tested openSuSE 11.2 GNOME LiveCD Milestone 6 with my webcam Creative > PC-CAM 600. gspca_main and gspca_sunplus modules are loaded, but the device > video is not created. After unloading both modules and loading them, the device > video /dev/video0 appears. Can you provide the dmesg output from this machine after unloading and loading the modules? > With ekiga I've selected my webcam model, but I haven't seen any image. > With cheese I've seen images from my webcam, starting the application with this > sintax: > LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so cheese What happens without the preload? Can you confirm that gstreamer-properties has the Video Plugin set to v4l2? > With skype the webcam video image is green, while with Adobe Flash Plugin the > image is black We can't fix those apps as they are closed source, sorry.
(In reply to comment #2) > I have the same problem with my Creative WebCam Live! in 11.2 (x86_64), has > anyone found a solution for gspca based webcams? Please file a separate bug and assign it to me (bphilips@novell.com) and provide the output from hwinfo. Also ensure you have libv4l installed.
(In reply to comment #2) > I have the same problem with my Creative WebCam Live! in 11.2 (x86_64), has > anyone found a solution for gspca based webcams? See comment #4.
Created attachment 329449 [details] dmesg_after_unloading
Created attachment 329450 [details] dmesg_after_loading
Created attachment 329453 [details] cheese_without_preload
Created attachment 329455 [details] cheese_with_preload
Created attachment 329458 [details] gstreamer_test_video I confirm that gstreamer-properties has the Video Plugin set to v4l2, but I get an error message. I've also compared the source sunplus.c included in openSuSE kernel with sunplus.c released by linuxtv.org. This version has an optimized code: http://linuxtv.org/hg/v4l-dvb/rev/7f60302cca90 and the brightness is signed: http://linuxtv.org/hg/v4l-dvb/rev/652a4093feba This patch is really useful because the video images from my webcam are too dark. Is it possible to include these improvements in openSuSE kernel?
Created attachment 332665 [details] Webcam images using v4l2ucp settings
I've solved the problem about dark images from my webcam using v4l2ucp program. Now video images are really better than with the previous settings.
Any activity on this bug? I have the same problem, and using LD_PRELOAD=/usr/lib64/libv4l/v4l1compat.so name_of_app works for me (since I'm on x86_64). It seems like this should not be too hard to fix.
It should be fixed in the next version of openSUSE by default. In the mean time you can grab the latest version of libv4l here: http://software.opensuse.org/main/ymp_without_arch_and_version?package=libv4l&project=devel%3Alibraries%3Ac_c%2B%2B&repository=openSUSE_11.2
Bug 501959 duplicate. *** This bug has been marked as a duplicate of bug 501959 ***