Sophie

Sophie

distrib > Mageia > 1 > i586 > by-pkgid > 53da5a507f675e1d2d2c0e9c3268abfb > files > 255

mplayer-doc-1.0-1.rc4.0.r32713.5.3.mga1.i586.rpm

<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>4.7. tdfx_vid</title><link rel="stylesheet" type="text/css" href="default.css"><meta name="generator" content="DocBook XSL Stylesheets V1.76.1"><link rel="home" href="index.html" title="MPlayer - The Movie Player"><link rel="up" href="video.html" title="Chapter 4. Video output devices"><link rel="prev" href="tdfxfb.html" title="4.6. 3Dfx YUV support"><link rel="next" href="opengl.html" title="4.8. OpenGL output"><link rel="preface" href="howtoread.html" title="How to read this documentation"><link rel="chapter" href="intro.html" title="Chapter 1. Introduction"><link rel="chapter" href="install.html" title="Chapter 2. Installation"><link rel="chapter" href="usage.html" title="Chapter 3. Usage"><link rel="chapter" href="video.html" title="Chapter 4. Video output devices"><link rel="chapter" href="ports.html" title="Chapter 5. Ports"><link rel="chapter" href="mencoder.html" title="Chapter 6. Basic usage of MEncoder"><link rel="chapter" href="encoding-guide.html" title="Chapter 7. Encoding with MEncoder"><link rel="chapter" href="faq.html" title="Chapter 8. Frequently Asked Questions"><link rel="appendix" href="bugreports.html" title="Appendix A. How to report bugs"><link rel="appendix" href="skin.html" title="Appendix B. MPlayer skin format"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">4.7. tdfx_vid</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="tdfxfb.html">Prev</a> </td><th width="60%" align="center">Chapter 4. Video output devices</th><td width="20%" align="right"> <a accesskey="n" href="opengl.html">Next</a></td></tr></table><hr></div><div class="sect1" title="4.7. tdfx_vid"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="tdfx_vid"></a>4.7. tdfx_vid</h2></div></div></div><p>
This is a combination of a Linux kernel module and a video output
driver, similar to <a class="link" href="mga_vid.html" title="4.5. Matrox framebuffer (mga_vid)">mga_vid</a>.
You'll need a 2.4.x kernel with the <code class="systemitem">agpgart</code>
driver since <code class="systemitem">tdfx_vid</code> uses AGP.
Pass <tt class="option">--enable-tdfxfb</tt> to <span class="command"><strong>configure</strong></span>
to build the video output driver and build the kernel module with
the following instructions.
</p><div class="procedure" title="Installing the tdfx_vid.o kernel module:"><a name="id2751791"></a><p class="title"><b>Installing the tdfx_vid.o kernel module:</b></p><ol class="procedure" type="1"><li class="step" title="Step 1"><p>
  Compile <tt class="filename">drivers/tdfx_vid.o</tt>:
  </p><pre class="screen">
make drivers</pre><p>
</p></li><li class="step" title="Step 2"><p>
  Then run (as <code class="systemitem">root</code>)
  </p><pre class="screen">make install-drivers</pre><p>
  which should install the module and create the device node for you.
  Load the driver with
  </p><pre class="screen">insmod tdfx_vid.o</pre><p>
</p></li><li class="step" title="Step 3"><p>
  To make it load/unload automatically when needed, first insert the
  following line at the end of <tt class="filename">/etc/modules.conf</tt>:

  </p><pre class="programlisting">alias char-major-178 tdfx_vid</pre><p>
</p></li></ol></div><p>
There is a test application called <span class="command"><strong>tdfx_vid_test</strong></span> in the same
directory. It should print out some useful information if all is working well.
</p></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="tdfxfb.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="video.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="opengl.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">4.6. 3Dfx YUV support </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> 4.8. OpenGL output</td></tr></table></div></body></html>