Bug 130884 - webcam doesn't work (stv680 chipset) in kopete
Summary: webcam doesn't work (stv680 chipset) in kopete
Status: ASSIGNED
Alias: None
Product: kopete
Classification: Applications
Component: Audio/Video Plugin (show other bugs)
Version: unspecified
Platform: Slackware Linux
: NOR normal
Target Milestone: ---
Assignee: Cláudio da Silveira Pinheiro
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-16 00:56 UTC by mulaz
Modified: 2021-03-09 22:40 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Output of latest SVN Kopete with stv680 (15.19 KB, text/plain)
2008-01-29 21:49 UTC, dex
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mulaz 2006-07-16 00:56:31 UTC
Version:           12.1 and version before that (using KDE KDE 3.5.3)
Installed from:    Slackware Packages
Compiler:          gcc version 3.4.6 
OS:                Linux

With this type of webcam (stv680 - aiptek penc@am) the image is scrambled. Cam works in xawtv. 

you can see the screenshot on the forum:
http://www.kde-forum.org/artikel/14992/Kopete-Scrambled-webcam-image.html
the problem was the same in earlier versions of kopete.
I even tried it with an ubuntu live-cd and the problem is the same
Comment 1 dex 2006-08-04 11:18:59 UTC
I've got exactly the same Problem
Comment 2 dex 2006-08-04 11:30:22 UTC
If loaded with debug=1 the stv680 puts:

"kernel: drivers/media/video/stv680.c: [stv680_set_size:752] STV(e): request for non-supported size: request: v.width = 320, v.height = 240  actual: stv.width = 352, stv.height = 288"

in my logs. Seems like Kopete is not probing for usable sizes?
Comment 3 dex 2006-08-04 12:26:58 UTC
For a quick fix just change every occurance of "320,240" in the sources to "352,288" ;)
Comment 4 Cláudio da Silveira Pinheiro 2008-01-24 06:00:36 UTC
Based on the fact Kopete's video code had huge improvements since this bug was issued, I believe it's already fixed, but I need confirmation from involved people if the problem still exists. If no confirmation is given in the next two weeks I'll close this bug as FIXED.
Comment 5 dex 2008-01-29 00:57:55 UTC
I hereby confirm this still doesnt work with kopete, but I think this is more due to the kernel driver /i4l.

I can give a very basic patch that will fix it but I doubt this will make it into the mainline kernel ;)
Comment 6 Cláudio da Silveira Pinheiro 2008-01-29 01:29:44 UTC
dragonlave.de,


I'd like to ask you to give me more info so I can fix it. Kopete outputs a good volume of information about what it's trying to do when handling video devices. This output goes to the console (stdout), so I'm asking you to:

Compile Kopete from the last 3.5 branch (not the 3.5.8 tag. There's new code I added after 3.5.8 that fixes a lot of bugs, some of them related specificly to handling obscure pixel formats) or even better from the 4.0 branch, with debug info enabled (both versions can help me to find the bug, but the KDE 4.0 version has the latest code. I try to backport whatever is possible to 3.5, but it's not aways possible. If you're not too fond of going the 4.0 path, 3.5 will suffice for now). Then you should run "kopete --noconnect" from a konsole, and try to open the video configuration panel. Then please copy the debug output to a file and add it as an attachment to this bug, so I can take a look about what's wrong.
I suspect your webcam can't handle a 320x240 resolution (this resolution is hardcoded in Kopete at this moment), or it's using an obscure pixel format. The debug output will surely inform it and provide even more useful info about the video status. This info is crucial to the resolution of this bug. I can't stress enough about how important this information is. :)
Please provide the requested information as soon as possible to I can take a look at it and provide a fix for the upcoming KDE 3.5.9 (to be released this february).
Comment 7 dex 2008-01-29 21:49:34 UTC
Created attachment 23354 [details]
Output of latest SVN Kopete with stv680 

By request
Comment 8 A. Spehr 2009-05-15 23:53:17 UTC
What's the status of this in 4? Thanks!
Comment 9 dex 2009-05-26 21:22:38 UTC
I finaly managed to test 4x for this bug: nope doesn't work.
In fact it doesn't even recognize the cam.
I guess this cam is simply to old..
Comment 10 dex 2009-10-03 16:24:04 UTC
I tried it again today using Kernel 2.6.31.2 and kopete from KDE 4.3.1:

"libv4l2: error getting capabilities: Invalid argument"

Works with gstreamer and xawtv (with -nodga)
Comment 11 Lamarque V. Souza 2011-03-20 03:11:05 UTC
Is this still happening?
Comment 12 Justin Zobel 2021-03-09 22:40:55 UTC
Thank you for the bug report.

As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists.

If this bug is no longer persisting or relevant please change the status to resolved.