Kopete Webcam Issue Ubuntu 11.04

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 ?
LVL 12
ibrahim52Team LeaderAsked:
Who is Participating?
 
ibrahim52Connect With a Mentor Team LeaderAuthor Commented:
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
 
gheistCommented:
Could you post dmesg entries about your webcam?
apt-get update ?
0
 
ibrahim52Team LeaderAuthor Commented:
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
Cloud Class® Course: SQL Server Core 2016

This course will introduce you to SQL Server Core 2016, as well as teach you about SSMS, data tools, installation, server configuration, using Management Studio, and writing and executing queries.

 
ibrahim52Team LeaderAuthor Commented:
Can you please assist me on dmesg command for kopete?
0
 
gheistCommented:
dmesg | less

find and post lines relevant to webcam.

you can describe your webcam like Microsoft LifeCam HD100000 or something alike.
0
 
ibrahim52Team LeaderAuthor Commented:
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
 
gheistCommented:
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
 
ibrahim52Team LeaderAuthor Commented:
How am i suppose to know that ? I mean if you can help me finding that. Thank you.
0
 
ibrahim52Team LeaderAuthor Commented:
Currently i am using YAHOO MESSENGER in kopete
0
 
gheistCommented:
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
 
ibrahim52Team LeaderAuthor Commented:
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
 
ibrahim52Team LeaderAuthor Commented:
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
 
gheistCommented:
Can you operate command line terminal?
please post output from a command

v4lctl list


0
 
ibrahim52Team LeaderAuthor Commented:
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
 
ibrahim52Team LeaderAuthor Commented:
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
 
gheistCommented:
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
 
ibrahim52Team LeaderAuthor Commented:
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
 
gheistCommented:
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
 
ibrahim52Team LeaderAuthor Commented:
Let me try and ill give you the input, thanks :)
0
 
ibrahim52Team LeaderAuthor Commented:
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
 
ibrahim52Team LeaderAuthor Commented:
Hello gheist, are you buzy ?
0
 
gheistCommented:
check command called "id" to figure out if you are in the group named video.
0
 
ibrahim52Team LeaderAuthor Commented:
Sure one second.
0
 
ibrahim52Team LeaderAuthor Commented:
uid=0(root) gid=0(root) groups=0(root)


This is the output
0
 
ibrahim52Team LeaderAuthor Commented:
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
 
ibrahim52Team LeaderAuthor Commented:
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
 
ibrahim52Team LeaderAuthor Commented:
Alright my WEBCAM issue has been solved also. I installed CHEESE and it started working for other applications. Thank you :D
0
 
ibrahim52Team LeaderAuthor Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.