Bug#644761: linux-image-2.6.32-5-vserver-amd64: xawtv does not work with USB Webcam served by the gspca driver

2011-10-08 Thread Omer Zak
Package: linux-2.6
Version: 2.6.32-35squeeze2
Severity: normal
Tags: squeeze

xawtv used to work, but now it has a regression.
I assume that the problem is in the gspca kernel driver, but it could be in an
X-Window video driver.


$ lsusb| egrep -in cam
7:Bus 004 Device 002: ID 046d:092e Logitech, Inc. QuickCam Chat
$ xawtv
This is xawtv-3.95.dfsg.1, running on Linux/x86_64 (2.6.32-5-vserver-amd64)
xinerama 0: 1920x1080+0+0
X Error of failed request:  XF86DGANoDirectVideoMode
  Major opcode of failed request:  130 (XFree86-DGA)
  Minor opcode of failed request:  1 (XF86DGAGetVideoLL)
  Serial number of failed request:  69
  Current serial number in output stream:  69
$ xawtv -nodga
This is xawtv-3.95.dfsg.1, running on Linux/x86_64 (2.6.32-5-vserver-amd64)
xinerama 0: 1920x1080+0+0
X Error of failed request:  XF86DGANoDirectVideoMode
  Major opcode of failed request:  130 (XFree86-DGA)
  Minor opcode of failed request:  1 (XF86DGAGetVideoLL)
  Serial number of failed request:  15
  Current serial number in output stream:  15
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=0x7f7dc9ed9bca 
[PAL_B1,PAL_H,PAL_D1,PAL_K,PAL_M,PAL_N,PAL_60,NTSC_M,?,SECAM_B,SECAM_G,SECAM_H,SECAM_K1,SECAM_L,?ATSC_8_VSB,ATSC_16_VSB,(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)]):
 Invalid argument
ioctl: VIDIOC_S_STD(std=0x0 []): Invalid argument

xawtv without the -nodga option does not display any window.
xawtv -nodga also displays a black window.

X-Window version:
$ dpkg -l | egrep -i xorg
ii  xorg  1:7.5+8   
X.Org X Window System
ii  xorg-docs-core1:1.5-1   
Core documentation for the X.org X Window System
ii  xserver-xorg  1:7.5+8   
the X.Org X server
ii  xserver-xorg-core 2:1.7.7-13
Xorg X server - core server
ii  xserver-xorg-input-all1:7.5+8   
the X.Org X server -- input driver metapackage
ii  xserver-xorg-input-evdev  1:2.3.2-6 
X.Org X server -- evdev input driver
ii  xserver-xorg-input-kbd1:1.4.0-2 
X.Org X server -- keyboard input driver
ii  xserver-xorg-input-mouse  1:1.5.0-2 
X.Org X server -- mouse input driver
ii  xserver-xorg-input-synaptics  1.2.2-2   
Synaptics TouchPad driver for X.Org server
ii  xserver-xorg-input-wacom  0.10.5+20100416-1 
X.Org X server -- Wacom input driver
ii  xserver-xorg-video-all1:7.5+8   
the X.Org X server -- output driver metapackage
ii  xserver-xorg-video-apm1:1.2.2-2 
X.Org X server -- APM display driver
ii  xserver-xorg-video-ark1:0.7.2-2 
X.Org X server -- ark display driver
ii  xserver-xorg-video-ati1:6.13.1-2+squeeze1   
X.Org X server -- AMD/ATI display driver wrapper
ii  xserver-xorg-video-chips  1:1.2.3-1 
X.Org X server -- Chips display driver
ii  xserver-xorg-video-cirrus 1:1.3.2-2+squeeze1
X.Org X server -- Cirrus display driver
ii  xserver-xorg-video-dummy  1:0.3.3-2 
X.Org X server -- dummy display driver
ii  xserver-xorg-video-fbdev  1:0.4.2-2 
X.Org X server -- fbdev display driver
ii  xserver-xorg-video-glint  1:1.2.4-2 
X.Org X server -- Glint display driver
ii  xserver-xorg-video-i128   1:1.3.3-2 
X.Org X server -- i128 display driver
ii  xserver-xorg-video-intel  2:2.13.0-6
X.Org X server -- Intel i8xx, i9xx display driver
ii  xserver-xorg-video-mach64 6.8.2-3   
X.Org X server -- ATI Mach64 display driver
ii  xserver-xorg-video-mga1:1.4.11.dfsg-4+squeeze1  
X.Org X server -- MGA display driver
ii  xserver-xorg-video-neomagic   1:1.2.4-3 
X.Org X server -- Neomagic display driver
ii  xserver-xorg-video-nouveau
1:0.0.15+git20100329+7858345-5X.Org X server -- Nouveau display driver 
(experimental)
ii  xserver-xorg-video-nv 1:2.1.17-3
X.Org X server -- NV display driver
ii  xserver-xorg-video-openchrome 1:0.2.904+svn842-2

Bug#644761: linux-image-2.6.32-5-vserver-amd64: xawtv does not work with USB Webcam served by the gspca driver

2011-10-08 Thread Ben Hutchings
On Sat, 2011-10-08 at 20:53 +0200, Omer Zak wrote:
 Package: linux-2.6
 Version: 2.6.32-35squeeze2
 Severity: normal
 Tags: squeeze
 
 xawtv used to work, but now it has a regression.
 I assume that the problem is in the gspca kernel driver, but it could be in an
 X-Window video driver.
[...]
 $ xawtv -nodga
 This is xawtv-3.95.dfsg.1, running on Linux/x86_64 (2.6.32-5-vserver-amd64)
 xinerama 0: 1920x1080+0+0
 X Error of failed request:  XF86DGANoDirectVideoMode
   Major opcode of failed request:  130 (XFree86-DGA)
   Minor opcode of failed request:  1 (XF86DGAGetVideoLL)
   Serial number of failed request:  15
   Current serial number in output stream:  15
 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=0x7f7dc9ed9bca 
 [PAL_B1,PAL_H,PAL_D1,PAL_K,PAL_M,PAL_N,PAL_60,NTSC_M,?,SECAM_B,SECAM_G,SECAM_H,SECAM_K1,SECAM_L,?ATSC_8_VSB,ATSC_16_VSB,(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)]):
  Invalid argument
 ioctl: VIDIOC_S_STD(std=0x0 []): Invalid argument
[...]

xawtv still uses V4L1, which is obsolete:
http://wiki.debian.org/ReleaseGoals/NoVideo4Linux1.

I'll reassign this to xawtv.

Ben.

-- 
Ben Hutchings
Reality is just a crutch for people who can't handle science fiction.


signature.asc
Description: This is a digitally signed message part


Bug#644761: linux-image-2.6.32-5-vserver-amd64: xawtv does not work with USB Webcam served by the gspca driver

2011-10-08 Thread Ben Hutchings
I suggest you apply Fedora's patches from
https://bugzilla.redhat.com/show_bug.cgi?id=457796.  These also fix
the default behaviour of using the archaic DGA extension.

Ben.

-- 
Ben Hutchings
Reality is just a crutch for people who can't handle science fiction.


signature.asc
Description: This is a digitally signed message part