SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2015-04-21 10:38:09

alef
#! CrunchBanger
Registered: 2009-02-05
Posts: 211

Webcam all blue - Thinkpad x240

Hi,

I've just installed #! on a Thinkpad x240 (Jessie netinstall, then Wally cheat sheet).

I tested the webcam yesterday with Cheese and some webrtc platform.

The image is all blue, like there is only this color channel that exists. I'm using a liquorix kernel (3.19), wifi didn't work below that. The same happens on this laptop running an Ubuntu 14.04 live CD.

Any idea whether this may be related to software or hardware? Is there a specific firmware to install or configure?

Thanks.


Eee-PC 1000H    |  Statler r20110207 Openbox
Vaio VGN-FE21H  |  CrunchBang 11 "Waldorf"
Thinkpad X1Carbon 1st Edition | Waldorf r20121015
Thinkpad X240 | Wally <-- this Thinkpad is not good with Linux

Offline

Help fund CrunchBang, donate to the project!

#2 2015-04-21 13:45:36

PackRat
#! Die Hard
From: USA
Registered: 2011-03-03
Posts: 1,572

Re: Webcam all blue - Thinkpad x240

What type of video card?

I know Youtube videos can be blue with nvidia cards, never heard of it happening with a webcam though.


"It does not require many words to speak the truth." - Chief Joseph, Nez Perce tribe

Offline

#3 2015-04-21 17:31:03

alef
#! CrunchBanger
Registered: 2009-02-05
Posts: 211

Re: Webcam all blue - Thinkpad x240

`lspci -v` gives me the following output for the graphics card:

00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b) (prog-if 00 [VGA controller])
	Subsystem: Lenovo ThinkPad X240
	Flags: bus master, fast devsel, latency 0, IRQ 46
	Memory at f0000000 (64-bit, non-prefetchable) [size=4M]
	Memory at e0000000 (64-bit, prefetchable) [size=256M]
	I/O ports at 3000 [size=64]
	Expansion ROM at <unassigned> [disabled]
	Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
	Capabilities: [d0] Power Management version 2
	Capabilities: [a4] PCI Advanced Features
	Kernel driver in use: i915

Video playback (not from webcam) works fine.


Eee-PC 1000H    |  Statler r20110207 Openbox
Vaio VGN-FE21H  |  CrunchBang 11 "Waldorf"
Thinkpad X1Carbon 1st Edition | Waldorf r20121015
Thinkpad X240 | Wally <-- this Thinkpad is not good with Linux

Offline

#4 2015-04-21 18:08:43

twoion
Moderator
Registered: 2012-05-11
Posts: 1,648

Re: Webcam all blue - Thinkpad x240

I am using a x240 too and my webcam does work properly. Install mpv and then run

mpv tv:///

You should get to see a webcam feed. If not, run

mpv -v tv:///

and post the debug log (could be quite long). mpv does both a very good job of working around buggy v4l drivers and hardware bugs, and it has better error reporting than many other video applications. If it works with mpv, we have to look into configuration that 'cheese' application properly.
--
Edit: Attached proof smile
screenshot_0001.jpg

Last edited by twoion (2015-04-21 18:12:06)


Tannhäuser ~ {www,pkg,ddl}.bunsenlabs.org/{gitlog,repoidx}

Offline

#5 2015-04-21 19:23:08

alef
#! CrunchBanger
Registered: 2009-02-05
Posts: 211

Re: Webcam all blue - Thinkpad x240

Thanks!

Here's what it says:

