[mythtv-users] X / xv overlay problems
Brian M. Sperlongano
zelonewolf at gmail.com
Sat Sep 17 02:50:33 UTC 2005
Oops, that should have been obvious. xorg.conf file is below. My card is an
nVidia 440MX with SVIDEO out.
#BEGIN
Section "ServerLayout"
Identifier "X.org <http://X.org> Configured"
Screen 0 "Screen0" 0 0
# InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
RgbPath "/usr/lib/X11/rgb"
ModulePath "/usr/lib/modules"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/TTF/"
FontPath "/usr/share/fonts/Type1/"
FontPath "/usr/share/fonts/CID/"
FontPath "/usr/share/fonts/75dpi/"
FontPath "/usr/share/fonts/100dpi/"
EndSection
Section "Module"
Load "extmod"
Load "dri"
Load "dbe"
Load "record"
Load "xtrap"
Load "glx"
Load "type1"
Load "freetype"
Load "v4l"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection
#Section "InputDevice"
# Identifier "Mouse0"
# Driver "mouse"
# Option "Protocol" "auto"
# Option "Device" "/dev/mouse"
#EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection
Section "Device"
Option "HWcursor" "true" # [<bool>]
Option "NvAGP" "1" # <i>
Option "TVStandard" "NTSC-M"
Option "RenderAccel" "true" # [<bool>]
Option "Overlay" "true"
Option "CIOverlay" "true"
Option "ForceEmulatedOverlay" "true"
Option "OverlayDefaultVisual" "true"
Option "HorizSync" "30-50"
Option "VertRefresh" "60"
Identifier "Card0"
Driver "nvidia"
VendorName "nVidia Corporation"
BoardName "NV17 [GeForce4 MX 440]"
BusID "PCI:1:0:0"
Option "ConnectedMonitor" "TV"
Option "TVOutFormat" "SVIDEO"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
#END
On 9/16/05, Derek Meek <thekazan at gmail.com> wrote:
>
> x.org <http://x.org> config please
>
> Brian M. Sperlongano wrote:
>
> > Hi all,
> >
> > I'm having trouble getting my Xorg configured properly...it's probably
> > something simple, but it seems to have something to do with XV. I
> > must confess I know little about Xorg configuration. I can't get
> > mplayer, tvtime, xawtv, etc to run because they complain about not
> > having overlay support.
> >
> > I'm using a PVR-500, 0.3.9 ivtv drivers. I have at one point in the
> > past gotten video out of the /dev/videoX devices, and I'm pretty sure
> > they work...I believe X is configured incorrectly. I've included
> > error output from each of the three programs below.
> >
> > For tvtime, my output is:
> >
> > localhost ~ # DISPLAY=:0.0 tvtime
> > Running tvtime 0.9.15.
> > Reading configuration from /etc/tvtime/tvtime.xml
> > Reading configuration from /root/.tvtime/tvtime.xml
> > xcommon: No window properties found for EWMH.
> > xvoutput: No XVIDEO port found which supports YUY2 images.
> >
> > *** tvtime requires hardware YUY2 overlay support from your video card
> > *** driver. If you are using an older NVIDIA card (TNT2), then
> > *** this capability is only available with their binary drivers.
> > *** For some ATI cards, this feature may be found in the experimental
> > *** GATOS drivers: http://gatos.souceforge.net/
> > *** If unsure, please check with your distribution to see if your
> > *** X driver supports hardware overlay surfaces.
> >
> > For xawtv, my output is:
> >
> > localhost ~ # DISPLAY=:0.0 xawtv
> > This is xawtv-3.94, running on Linux/i686 (2.6.12-gentoo-r10)
> > switching visual (0x26)
> > /dev/video0 [v4l2]: no overlay support
> > v4l-conf had some trouble, trying to continue anyway
> > Warning: Cannot convert string "-*-ledfixed-medium-r-*--39-*-
> > *-*-c-*-*-*" to type FontStruct
> > no way to get: 0x0 8 bit StaticGray
> >
> >
> > And, here's a sample from mplayer:
> >
> > localhost ~ # mplayer /dev/video1
> > MPlayer 1.0pre7try2-3.3.6 (C) 2000-2005 MPlayer Team
> > CPU: Advanced Micro Devices Athlon 4 /Athlon MP/XP Palomino (Family:
> > 6, Stepping: 2)
> > Detected cache-line size is 64 bytes
> > MMX supported but disabled
> > MMX2 supported but disabled
> > SSE supported but disabled
> > 3DNow supported but disabled
> > 3DNowExt supported but disabled
> > CPUflags: MMX: 0 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
> > Compiled for x86 CPU with extensions:
> >
> >
> >
> > 85 audio & 196 video codecs
> > Setting up LIRC support...
> > mplayer: could not connect to socket
> > mplayer: No such file or directory
> > Failed to open LIRC support.
> > You will not be able to use your remote control.
> > Playing /dev/video1.
> > Cache fill: 18.75% (1572864 bytes) MPEG-PS file format detected.
> > VIDEO: MPEG2 720x480 (aspect 2) 29.970 fps 9600.0 kbps (1200.0
> > kbyte/s)
> >
> ==========================================================================
> > Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
> > AUDIO: 48000 Hz, 2 ch, s16le, 384.0 kbit/25.00% (ratio: 48000->192000)
> > Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
> >
> ==========================================================================
> > vo: couldn't open the X11 display ()!
> > vo: couldn't open the X11 display ()!
> > VO XOverlay need a subdriver
> > [gl] Using 4 as slice height (0 means image height).
> > vo: couldn't open the X11 display ()!
> > vo: couldn't open the X11 display ()!
> > SDL: Initializing of SDL failed: No available video device.
> >
> ==========================================================================
> > Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
> > VDec: vo config request - 720 x 480 (preferred csp: Mpeg PES)
> > VDec: using Mpeg PES as output csp (no 0)
> > Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
> > VO: [vesa] 720x480 => 720x540 Mpeg PES
> >
> > Thanks,
> > Brian
> >
> >------------------------------------------------------------------------
> >
> >_______________________________________________
> >mythtv-users mailing list
> >mythtv-users at mythtv.org
> >http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> >
> >
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20050916/5c0e3a9a/attachment.htm
More information about the mythtv-users
mailing list