From 6db1ac87fc40fee2095a12a2482484852ed38a6a Mon Sep 17 00:00:00 2001 From: diego Date: Sun, 25 Jul 2010 12:54:52 +0000 Subject: DOCS/xml: updates Drop one pointless subsectioning level from radio input chapter. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31815 b3059339-0415-0410-9bf9-f77b7e298cf2 Remove subsection that describes how to tweak CD/DVD drives. It is getting outdated and outside the scope of MPlayer documentation. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31816 b3059339-0415-0410-9bf9-f77b7e298cf2 Remove pointless and non-informative SDL section from video output chapter. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31817 b3059339-0415-0410-9bf9-f77b7e298cf2 Drop one level of pointless subsectioning. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31818 b3059339-0415-0410-9bf9-f77b7e298cf2 Split TV chapter in two. This avoids a chapter without content apart from the (sub)sections. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31819 b3059339-0415-0410-9bf9-f77b7e298cf2 Remove MTRR section from video output chapter. The information it contains should be irrelevant in 2010. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31820 b3059339-0415-0410-9bf9-f77b7e298cf2 Remove graphics cards subsections from Xv section in video output chapter. The information contained is very outdated. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31821 b3059339-0415-0410-9bf9-f77b7e298cf2 --- DOCS/xml/en/video.xml | 305 +------------------------------------------------- 1 file changed, 3 insertions(+), 302 deletions(-) (limited to 'DOCS/xml/en/video.xml') diff --git a/DOCS/xml/en/video.xml b/DOCS/xml/en/video.xml index 249e0adcc9..72c7559408 100644 --- a/DOCS/xml/en/video.xml +++ b/DOCS/xml/en/video.xml @@ -3,92 +3,6 @@ Video output devices - -Setting up MTRR - - -It is VERY recommended to check if the MTRR registers -are set up properly, because they can give a big performance boost. - - - -Do a cat /proc/mtrr: - ---($:~)-- cat /proc/mtrr -reg00: base=0xe4000000 (3648MB), size= 16MB: write-combining, count=9 -reg01: base=0xd8000000 (3456MB), size= 128MB: write-combining, count=1 - - - -It's right, shows my Matrox G400 with 16MB memory. I did this from -XFree 4.x.x, which sets up MTRR registers automatically. - - - -If nothing worked, you have to do it manually. First, you have to find the -base address. You have 3 ways to find it: - - - - from X11 startup messages, for example: - -(--) SVGA: PCI: Matrox MGA G400 AGP rev 4, Memory @ 0xd8000000, 0xd4000000 -(--) SVGA: Linear framebuffer at 0xD8000000 - - - from /proc/pci (use lspci -v - command): - -01:00.0 VGA compatible controller: Matrox Graphics, Inc.: Unknown device 0525 -Memory at d8000000 (32-bit, prefetchable) - - - from mga_vid kernel driver messages (use dmesg): - mga_mem_base = d8000000 - - - - - -Then let's find the memory size. This is very easy, just convert video RAM -size to hexadecimal, or use this table: - - - - 1 MB0x100000 - 2 MB0x200000 - 4 MB0x400000 - 8 MB0x800000 - 16 MB0x1000000 - 32 MB0x2000000 - - - - - - -You know base address and memory size, let's setup MTRR registers! -For example, for the Matrox card above (base=0xd8000000) -with 32MB ram (size=0x2000000) just execute: - -echo "base=0xd8000000 size=0x2000000 type=write-combining" > /proc/mtrr - - - - -Not all CPUs have MTRRs. For example older K6-2 (around 266MHz, -stepping 0) CPUs don't have MTRRs, but stepping 12 does -(execute cat /proc/cpuinfo to check it). - - - - - - - Xv @@ -160,182 +74,6 @@ screen #0 - - - -3dfx cards - - -Older 3dfx drivers were known to have problems with XVideo acceleration, it -didn't support YUY2 or YV12 colorspaces. Verify that you have XFree86 -version 4.2.0 or later, it can handle YV12 and YUY2 while previous -versions, including 4.1.0, crash with YV12. -If you experience strange effects using , try SDL -(it has XVideo, too) and see if it helps. Check the -SDL section for details. - - - -OR, try the NEW - driver! See the tdfxfb -section. - - - - - -S3 cards - - -S3 Savage3D's should work fine, but for Savage4, use XFree86 version 4.0.3 -or greater (in case of image problems, try 16bpp). As for S3 Virge: there is -xv support, but the card itself is very slow, so you better sell it. - - - -There is now a native framebuffer driver for S3 Virge cards similar to -tdfxfb. Set up your framebuffer (e.g. append -"" to your kernel command line) and use - ( and -will also help). - - - -It's currently unclear which Savage models lack YV12 support, and convert by -driver (slow). If you suspect your card, get a newer driver, or ask politely -on the MPlayer-users mailing list for an MMX/3DNow! enabled driver. - - - - - -nVidia cards - - -nVidia isn't always a very good choice under Linux ... XFree86's -open-source driver supports most of these cards, but for some cases, you'll -have to use the binary closed-source nVidia driver, available at -nVidia's web site. -You'll always need this driver if you want 3D acceleration, too. - - - -Riva128 cards don't have XVideo support with XFree86's nVidia driver :( -Complain to nVidia. - - - -However, MPlayer contains a -VIDIX driver for most nVidia cards. Currently it -is in beta stage, and has some drawbacks. For more information, see -nVidia VIDIX section. - - - - - -ATI cards - - -The GATOS driver -(which you should use, unless you have Rage128 or Radeon) has VSYNC enabled -by default. It means that decoding speed (!) is synced to the monitor's -refresh rate. If playing seems to be slow, try disabling VSYNC somehow, or -set refresh rate to a n*(fps of the movie) Hz. - - - -Radeon VE - if you need X, use XFree86 4.2.0 or greater for this card. -No TV out support. Of course with MPlayer you can -happily get accelerated display, with or -without TV output, and no libraries or X are -needed. -Read the VIDIX section. - - - - - -NeoMagic cards - - -These cards can be found in many laptops. You must use XFree86 4.3.0 or -above, or else use Stefan Seyfried's -Xv-capable drivers. -Just choose the one that applies to your version of XFree86. - - - -XFree86 4.3.0 includes Xv support, yet Bohdan Horst sent a small -patch -against the XFree86 sources that speeds up framebuffer operations (so XVideo) -up to four times. The patch has been included in XFree86 CVS and should be in -the next release after 4.3.0. - - - -To allow playback of DVD sized content change your XF86Config like this: - -Section "Device" - [...] - Driver "neomagic" - Option "OverlayMem" "829440" - [...] -EndSection - - - - - -Trident cards - - -If you want to use Xv with a Trident card, provided that it doesn't work -with 4.1.0, install XFree 4.2.0. 4.2.0 adds support for fullscreen Xv -support with the Cyberblade XP card. - - - -Alternatively, MPlayer contains a -VIDIX driver for the Cyberblade/i1 card. - - - - - -Kyro/PowerVR cards - - -If you want to use Xv with a Kyro based card (for example Hercules -Prophet 4000XT), you should download the drivers from the -PowerVR site. - - - - - -Intel cards - - -These cards can be found in many laptops. Recent Xorg is recommended. - - - -To allow playback of DVD sized (and larger) content change your XF86Config/xorg.conf like this: - -Section "Device" - [...] - Driver "intel" - Option "LinearAlloc" "6144" - [...] -EndSection - -Lack of this option usually results in an error like -X11 error: BadAlloc (insufficient resources for operation) -when attempting to use . - - @@ -628,39 +366,6 @@ with every chipset driver for XFree out there. - -SDL - - -SDL (Simple Directmedia Layer) is basically a unified -video/audio interface. Programs that use it know only about SDL, and not -about what video or audio driver does SDL actually use. For example a Doom -port using SDL can run on svgalib, aalib, X, fbdev, and others, you only -have to specify the (for example) video driver to use with the -SDL_VIDEODRIVER environment variable. Well, in theory. - - - -With MPlayer, we used its X11 driver's software -scaler ability for cards/drivers that doesn't support XVideo, until we made -our own (faster, nicer) software scaler. Also we used its aalib output, but -now we have ours which is more comfortable. Its DGA mode was better than -ours, until recently. Get it now? :) - - - -It also helps with some buggy drivers/cards if the video is jerky (not slow -system problem), or audio is lagging. - - - -SDL video output supports displaying subtitles under the movie, on the (if -present) black bar. - - - - - SVGAlib @@ -2175,10 +1880,7 @@ problems, or DVD subtitle problems, give a try. - -Other visualization hardware - - + Zr @@ -2275,11 +1977,11 @@ during playback, it will crash your computer. It is, however, fine to wait for MPlayer to finish and THEN stop XawTV. - + - + Blinkenlights @@ -2294,7 +1996,6 @@ has to offer. Just watch some of the On the Arcade video you can see the Blinkenlights output driver in action at 00:07:50. - -- cgit v1.2.3