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
Emerald Caffeine
From: 星界
Registered: 2012-05-11
Posts: 1,648

Re: Webcam all blue - Thinkpad x240

mpv tv:///

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

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
Emerald Caffeine
From: 星界
Registered: 2012-05-11
Posts: 1,648

Re: Webcam all blue - Thinkpad x240

[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!

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

Offline

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

twoion
Emerald Caffeine
From: 星界
Registered: 2012-05-11
Posts: 1,648

Re: Webcam all blue - Thinkpad x240

Offline

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

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

Re: Webcam all blue - Thinkpad x240

$ 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
[...]

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: bleh

Debian Logo