Click to See Complete Forum and Search --> : xawtv
Hi all, I've installed xawtv and have modprobed the videodev (the v4l module I believe) to make sure that's loaded into the kernel. I can't get anything out of xawtv, and when I run it from a terminal, the following are the msgs I get:
===================
WARNING: Your X-Server has no DGA support.
WARNING: couldn't find framebuffer base address, try manual
configuration ("v4l-conf -a <addr>")
Warning: Cannot convert string "-*-ledfixed-medium-r-*--39-*-*-*-c-*-*-*" to type FontStruct
Xlib: extension "XFree86-DRI" missing on display ":0.0".
ioctl: VIDIOCCAPTURE(int=1): Invalid argument
ioctl: VIDIOCCAPTURE(int=0): Invalid argument
===============================
Any ideas? Thanks.
hard candy
05-11-2004, 05:44 AM
Which brand of video card are you using?
"Xlib: extension "XFree86-DRI" missing on display ":0.0"." means it is looking for the dri extension. DRI is a kernel option so the first thing is to see if it is enabled in the kernel config. Then make sure it is enabled in the xf86config file.
Also, while you are checking the kernel config, check on the framebuffer options. "WARNING: Your X-Server has no DGA support.
WARNING: couldn't find framebuffer base address, try manual" - see if DGA is enabled in the framebuffer section.
But if you are using a nvidia brand card with the nvidia driver, not the "nv" driver, you may have to unload the nvidia module and go back to the "nv" driver.
mdwatts
05-11-2004, 11:02 AM
And have a look through this thread (http://justlinux.com/forum/showthread.php?s=&threadid=127240&highlight=XFree86DRI+missing) from yesterday on the same error message.
I've got an old Diamond Viper 550 using the nv module. I edited /etc/X11/XF86Config to include the lines 'Load "dga"' and 'Load "dri"' and in the "DRI" section, "Mode 0666". Still the same error messages. So next I look at the kernel config.
I'm not sure what to look for under the ConsoleDrivers--> Frame-buffer support. There doesn't seem to be any option for DGA support. And I'm lost on where to look to see if DRI option is enabled.
Thanks for the help.
hard candy
05-11-2004, 03:12 PM
In the section of the kernel config where you enable AGP, is the DRI module.
bwkaz's VCR howto from "How I Did It" (http://www.justlinux.com/forum/showthread.php?s=&threadid=126584)
Linux VCR Howto (http://www.icewalkers.com/Linux/Howto/VCR-HOWTO.html#toc3)
Also from bwkaz:
DGA is a way for programs to render 2D stuff directly into the X server's screen, or something like that.
Inside your XF86Config (or XF86Config-4 if it exists) file, inside the Modules section, there's something that looks like either:
code:Load "extmod"
or:
code:SubSection "extmod"
Option "omit xfree86-dga"
EndSubSection
Comment out the option line if it's there, or change it to look like the first sample (with just a Load instead of a SubSection for "extmod"). That should make DGA support load."
To sum it up, read that documentation, you may not have to change anything in the kernel.
Well, I enabled DRI in the kernel, recompiled etc. etc. In my XF86Config, I have commented out
SubSection "extmod"
Option "omit xfree86-dga"
EndSubSection
Also I have added
Load "dga"
Load "v4l"
Load "dri"
And I uncommented
Section "DRI"
Mode 0666
EndSection
The error message I get now is
=======================================
This is xawtv-3.92, running on Linux/i586 (2.4.22)
Xlib: extension "XVideo" missing on display ":0.0".
Xlib: extension "XVideo" missing on display ":0.0".
WARNING: Your X-Server has no DGA support.
WARNING: couldn't find framebuffer base address, try manual
configuration ("v4l-conf -a <addr>")
Warning: Cannot convert string "-*-ledfixed-medium-r-*--39-*-*-*-c-*-*-*" to type FontStruct
ALSA lib seq_hw.c:446:(snd_seq_hw_open) open /dev/snd/seq failed: No such device
midi: snd_seq_open: No such device
Xlib: extension "XFree86-DRI" missing on display ":0.0".
ioctl: VIDIOCCAPTURE(int=1): Invalid argument
ioctl: VIDIOCCAPTURE(int=0): Invalid argument
=======================================
I'm quite sure I'm installing the recompiled kernel and booting off it correctly.
Thanks for the help so far.
Also, as far as my video driver goes, I have nvidia chipset support enabled in the kernel, but there's no nv module to load into the kernel, although there is an nv_drv.o that comes with X which my XF86Config file makes me believe it is loading that for my Viper 550.
Under DRI support in the kernel, it says to select a driver that goes with my card. None of the options relate to my card so I guess maybe DRI is just not supported by my card. I've got an old Voodoo3 I could try. maybe I'll do that.
Is DRI and DGA necessary to run xawtv? I have movies playing in Xine with no problems.
Thanks
mdwatts
05-13-2004, 11:27 AM
Originally posted by exit
Xlib: extension "XVideo" missing on display ":0.0".
Xlib: extension "XVideo" missing on display ":0.0".
Try loading 'xv.
Section "Module"
Load "dga"
Load "v4l"
Load "dri"
Load "xv"
EndSection
Hmmm, no luck. Thanks for the help. I'll keep working on it.
happybunny
10-30-2004, 01:21 AM
i hate to resurect an old thread, but I could never find this info and thought i'd share for future generations.
to use xawtv, i simply modprobe bttv, launched xawtv -hwscan to get some info on my hardware and noticed it was using /dev/video0.
It claims to use /dev/video0 by default, but i have to call xawtv with the -c /dev/video0 switch and it works.
now that it is up, you can change your settings, but you cant seem to save them. the message says simply save them to your $HOME/.xawtv file, which doesn't exist, and simply creating doesnt help.
SO, i open xawk, right clicked the screen and set my settings, then while the menu was still open, hit the Channel Editor, made up a channel, then saved it there. That finaly created the .xawtv file for me which is pretty straight forward now that I see it.
So anyway, you can copy this one and make changes or follow those instructions.
Good luck and happy surfing, the old school way!!
[global]
ratio = 4:3
freqtab = us-cable
pixsize = 128 x 96
pixcols = 1
jpeg-quality = 75
keypad-ntsc = no
keypad-partial = yes
osd = yes
# [Station name]
# capture = overlay | grabdisplay | on | off
# input = Television | Composite1 | S-Video | ...
# norm = PAL | NTSC | SECAM | ...
# channel = #
# fine = # (-128..+127)
# key = keysym | modifier+keysym
# color = #
# bright = #
# hue = #
# contrast = #
[defaults]
group = main
norm = NTSC
input = Television
capture = over
color = 48%
bright = 49%
hue = 49%
contrast = 41%
[CBS]
channel = 7
key = 7
[FOX]
channel = 13
key = f
[SciFi]
channel = 62
[Comedy]
channel = 61
[Cartoon]
channel = 60
[Spike]
channel = 55