My webcam doesn't work right.

On 2011-07-01 09:36, oldcpu wrote:

> @ robin_listas … I’ve been out of country on business the past few
> days and before that a bit busy, but I confess I was not able to
> replicate fully the compilation problems you encountered - quite
> possibly being the reason is that it is often easier to do something on
> one’s own PC (where one gets immediate feedback and can quickly try
> iterative ideas) than it is to give advice to someone else.

I know that feeling.
I have compiled a fair number of apps, but this one defeated me. I have
become used to get all I need as rpm, so that I seldom compile anything.

Having libraries change the name of the devel package is terribly confusing.

>
> In the brief time I had before rushing off to work this morning, I
> tried custom building guvcview on my ancient (athlon-1100) 32-bit
> openSUSE-11.4 LXDE PC.

Thanks :slight_smile:

> In that brief time, I tried and succeeded as follows …

> I think that was similar to what you saw.

Yes.

> I then installed libSDL-devel which also picked up Mesa-devel,
> alsa-devel, libdrm-devel

Ah.

>
> I also installed portaudio-devel and libudev-devel and libffmpeg-devel
> (which installed MANY dependencies - too many to mention).

Here it triggered updates of many libraries from packman. So I updated the lot.

> So I then installed installed libv4l-devel and I puzzed a bit over the
> libavcodec not found message, as I am CERTAIN that when I build guvcview
> for openSUSE-11.4 on my 64-bit KDE PC a couple of months back that
> libffmpeg-devel (with ffmpeg installed already) was sufficient ! Then
> I recalled malcolmlewis’s comment above, and I also noted the package
> libffmpeg_oldabi-devel.

Ah!

> That brought back some memories of a thread in
> the mailing list of a lot of discussion going on around ffmpeg and the
> software fork that is taking place there.

I remember that now.

> So I then installed libffmpeg_oldabi-devel and I proceeded with:

But then the devel package doesn’t match the library, unless you change
that one too. :-?

>
> /configure
> make
> su
> checkinstall
>
> and checkinstall failed, so then as root I run
>
> make install
> checkinstall

Yes, I discovered that trick myself time ago. I have bugzillas on it.

> What this told me was I probably should stay out of these help threads,
> because while I can typically get this to work for myself in 15 minutes
> or less, I can NOT describe to others how to do it, and instead I likely
> just frustrate them.
>
> Sorry for that. I may just lurk in the future.

No, don’t worry about that.

Compiling apps is an art and a moving target, not easy anymore. If it ever was.


Cheers / Saludos,

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

Maybe its not ‘just’ openSUSE but rather GNU/Linux with the uvc driver ? You could post on the UVC mailing list asking for support here. I find that list VERY good for providing support: https://lists.berlios.de/mailman/listinfo/linux-uvc-devel

On 2011-07-01 13:36, oldcpu wrote:
> Maybe its not ‘just’ openSUSE but rather GNU/Linux with the uvc driver
> ?

Quite possibly.

> You could post on the UVC mailing list asking for support here. I
> find that list VERY good for providing support:
> https://lists.berlios.de/mailman/listinfo/linux-uvc-devel

I might… But I’m not prepared to compile new kernels or drivers on this
system. oS 11.4 will surely be too old for them.


Cheers / Saludos,

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

I confess I do not know what they will ask. If they ask for something that one can not provide, then one just tells them that. Its possible they will ask for no kernel compliation, but they may request a driver (kernel module) compilation which is typically easy, as one only needs to install kernel-source, possibly kernel-syms, and maybe some v4l development packages (which you likely have already) and build from some uvc tarball.

The only way to find out is to ask on the emailing list. I think they are good they are at providing support.

Hi
Just to confirm it’s all working on my ASUS 1000HE netbook as in no
segfaulting at all, can change configuration settings etc.

Still playing with it though…

@Carlos, have you looked at the grabby application?
http://software.opensuse.org/search?q=grabby&baseproject=openSUSE%3A11.4&lang=en&include_home=true&exclude_debug=true


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.4 (x86_64) Kernel 2.6.37.6-0.5-desktop
up 12:41, 4 users, load average: 0.01, 0.07, 0.11
GPU GeForce 8600 GTS Silent - Driver Version: 270.41.06

I find on my guvcview, which works very well, I can reproduce something similar to your error, if I specifically specify a resolution that is not supported (and then try to capture the image).

Hi
So what codec are you using and the package it’s from?


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.4 (x86_64) Kernel 2.6.37.6-0.5-desktop
up 15:32, 5 users, load average: 1.13, 0.53, 0.49
GPU GeForce 8600 GTS Silent - Driver Version: 270.41.06

On my 64-bit openSUSE-11.3 with KDE-4.4.4 I custom compiled from tarball (and then built a quick and dirty rpm for my PC only with checkinstall) I have guvcview-src-1.4.2-1.x86_64. My camera is a UVC compatible Logitech C910. I typically keep resolution at a low 640x480 and only capture at the higher resolution when I have a specific requirement for that. If for example, I try to capture with 1280x960 resolution, Camera output set to MPJPG and Image Format set to Jpeg I can crash the application.

A restart and change to 640x480 resolution and all is fine.

On 2011-07-01 20:36, oldcpu wrote:
> I find on my guvcview, which works very well, I can reproduce something
> similar to your error, if I specifically specify a resolution that is
> not supported (and then try to capture the image).

I do not specify any resolution, nor anything: I leave all at defaults,
whatever they are.


Cheers / Saludos,

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

On 2011-07-01 18:26, malcolmlewis wrote:
> @Carlos, have you looked at the grabby application?
> http://software.opensuse.org/search?q=grabby&baseproject=openSUSE%3A11.4&lang=en&include_home=true&exclude_debug=true

Nope.

