[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Kopete Webcam Issue Ubuntu 11.04

Posted on 2011-04-30
28
Medium Priority
?
1,523 Views
Last Modified: 2012-05-11
Installed 11.04 but currently facing webcam issue in KOPETE which is not working for me, i am able to see the preview of my cam in CONFIGURE but whenever i try to send or recieve the webcam it says JASPER CONVERSION PROGRAM ERROR or something similar i tried install the jasper and everything related to it but it is still not working, any workaround ?
0
Comment
Question by:ibrahim52
  • 20
  • 8
28 Comments
 
LVL 62

Expert Comment

by:gheist
ID: 35501150
Could you post dmesg entries about your webcam?
apt-get update ?
0
 
LVL 12

Author Comment

by:ibrahim52
ID: 35501458
I didn't get, i have all the updates installed, the WEBCAM shows in CONFIGURATION of KOPETE but not while sending or requesting somebody's webcam.
0
 
LVL 12

Author Comment

by:ibrahim52
ID: 35501483
Can you please assist me on dmesg command for kopete?
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 62

Expert Comment

by:gheist
ID: 35501489
dmesg | less

find and post lines relevant to webcam.

you can describe your webcam like Microsoft LifeCam HD100000 or something alike.
0
 
LVL 12

Author Comment

by:ibrahim52
ID: 35501531
too late i guess, i already figured it out :) and now posting the results here,kindly check. Thank you.

[   13.102464] Linux video capture interface: v2.00
[   13.155180] wl 0000:04:00.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
[   13.155196] wl 0000:04:00.0: setting latency timer to 64
[   13.201162] uvcvideo: Found UVC 1.00 device Lenovo EasyCamera (5986:0145)
[   13.206452] input: Lenovo EasyCamera as /devices/pci0000:00/0000:00:1d.7/usb2/2-3/2-3:1.0/input/input7
[   13.206611] usbcore: registered new interface driver uvcvideo
[   13.206614] USB Video Class driver (v1.0.0)
0
 
LVL 62

Expert Comment

by:gheist
ID: 35503123
Availability of webcam chat depends on protocol used, on the version of client on the other end, network in the middle and the plugin development status...
Which chat protocol you are trying to use?
0
 
LVL 12

Author Comment

by:ibrahim52
ID: 35503423
How am i suppose to know that ? I mean if you can help me finding that. Thank you.
0
 
LVL 12

Author Comment

by:ibrahim52
ID: 35503444
Currently i am using YAHOO MESSENGER in kopete
0
 
LVL 62

Expert Comment

by:gheist
ID: 35503557
Can user running kopete list the webcam:
(i also have very commin camera driven by uvcvideo driver called Acer CrystalEye)

$v4lctl list

ioctl: VIDIOC_G_STD(std=0x7fff9f564ed0 [PAL_I,PAL_D1,PAL_K,PAL_N,PAL_Nc,PAL_60,?,SECAM_D,SECAM_G,SECAM_K,SECAM_L,ATSC_16_VSB,(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)]): Invalid argument
attribute  | type   | current | default | comment
-----------+--------+---------+---------+-------------------------------------
norm       | choice | (null)  | (null)  |
input      | choice | Camera  | Camera  | Camera 1
bright     | int    |       8 |       8 | range is 0 => 255
contrast   | int    |      32 |      32 | range is 0 => 255
color      | int    |      30 |      30 | range is 0 => 100
hue        | int    |       0 |       0 | range is -40 => 40
Gamma      | int    |      50 |      50 | range is 1 => 80
Power Line | choice | 60 Hz   | 60 Hz   | Disabled 50 Hz 60 Hz
Sharpness  | int    |       3 |       3 | range is 0 => 31
Backlight  | int    |       0 |       0 | range is 0 => 1
0
 
LVL 12

Author Comment

by:ibrahim52
ID: 35505638
I didn't get you, I am sorry but i am not much into UBUNTU its just i recently switched from WINDOWS to UBUNTU.
0
 
LVL 12

Author Comment