$ mpv -v tv:///
[cplayer] mpv 0.6.2 (C) 2000-2014 mpv/MPlayer/mplayer2 projects
[cplayer]  built on 2014-10-25T13:21:01
[cplayer] libav library versions:
[cplayer]    libavutil       54.3.0
[cplayer]    libavcodec      56.1.0
[cplayer]    libavformat     56.1.0
[cplayer]    libswscale      3.0.0
[cplayer]    libavfilter     5.0.0
[cplayer]    libavresample   2.1.0
[cplayer] 
[global] search dirs: /home/c-user/.config/mpv /home/c-user/.mpv /etc/mpv
[global] search dirs: /home/c-user/.config/mpv /home/c-user/.mpv /etc/mpv
[global] config path: 'encoding-profiles.conf' -> '/etc/mpv/encoding-profiles.conf'
[cplayer] Reading config file /etc/mpv/encoding-profiles.conf
[cplayer] 
[global] search dirs: /home/c-user/.config/mpv /home/c-user/.mpv /etc/mpv
[global] config file: 'config'
[global] search dirs: /home/c-user/.config/mpv /home/c-user/.mpv /etc/mpv
[global] config file: 'mpv.conf'
[cplayer] Setting option 'v' = '' (flags = 8)
[cplayer] Configuration: ./waf -v --nocache configure --prefix=/usr --libdir=/usr/lib/x86_64-linux-gnu --confdir=/etc/mpv --enable-cdda --enable-sdl2 --enable-zsh-comp --enable-libmpv-shared
[cplayer] Command line: 'mpv' '-v' 'tv:///'
[global] search dirs: /home/c-user/.config/mpv /home/c-user/.mpv /etc/mpv
[global] config path: 'input.conf' -> '(NULL)'
[input] Falling back on default (hardcoded) input config
[input/#1] Setting up LIRC support...
[input/#1] Failed to open LIRC support. You will not be able to use your remote control.
[global] search dirs: /home/c-user/.config/mpv /home/c-user/.mpv /etc/mpv
[global] config path: 'fonts' -> '(NULL)'
[osc] Loading script @osc.lua...
[global] search dirs: /home/c-user/.config/mpv /home/c-user/.mpv /etc/mpv
[global] config file: 'lua'
[osc] loading mp.defaults
[osc] loading @osc.lua
[global] search dirs: /home/c-user/.config/mpv /home/c-user/.mpv /etc/mpv
[global] config path: 'lua-settings/osc.conf' -> '(NULL)'
[osc] lua-settings/osc.conf not found. 
[cplayer] Done loading @osc.lua.
[global] search dirs: /home/c-user/.config/mpv /home/c-user/.mpv /etc/mpv
[global] config file: 'lua'
[global] search dirs: /home/c-user/.config/mpv /home/c-user/.mpv /etc/mpv
[global] config path: 'watch_later/860C54E82486344FDC39663263C26A1B' -> '(NULL)'
[global] search dirs: /home/c-user/.config/mpv /home/c-user/.mpv /etc/mpv
[global] config path: 'watch_later' -> '(NULL)'
[global] search dirs: /home/c-user/.config/mpv /home/c-user/.mpv /etc/mpv
[global] config path: '.conf' -> '(NULL)'
[global] search dirs: /home/c-user/.config/mpv /home/c-user/.mpv /etc/mpv
[global] config path: 'watch_later/860C54E82486344FDC39663263C26A1B' -> '(NULL)'
[global] search dirs: /home/c-user/.config/mpv /home/c-user/.mpv /etc/mpv
[global] config path: 'watch_later' -> '(NULL)'
[cplayer] Playing: tv:///
[tv] Opened: [tv] tv:///
[demux] Trying demuxer: tv (force-level: request)
[tv] Selected driver: v4l2
[tv]  name: Video 4 Linux 2 input
[tv] v4l2: your device driver does not support VIDIOC_G_STD ioctl, VIDIOC_G_PARM was used instead.
[tv] Selected device: Integrated Camera
[tv]  Capabilities:  video capture  streaming
[tv]  supported norms:
[tv]  inputs: 0 = Camera 1;
[tv]  Current input: 0
[tv]  Format YUYV   (16 bits, YUV 4:2:2 (YUYV))
[tv]  Format MJPEG  ( 0 bits, MJPEG)
[tv]  Current format: YUYV
[tv] v4l2: set format: YVU420
[tv] v4l2: set input: 0
[tv] tv.c: norm_from_string(pal): Bogus norm parameter, setting default.
[tv] Selected norm : pal
[tv] v4l2: ioctl enum norm failed: Inappropriate ioctl for device
[tv] Error: Cannot set norm!
[tv] Selected input hasn't got a tuner!
[tv] v4l2: get format: YUYV
[tv] v4l2: get fps: 30.000000
[tv] v4l2: get width: 640
[tv] v4l2: get height: 480
[tv] Using a ring buffer for maximum 2 frames, 1 MB total size.
[tv] v4l2: ioctl set mute failed: Invalid argument
[tv] v4l2: set Brightness: 128 [0, 255]
[tv] v4l2: set Hue: 0 [-180, 180]
[tv] v4l2: set Saturation: 64 [0, 100]
[tv] v4l2: set Contrast: 32 [0, 255]
[demux] Detected file format: TV card demuxer
[tv] Replaygain tags not found
[global] search dirs: /home/c-user/.config/mpv /home/c-user/.mpv /etc/mpv
[global] config path: 'subfont.ttf' -> '(NULL)'
[global] search dirs: /home/c-user/.config/mpv /home/c-user/.mpv /etc/mpv
[global] config path: 'fonts.conf' -> '(NULL)'
[libass] Setting up fonts...
[libass] Done.
[global] search dirs: /home/c-user/.config/mpv /home/c-user/.mpv /etc/mpv
[global] config path: 'sub/' -> '(NULL)'
[cplayer] [stream] Video (+) --vid=1 (rawvideo)
[cplayer] [V] fourcc:0x32595559  size:640x480  fps:30.000
[vo/opengl/wayland] failed to connect to a wayland server: check if a wayland compositor is running
[vo/opengl/x11] X11 opening display: :0
[vo/opengl/x11] X11 running at 1366x768 (":0" => local display)
[vo/opengl/x11] Detected wm supports NetWM.
[vo/opengl/x11] Detected wm supports FULLSCREEN state.
[vo/opengl/x11] Detected wm supports ABOVE state.
[vo/opengl/x11] Detected wm supports BELOW state.
[vo/opengl/x11] Display 0: [0, 0, 1366, 768] @ 60.002246 FPS
[vo/opengl] GLX chose visual with ID 0x8f
[vo/opengl] Detected OpenGL 3.0.
[vo/opengl] GL_VENDOR='Intel Open Source Technology Center'
[vo/opengl] GL_RENDERER='Mesa DRI Intel(R) Haswell Mobile '
[vo/opengl] GL_VERSION='3.0 Mesa 10.3.2'
[vo/opengl] GL_SHADING_LANGUAGE_VERSION='1.30'
[vo/opengl] OpenGL legacy compat. found.
[vo/opengl] Detected OpenGL features: [Basic OpenGL] [Legacy OpenGL] [OpenGL 2.0] [OpenGL 2.1] [OpenGL 3.0] [Framebuffers] [VAOs] [sRGB textures] [sRGB framebuffers] [Float textures] [RG textures] [NO_SW]
[vo/opengl] Testing user-set FBO format
[vo/opengl] Create FBO: 16x16
[vo/opengl]    8-bit precision: 0x0p+0
[vo/opengl]    16-bit precision: 0x1.0001p-9
[vo/opengl]    full float: 0x1.01p-9
[vo/opengl]    out of range value (2): 0x1p+0
[vo/opengl] Display depth: R=8, G=8, B=8
[vo/opengl] Testing user-set FBO format
[vo/opengl] Create FBO: 16x16
[vo/opengl]    8-bit precision: 0x0p+0
[vo/opengl]    16-bit precision: 0x1.0001p-9
[vo/opengl]    full float: 0x1.01p-9
[vo/opengl]    out of range value (2): 0x1p+0
[vo/opengl] Reinit rendering.
[vo/opengl] Assuming 1000.000000 FPS for framedrop.
[vd] Codec list:
[vd]     lavc:rawvideo - raw video
[vd] Opening video decoder lavc:rawvideo
[vd] Not trying to use hardware decoding: codec rawvideo is blacklisted by user.
[vd] Selected video codec: raw video [lavc:rawvideo]
[vo/opengl/x11] Disabling screensaver.
[cplayer] Starting playback...
[tv] v4l2: going to capture
[vd] No video PTS! Making something up.
[vd] VIDEO:  640x480  30.000 fps    0.0 kbps ( 0.0 kB/s)
[vd] VDec: vo config request - 640 x 480 (yuyv422)
[vd] VO Config (640x480->640x480,0x426)
[vf] Using conversion filter.
[scale] SwScale params: -1 x -1 (-1=no scaling)
[libav] swscaler: using unscaled yuyv422 -> yuv422p special converter
[vf] Video filter chain:
[vf]  [vd] 640x480 yuyv422 Autoselect/Autoselect CL=0
[vf]  [in] 640x480 yuyv422 BT.601 (SD)/TV CL=0
[vf]  [scale] 640x480 yuv422p BT.601 (SD)/TV CL=0 [a]
[vf]  [out] 640x480 yuv422p BT.601 (SD)/TV CL=0
[cplayer] VO: [opengl] 640x480 => 640x480 yuv422p
[cplayer] VO: Description: Extended OpenGL Renderer
[vo/opengl/x11] Current display FPS: 60.002246
[vo/opengl/x11] not waiting for MapNotify
[vo/opengl] Testing user-set FBO format
[vo/opengl] Create FBO: 16x16
[vo/opengl]    8-bit precision: 0x0p+0
[vo/opengl]    16-bit precision: 0x1.0001p-9
[vo/opengl]    full float: 0x1.01p-9
[vo/opengl]    out of range value (2): 0x1p+0
[vo/opengl] Texture for plane 0: 640x480
[vo/opengl] Texture for plane 1: 320x480
[vo/opengl] Texture for plane 2: 320x480
[vo/opengl] Reinit rendering.
[vo/opengl] compiling shader program 'frag_osd_libass', header:
[vo/opengl] [  1] #define VIDEO_SAMPLER sampler2D
[vo/opengl] compiling shader program 'frag_osd_rgba', header:
[vo/opengl] [  1] #define VIDEO_SAMPLER sampler2D
[vo/opengl] compiling shader program 'final', header:
[vo/opengl] [  1] #define VIDEO_SAMPLER sampler2D
[vo/opengl] [  2] #define SAMPLE_L(p0, p1, p2) sample_bilinear(p0, p1, p2, filter_param1_l)
[vo/opengl] [  3] #define USE_CONV CONV_PLANAR
[vo/opengl] [  4] #define USE_COLORMATRIX 1
[vo/opengl] [  5] #define SAMPLE_C(p0, p1, p2) sample_bilinear(p0, p1, p2, filter_param1_c)
[vo/opengl] Resize: 640x479
[vo/opengl] Window size: 640x479
[vo/opengl] Video source: 640x480 (640x480)
[vo/opengl] Video display: (0, 0) 640x480 -> (1, 0) 638x479
[vo/opengl] Video scale: 0.996875/0.997917
[vo/opengl] OSD borders: l=1 t=0 r=1 b=0
[vo/opengl] Video borders: l=1 t=0 r=1 b=0
[vo/opengl] Assuming 60.002246 FPS for framedrop.
[global] search dirs: /home/c-user/.config/mpv /home/c-user/.mpv /etc/mpv
[global] config path: 'fonts' -> '(NULL)'
[global] search dirs: /home/c-user/.config/mpv /home/c-user/.mpv /etc/mpv
[global] config path: 'subfont.ttf' -> '(NULL)'
[global] search dirs: /home/c-user/.config/mpv /home/c-user/.mpv /etc/mpv
[global] config path: 'fonts.conf' -> '(NULL)'
[osd/libass] Setting up fonts...
[osd/libass] Done.
[global] search dirs: /home/c-user/.config/mpv /home/c-user/.mpv /etc/mpv
[global] config path: 'fonts' -> '(NULL)'
[global] search dirs: /home/c-user/.config/mpv /home/c-user/.mpv /etc/mpv
[global] config path: 'subfont.ttf' -> '(NULL)'
[global] search dirs: /home/c-user/.config/mpv /home/c-user/.mpv /etc/mpv
[global] config path: 'fonts.conf' -> '(NULL)'
[osd/libass] Setting up fonts...
[osd/libass] Done.
[global] search dirs: /home/c-user/.config/mpv /home/c-user/.mpv /etc/mpv
[global] config path: 'fonts' -> '(NULL)'
[global] search dirs: /home/c-user/.config/mpv /home/c-user/.mpv /etc/mpv
[global] config path: 'subfont.ttf' -> '(NULL)'
[global] search dirs: /home/c-user/.config/mpv /home/c-user/.mpv /etc/mpv
[global] config path: 'fonts.conf' -> '(NULL)'
[osd/libass] Setting up fonts...
[osd/libass] Done.
[vd] No video PTS! Making something up.
[statusline] V: 00:00:00 / 00:00:00 (0%)
[vd] No video PTS! Making something up.
[statusline] V: 00:00:00 / 00:00:00 (0%) D: 1
[vd] No video PTS! Making something up.
[statusline] V: 00:00:00 / 00:00:00 (0%) D: 1
[vd] No video PTS! Making something up.
[statusline] V: 00:00:00 / 00:00:00 (0%) D: 2
[vd] No video PTS! Making something up.
[statusline] V: 00:00:00 / 00:00:00 (0%) D: 2
[vd] No video PTS! Making something up.
[statusline] V: 00:00:00 / 00:00:00 (0%) D: 3
[vd] No video PTS! Making something up.
[statusline] V: 00:00:00 / 00:00:00 (0%) D: 3
[vd] No video PTS! Making something up.
[statusline] V: 00:00:00 / 00:00:00 (0%) D: 4
[vd] No video PTS! Making something up.
[statusline] V: 00:00:00 / 00:00:00 (0%) D: 4
[vd] No video PTS! Making something up.
[statusline] V: 00:00:00 / 00:00:00 (0%) D: 5
[vd] No video PTS! Making something up.
[statusline] V: 00:00:00 / 00:00:00 (0%) D: 5
[vd] No video PTS! Making something up.
[statusline] V: 00:00:00 / 00:00:00 (0%) D: 6
[vd] No video PTS! Making something up.
[statusline] V: 00:00:00 / 00:00:00 (0%) D: 6
[vd] No video PTS! Making something up.
[statusline] V: 00:00:00 / 00:00:00 (0%) D: 7
[vd] No video PTS! Making something up.
[statusline] V: 00:00:00 / 00:00:00 (0%) D: 7
[vd] No video PTS! Making something up.
[statusline] V: 00:00:00 / 00:00:00 (0%) D: 8
[vd] No video PTS! Making something up.
[statusline] V: 00:00:00 / 00:00:00 (0%) D: 8
[vd] No video PTS! Making something up.
[statusline] V: 00:00:00 / 00:00:00 (0%) D: 9
[vd] No video PTS! Making something up.
[statusline] V: 00:00:00 / 00:00:00 (0%) D: 9
[vd] No video PTS! Making something up.
[statusline] V: 00:00:00 / 00:00:00 (0%) D: 10
[vd] No video PTS! Making something up.
[statusline] V: 00:00:00 / 00:00:00 (0%) D: 10
[vd] No video PTS! Making something up.
[statusline] V: 00:00:00 / 00:00:00 (0%) D: 11
[vd] No video PTS! Making something up.
[statusline] V: 00:00:00 / 00:00:00 (0%) D: 11
[vd] No video PTS! Making something up.
[statusline] V: 00:00:00 / 00:00:00 (0%) D: 12
[vd] No video PTS! Making something up.
[statusline] V: 00:00:00 / 00:00:00 (0%) D: 12
[vd] No video PTS! Making something up.
[statusline] V: 00:00:00 / 00:00:00 (0%) D: 13
[vd] No video PTS! Making something up.
[statusline] V: 00:00:00 / 00:00:00 (0%) D: 13
[vd] No video PTS! Making something up.
[statusline] V: 00:00:00 / 00:00:00 (0%) D: 14
[vd] No video PTS! Making something up.
[statusline] V: 00:00:00 / 00:00:00 (0%) D: 14
[vd] No video PTS! Making something up.
[statusline] V: 00:00:01 / 00:00:00 (0%) D: 15
[vd] No video PTS! Making something up.
[statusline] V: 00:00:01 / 00:00:00 (0%) D: 15
[vd] No video PTS! Making something up.
[statusline] V: 00:00:01 / 00:00:00 (0%) D: 15
[cplayer] EOF code: 7  
[cplayer] 
[vd] Uninit video.
[tv] v4l2: ioctl set mute failed: Invalid argument
[tv] v4l2: 35 frames successfully processed, 28 frames dropped.
[tv] v4l2: up to 1 video frames buffered.
[cplayer] 
[cplayer] Exiting... (Quit)
[vo/opengl/x11] Enabling screensaver.
[vo/opengl/x11] uninit ...
[osc] Exiting...

Eee-PC 1000H    |  Statler r20110207 Openbox
Vaio VGN-FE21H  |  CrunchBang 11 "Waldorf"
Thinkpad X1Carbon 1st Edition | Waldorf r20121015
Thinkpad X240 | Wally <-- this Thinkpad is not good with Linux

Offline

#6 2015-04-21 20:09:20

twoion
Moderator
Registered: 2012-05-11
Posts: 1,648

Re: Webcam all blue - Thinkpad x240

Interesting, you seem to have a different camera or use different drivers than I do (my webcam):

[tv] Selected driver: v4l2
[tv]  name: Video 4 Linux 2 input
[tv] your device driver does not support VIDIOC_G_STD ioctl, VIDIOC_G_PARM was used instead.
[tv] Selected device: Integrated Camera
[tv]  Capabilities:  video capture  read/write  streaming
[tv]  supported norms:
[tv]  inputs: 0 = Camera 1;
[tv]  Current input: 0
[tv]  Format YUYV   (16 bits, YUV 4:2:2 (YUYV))
[tv]  Format MJPEG  ( 0 bits, MJPEG)
[tv]  Format RGB24  (24 bits, RGB3)
[tv]  Format BGR24  (24 bits, BGR3)
[tv]  Format YUV420 (12 bits, YU12)
[tv]  Format YVU420 (12 bits, YV12)
[tv]  Current format: YUYV
[tv] set format: YVU420
[tv] set input: 0
[tv] tv.c: norm_from_string(pal): Bogus norm parameter, setting default.
[tv] Selected norm : pal
[tv] ioctl enum norm failed: Inappropriate ioctl for device
[tv] Error: Cannot set norm!
[tv] Selected input hasn't got a tuner!

What model of x240 in particular are you using? Post the output of

sudo lsusb -vvv

,this will provide detailed information on the camera model. Here's mine:

  bDeviceClass          239 Miscellaneous Device
  bDeviceSubClass         2 
  bDeviceProtocol         1 Interface Association
  bMaxPacketSize0        64
  idVendor           0x04ca Lite-On Technology Corp.
  idProduct          0x7035 
  bcdDevice           10.04
  iManufacturer           1 J31E9N1E8
  iProduct                2 Integrated Camera
 

MAYBE this is related to kernel version and/or ffmpeg/libav library versions. I've been using this notebook properly only with Linux >=3.18. Maybe you could try the kernel from jessie-backports or Sid (you are running 3.16 right?). v4l (Video4Linux) is tightly integrated with the kernel, so maybe a more up-to-date kernel will "fix" this issue.

Could you post the outputs of:

v4l2-compliance
v4l2-ctl -D

(Probably in the package v4l-utils). This will show the driver name and version.

Also, please try running

mpv --correct-pts=no tv:///

from here. Maybe go through this thread and try a few commands from there (warning: mpv option names have since changed).


Tannhäuser ~ {www,pkg,ddl}.bunsenlabs.org/{gitlog,repoidx}

Offline

#7 2015-04-21 20:12:53

Head_on_a_Stick
CatMod
From: A world of pure imagination
Registered: 2014-01-21
Posts: 4,797

Re: Webcam all blue - Thinkpad x240

twoion wrote:

Maybe you could try the kernel from jessie-backports or Sid (you are running 3.16 right?).

There is no jessie-backports (yet) and Sid is still on 3.16 -- Liquorix have 3.19 available.
http://liquorix.net/

Offline

#8 2015-04-21 20:18:42

twoion
Moderator
Registered: 2012-05-11
Posts: 1,648

Re: Webcam all blue - Thinkpad x240

Head_on_a_Stick wrote:
twoion wrote:

Maybe you could try the kernel from jessie-backports or Sid (you are running 3.16 right?).

There is no jessie-backports (yet) and Sid is still on 3.16 -- Liquorix have 3.19 available.
http://liquorix.net/

I forget big_smile


Tannhäuser ~ {www,pkg,ddl}.bunsenlabs.org/{gitlog,repoidx}

Offline

#9 2015-04-21 20:52:09

alef
#! CrunchBanger
Registered: 2009-02-05
Posts: 211

Re: Webcam all blue - Thinkpad x240

There's something with this computer.

I typed my reply, and thought I would include a picture taken from the camera to show how it behaves. I turn on Cheese to take a pic... and colors work well.

I had the same yesterday with Wifi: I couldn't get a stable connection, even after kernel upgrade and with latest version of iwlwifi firmware. totally unusable. Then after plenty of research and actually changing nothing, the connection got stable by itself.

The manufacturer of the webcam seems to be different indeed:

$ sudo lsusb -vvv
[...]
  bDeviceClass          239 Miscellaneous Device
  bDeviceSubClass         2 ?
  bDeviceProtocol         1 Interface Association
  bMaxPacketSize0        64
  idVendor           0x04f2 Chicony Electronics Co., Ltd
  idProduct          0xb39a 
  bcdDevice           26.03
  iManufacturer           1 SunplusIT INC.
  iProduct                2 Integrated Camera
[...]

I leave the rest of what I had written below, even if it doesn't look to matter anymore.

Thanks very much for your help and your patience.

---------------------------------------------------------------------------------------

MAYBE this is related to kernel version

This situation happens with the following kernels, at least:
* Debian Jessie with 3.19-4.dmz.1-liquorix-amd64 kernel
* Ubuntu 14.04 LTS with Linux 3.13 kernel


$ v4l2-compliance
Driver Info:
	Driver name   : uvcvideo
	Card type     : Integrated Camera
	Bus info      : usb-0000:00:14.0-8
	Driver version: 3.19.4
	Capabilities  : 0x84200001
		Video Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps   : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format

Compliance test for device /dev/video0 (not using libv4l2):

Required ioctls:
	test VIDIOC_QUERYCAP: OK

Allow for multiple opens:
	test second video open: OK
	test VIDIOC_QUERYCAP: OK
	test VIDIOC_G/S_PRIORITY: OK

Debug ioctls:
	test VIDIOC_DBG_G/S_REGISTER: OK (Not Supported)
	test VIDIOC_LOG_STATUS: OK (Not Supported)

Input ioctls:
	test VIDIOC_G/S_TUNER/ENUM_FREQ_BANDS: OK (Not Supported)
	test VIDIOC_G/S_FREQUENCY: OK (Not Supported)
	test VIDIOC_S_HW_FREQ_SEEK: OK (Not Supported)
	test VIDIOC_ENUMAUDIO: OK (Not Supported)
	test VIDIOC_G/S/ENUMINPUT: OK
	test VIDIOC_G/S_AUDIO: OK (Not Supported)
	Inputs: 1 Audio Inputs: 0 Tuners: 0

Output ioctls:
	test VIDIOC_G/S_MODULATOR: OK (Not Supported)
	test VIDIOC_G/S_FREQUENCY: OK (Not Supported)
	test VIDIOC_ENUMAUDOUT: OK (Not Supported)
	test VIDIOC_G/S/ENUMOUTPUT: OK (Not Supported)
	test VIDIOC_G/S_AUDOUT: OK (Not Supported)
	Outputs: 0 Audio Outputs: 0 Modulators: 0

Input/Output configuration ioctls:
	test VIDIOC_ENUM/G/S/QUERY_STD: OK (Not Supported)
	test VIDIOC_ENUM/G/S/QUERY_DV_TIMINGS: OK (Not Supported)
	test VIDIOC_DV_TIMINGS_CAP: OK (Not Supported)
	test VIDIOC_G/S_EDID: OK (Not Supported)

Test input 0:

	Control ioctls:
		fail: v4l2-test-controls.cpp(211): missing control class for class 00980000
		test VIDIOC_QUERYCTRL/MENU: FAIL
		warn: v4l2-test-controls.cpp(367): s_ctrl returned EIO
		test VIDIOC_G/S_CTRL: OK
		fail: v4l2-test-controls.cpp(579): g_ext_ctrls returned an error (22)
		test VIDIOC_G/S/TRY_EXT_CTRLS: FAIL
		test VIDIOC_(UN)SUBSCRIBE_EVENT/DQEVENT: OK
		test VIDIOC_G/S_JPEGCOMP: OK (Not Supported)
		Standard Controls: 10 Private Controls: 0

	Format ioctls:
		test VIDIOC_ENUM_FMT/FRAMESIZES/FRAMEINTERVALS: OK
		test VIDIOC_G/S_PARM: OK
		test VIDIOC_G_FBUF: OK (Not Supported)
		test VIDIOC_G_FMT: OK
		test VIDIOC_TRY_FMT: OK
		warn: v4l2-test-formats.cpp(804): Could not set fmt2
		test VIDIOC_S_FMT: OK
		test VIDIOC_G_SLICED_VBI_CAP: OK (Not Supported)

	Codec ioctls:
		test VIDIOC_(TRY_)ENCODER_CMD: OK (Not Supported)
		test VIDIOC_G_ENC_INDEX: OK (Not Supported)
		test VIDIOC_(TRY_)DECODER_CMD: OK (Not Supported)

	Buffer ioctls:
		test VIDIOC_REQBUFS/CREATE_BUFS/QUERYBUF: OK
		test VIDIOC_EXPBUF: OK (Not Supported)


Total: 38, Succeeded: 36, Failed: 2, Warnings: 2
$ v4l2-ctl -D
Driver Info (not using libv4l2):
	Driver name   : uvcvideo
	Card type     : Integrated Camera
	Bus info      : usb-0000:00:14.0-8
	Driver version: 3.19.4
	Capabilities  : 0x84200001
		Video Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps   : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format

P.S.: maybe I should have precised in the previous post: the `mpv tv:///` command worked and did show me the webcam feed, just all in blue...

---------------------------------------------------------------------------------------


Eee-PC 1000H    |  Statler r20110207 Openbox
Vaio VGN-FE21H  |  CrunchBang 11 "Waldorf"
Thinkpad X1Carbon 1st Edition | Waldorf r20121015
Thinkpad X240 | Wally <-- this Thinkpad is not good with Linux

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: acrobat

Debian Logo