I downloaded it, but it requires libftp, that I don’t have on any of the
configured repos - except yours. It will take a bit longer, adding your repo.

cer@Telcontar:~> grabby
One-shot mode
Fri Jul 1 23:14:35 2011]2| FATAL error: Image size not supported by
device. Device suggests: 320x240
Fri Jul 1 23:14:35 2011]2| errno (if applicable): 22 / Invalid argument


Cheers / Saludos,

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

On Wed, 22 Jun 2011 20:50:06 GMT, “Carlos E. R.”
<robin_listas@no-mx.forums.opensuse.org> wrote:

>On 2011-06-22 15:36, oldcpu wrote:
>
>> According to that, it is a UVC compatible webcam. UVC compatible
>> webcams are IMHO the best webcams (IMHO).
>
>But a not supported one, according to
>http://www.ideasonboard.org/uvc/#devices :frowning:
>
>> Of course you can confirm the
>> uvc driver is running by typing:
>>
>> Code:
>> --------------------
>>
>> lsmod video
>>
>> --------------------
>
>Huh? The syntax is not correct, I get an error. I suppose you forgot a grep
>and a pipe.
>
>


>> Telcontar:~ # lsmod | grep video
>> uvcvideo               70281  1 
>> videodev               81448  2 uvcvideo
>> v4l1_compat            17505  2 uvcvideo,videodev
>> v4l2_compat_ioctl32    10573  1 videodev
>

>
>
>> I confess I have never been happy with the stability of cheese. A far
>> better application for a UVC compatible webcam (which requires custom
>> compilation because of some proprietary reasons, but it is easy to
>> compile) is guvcview: ‘GTK+ UVC Viewer’ (http://guvcview.berlios.de/)
>
>I don’t mind the application, as long as it works. I tried cheese because
>it is installed and I don’t know the names of the apps. But the app you
>suggest is not even listed on packman, so then I will not try it, I’m afraid.
>
>
>> Also, I note your webcam ( a Acer Crystal Eye Webcam (0458:7066)) is
>> not listed in ‘Linux UVC driver & tools’
>> (http://www.ideasonboard.org/uvc/) . But if it is UVC compatible it
>> should be. Hence if it does work with guvcview, perhaps you could post
>> on 'Linux UVC development list ’
>
>I can not know if it works unless I can get the rpm on a repo. I’m not very
>keen on compiling it myself this time. I’m growing lazier O:-)
>
>> (https://lists.berlios.de/mailman/listinfo/linux-uvc-devel) and note
>> your webcam works with the UVC driver. They may ask you run one or two
>> commands to get more information on your webcam, and then if they are
>> happy they will update their compatibility list.
>
>
>It works for google talk, proprietary software. That’s a shame.
>
>Although tonight it does not work, I would have to unload some modules.

If a test application is wanted you could try luvcview. I picked it up as
an rpm and it just works for me.

I think the thread got sidetracked by me (sorry) when the OP noted they could not get cheese to run, and I jumped up and down and raved at how great guvcview was , how it was so much better than cheese, and how it was easy to build/compile. < gulp >

… 30 posts later and guvcview is not proving such a great cheese replacement for the OP. … < sigh > …

On 2011-07-02 21:36, oldcpu wrote:

> … 30 posts later and guvcview is not proving such a great cheese
> replacement for the OP. … < sigh > …

Right, the problem is not that one app or another works or not. None works,
only proprietary google talk.

I simply used cheese because it was the only one listed in the menu.


Cheers / Saludos,

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

Hi
Have you looked at either using the command line to define the
resolution (see the guvcview man page) or manually modify ~/.guvcview?

Cheese also has some cli options to start as well, likewise grabby.


Cheers Malcolm °¿° (Linux Counter #276890)<br />openSUSE 11.4 (i586)
Kernel 2.6.37.6-0.5-default<br />up 3:20, 3 users, load average:
0.04, 0.04, 0.05<br />ASUS eeePC 1000HE ATOM N280 1.66GHz | GPU Mobile
945GM/GMS/GME

On 2011-07-03 02:40, malcolmlewis wrote:

> Hi
> Have you looked at either using the command line to define the
> resolution (see the guvcview man page) or manually modify ~/.guvcview?

I expect all those apps to choose the correct settings automatically, as I
have no idea what they might be. That’s their problem, not mine.

Google talk finds it without a problem.


Cheers / Saludos,

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

I realize this might be off track on this. but I am trying to get a UVC driver installed. I have gone to the site, downloaded and extracted the tar.bz file. Now it says it has to be compiled. I have no clue how to compile it. I know it needs to be done, but I use opensuse 11.4 32 bit on a generic pc. I chose opensuse & KDE because it uses RPM’s to do the grunt work. is there is quick link on compiling for bone heads?

AFAIK, the uvcvideo driver is included as part of the kernel, although maybe you need an updated driver for your particular hardware. Anyway, with your webcam connected, try (as root)

modprobe uvcvideo

Does ‘/dev/video’ then exist?

You should be able to test your webcam with ‘lucview’. (Download and install the lucview package if necessary).

On Sat, 02 Jul 2011 19:36:03 GMT, oldcpu
<oldcpu@no-mx.forums.opensuse.org> wrote:

>
>josephkk;2360605 Wrote:
>>
>> If a test application is wanted you could try luvcview. I picked it up
>> as
>> an rpm and it just works for me.
>
>I think the thread got sidetracked by me (sorry) when the OP noted they
>could not get cheese to run, and I jumped up and down and raved at how
>great guvcview was , how it was so much better than cheese, and how it
>was easy to build/compile. < gulp >
>
>… 30 posts later and guvcview is not proving such a great cheese
>replacement for the OP. … < sigh > …

Not sure if you noticed, i use luvcview not guvcview. It may make a
difference.

?-)