by:ibrahim52
ID: 35507845
By the way, what about yours kopete, does it work with your webcam i mean requesting and viewing cam for others on yahoo ? I didn't tried on other like skype or msn because i have most of my friends in yahoo only and don't want to keep switching the OS just for the sake of Webcam, i am impressed by the simplicity of KOPETE but just wishing to fix this issue soonest possible gheist. Thanks for all your help so far
0
 
LVL 62

Expert Comment

by:gheist
ID: 35508426
Can you operate command line terminal?
please post output from a command

v4lctl list


0
 
LVL 12

Author Comment

by:ibrahim52
ID: 35513856
dlopen: /usr/lib/xawtv/flt-disor.so: undefined symbol: tan
dlopen: /usr/lib/xawtv/flt-gamma.so: undefined symbol: pow
ioctl: VIDIOC_G_STD(std=0xbffade2d0000005c [PAL_G,PAL_H,PAL_I,PAL_D1,(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)]): Invalid argument
attribute  | type   | current | default | comment
-----------+--------+---------+---------+-------------------------------------
norm       | choice | (null)  | (null)  |
input      | choice | Camera  | Camera  | Camera 1
bright     | int    |      50 |      50 | range is 0 => 100
contrast   | int    |      50 |      50 | range is 0 => 100
color      | int    |      50 |      50 | range is 0 => 100
hue        | int    |      50 |      50 | range is 0 => 100
Gamma      | int    |       1 |       1 | range is 1 => 20
Power Line | choice | 50 Hz   | 50 Hz   | Disabled 50 Hz 60 Hz
Sharpness  | int    |      57 |      57 | range is 0 => 100
0
 
LVL 12

Author Comment

by:ibrahim52
ID: 35513895
I think there is some issue with the KOPETE only, is there any other alternative to KOPETE or any older version i can install instead of KOPETE to make my webcam working for yahoo. Because honestly KOPETE is really user friendly except for camera.
0
 
LVL 62

Expert Comment

by:gheist
ID: 35517542
Seems like you have conflicting xawtv version (this is oldish TV tuner application for analog tuners)
Try running "xawtv" from normal terminal as user trying to run kopete.
Click on OK to close help text
F switches back and forth to fullscreen mode
Q exits.
Right mouse click shows same options as v4lctl.
This will confirm that your webcam works in Ubuntu. e.g Mine shows perfect picture of myself. No system configuration needed in this case.

If hardware does not perform well you have to search the web having USB device IDs at hand.

Given hardware works run kopete from same terminal, try to choose video device, see if you get some hints from it's output in terminal.
It might say something about incompatible data format etc.
For example my xawtv said "no overlay support"
e.g:

v4l-conf: using X11 display :0
dga: version 2.0
mode: 1280x800, depth=24, bpp=32, bpl=28, base=unknown
/dev/video0 [v4l2]: no overlay support

which is conflicting with v4l-info saying my camera produces YUV frames
picture
    VIDIOCGPICT
        brightness              : 2056
        hue                     : 32768
        colour                  : 19661
        contrast                : 8224
        whiteness               : 40648
        depth                   : 16
        palette                 : YUYV

And xvinfo showing

picture
    VIDIOCGPICT
        brightness              : 2056
        hue                     : 32768
        colour                  : 19661
        contrast                : 8224
        whiteness               : 40648
        depth                   : 16
        palette                 : YUYV

same colour palette is supported.

i am trying to guess that as a consequence kopete gets confused with colorspaces and does not do any conversion.
you can also try running kopete suid just to see if DGA lets it draw then.
i am now confused almost as much as you.
Skype at the same time happily shows XVideo overlay from camera without any problem, even in theory it should not be able to do so.
0
 
LVL 12

Author Comment

by:ibrahim52
ID: 35662379
There is no issue with the COMMANDS you mentioned, my webcam works fine. Below are the output results when i use xawtv

This is xawtv-3.95.dfsg.1, running on Linux/i686 (2.6.38-8-generic)
xinerama 0: 1366x768+0+0
WARNING: No DGA direct video mode for this display.
/dev/video0 [v4l2]: no overlay support
v4l-conf had some trouble, trying to continue anyway
Warning: Cannot convert string "-*-ledfixed-medium-r-*--39-*-*-*-c-*-*-*" to type FontStruct
ioctl: VIDIOC_G_STD(std=0x100000001 [PAL_B,(null)]): Invalid argument
ioctl: VIDIOC_S_STD(std=0x0 []): Invalid argument
0
 
