View previous topic :: View next topic |
Author |
Message |
oldefortran l33t
Joined: 28 Feb 2004 Posts: 652
|
Posted: Sat Feb 11, 2006 7:55 pm Post subject: xawtv plays only sound, no picture |
|
|
and I get this message:
Code: |
This is xawtv-3.95, running on Linux/i686 (2.6.15.1)
WARNING: v4l-conf is compiled without 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
ioctl: VIDIOC_OVERLAY(int=1): Invalid argument
|
What's wrong and how to fix it? |
|
Back to top |
|
|
Suer7reus Tux's lil' helper
Joined: 26 Nov 2003 Posts: 106
|
Posted: Sat Feb 11, 2006 8:48 pm Post subject: |
|
|
Try right clicking the window to get options, then switching from overlay to grabdisplay mode?
Post an `emerge --info` too.
You could also try starting xawtv with the -noxv switch.
It's not a bad idea to upgrade to something like kdetv/tvtime/mythtv/vlc/tc either. |
|
Back to top |
|
|
oldefortran l33t
Joined: 28 Feb 2004 Posts: 652
|
Posted: Sat Feb 11, 2006 9:09 pm Post subject: |
|
|
grabdisplay works but is not watchable. It's like dropping 60% of the frames.
Everything worked fine before.
Portage 2.0.54 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r2, 2.6.15.1 i686)
=================================================================
System uname: 2.6.15.1 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.6.14
dev-lang/python: 2.2.3-r5, 2.3.5-r2, 2.4.2
sys-apps/sandbox: 1.2.12
sys-devel/autoconf: 2.13, 2.59-r6
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils: 2.16.1
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer -finline-functions -mmmx -m3dnow -msse"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer -finline-functions -mmmx -m3dnow -msse"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/ http://ds.thn.htu.se/linux/gentoo http://ftp.easynet.nl/mirror/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X Xaw3d aalib acl acpi adns alsa apache2 apm arts atlas audiofile avi berkdb bindist bitmap-fonts bonobo bzip2 cdparanoia cdr crypt cscope cups curl dga doc dts dvd eds emboss encode esd ethereal evo exif expat f77 fam fastcgi fb ffmpeg flac foomaticdb fortran gcj gd gdbm geoip ggi gif ginac glut gmp gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile icq idn imagemagick imap imlib innodb ipv6 jabber jack java jpeg junit kde lcms ldap lesstif libcaca libg++ libgda libwww lua mad maildir matroska mbox mcal mhash mikmod mmx mng motif mozilla mp3 mpeg mpi msn mysql nas ncurses nls odbc ogg oggvorbis openal opengl oscar oss pam pcre pdflib perl plotutils png postgres ppds python qt quicktime readline real recode ruby samba sasl scanner sdl slang speex spell sqlite sse ssl svg svga tcltk tcpd tetex theora tiff truetype truetype-fonts type1-fonts udev usb v4l v4l2 videos vmf vorbis wmf wxwindows xine xml xml2 xmms xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS |
|
Back to top |
|
|
oldefortran l33t
Joined: 28 Feb 2004 Posts: 652
|
Posted: Sat Feb 11, 2006 9:34 pm Post subject: |
|
|
I could perhaps add that I can't get any sound when trying to record with mplayer
mencoder tv://E5 -tv device=/dev/v4l/video0:driver=v4l2:width=640:height=480:alsa -o /home/oldefortran/TV.avi -ofps 25 -ovc lavc -oac lavc -lavcopts vcodec=mpeg4:acodec=mp3:vhq:vbitrate=1800 -vf lavcdeint -of avi
The only difference between earlier and now is a kernel upgrade and a lot of package upgrades, mplayer has not been recompiled yet. |
|
Back to top |
|
|
energyman76b Advocate
Joined: 26 Mar 2003 Posts: 2048 Location: Germany
|
Posted: Sat Feb 11, 2006 10:32 pm Post subject: |
|
|
Hi,
you are using nvidia, right?
you are using some of their latest drivers, correct?
change 'overlay' to 'grabdisplay' and you get your picture back - this is a well known bug in the nvidia drivers.
Oh, and xdtv works a little bit better than xawtv for me _________________ Study finds stunning lack of racial, gender, and economic diversity among middle-class white males
I identify as a dirty penismensch. |
|
Back to top |
|
|
oldefortran l33t
Joined: 28 Feb 2004 Posts: 652
|
Posted: Sat Feb 11, 2006 10:43 pm Post subject: |
|
|
well, I get the picture but it's dropping 50% of the frames and it's not watchable. I had it working earlier without any problems on the same machine. Should I switch back to the 0.7xx nvidia driver (where it worked) instead of the new 0.8xx that I have just installed? |
|
Back to top |
|
|
oldefortran l33t
Joined: 28 Feb 2004 Posts: 652
|
Posted: Sun Feb 12, 2006 9:33 am Post subject: |
|
|
Switching back to old nvidiakernel/glx didn't work. |
|
Back to top |
|
|
oldefortran l33t
Joined: 28 Feb 2004 Posts: 652
|
Posted: Sun Feb 12, 2006 9:43 am Post subject: |
|
|
But it worked with xawtv 0.94 instead of 0.95.
Great! |
|
Back to top |
|
|
javeree_work Tux's lil' helper
Joined: 13 Apr 2005 Posts: 84
|
Posted: Sun Feb 12, 2006 12:59 pm Post subject: |
|
|
I had this error too before (using the 'nv' drivers for X and vesatng for framebuffer).
These are the notes I made on solving it. The resolution is in manually telling xawtv what area to use for overlay using the command v4l-conf.
Below are the notes I jotted down while solving it.
on first run, I got the error:
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 typ
e FontStruct
Xlib: extension "GLX" missing on display ":0.0".
ioctl: VIDIOC_OVERLAY(int=1): Invalid argument
=> I tried to add DGA support and the GLX extension
in /etc/X11/xorg.conf, do the following in the Module section:
Comment out the line
#Option "omit xfree86-dga"
Add the line
Load glx
A second start resulted in
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
ioctl: VIDIOC_OVERLAY(int=1): Invalid argument
The command
>xawtv -hwscan
resulted in
This is xawtv-3.94, running on Linux/i686 (2.6.12-suspend2-r6-vesatngfb)
looking for available devices
port 61-92
type : Xvideo, image scaler
name : NV Video Blitter
/dev/video0: OK [ -device /dev/video0 ]
type : v4l2
name : BT878 video (Pinnacle PCTV Stud
flags: overlay capture tuner
Next trying to configure the framebuffer manually as sugested in the first output
detect the address of the framebuffer first, then use that to configure v4l
>dmesg | grep framebuffer
vesafb: framebuffer at 0xe4000000, mapped to 0xc8880000, using 2560k, total 16384k
>v4l-conf -a 0xe4000000
v4l-conf: using X11 display :0.0
WARNING: Your X-Server has no DGA support.
using user provided base address 0xe4000000
mode: 1280x1024, depth=24, bpp=32, bpl=5120, base=0xe4000000
/dev/video0 [v4l2]: configuration done
next step: strying to get channels scanned
>scantv -n PAL -f europe-west -C /dev/vbi0 > .xawtv # apparently, udev assigns vbi0, scantv expects vbi as default
With this, xawtv could start up. However, it still shows a problem when displaying images: stripes at the left side of the screen. This time, I found a FAQ explaining it had to do with the inability of the PCI bus to handle the data rates. To counter this, I added AGP support
>echo agpgart >> /etc/modules.autoload.d/kernel2.6
I also changed the defaultdepth of the X server to 16 bpp (in /etc/X11/xorg.conf). A later attemp to return to 24 bit resulted in the problem returning, so now I stay at 16 bit.
TODO: no DGA support (getting DGA support could result in no more need for the manual configuration). It may not be supported by the nv driver. |
|
Back to top |
|
|
oldefortran l33t
Joined: 28 Feb 2004 Posts: 652
|
Posted: Sun Feb 12, 2006 1:24 pm Post subject: |
|
|
Shouldn't DGA be avoided with the NVidia driver? |
|
Back to top |
|
|
paul555 l33t
Joined: 22 Nov 2004 Posts: 612 Location: Greece
|
Posted: Sun Feb 12, 2006 1:48 pm Post subject: |
|
|
Just a guess but in your Quote: | /etc/X11/xorg.conf | in you comment out or have these lines?
Quote: | # This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
SubSection "extmod"
# Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection
|
Hope it helps _________________ "LINUX, MS-DOS, Windows : known as the Good, the Bad and the Ugly."
http://www.gnome.gr |
|
Back to top |
|
|
oldefortran l33t
Joined: 28 Feb 2004 Posts: 652
|
Posted: Sun Feb 12, 2006 1:56 pm Post subject: |
|
|
It says
# SubSection "extmod"
# Option "omit xfree86-dga"
# EndSubsection |
|
Back to top |
|
|
paul555 l33t
Joined: 22 Nov 2004 Posts: 612 Location: Greece
|
Posted: Sun Feb 12, 2006 2:55 pm Post subject: |
|
|
try Quote: | SubSection "extmod" | instead of Quote: | # SubSection "extmod" |
_________________ "LINUX, MS-DOS, Windows : known as the Good, the Bad and the Ugly."
http://www.gnome.gr |
|
Back to top |
|
|
oldefortran l33t
Joined: 28 Feb 2004 Posts: 652
|
Posted: Sun Feb 12, 2006 3:08 pm Post subject: |
|
|
I will try that when I want new problems since I've got it to work and dont' feel like tampering with it right now.
But does it really has any difference if I write
Code: |
# SubSection "extmod"
# Option "omit xfree86-dga"
# EndSubsection |
or Code: |
SubSection "extmod"
# Option "omit xfree86-dga"
EndSubsection |
In the first case, will it use default values for the extmod section? |
|
Back to top |
|
|
oldefortran l33t
Joined: 28 Feb 2004 Posts: 652
|
Posted: Sun Feb 12, 2006 4:49 pm Post subject: |
|
|
Oh, I should perhaps stop loading extmod and uncomment the lines you mention. |
|
Back to top |
|
|
webhawg Apprentice
Joined: 18 Oct 2002 Posts: 293
|
Posted: Wed Jun 14, 2006 3:10 am Post subject: |
|
|
I've been having trouble with xawtv lately. The problems ocurred when I upgraded to xorg-x11-7.0-r1 and to xawtv-3.95-r1. I'm sure these are the causes of the problems, but I haven't seen many posts explaining why. I'd like to stay with the latest xorg.
In order to get xawtv to work for me, I took a few suggestions from this post. I've commented out the 'extmod' line and set xawtv to 'grabdisplay'. This seems to get xawtv to work. However, it can't display in fullscreen mode very well, AND the picture is definitely not as clear as previously.
Is xawtv just not going to work with xorg-x11-7* until a new release? Or is there a way to get xawtv's 'overlay' setting to work? |
|
Back to top |
|
|
|