aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-01-21 21:18:33 +0000
committerGravatar diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-01-21 21:18:33 +0000
commit4ce7efc86046c60758f2bbc26550e3a71c9cc11f (patch)
treeddb8eebb65801e40c518d815e7435823fd6a7249
parent6ccdb8079d2ef53a617334c903e90c133449ef21 (diff)
Our DirectFB documentation is dated, the current version is now linked to
from video.xml. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11825 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--DOCS/tech/directfb.txt63
-rw-r--r--DOCS/xml/en/video.xml22
2 files changed, 12 insertions, 73 deletions
diff --git a/DOCS/tech/directfb.txt b/DOCS/tech/directfb.txt
deleted file mode 100644
index 7e268e3e7b..0000000000
--- a/DOCS/tech/directfb.txt
+++ /dev/null
@@ -1,63 +0,0 @@
-Written by Ville Syrjälä <syrjala@sci.fi>, original can be found at
-http://www.sci.fi/~syrjala/directfb/readme.txt
-For more information see also http://www.directfb.org
---------------------------------------------------------------------------------
-DirectFB includes TV out support for Matrox G400 cards.
-If you've used the Windows drivers you most likely know about
-DVDMax... DirectFB provides the same functionality. Now you can get
-excellent quality video playback on your TV.
-
-DirectFB TV output features:
-- interlaced picture
-- 720x576 50Hz PAL and 720x486 60Hz NTSC
-- RGB15, RGB16, RGB32, ARGB, YUY2, UYVY, I420, YV12 pixel formats
-- hardware blended sub-picure in I420 and YV12 modes
-- brightness, contrast, hue, saturation adjustments
-- no more tweaking sessions with fbset to get the image centered :)
-
-I recommend you use DirectFB 0.9.15 or later since some vsync problems
-were fixed in that release.
-
-Linux kernel setup:
-
-1. Patch your kernel with matroxfb-vsync-c2vline-irq-patch-2.4.19.bz2
-It's distributed with DirectFB sources in the patches subdirectory.
-This patch enables IRQ based vblank waiting. Make sure your card has
-an IRQ assigned to it. You may have an option in the BIOS setup for
-this.
-
-2. Add "#define FBIO_WAITFORVSYNC _IOW('F', 0x20, int)" to
- /usr/include/linux/fb.h
-
-3. Build and install the kernel. Set the following options:
- CONFIG_I2C
- CONFIG_I2C_ALGOBIT
- CONFIG_I2C_CHARDEV
- CONFIG_I2C_PROC
- CONFIG_FB_MATROX
- CONFIG_FB_MATROX_G100
- CONFIG_FB_MATROX_I2C
-DirectFB doesn't require kernel support for the second head. In fact it may
-interfere with the TV out.
-
-4. Make sure you have the proper /dev/i2c-N device file in place.
- After loading i2c-matroxfb module you should see MAVEN in
- /proc/bus/i2c. You must have the corresponding device file. To
- create these files use:
- 'mknod /dev/i2c-N c 89 N' where N is 0,1,2...
- The number might change depending on the order you load i2c modules
- so you may want to create some extra files.
-
-DirectFB setup:
-
-1. Build and install DirectFB
-
-2. Use the following DirectFB options:
- matrox-crtc2
- matrox-tv-standard=pal or ntsc
-You can store them in /etc/directfbrc or ~/.directfbrc so that the will be
-used every time.
-
-That's pretty much it. Well you do need some applications. mplayer has
-a special video out plugin 'dfbmga' for this stuff. You need a recent
-version of mplayer to use it.
diff --git a/DOCS/xml/en/video.xml b/DOCS/xml/en/video.xml
index d946c3673d..7db7201827 100644
--- a/DOCS/xml/en/video.xml
+++ b/DOCS/xml/en/video.xml
@@ -1585,24 +1585,26 @@ be done by the subdevice method, e.g.: <option>-vo directfb:2</option>
<sect4 id="dfbmga">
<title>DirectFB/Matrox (dfbmga)</title>
<para>
-Please read the <link linkend="directfb">main DirectFB</link> section or general
-informations.
+Please read the <link linkend="directfb">main DirectFB</link> section for general
+information.
</para>
-<para>This video output driver will enable CRTC2 (on the second head) on the
-Matrox G400/G450/G550 card, displaying video <emphasis role="bold">independently</emphasis>
-of the first head.
+<para>
+This video output driver will enable CRTC2 (on the second head) on Matrox
+G400/G450/G550 cards, displaying video
+<emphasis role="bold">independent</emphasis> of the first head.
</para>
<para>
-Instructions on how to make it work can be found in the
-<ulink url="../../tech/directfb.txt">tech</ulink> section
-or directly on Ville Syrjala's
-<ulink url="http://www.sci.fi/~syrjala/directfb/Matrox_TV-out_README.txt">home page</ulink>.
+Ville Syrjala's has a
+<ulink url="http://www.sci.fi/~syrjala/directfb/Matrox_TV-out_README.txt">README</ulink>
+and a
+<ulink url="http://www.sci.fi/~syrjala/directfb/matrox_tv-out_howto">HOWTO</ulink>
+on his homepage that explain how to make DirectFB TV output run on Matrox cards.
</para>
<note><para>
-the first DirectFB version with which we could kick this working was
+the first DirectFB version with which we could get this working was
0.9.17 (it's buggy, needs that <systemitem>surfacemanager</systemitem> patch from
the URL above). Anyway, porting of the CRTC2 code to <emphasis role="bold">mga_vid</emphasis>
is underway.