LVL 62

Expert Comment

by:gheist
ID: 35682985
check id command and
ls -l /dev/fb0 /dev/video0

you should give you RW access to both devices to have DGA to move image from webcam to display.
seems like Kopete is incapable of doing otherwise.
0
 
LVL 12

Author Comment

by:ibrahim52
ID: 35688297
Let me try and ill give you the input, thanks :)
0
 
LVL 12

Author Comment

by:ibrahim52
ID: 35693711
crw-rw----  1 root video 29, 0 2011-05-05 00:19 /dev/fb0
crw-rw----+ 1 root video 81, 0 2011-05-05 00:19 /dev/video0


This is the output for ls - I command
0
 
LVL 12

Author Comment

by:ibrahim52
ID: 35714542
Hello gheist, are you buzy ?
0
 
LVL 62

Expert Comment

by:gheist
ID: 35716506
check command called "id" to figure out if you are in the group named video.
0
 
LVL 12

Author Comment

by:ibrahim52
ID: 35716653
Sure one second.
0
 
LVL 12

Author Comment

by:ibrahim52
ID: 35716672
uid=0(root) gid=0(root) groups=0(root)


This is the output
0
 
LVL 12

Author Comment

by:ibrahim52
ID: 35716690
i did this command also ( id [space] [username] and this is the output

uid=1000(ibrahim52) gid=1000(ibrahim52) groups=1000(ibrahim52),4(adm),20(dialout),24(cdrom),46(plugdev),111(lpadmin),119(admin),122(sambashare)
0
 
LVL 12

Accepted Solution

by:
ibrahim52 earned 0 total points
ID: 35730723
GUESS WHAT, a genius brain in UBUNTUFORUMS who was having the same issue discovered a SOLUTION which worked like a charm for me but the only issue that my webcam doesn't work like it was working before (and i don't care) as long as i can view other's camera :D here is the solution and it WORKED

I have found a solution. I took the kopete package from the 10.10 repository. installed it, and thus overwriting the newer version. It works flawlessly for me now.

Try this :

Make sure you have kopete and libjasper-runtime installed already in 11.04

if not : sudo apt-get install kopete libjasper-runtime
then proceed to do this :

surf to http://packages.ubuntu.com/maverick/...opete/download

and download the kopete_4.5.1-0ubuntu2.2_i386.deb package from security.ubuntu.com/ubuntu (just click the link)

now go into terminal and go to the place where the .deb package is downloaded (probably home/yourprofile/Downloads)

then do : sudo dpkg -i kopete_4.5.1-0ubuntu2.2_i386.deb
this replaces the 11.04 faulty kopete with the version from 10.10

now get the dependencies

sudo apt-get install libkutils4 libkprintutils4

Additionally, prevent kopete from being updated if this is bothering you. go to synaptic package manager. search for kopete. highlight the installed kopete package. go to the package menu and LOCK VERSION. If somewhere in the (near) future there will be a corrected version available in 11.04, just remove the version lock and update it.



You're about ready to launch kopete and enjoy the yahoo webcam viewing.


cheers!
0
 
LVL 12

Author Comment

by:ibrahim52
ID: 35730733
I will close this question if you can help me out by activation by camera :) please. The above solution has nothing special but it has just replaced the KOPETE with the ubuntu 10.10 version perhaps thats the reason my webcam is not working right now :) but i know for the GURU's like you its a piece of cake to fix my webcam :). THANKS a load for being so active everyday and trying your best to resolve my problem.
0
 
LVL 12

Author Comment

by:ibrahim52
ID: 35765419
Alright my WEBCAM issue has been solved also. I installed CHEESE and it started working for other applications. Thank you :D
0
 
LVL 12

Author Closing Comment

by:ibrahim52
ID: 35800212
The solution which is posted above is working perfectly, thank you gheist for all your efforts and all your help. One more thing i had to disable the update for kopete as once it is updated it is again the same.So better not to upgrade the kopete and disable it from the SOFTWARE CENTER.
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses
Course of the Month19 days, 23 hours left to enroll

873 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question