comparison DOCS/video.html @ 8177:1f00a3d29b20

some TOC reorder new sections updates fixes girls etc
author gabucino
date Wed, 13 Nov 2002 05:13:51 +0000
parents adc8d71a15bd
children 352b654c7787
comparison
equal deleted inserted replaced
8176:15fa4667cddf 8177:1f00a3d29b20
67 67
68 <P>Not all CPUs support MTRRs. For example older K6-2's [around 266MHz, 68 <P>Not all CPUs support MTRRs. For example older K6-2's [around 266MHz,
69 stepping 0] doesn't support MTRR, but stepping 12's do ('<CODE>cat 69 stepping 0] doesn't support MTRR, but stepping 12's do ('<CODE>cat
70 /proc/cpuinfo</CODE>' to check it').</P> 70 /proc/cpuinfo</CODE>' to check it').</P>
71 71
72 72 <H4><A NAME="normal">2.3.1.2 Video outputs for traditional video cards</A></H4>
73 <H4><A NAME="xv">2.3.1.2 Xv</A></H4> 73
74 <H4><A NAME="xv">2.3.1.2.1 Xv</A></H4>
74 75
75 <P>Under XFree86 4.0.2 or newer, you can use your card's hardware YUV routines 76 <P>Under XFree86 4.0.2 or newer, you can use your card's hardware YUV routines
76 using the XVideo extension. This is what the option '-vo xv' uses. Also, 77 using the XVideo extension. This is what the option '-vo xv' uses. Also,
77 this is driver supports adjusting brightness/contrast/hue/etc (unless you use 78 this is driver supports adjusting brightness/contrast/hue/etc (unless you use
78 the old, slow DirectShow DivX codec, which supports it everywhere), see the 79 the old, slow DirectShow DivX codec, which supports it everywhere), see the
128 <LI>And finally, check if MPlayer was compiled with 'xv' support. 129 <LI>And finally, check if MPlayer was compiled with 'xv' support.
129 ./configure prints this.</LI> 130 ./configure prints this.</LI>
130 </UL> 131 </UL>
131 132
132 133
133 <H5><A NAME="xv_3dfx">2.3.1.2.1 3dfx cards</A></H5> 134 <H4><A NAME="xv_3dfx">2.3.1.2.1.1 3dfx cards</A></H4>
134 135
135 <P>Older 3dfx drivers were known to have problems with XVideo acceleration, it 136 <P>Older 3dfx drivers were known to have problems with XVideo acceleration, it
136 didn't support either YUY2 or YV12, and so. Verify that you have XFree86 137 didn't support either YUY2 or YV12, and so. Verify that you have XFree86
137 version 4.2.0 or greater, it works OK with YV12 and YUY2. Previous versions, 138 version 4.2.0 or greater, it works OK with YV12 and YUY2. Previous versions,
138 including 4.1.0, <B>crash with YV12</B>. If you experience strange effects 139 including 4.1.0, <B>crash with YV12</B>. If you experience strange effects
141 142
142 <P><B>OR</B>, try the NEW -vo tdfxfb driver! See the 143 <P><B>OR</B>, try the NEW -vo tdfxfb driver! See the
143 <A HREF="#tdfxfb">tdfxfb</A> section.</P> 144 <A HREF="#tdfxfb">tdfxfb</A> section.</P>
144 145
145 146
146 <H5><A NAME="xv_s3">2.3.1.2.2 S3 cards</A></H5> 147 <H4><A NAME="xv_s3">2.3.1.2.1.2 S3 cards</A></H4>
147 148
148 <P>S3 Savage3D's should work fine, but for Savage4, use XFree86 version 4.0.3 149 <P>S3 Savage3D's should work fine, but for Savage4, use XFree86 version 4.0.3
149 or greater (in case of image problems, try 16bpp). As for S3 Virge.. there is 150 or greater (in case of image problems, try 16bpp). As for S3 Virge.. there is
150 xv support, but the card itself is very slow, so you better sell it.</P> 151 xv support, but the card itself is very slow, so you better sell it.</P>
151 152
153 and convert by driver (slow). If you suspect your card, get a newer driver, 154 and convert by driver (slow). If you suspect your card, get a newer driver,
154 or ask politely on the mplayer-users mailing list for an MMX/3DNow enabled 155 or ask politely on the mplayer-users mailing list for an MMX/3DNow enabled
155 driver.</P> 156 driver.</P>
156 157
157 158
158 <H5><A NAME="xv_nvidia">2.3.1.2.3 nVidia cards</A></H5> 159 <H4><A NAME="xv_nvidia">2.3.1.2.1.3 nVidia cards</A></H4>
159 160
160 <P>nVidia isn't a very good choice under Linux (according to nVidia, this is 161 <P>nVidia isn't a very good choice under Linux (according to nVidia, this is
161 <A HREF="users_against_developers.html#nvidia">not true</A>).. You'll have to 162 <A HREF="users_against_developers.html#nvidia">not true</A>).. You'll have to
162 use the binary closed-source nVidia driver, available at nVidia's web site. 163 use the binary closed-source nVidia driver, available at nVidia's web site.
163 The standard XFree86 driver doesn't support XVideo for these cards, due to 164 The standard XFree86 driver doesn't support XVideo for these cards, due to
168 169
169 <P>Riva128 cards don't have XVideo support even with the nVidia driver :( 170 <P>Riva128 cards don't have XVideo support even with the nVidia driver :(
170 Complain to nVidia.</P> 171 Complain to nVidia.</P>
171 172
172 173
173 <H5><A NAME="xv_ati">2.3.1.2.4 ATI cards</A></H5> 174 <H4><A NAME="xv_ati">2.3.1.2.1.4 ATI cards</A></H4>
174 175
175 <UL> 176 <UL>
176 <LI>The <A HREF="http://gatos.sourceforge.net">GATOS driver</A> (which you 177 <LI>The <A HREF="http://gatos.sourceforge.net">GATOS driver</A> (which you
177 should use, unless you have Rage128 or Radeon) has VSYNC enabled by 178 should use, unless you have Rage128 or Radeon) has VSYNC enabled by
178 default. It means that decoding speed (!) is synced to the monitor's 179 default. It means that decoding speed (!) is synced to the monitor's
183 happily get <B>accelerated</B> display, with or without <B>TV output</B>, and 184 happily get <B>accelerated</B> display, with or without <B>TV output</B>, and
184 no libraries or X are needed. Read <A HREF="#vidix">Vidix</A> section.</LI> 185 no libraries or X are needed. Read <A HREF="#vidix">Vidix</A> section.</LI>
185 </UL> 186 </UL>
186 187
187 188
188 <H5><A NAME="xv_neomagic">2.3.1.2.5 NeoMagic cards</A></H5> 189 <H4><A NAME="xv_neomagic">2.3.1.2.1.5 NeoMagic cards</A></H4>
189 190
190 <P>These cards can be found in many laptops. Unfortunately, the driver in 191 <P>These cards can be found in many laptops. Unfortunately, the driver in
191 X 4.2.0 can't do Xv, but we have a modified, Xv-capable driver for you. 192 X 4.2.0 can't do Xv, but we have a modified, Xv-capable driver for you.
192 <A HREF="http://www.mplayerhq.hu/MPlayer/contrib/NeoMagic-driver/neomagic_drv.o.4.2.0.bz2">Download from here</A>. 193 <A HREF="http://www.mplayerhq.hu/MPlayer/contrib/NeoMagic-driver/neomagic_drv.o.4.2.0.bz2">Download from here</A>.
193 Driver provided by Stefan Seyfried.</P> 194 Driver provided by Stefan Seyfried.</P>
200 &nbsp; &nbsp; <B>Option "OverlayMem" "829440"</B><BR> 201 &nbsp; &nbsp; <B>Option "OverlayMem" "829440"</B><BR>
201 &nbsp; &nbsp; <I>[...]</I><BR> 202 &nbsp; &nbsp; <I>[...]</I><BR>
202 EndSection</P> 203 EndSection</P>
203 204
204 205
205 <H5><A NAME="xv_trident">2.3.1.2.6 Trident cards</A></H5> 206 <H4><A NAME="xv_trident">2.3.1.2.1.6 Trident cards</A></H4>
206 207
207 <P>If you want to use xv with a trident card, provided that it doesn't work 208 <P>If you want to use xv with a trident card, provided that it doesn't work
208 with 4.1.0, install XFree 4.2.0. 4.2.0 adds support for fullscreen xv 209 with 4.1.0, install XFree 4.2.0. 4.2.0 adds support for fullscreen xv
209 support with the Cyberblade XP card.</P> 210 support with the Cyberblade XP card.</P>
210 211
211 212
212 <H4><A NAME="dga">2.3.1.3 DGA</A></H4> 213 <H4><A NAME="dga">2.3.1.2.2 DGA</A></H4>
213 214
214 215
215 <H5><A NAME="dga_summary">2.3.1.3.1 Summary</A></H5> 216 <H4><A NAME="dga_summary">2.3.1.2.2.1 Summary</A></H4>
216 217
217 <P>This document tries to explain in some words what DGA is in general and what 218 <P>This document tries to explain in some words what DGA is in general and what
218 the DGA video output driver for MPlayer can do (and what it 219 the DGA video output driver for MPlayer can do (and what it
219 can't).</P> 220 can't).</P>
220 221
221 222
222 <H5><A NAME="dga_whatis">2.3.1.3.2 What is DGA</A></H5> 223 <H4><A NAME="dga_whatis">2.3.1.2.2.2 What is DGA</A></H4>
223 224
224 <P>DGA is short for Direct Graphics Access and is a means for a program to 225 <P>DGA is short for Direct Graphics Access and is a means for a program to
225 bypass the X-Server and directly modifying the framebuffer memory. 226 bypass the X-Server and directly modifying the framebuffer memory.
226 Technically spoken this happens by mapping the framebuffer memory into 227 Technically spoken this happens by mapping the framebuffer memory into
227 the memory range of your process. This is allowed by the kernel only 228 the memory range of your process. This is allowed by the kernel only
244 <P>However DGA has some drawbacks. It seems it is somewhat dependent on the 245 <P>However DGA has some drawbacks. It seems it is somewhat dependent on the
245 graphics chip you use and on the implementation of the X server's video 246 graphics chip you use and on the implementation of the X server's video
246 driver that controls this chip. So it does not work on every system ...</P> 247 driver that controls this chip. So it does not work on every system ...</P>
247 248
248 249
249 <H5><A NAME="dga_installation">2.3.1.3.3 Installing DGA support for MPlayer</A></H5> 250 <H4><A NAME="dga_installation">2.3.1.2.2.3 Installing DGA support for MPlayer</A></H4>
250 251
251 <P>First make sure X loads the DGA extension, see in /var/log/XFree86.0.log:</P> 252 <P>First make sure X loads the DGA extension, see in /var/log/XFree86.0.log:</P>
252 253
253 <P>&nbsp;&nbsp;&nbsp;&nbsp;<CODE>(II) Loading extension XFree86-DGA</CODE></P> 254 <P>&nbsp;&nbsp;&nbsp;&nbsp;<CODE>(II) Loading extension XFree86-DGA</CODE></P>
254 255
281 <P>Now use the <CODE>-vo dga</CODE> option, and there you go (hope so :))! 282 <P>Now use the <CODE>-vo dga</CODE> option, and there you go (hope so :))!
282 You should also try if the <CODE>-vo sdl:dga</CODE> option works for you. It's 283 You should also try if the <CODE>-vo sdl:dga</CODE> option works for you. It's
283 much faster.</P> 284 much faster.</P>
284 285
285 286
286 <H5><A NAME="dga_resolution">2.3.1.3.4 Resolution switching</A></H5> 287 <H4><A NAME="dga_resolution">2.3.1.2.2.4 Resolution switching</A></H4>
287 288
288 <P>The DGA driver allows for switching the resolution of the output signal. 289 <P>The DGA driver allows for switching the resolution of the output signal.
289 This avoids the need for doing (slow) software scaling and at the same time 290 This avoids the need for doing (slow) software scaling and at the same time
290 provides a fullscreen image. Ideally it would switch to the exact resolution 291 provides a fullscreen image. Ideally it would switch to the exact resolution
291 (except for honoring aspect ratio) of the video data, but the X server only 292 (except for honoring aspect ratio) of the video data, but the X server only
299 <CODE>/var/log/XFree86.0.log</CODE>.</P> 300 <CODE>/var/log/XFree86.0.log</CODE>.</P>
300 301
301 <P>See appendix A for some sample modeline definitions.</P> 302 <P>See appendix A for some sample modeline definitions.</P>
302 303
303 304
304 <H5><A NAME="dga_mplayer">2.3.1.3.5 DGA &amp; MPlayer</A></H5> 305 <H4><A NAME="dga_mplayer">2.3.1.2.2.5 DGA &amp; MPlayer</A></H4>
305 306
306 <P>DGA is used in two places with MPlayer: The SDL driver can be made to 307 <P>DGA is used in two places with MPlayer: The SDL driver can be made to
307 make use of it (-vo sdl:dga) and within the DGA driver (-vo dga). The above 308 make use of it (-vo sdl:dga) and within the DGA driver (-vo dga). The above
308 said is true for both; in the following sections I'll explain how the DGA 309 said is true for both; in the following sections I'll explain how the DGA
309 driver for MPlayer works.</P> 310 driver for MPlayer works.</P>
310 311
311 312
312 <H5><A NAME="dga_features">2.3.1.3.6 Features of the DGA driver</A></H5> 313 <H4><A NAME="dga_features">2.3.1.2.2.6 Features of the DGA driver</A></H4>
313 314
314 <P>The DGA driver is invoked by specifying -vo dga at the command line. 315 <P>The DGA driver is invoked by specifying -vo dga at the command line.
315 The default behavior is to switch to a resolution matching the original 316 The default behavior is to switch to a resolution matching the original
316 resolution of the video as close as possible. It deliberately ignores the 317 resolution of the video as close as possible. It deliberately ignores the
317 -vm and -fs switches (enabling of video mode switching and fullscreen) - 318 -vm and -fs switches (enabling of video mode switching and fullscreen) -
346 works with doublebuffering enabled. However, enabling doublebuffering may 347 works with doublebuffering enabled. However, enabling doublebuffering may
347 result in a big speed penalty (on my K6-II+ 525 it used an additional 20% of 348 result in a big speed penalty (on my K6-II+ 525 it used an additional 20% of
348 CPU time!) depending on the implementation of DGA for your hardware.</P> 349 CPU time!) depending on the implementation of DGA for your hardware.</P>
349 350
350 351
351 <H5><A NAME="dga_speed">2.3.1.3.7 Speed issues</A></H5> 352 <H4><A NAME="dga_speed">2.3.1.2.2.7 Speed issues</A></H4>
352 353
353 <P>Generally spoken, DGA framebuffer access should be at least as fast as using 354 <P>Generally spoken, DGA framebuffer access should be at least as fast as using
354 the X11 driver with the additional benefit of getting a fullscreen image. 355 the X11 driver with the additional benefit of getting a fullscreen image.
355 The percentage speed values printed by MPlayer have to be interpreted 356 The percentage speed values printed by MPlayer have to be interpreted
356 with some care, as for example, with the X11 driver they do not include the 357 with some care, as for example, with the X11 driver they do not include the
371 372
372 <P>I've seen some AVI files already be replayed on a Pentium MMX 266. AMD K6-2 373 <P>I've seen some AVI files already be replayed on a Pentium MMX 266. AMD K6-2
373 CPUs might work at 400 MHZ and above.</P> 374 CPUs might work at 400 MHZ and above.</P>
374 375
375 376
376 <H5><A NAME="dga_bugs">2.3.1.3.8 Known bugs</A></H5> 377 <H4><A NAME="dga_bugs">2.3.1.2.2.8 Known bugs</A></H4>
377 378
378 <P>Well, according to some developers of XFree, DGA is quite a beast. They 379 <P>Well, according to some developers of XFree, DGA is quite a beast. They
379 tell you better not to use it. Its implementation is not always flawless 380 tell you better not to use it. Its implementation is not always flawless
380 with every chipset driver for XFree out there.</P> 381 with every chipset driver for XFree out there.</P>
381 382
394 100000x100000 or the like ...</LI> 395 100000x100000 or the like ...</LI>
395 <LI>OSD only works with doublebuffering enabled.</LI> 396 <LI>OSD only works with doublebuffering enabled.</LI>
396 </UL> 397 </UL>
397 398
398 399
399 <H5><A NAME="dga_future">2.3.1.3.9 Future work</A></H5> 400 <H4><A NAME="dga_future">2.3.1.2.2.9 Future work</A></H4>
400 401
401 <UL> 402 <UL>
402 <LI>use of the new X11 render interface for OSD</LI> 403 <LI>use of the new X11 render interface for OSD</LI>
403 <LI>where is my TODO list ???? :-(((</LI> 404 <LI>where is my TODO list ???? :-(((</LI>
404 </UL> 405 </UL>
405 406
406 407
407 <H5><A NAME="dga_modelines">2.3.1.3.A Some modelines</A></H5> 408 <H4><A NAME="dga_modelines">2.3.1.2.2.A Some modelines</A></H4>
408 409
409 <PRE> 410 <PRE>
410 Section "Modes" 411 Section "Modes"
411 Identifier "Modes[0]" 412 Identifier "Modes[0]"
412 Modeline "800x600" 40 800 840 968 1056 600 601 605 628 413 Modeline "800x600" 40 800 840 968 1056 600 601 605 628
421 422
422 <P>These entries work fine with my Riva128 chip, using nv.o X server driver 423 <P>These entries work fine with my Riva128 chip, using nv.o X server driver
423 module.</P> 424 module.</P>
424 425
425 426
426 <H5><A NAME="dga_bug_reports">2.3.1.3.B Bug Reports</A></H5> 427 <H4><A NAME="dga_bug_reports">2.3.1.2.2.B Bug Reports</A></H4>
427 428
428 <P>If you experience troubles with the DGA driver please feel free to file 429 <P>If you experience troubles with the DGA driver please feel free to file
429 a bug report to me (e-mail address below). Please start MPlayer with 430 a bug report to me (e-mail address below). Please start MPlayer with
430 the -v option and include all lines in the bug report that start with 431 the -v option and include all lines in the bug report that start with
431 vo_dga:</P> 432 vo_dga:</P>
435 also help. Thanks!</P> 436 also help. Thanks!</P>
436 437
437 <P><I>Acki (acki@acki-netz.de, www.acki-netz.de)</I></P> 438 <P><I>Acki (acki@acki-netz.de, www.acki-netz.de)</I></P>
438 439
439 440
440 <H4><A NAME="sdl">2.3.1.4 SDL</A></H4> 441 <H4><A NAME="sdl">2.3.1.2.3 SDL</A></H4>
441 442
442 <P>SDL (Simple Directmedia Layer) is basically a unified video/audio 443 <P>SDL (Simple Directmedia Layer) is basically a unified video/audio
443 interface. Programs that use it know only about SDL, and not about what video 444 interface. Programs that use it know only about SDL, and not about what video
444 or audio driver does SDL actually use. For example a Doom port using SDL can 445 or audio driver does SDL actually use. For example a Doom port using SDL can
445 run on svgalib, aalib, X, fbdev, and others, you only have to specify the 446 run on svgalib, aalib, X, fbdev, and others, you only have to specify the
487 It's bug in SDL, I can't change it (tested with SDL 1.2.1).</LI> 488 It's bug in SDL, I can't change it (tested with SDL 1.2.1).</LI>
488 <LI>DO NOT USE SDL with GUI! It won't work as it should.</LI> 489 <LI>DO NOT USE SDL with GUI! It won't work as it should.</LI>
489 </UL> 490 </UL>
490 491
491 492
492 <H4><A NAME="svgalib">2.3.1.5 SVGAlib</A></H4> 493 <H4><A NAME="svgalib">2.3.1.2.4 SVGAlib</A></H4>
493 494
494 <H4>Installation</H4> 495 <H4>Installation</H4>
495 496
496 <P>You'll have to install svgalib and its development package in order for 497 <P>You'll have to install svgalib and its development package in order for
497 MPlayer build its SVGAlib driver (autodetected, but can be forced), 498 MPlayer build its SVGAlib driver (autodetected, but can be forced),
523 &nbsp;&nbsp;<CODE>-sws 4</CODE><BR> 524 &nbsp;&nbsp;<CODE>-sws 4</CODE><BR>
524 Maybe automatic aspect correction has to be shut off:<BR> 525 Maybe automatic aspect correction has to be shut off:<BR>
525 &nbsp;&nbsp;<CODE>-noaspect</CODE></P> 526 &nbsp;&nbsp;<CODE>-noaspect</CODE></P>
526 527
527 528
528 <H4><A NAME="fbdev">2.3.1.6 Framebuffer output (FBdev)</A></H4> 529 <H4><A NAME="fbdev">2.3.1.2.5 Framebuffer output (FBdev)</A></H4>
529 530
530 <P>Whether to build the FBdev target is autodetected during ./configure . 531 <P>Whether to build the FBdev target is autodetected during ./configure .
531 Read the framebuffer documentation in the kernel sources 532 Read the framebuffer documentation in the kernel sources
532 (Documentation/fb/*) for more information.</P> 533 (Documentation/fb/*) for more information.</P>
533 534
534 <P>If your card doesn't support VBE 2.0 standard (older ISA/PCI 535 <P>If your card doesn't support VBE 2.0 standard (older ISA/PCI
535 cards, such as S3 Trio64), only VBE 1.2 (or older?): 536 cards, such as S3 Trio64), only VBE 1.2 (or older?):
536 Well, VESAfb is still available, but you'll have to load SciTech Display 537 Well, VESAfb is still available, but you'll have to load SciTech Display
537 Doctor (formerly UniVBE) before booting Linux. Use a DOS boot disk or 538 Doctor (formerly UniVBE) before booting Linux. Use a DOS boot disk or
538 whatever. And don't forget to register your UniVBE ;))</P> 539 whatever. And don't forget to register your UniVBE ;))</P>
539 540
540 <P>The FBdev output takes some additional parameters above the others:</P> 541 <P>The FBdev output takes some additional parameters above the others:</P>
541 542
542 <DL> 543 <DL>
543 <DT><CODE>-fb</CODE></DT> 544 <DT><CODE>-fb</CODE></DT>
576 577
577 <P>NOTE: FBdev video mode changing _does not work_ with the VESA framebuffer, 578 <P>NOTE: FBdev video mode changing _does not work_ with the VESA framebuffer,
578 and don't ask for it, since it's not an MPlayer limitation.</P> 579 and don't ask for it, since it's not an MPlayer limitation.</P>
579 580
580 581
581 <H4><A NAME="mga_vid">2.3.1.7 Matrox framebuffer (mga_vid)</A></H4> 582 <H4><A NAME="mga_vid">2.3.1.2.6 Matrox framebuffer (mga_vid)</A></H4>
582 583
583 <P>This section is about the Matrox G200/G400/G450/G550 BES (Back-End Scaler) 584 <P>This section is about the Matrox G200/G400/G450/G550 BES (Back-End Scaler)
584 support, the mga_vid kernel driver. It's active developed by me (A'rpi), and 585 support, the mga_vid kernel driver. It's active developed by me (A'rpi), and
585 it has hardware VSYNC support with triple buffering. It works on both 586 it has hardware VSYNC support with triple buffering. It works on both
586 framebuffer console and under X.</P> 587 framebuffer console and under X.</P>
587 588
588 <P><B>WARNING</B>: on non-Linux systems, use <A HREF="#vidix">VIDIX</A> for 589 <P><B>WARNING</B>: on non-Linux systems, use <A HREF="#vidix">VIDIX</A> for
589 mga_vid!</P> 590 mga_vid!</P>
619 <P>The <CODE>/dev/mga_vid</CODE> device file can be read (for example by 620 <P>The <CODE>/dev/mga_vid</CODE> device file can be read (for example by
620 <CODE>cat /dev/mga_vid</CODE>) for some info, and written for brightness 621 <CODE>cat /dev/mga_vid</CODE>) for some info, and written for brightness
621 change: <CODE>echo "brightness=120" &gt; /dev/mga_vid</CODE></P> 622 change: <CODE>echo "brightness=120" &gt; /dev/mga_vid</CODE></P>
622 623
623 624
624 <H4><A NAME="tdfxfb">2.3.1.8 3dfx YUV support (tdfxfb)</A></H4> 625 <H4><A NAME="tdfxfb">2.3.1.2.7 3dfx YUV support (tdfxfb)</A></H4>
625 626
626 <P>This driver uses the kernel's tdfx framebuffer driver to play movies with 627 <P>This driver uses the kernel's tdfx framebuffer driver to play movies with
627 YUV acceleration. You'll need a kernel with tdfxfb support, and recompile 628 YUV acceleration. You'll need a kernel with tdfxfb support, and recompile
628 with <CODE>./configure --enable-tdfxfb</CODE></P> 629 with <CODE>./configure --enable-tdfxfb</CODE></P>
629 630
630 631
631 <H4><A NAME="opengl">2.3.1.9 OpenGL output</A></H4> 632 <H4><A NAME="opengl">2.3.1.2.8 OpenGL output</A></H4>
632 633
633 <P>MPlayer supports displaying movies using OpenGL, but if your 634 <P>MPlayer supports displaying movies using OpenGL, but if your
634 platform/driver supports xv as should be the case on a PC with Linux, use xv 635 platform/driver supports xv as should be the case on a PC with Linux, use xv
635 instead, OpenGL performance is considerably worse. If you have an X11 636 instead, OpenGL performance is considerably worse. If you have an X11
636 implementation without xv support, OpenGL is a viable alternative.</P> 637 implementation without xv support, OpenGL is a viable alternative.</P>
644 4.2.0 or later supports Rage128. See 645 4.2.0 or later supports Rage128. See
645 <A HREF="http://dri.sourceforge.net">http://dri.sourceforge.net</A> 646 <A HREF="http://dri.sourceforge.net">http://dri.sourceforge.net</A>
646 for download and installation instructions.</P> 647 for download and installation instructions.</P>
647 648
648 649
649 <H4><A NAME="aalib">2.3.1.10 AAlib - text mode displaying</A></H4> 650 <H4><A NAME="aalib">2.3.1.2.9 AAlib - text mode displaying</A></H4>
650 651
651 <P><B>AAlib</B> is a library for displaying graphics in text mode, using powerful 652 <P><B>AAlib</B> is a library for displaying graphics in text mode, using powerful
652 ASCII renderer. There are LOTS of programs already supporting it, like Doom, 653 ASCII renderer. There are LOTS of programs already supporting it, like Doom,
653 Quake, etc. MPlayer contains a very usable driver for it. 654 Quake, etc. MPlayer contains a very usable driver for it.
654 If ./configure detects aalib installed, the aalib libvo driver will be 655 If ./configure detects aalib installed, the aalib libvo driver will be
702 <P>Use the <CODE>-framedrop</CODE> option if your computer isn't fast enough to 703 <P>Use the <CODE>-framedrop</CODE> option if your computer isn't fast enough to
703 render all frames!</P> 704 render all frames!</P>
704 705
705 <P>Playing on terminal you'll get better speed and quality using the Linux 706 <P>Playing on terminal you'll get better speed and quality using the Linux
706 driver, not curses (<CODE>-aadriver linux</CODE>). But therefore you need write access on 707 driver, not curses (<CODE>-aadriver linux</CODE>). But therefore you need write access on
707 <CODE>/dev/vcsa&lt;terminal&gt;</CODE>. That isn't autodetected by aalib, but vo_aa tries 708 <CODE>/dev/vcsa&lt;terminal&gt;</CODE>. That isn't autodetected by aalib, but vo_aa tries
708 to find the best mode. See 709 to find the best mode. See
709 <A HREF="http://aa-project.sourceforge.net/tune/">http://aa-project.sourceforge.net/tune/</A> 710 <A HREF="http://aa-project.sourceforge.net/tune/">http://aa-project.sourceforge.net/tune/</A>
710 for further tuning issues.</P> 711 for further tuning issues.</P>
711 712
712 713
713 <H4><A NAME="vesa">2.3.1.11 VESA - output to VESA BIOS</A></H4> 714 <H4><A NAME="vesa">2.3.1.2.10 VESA - output to VESA BIOS</A></H4>
714 715
715 <P>This driver was designed and introduced as a <B>generic driver</B> for any 716 <P>This driver was designed and introduced as a <B>generic driver</B> for any
716 video card which has VESA VBE 2.0+ compatible BIOS. Another advantage of this 717 video card which has VESA VBE 2.0+ compatible BIOS. Another advantage of this
717 driver is that it tries to force TV output on.<BR> 718 driver is that it tries to force TV output on.<BR>
718 <B>VESA BIOS EXTENSION (VBE) Version 3.0 Date: September 16, 1998</B> (Page 719 <B>VESA BIOS EXTENSION (VBE) Version 3.0 Date: September 16, 1998</B> (Page
798 booting your PC since video BIOS initializes itself only once during POST 799 booting your PC since video BIOS initializes itself only once during POST
799 procedure.</LI> 800 procedure.</LI>
800 </UL> 801 </UL>
801 802
802 803
803 <H4><A NAME="x11">2.3.1.12 X11</A></H4> 804 <H4><A NAME="x11">2.3.1.2.11 X11</A></H4>
804 805
805 <P>Avoid if possible. Outputs to X11 (uses shared memory extension), with no 806 <P>Avoid if possible. Outputs to X11 (uses shared memory extension), with no
806 hardware acceleration at all. Supports (MMX/3DNow/SSE accelerated, but still 807 hardware acceleration at all. Supports (MMX/3DNow/SSE accelerated, but still
807 slow) software scaling, use the options <CODE>-fs -zoom</CODE>. Most cards 808 slow) software scaling, use the options <CODE>-fs -zoom</CODE>. Most cards
808 have hardware scaling support, use the <CODE>-vo xv</CODE> output for them, 809 have hardware scaling support, use the <CODE>-vo xv</CODE> output for them,
828 <P>If you can't find the modes you inserted, browse XFree86's output. Some 829 <P>If you can't find the modes you inserted, browse XFree86's output. Some
829 drivers can't use low pixelclocks that are needed for low resolution 830 drivers can't use low pixelclocks that are needed for low resolution
830 video modes.</P> 831 video modes.</P>
831 832
832 833
833 <H4><A NAME="vidix">2.3.1.13 VIDIX</A></H4> 834 <H4><A NAME="vidix">2.3.1.2.12 VIDIX</A></H4>
834 835
835 <P>VIDIX is the abbreviation for <B>VID</B>eo <B>I</B>nterface for 836 <P>VIDIX is the abbreviation for <B>VID</B>eo <B>I</B>nterface for
836 *ni<B>X</B>.<BR> 837 *ni<B>X</B>.<BR>
837 VIDIX was designed and introduced as an interface for fast user-space drivers 838 VIDIX was designed and introduced as an interface for fast user-space drivers
838 providing such video performance as mga_vid does for Matrox cards. It's 839 providing such video performance as mga_vid does for Matrox cards. It's
848 849
849 <H4>USAGE</H4> 850 <H4>USAGE</H4>
850 851
851 <UL> 852 <UL>
852 <LI>You can use standalone video output driver: <CODE>-vo xvidix</CODE><BR> 853 <LI>You can use standalone video output driver: <CODE>-vo xvidix</CODE><BR>
853 This driver was developed as X11's front end to VIDIX technology. It 854 This driver was developed as X11's front end to VIDIX technology. It
854 requires X server and can work only under X server. Note that, as it 855 requires X server and can work only under X server. Note that, as it
855 directly accesses the hardware and circumvents the X driver, pixmaps 856 directly accesses the hardware and circumvents the X driver, pixmaps
856 cached in the graphics card's memory may be corrupted. You can prevent 857 cached in the graphics card's memory may be corrupted. You can prevent
857 this by limiting the amount of video memory used by X with the XF86Config 858 this by limiting the amount of video memory used by X with the XF86Config
858 option "VideoRam" in the device section. You should set this to the amount 859 option "VideoRam" in the device section. You should set this to the amount
936 <DT><CODE>-contrast</CODE></DT> 937 <DT><CODE>-contrast</CODE></DT>
937 <DD>Adjust <B>CONTRAST</B> of video output. Works in similar manner as 938 <DD>Adjust <B>CONTRAST</B> of video output. Works in similar manner as
938 brightness.</DD> 939 brightness.</DD>
939 940
940 <DT><CODE>-saturation</CODE></DT> 941 <DT><CODE>-saturation</CODE></DT>
941 <DD>Adjust <B>SATURATION</B> of video output. You can get grayscale 942 <DD>Adjust <B>SATURATION</B> of video output. You can get grayscale
942 output with this option.</DD> 943 output with this option.</DD>
943 944
944 <DT><CODE>-hue</CODE></DT> 945 <DT><CODE>-hue</CODE></DT>
945 <DD>Adjust <B>HUE</B> of video signal. You can get colored negative 946 <DD>Adjust <B>HUE</B> of video signal. You can get colored negative
946 of image with this option.</DD> 947 of image with this option.</DD>
947 948
948 <DT><CODE>-red_intensity</CODE></DT> 949 <DT><CODE>-red_intensity</CODE></DT>
949 <DD>Adjust intensity of <B>RED</B> component of video signal.</DD> 950 <DD>Adjust intensity of <B>RED</B> component of video signal.</DD>
950 951
968 or<BR> 969 or<BR>
969 <CODE>mplayer -vo xvidix -red_intensity -50 -saturation 400 -hue 300 970 <CODE>mplayer -vo xvidix -red_intensity -50 -saturation 400 -hue 300
970 filename.vob</CODE></P> 971 filename.vob</CODE></P>
971 972
972 973
973 <H4><A NAME="zr">2.3.1.14 Zr</A></H4> 974 <H4><A NAME="directfb">2.3.1.2.13 DirectFB</A></H4>
974 975
975 <P>This is a display-driver (<CODE>-vo zr</CODE>) for a number of MJPEG 976 <P><I>"DirectFB is a graphics library which was designed with embedded systems in
976 capture/playback cards (tested for DC10+ and Buz, and it should work for the 977 mind. It offers maximum hardware accelerated performance at a minimum of
977 LML33 and the original DC10). The driver works by encoding the frame to jpeg 978 resource usage and overhead."</I> - quoted from
978 and then sending it to the card. For the jpeg encoding <B>libavcodec</B> is 979 <A HREF="http://www.directfb.org">http://www.directfb.org</A>.</P>
979 used, and required. With the special <I>cinerama</I> mode, you can watch 980
980 movies in true wide screen provided that you have two beamers and two 981 <P>I'll exclude DirectFB features from this section.</P>
981 MJPEG cards. Depending on resolution and quality settings, this driver 982
982 may require a lot of CPU power, remember to specify <CODE>-framedrop</CODE> 983 <P>Though MPlayer is not supported as a "video provider" in DirectFB, this
983 if your machine is too slow. Note: My AMD K6-2 350MHz is (with <CODE> 984 output driver will enable video playback through DirectFB. It will -
984 -framedrop</CODE>) quite adequate for watching VCD sized material and 985 of course - be accelerated, on my Matrox G400 DirectFB's speed was the
985 downscaled movies. 986 same as XVideo.</P>
986 987
987 <P>This driver talks to the kernel driver available at 988 <P>Always try to use the newest version of DirectFB. You can use DirectFB
988 <A HREF="http://mjpeg.sourceforge.net">http://mjpeg.sourceforge.net</A>, so 989 options on the command line, using the <CODE>-dfbopts</CODE> option.
989 you must get it working first. The presence of an MJPEG card is autodetected 990 Layer selection can be done by the subdevice method, e.g.: <CODE>-vo
990 by the configure script, if autodetection fails, force detection with 991 directfb:2</CODE> (layer -1 is default: autodetect)</P>
991 992
992 <PRE> 993
993 ./configure --enable-zr 994 <H4><A NAME="dfbmga">2.3.1.2.14 DirectFB/Matrox (dfbmga)</A></H4>
994 </PRE> 995
995 996 <P>Please read the <A HREF=#directfb>main DirectFB section</A> for general
996 <P>The output can be controlled by several options, a long description of the 997 informations.</P>
997 options can be found in the man page, a short list of options can be 998
998 viewed by running 999 <P>This video output driver will enable CRTC2 (on the second head) on the
999 1000 Matrox G400 card, displaying video <B>independently</B> of the first head.</P>
1000 <PRE> 1001
1001 mplayer -zrhelp 1002 <P>Instructions on how to make it work can be found here:
1002 </PRE> 1003 <A HREF="http://www.sci.fi/~syrjala/directfb/readme.txt">http://www.sci.fi/~syrjala/directfb/readme.txt</A></P>
1003 1004
1004 <P>Things like scaling and the OSD (on screen display) are not handled by 1005 <P>Note: we haven't been able to make this work, but others did. Anyway,
1005 this driver but can be done using the video filters. For example, 1006 porting of the CRTC2 code to <B>mga_vid</B> is underway.</P>
1006 suppose that you have a movie with a resolution of <CODE>512x272</CODE> and 1007
1007 you want to view it fullscreen on your DC10+. There are three main 1008
1008 possibilities, you may scale the movie to a width of <CODE>768</CODE>, 1009 <H4><A NAME="mpegdec">2.3.1.3 MPEG decoders</A></H4>
1009 <CODE>384</CODE> or <CODE>192</CODE>. For performance and quality reasons, 1010
1010 I would choose to scale the movie to <CODE>384x204</CODE> using the fast 1011 <H4><A NAME="dvb">2.3.1.3.1 DVB</A></H4>
1011 bilinear software scaler. The commandline is
1012
1013 <PRE>
1014 mplayer -vo zr -sws 0 -vop scale=384:204 movie.avi
1015 </PRE>
1016
1017 <P>Cropping can be done by the <CODE>crop</CODE> filter and by
1018 this driver itself. Suppose that a movie is too wide for display on your
1019 Buz and that you want to use <CODE>-zrcrop</CODE> to make the movie less
1020 wide, the you would issue the following command
1021
1022 <PRE>
1023 mplayer -vo zr -zrcrop 720x320+80+0 benhur.avi
1024 </PRE>
1025
1026 if you want to use the <CODE>crop</CODE> filter, you would do
1027
1028 <PRE>
1029 mplayer -vo zr -vop crop=720:320:80:0 benhur.avi
1030 </PRE>
1031
1032 <P>Extra occurances of <CODE>-zrcrop</CODE> invoke <I>cinerama</I> mode, i.e.
1033 you can distribute the movie over several TV's or beamers to create a larger
1034 screen. Suppose you have two beamers. The left one is connected to your Buz
1035 at <CODE>/dev/video1</CODE> and the right one is connected to your DC10+ at
1036 <CODE>/dev/video0</CODE>. The movie has a resolution of <CODE>704x288</CODE>.
1037 Suppose also that you want the right beamer in black and white and that
1038 the right beamer should have jpeg frames at quality <CODE>10</CODE>,
1039 then you would issue the following command
1040
1041 <PRE>
1042 mplayer -vo zr -zrdev /dev/video0 -zrcrop 352x288+352+0 -zrxdoff 0 -zrbw \
1043 -zrcrop 352x288+0+0 -zrdev /dev/video1 -zrquality 10 movie.avi
1044 </PRE>
1045
1046 <P>You see that the options appearing before the second <CODE>-zrcrop</CODE>
1047 only apply to the DC10+ and that the options after the second
1048 <CODE>-zrcrop</CODE> apply to the Buz. The maximum number of MJPEG cards
1049 participating in <I>cinerama</I> is four, so you can buid a <CODE>2x2</CODE>
1050 vidiwall.</P>
1051
1052 <P>Finally an important remark: Do not start or stop XawTV on the playback
1053 device during playback, it will crash your computer. It is, however, fine to
1054 <B>FIRST</B> start XawTV, <B>THEN</B> start MPlayer, wait for
1055 MPlayer to finish and <B>THEN</B> stop XawTV.</P>
1056
1057
1058 <H4><A NAME="dvb">2.3.1.15 DVB</A></H4>
1059 1012
1060 <P>MPlayer supports cards with the Siemens DVB chipset from vendors like 1013 <P>MPlayer supports cards with the Siemens DVB chipset from vendors like
1061 Siemens, Technotrend, Galaxis or Hauppauge. The latest DVB drivers are 1014 Siemens, Technotrend, Galaxis or Hauppauge. The latest DVB drivers are
1062 available from the <A HREF="http://www.linuxtv.org">Linux TV site</A>. If you 1015 available from the <A HREF="http://www.linuxtv.org">Linux TV site</A>. If you
1063 want to do software transcoding you should have at least a 1GHz CPU.</P> 1016 want to do software transcoding you should have at least a 1GHz CPU.</P>
1064 1017
1065 <P>Configure should detect your DVB card. If it did not, force detection with 1018 <P>Configure should detect your DVB card. If it did not, force detection with
1066 1019
1156 the native OSD feature of DVB cards, as well as more fluent playback of 1109 the native OSD feature of DVB cards, as well as more fluent playback of
1157 non-25fps movies and realtime transcoding between MPEG2 and MPEG4 (partial 1110 non-25fps movies and realtime transcoding between MPEG2 and MPEG4 (partial
1158 decompression).</P> 1111 decompression).</P>
1159 1112
1160 1113
1161 <H4><A NAME="dxr3">2.3.1.16 DXR3/Hollywood+</A></H4> 1114 <H4><A NAME="dxr2">2.3.1.3.2 DXR2</A></H4>
1115
1116 <P>TODO: somebody please fill this section with information.</P>
1117
1118
1119 <H4><A NAME="dxr3">2.3.1.3.3 DXR3/Hollywood+</A></H4>
1162 1120
1163 <P>MPlayer supports hardware accelerated playback with the Creative DXR3 1121 <P>MPlayer supports hardware accelerated playback with the Creative DXR3
1164 and Sigma Designs Hollywood Plus cards. These cards both use the em8300 MPEG 1122 and Sigma Designs Hollywood Plus cards. These cards both use the em8300 MPEG
1165 decoder chip from Sigma Designs.</P> 1123 decoder chip from Sigma Designs.</P>
1166 1124
1231 especially if you are using prebuffering. Then why 25 and not 29.97? Well, 1189 especially if you are using prebuffering. Then why 25 and not 29.97? Well,
1232 the thing is that when you use 29.97 the picture becomes a bit jumpy. The 1190 the thing is that when you use 29.97 the picture becomes a bit jumpy. The
1233 reason for this is unknown to us. If you set it to somewhere between 25 and 1191 reason for this is unknown to us. If you set it to somewhere between 25 and
1234 27 the picture becomes stable. For now all we can do is accept this for a 1192 27 the picture becomes stable. For now all we can do is accept this for a
1235 fact.</DD> 1193 fact.</DD>
1236 1194
1195 <DT><CODE>-vop lavc,expand=-1:-1:-1:-1:1</CODE></DT>
1196 <DD>Altough the DXR3 driver can put some OSD onto the MPEG1/2/4 video,
1197 it has much lower quality than MPlayer's traditional OSD, and has several
1198 refresh problems as well. The command line above will firstly convert the
1199 input video to MPEG4 (this is mandatory, sorry), then apply an expand
1200 filter which won't expand anything (-1: default), but apply the normal OSD
1201 onto the picture (that's what the "1" at the end does).</DD>
1202
1237 <DT><CODE>-ac hwac3</CODE></DT> 1203 <DT><CODE>-ac hwac3</CODE></DT>
1238 <DD>The em8300 supports playing back AC3 audio (surround sound) through the 1204 <DD>The em8300 supports playing back AC3 audio (surround sound) through the
1239 digital audio output of the card. See the <CODE>-ao oss</CODE> option 1205 digital audio output of the card. See the <CODE>-ao oss</CODE> option
1240 above, it must be used to specify the DXR3's output instead of 1206 above, it must be used to specify the DXR3's output instead of
1241 a soundcard. Also read <A HREF="codecs.html#hardware_ac3">hardware AC3</A> 1207 a soundcard. Also read <A HREF="codecs.html#hardware_ac3">hardware AC3</A>
1251 when viewing DVDs with subtitles. When running with <CODE>-vop lavc</CODE> 1217 when viewing DVDs with subtitles. When running with <CODE>-vop lavc</CODE>
1252 MPlayer will reencode video to MPEG (even if it already is MPEG). This means 1218 MPlayer will reencode video to MPEG (even if it already is MPEG). This means
1253 that it will need more CPU power, and you might loose some picture quality.</P> 1219 that it will need more CPU power, and you might loose some picture quality.</P>
1254 1220
1255 1221
1256 <H4><A NAME="tv-out">2.3.1.A TV-out support</A></H4> 1222 <H4><A NAME="other">2.3.1.4 Other visualization hardware</A></H4>
1257 1223
1258 1224 <H4><A NAME="zr">2.3.1.4.1 Zr</A></H4>
1259 <H5><A NAME="tv-out_matrox">2.3.1.A.1 Matrox G400 cards</A></H5> 1225
1226 <P>This is a display-driver (<CODE>-vo zr</CODE>) for a number of MJPEG
1227 capture/playback cards (tested for DC10+ and Buz, and it should work for the
1228 LML33 and the original DC10). The driver works by encoding the frame to jpeg
1229 and then sending it to the card. For the jpeg encoding <B>libavcodec</B> is
1230 used, and required. With the special <I>cinerama</I> mode, you can watch
1231 movies in true wide screen provided that you have two beamers and two
1232 MJPEG cards. Depending on resolution and quality settings, this driver
1233 may require a lot of CPU power, remember to specify <CODE>-framedrop</CODE>
1234 if your machine is too slow. Note: My AMD K6-2 350MHz is (with <CODE>
1235 -framedrop</CODE>) quite adequate for watching VCD sized material and
1236 downscaled movies.
1237
1238 <P>This driver talks to the kernel driver available at
1239 <A HREF="http://mjpeg.sourceforge.net">http://mjpeg.sourceforge.net</A>, so
1240 you must get it working first. The presence of an MJPEG card is autodetected
1241 by the configure script, if autodetection fails, force detection with
1242
1243 <PRE>
1244 ./configure --enable-zr
1245 </PRE>
1246
1247 <P>The output can be controlled by several options, a long description of the
1248 options can be found in the man page, a short list of options can be
1249 viewed by running
1250
1251 <PRE>
1252 mplayer -zrhelp
1253 </PRE>
1254
1255 <P>Things like scaling and the OSD (on screen display) are not handled by
1256 this driver but can be done using the video filters. For example,
1257 suppose that you have a movie with a resolution of <CODE>512x272</CODE> and
1258 you want to view it fullscreen on your DC10+. There are three main
1259 possibilities, you may scale the movie to a width of <CODE>768</CODE>,
1260 <CODE>384</CODE> or <CODE>192</CODE>. For performance and quality reasons,
1261 I would choose to scale the movie to <CODE>384x204</CODE> using the fast
1262 bilinear software scaler. The commandline is
1263
1264 <PRE>
1265 mplayer -vo zr -sws 0 -vop scale=384:204 movie.avi
1266 </PRE>
1267
1268 <P>Cropping can be done by the <CODE>crop</CODE> filter and by
1269 this driver itself. Suppose that a movie is too wide for display on your
1270 Buz and that you want to use <CODE>-zrcrop</CODE> to make the movie less
1271 wide, the you would issue the following command
1272
1273 <PRE>
1274 mplayer -vo zr -zrcrop 720x320+80+0 benhur.avi
1275 </PRE>
1276
1277 if you want to use the <CODE>crop</CODE> filter, you would do
1278
1279 <PRE>
1280 mplayer -vo zr -vop crop=720:320:80:0 benhur.avi
1281 </PRE>
1282
1283 <P>Extra occurances of <CODE>-zrcrop</CODE> invoke <I>cinerama</I> mode, i.e.
1284 you can distribute the movie over several TV's or beamers to create a larger
1285 screen. Suppose you have two beamers. The left one is connected to your Buz
1286 at <CODE>/dev/video1</CODE> and the right one is connected to your DC10+ at
1287 <CODE>/dev/video0</CODE>. The movie has a resolution of <CODE>704x288</CODE>.
1288 Suppose also that you want the right beamer in black and white and that
1289 the right beamer should have jpeg frames at quality <CODE>10</CODE>,
1290 then you would issue the following command
1291
1292 <PRE>
1293 mplayer -vo zr -zrdev /dev/video0 -zrcrop 352x288+352+0 -zrxdoff 0 -zrbw \
1294 -zrcrop 352x288+0+0 -zrdev /dev/video1 -zrquality 10 movie.avi
1295 </PRE>
1296
1297 <P>You see that the options appearing before the second <CODE>-zrcrop</CODE>
1298 only apply to the DC10+ and that the options after the second
1299 <CODE>-zrcrop</CODE> apply to the Buz. The maximum number of MJPEG cards
1300 participating in <I>cinerama</I> is four, so you can buid a <CODE>2x2</CODE>
1301 vidiwall.</P>
1302
1303 <P>Finally an important remark: Do not start or stop XawTV on the playback
1304 device during playback, it will crash your computer. It is, however, fine to
1305 <B>FIRST</B> start XawTV, <B>THEN</B> start MPlayer, wait for
1306 MPlayer to finish and <B>THEN</B> stop XawTV.</P>
1307
1308
1309 <H4><A NAME="blinken">2.3.1.4.2 Blinkenlights</A></H4>
1310
1311 <P>This driver is capable of playback using the Blinkenlights UPD protocol.
1312 If you don't know what Blinkenlights is, you don't need this driver.</P>
1313
1314
1315 <H4><A NAME="tv-out">2.3.1.5 TV-out support</A></H4>
1316
1317
1318 <H4><A NAME="tv-out_matrox">2.3.1.5.1 Matrox G400 cards</A></H4>
1260 1319
1261 <P>Under Linux you have 2 methods to get G400 TV out working:</P> 1320 <P>Under Linux you have 2 methods to get G400 TV out working:</P>
1262 1321
1263 <P><B>IMPORTANT:</B> for Matrox G450/G550 TV-out instructions, please see the 1322 <P><B>IMPORTANT:</B> for Matrox G450/G550 TV-out instructions, please see the
1264 next section!</P> 1323 next section!</P>
1317 Change 640x512 if you set the resolution to other.<BR> 1376 Change 640x512 if you set the resolution to other.<BR>
1318 <B>Enjoy the ultra-fast ultra-featured Matrox TV output (better than Xv)!</B></P> 1377 <B>Enjoy the ultra-fast ultra-featured Matrox TV output (better than Xv)!</B></P>
1319 </LI> 1378 </LI>
1320 </UL> 1379 </UL>
1321 1380
1322 1381 <H4>Building a Matrox TV-out cable</H4>
1323 <H5><A NAME="tv-out_matrox_g450">2.3.1.A.2 Matrox G450/G550 cards</A></H5> 1382
1383 <P>This information was contributed by <B>Rácz Balázs</B>. Of course
1384 no one takes any responsibility, nor guarantee for any damage caused
1385 by this documentation.</P>
1386
1387 <P>The CRTC2 connector's fourth pin is the composite video signal. The ground
1388 are the sixth, seventh and eighth pins.</P>
1389
1390
1391 <H4><A NAME="tv-out_matrox_g450">2.3.1.5.2 Matrox G450/G550 cards</A></H4>
1324 1392
1325 <P>TV output support for these cards has only been recently introduced, and is 1393 <P>TV output support for these cards has only been recently introduced, and is
1326 not yet in the mainstream kernel. Currently the <B>mga_vid</B> module 1394 not yet in the mainstream kernel. Currently the <B>mga_vid</B> module
1327 can't be used AFAIK, because the G450/G550 driver works only in one 1395 can't be used AFAIK, because the G450/G550 driver works only in one
1328 configuration: the first CRTC chip (with much more features) on the first 1396 configuration: the first CRTC chip (with much more features) on the first
1337 1405
1338 <P>The necessary kernel patch and the detailed howto is downloadable from 1406 <P>The necessary kernel patch and the detailed howto is downloadable from
1339 <A HREF="http://www3.sympatico.ca/dan.eriksen/matrox_tvout/">http://www3.sympatico.ca/dan.eriksen/matrox_tvout/</A></P> 1407 <A HREF="http://www3.sympatico.ca/dan.eriksen/matrox_tvout/">http://www3.sympatico.ca/dan.eriksen/matrox_tvout/</A></P>
1340 1408
1341 1409
1342 <H5><A NAME="tv-out_ati">2.3.1.A.3 ATI cards</A></H5> 1410 <H4><A NAME="tv-out_ati">2.3.1.5.3 ATI cards</A></H4>
1343 1411
1344 <H5>PREAMBLE</H5> 1412 <H5>PREAMBLE</H5>
1345 1413
1346 <P>Currently ATI doesn't want to support any of its TV-out chips under Linux, 1414 <P>Currently ATI doesn't want to support any of its TV-out chips under Linux,
1347 because of their licensed Macrovision technology.</P> 1415 because of their licensed Macrovision technology.</P>
1364 <P>Only thing you need to do - <B>have TV connector plugged in before 1432 <P>Only thing you need to do - <B>have TV connector plugged in before
1365 booting your PC</B> since video BIOS initializes itself only once during 1433 booting your PC</B> since video BIOS initializes itself only once during
1366 POST procedure.</P> 1434 POST procedure.</P>
1367 1435
1368 1436
1369 <H5><A NAME="tv-out_voodoo">2.3.1.A.4 Voodoo 3</A></H5> 1437 <H4><A NAME="tv-out_voodoo">2.3.1.5.4 Voodoo 3</A></H4>
1370 1438
1371 <P>Check <A HREF="http://www.iki.fi/too/tvout-voodoo3-3000-xfree">this URL</A>.</P> 1439 <P>Check <A HREF="http://www.iki.fi/too/tvout-voodoo3-3000-xfree">this URL</A>.</P>
1372 1440
1373 </BODY> 1441 </BODY>
1374 </HTML> 1442 </HTML>