There is a (more or less) known problem with some 64bit drivers. On my system I could solve it this way:
Install (if needed) the compatibility layers for webcam at 32bit:
sudo apt-get install libv4l-0:i386
Prepare this script:
#!/bin/bash
#
export LD_PRELOAD="/usr/lib/i386-linux-gnu/libv4l/v4l2convert.so"
export PULSE_LATENCY_MSEC=60
export QT_PLUGIN_PATH="/usr/lib/i386-linux-gnu/qt4/plugins"
exec skype &
Call it "myskype" or whatever, make it executable, and run it instead of skype
from a terminal emulator.
The three environment variables fix a couple of bug present in 64bit version of skype or ubuntu, depending on who you are speaking with.
As an alternative, you can edit /usr/share/application/skype.desktop
and change the line where you find:
Exec=env PULSE_LATENCY_MSEC=60 skype %U
to
Exec=env PULSE_LATENCY_MSEC=60 LD_PRELOAD=/usr/lib/i386-linux-gnu/libv4l/v4l2convert.so QT_PLUGIN_PATH=/usr/lib/i386-linux-gnu/qt4/plugins skype %U
(all in one line).
Caveats:
If it doesn't work, try to change v4l2convert.so
to v4l1convert.so
.
Check the real paths of the *.so
files on your system (you need the 32bit ones; either in i386
or lib32
directories).
On all my systems minus 1 the QT_PLUGIN_PATH
variable is not needed.
The PULSE_LATENCY_MSEC
variable is badly needed or you lose the audio.
v4l2loopback-dkms
package:sudo apt-get install v4l2loopback-dkms
lsusb
to your question.v4l2loopback-dkms
needs to transfer the video for web applications.