Bug 150115 - Webcam (syntek/stk11xx) flickering in kopete, while it works fine with VLC
Summary: Webcam (syntek/stk11xx) flickering in kopete, while it works fine with VLC
Status: RESOLVED WORKSFORME
Alias: None
Product: kopete
Classification: Applications
Component: Audio/Video Plugin (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-23 12:57 UTC by rom1v
Modified: 2007-11-04 22:24 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rom1v 2007-09-23 12:57:46 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources
OS:                Linux

When I want to see my webcam in VLC with this command : vlc v4l:/dev/video0 --noaudio
it works fine.

But in kopete, the webcam flickers...

IMAGE - BLACK - BLACK - IMAGE - BLACK - IMAGE - BLACK...
Comment 1 Matt Rogers 2007-09-26 06:22:14 UTC
what type of webcam is it and what driver does it use?
Comment 2 rom1v 2007-09-26 07:30:53 UTC
Yes, sorry for the lack of details.

I use this driver : http://syntekdriver.sourceforge.net/

$lspci
00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 03)
00:01.0 PCI bridge: Intel Corporation Mobile PM965/GM965/GL960 PCI Express Root Port (rev 03)
00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Contoller #4 (rev 03)
00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 03)
00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 03)
00:1c.2 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 3 (rev 03)
00:1c.3 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 4 (rev 03)
00:1c.4 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 5 (rev 03)
00:1c.5 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 6 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f3)
00:1f.0 ISA bridge: Intel Corporation 82801HEM (ICH8M) LPC Interface Controller (rev 03)
00:1f.1 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) IDE Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA AHCI Controller (rev 03)
01:00.0 VGA compatible controller: nVidia Corporation GeForce 8600M GS (rev a1)
02:00.0 Ethernet controller: Attansic Technology Corp. L1 Gigabit Ethernet Adapter (rev b0)
03:00.0 Network controller: Intel Corporation PRO/Wireless 4965 AG or AGN Network Connection (rev 61)
05:00.0 Memory controller: Intel Corporation Turbo Memory Controller (rev 01)
09:01.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 05)
09:01.1 Generic system peripheral [0805]: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 22)
09:01.2 System peripheral: Ricoh Co Ltd R5C843 MMC Host Controller (rev 12)
09:01.3 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 12)
09:01.4 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 12)
Comment 3 pifferaiomagico 2007-11-02 14:49:07 UTC
Same problem here. I think the webcam's the same too, the one integrated in the first Asus A6JM series:

lsusb
Bus 005 Device 003: ID 174f:a311

I use the syntek driver (stk11xx), v4l1-compat and v4l2-common. It works fine with camorama, ekiga and vlc, but flikers A LOT (i.e., you can't possibly use it) on kopete.

Please give advice...
Comment 4 Will Stephenson 2007-11-02 15:47:08 UTC
Find a USB version of the same camera and donate it to the project - then it will get support in every KDE 4 app via solid.
Comment 5 Roman Jarosz 2007-11-02 17:58:37 UTC
I have the same webcam version and it works fine with recent stk11xx driver (revision 57) and recent svn Kopete version for KDE 3.5. I think that at least Kopete in KDE 3.5.8 should work. I remember that it did flicker with older version of stk11xx driver.

NB Asus A6Jc
Bus 001 Device 003: ID 174f:a311
Kernel 2.6.23
Comment 6 rom1v 2007-11-02 18:03:42 UTC
With Kopete in KDE 3.5.8, when you open "device" in configuration, Kopete totally crashes...
Comment 7 Roman Jarosz 2007-11-02 18:21:36 UTC
Please send us a backtrace of the crash. Thanks
Comment 8 rom1v 2007-11-02 18:30:26 UTC
I reported it recently : http://bugs.kde.org/show_bug.cgi?id=151292
Comment 9 Roman Jarosz 2007-11-02 18:50:41 UTC
Btw. do you have recent stk11xx driver?
Comment 10 rom1v 2007-11-02 19:00:50 UTC
Yes, I downloaded it from sourceforge during september or october (and the last 1.1.0 is out from September 1st).

http://sourceforge.net/project/showfiles.php?group_id=178178

I used this doc : http://doc.ubuntu-fr.org/syntek
Comment 11 Roman Jarosz 2007-11-02 19:16:23 UTC
You should try the trunk version of stk11xx driver (revision 57) because it has some fixes for Kopete.

Here's the last stk11xx commit log:
Revision 57:
Add 174F:6A33 and 174F:6A54 support.
Some correction to add Kopete application support.
Comment 12 rom1v 2007-11-02 19:35:23 UTC
I just tried to install from the svn, but the problem is exactly the same with kopete :( (same stack trace)
Comment 13 Roman Jarosz 2007-11-02 20:15:41 UTC
I looked at the stack trace and it looks like Kopete cannot allocate memory. And if I didn't overlook something than it will try allocate max 600kB.

So if you have enough free memory then I think that your system could be broken :(
Comment 14 rom1v 2007-11-02 20:27:07 UTC
It worked with kde 3.5.7 (but flickered), but since kde 3.5.8, it crashes in config' menu (for several people, I saw on french forums).
Comment 15 Roman Jarosz 2007-11-02 21:23:44 UTC
Can you compile Kopete with debug enabled and post the log from console before Kopete crashes? Thanks
Comment 16 rom1v 2007-11-03 00:37:06 UTC
Thank you Roman Jarosz for your help and your fixe (on jabber), the problem is fixed with the patch you made :)
Comment 17 Roman Jarosz 2007-11-03 00:59:11 UTC
The patch is in svn commit 732161.
Comment 18 pifferaiomagico 2007-11-04 22:24:04 UTC
Thank you very much, Roman. I just tried the patch and now everything works fine. Can't believe it's been so fast.