grabdisplay and video-capture not working; overlay ok!!!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hello all
Sorry if my message will be a little bit long... :)
I used to have a Mandrake 8.1 with the original 2.4.18 kernel from
Mandrake Update, and everything concerning videocapture and TV-tuner
worked ok.
I recently upgraded to a 2.4.21-0.13mdkcustom kernel which I backported
(hacked) from Mandrake 9.1 distro; nothing else essential changed in my
installation. I did that to support the UDMA of my KT400 chipset. But
the videocapture and grabdisplay in xawtv doesn't work anymore. Upgraded
to bttv-0.7.107; same result. Tried 0.9.11; same result. I patched the
kernel (and bttv drivers) with i2c-2.8.0, which I needed anyway to
support my thermal sensors; nothing changed. After upgrade to the latest
xawtv, the situation is the same: lirc_gpio works ok, tuner works ok,
overlay image is very clean and the driver does not crash; but
grabdisplay renders black screen, VBI and videocapture doesn't work at
all for the TV tuner. I also have a Quickcam Express which captures ok
using the same driver!!! 
Everyhting works ok when booting the 2.4.18 kernel, except UDMA and
lm_sensors, but I'd like to have them both! Does somebody have any idea
why this happens? Trying to install a new linux from scratch would be
suicide, because I have all my (20GB) work on this HDD; maybe when I'll
buy a new hard drive...
The v4l messages didn't help me very much, because I couldn't see any
change in the IRQ assignments reported to the ones with 2.4.18 kernel.
All that changes is that I have Alsa 0.9.6 running with 2 soundcards,
but I doubt this would be the problem; they work in WinXP as they are,
and at least the Creative Vibra 128 runs also when I boot the 2.4.18
kernel (with Alsa 0.5.3). 
I tried various kernel boot parameters (noapic and mem=...)but it didn't
help. Anybody has an idea? 

My configuration is a real Christmass tree :) : 
AMD Athlon XP 1700+ with an Epox 8K9A motherboard (VIA KT400), 
256MB DDRAM 333, 
Supergrace GeForce2 MX 200 video card w 64MB SDRAM, 
on-board sound VIA 8235 (ALC 650 rev. 0), 
PCI Creative Vibra 128 soundcard (es 1371, CS4297 A rev 3), 
USB Logitech Quickcam Express,
K-World 878FBK TV/FM card with remote control (almost identical with the
Jetway 878 FBK).

X-windows server is XFree86-4.1.0-17mdk, tests done with xawtv-3.88-0.


Here is some additional info:

[florin@localhost tuner]$ cat /proc/interrupts
           CPU0       
  0:     256291          XT-PIC  timer
  1:       9677          XT-PIC  keyboard
  2:          0          XT-PIC  cascade
  3:      19741          XT-PIC  serial
  8:          1          XT-PIC  rtc
  9:          0          XT-PIC  acpi
 10:          0          XT-PIC  usb-uhci, bttv
 11:       2336          XT-PIC  usb-uhci, usb-uhci, VIA8233, Ensoniq
AudioPCI
 12:      40142          XT-PIC  PS/2 Mouse
 14:      19277          XT-PIC  ide0
 15:         36          XT-PIC  ide1
NMI:          0 
LOC:     256244 
ERR:         33
MIS:          0


[florin@localhost florin]$ xawtv -c /dev/v4l/video1 (yes, I have 2 v4l
devices and it works witk the 2.4.18 kernel!)
This is xawtv-3.88, running on Linux/i686 (2.4.21-0.13mdkcustom)
Loading required GL library /usr/X11R6/lib/libGL.so.1.2.030402
v4l: timeout (got SIGALRM), hardware/driver problems?
ioctl: VIDIOCSYNC(int=0): Interrupted system call
ioctl: VIDIOCMCAPTURE(frame=0;height=32;width=48;format=15): Device or
resource busy
ioctl: VIDIOCMCAPTURE(frame=0;height=32;width=48;format=9): Device or
resource busy
ioctl: VIDIOCMCAPTURE(frame=0;height=32;width=48;format=3): Device or
resource busy
ioctl: VIDIOCMCAPTURE(frame=0;height=32;width=48;format=4): Device or
resource busy
ioctl: VIDIOCMCAPTURE(frame=0;height=32;width=48;format=5): Device or
resource busy
ioctl: VIDIOCMCAPTURE(frame=0;height=32;width=48;format=1): Device or
resource busy
ioctl: VIDIOCMCAPTURE(frame=0;height=32;width=48;format=13): Device or
resource busy
no way to get: 384x288 MJPEG (AVI)
no way to get: 384x288 16 bit TrueColor (LE)

[florin@localhost florin]$ v4l-conf
v4l-conf: using X11 display :0
dga: version 2.0
mode: 1024x768, depth=16, bpp=16, bpl=2048, base=0xe0000000
/dev/video0 [v4l2]: ioctl VIDIOC_QUERYCAP: Invalid argument
/dev/video0 [v4l]: no overlay support

The part with "no overlay support" is strange, cause overlay is the only
mode I managed to get working!!!

Thanks for any help!
Florin





[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux