annotate DOCS/en/video.html @ 10068:b3ce60d238c4

Updates and a small patch provided by Bohdan Horst.
author diego
date Mon, 05 May 2003 02:33:49 +0000
parents 1bb08a1dbfe2
children 60c4fd2cb179
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6435
d0d74f9d8d4a Background now set by CSS, added doctype and charset.
diego
parents: 6393
diff changeset
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
2 <HTML>
4982
6cb9d9a1716d HTML: different font handling - idea from new hp dezign
gabucino
parents: 4920
diff changeset
3
6cb9d9a1716d HTML: different font handling - idea from new hp dezign
gabucino
parents: 4920
diff changeset
4 <HEAD>
6882
f3f87f6bf5cf Added a uniform title: something - MPlayer - The Movie Player for Linux.
diego
parents: 6732
diff changeset
5 <TITLE>Video - MPlayer - The Movie Player for Linux</TITLE>
9506
6c6ea2b4cfdb default.css path fixed (it needs to be moved on CVS server!!)
gabucino
parents: 9387
diff changeset
6 <LINK REL="stylesheet" TYPE="text/css" HREF="../default.css">
6435
d0d74f9d8d4a Background now set by CSS, added doctype and charset.
diego
parents: 6393
diff changeset
7 <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
4982
6cb9d9a1716d HTML: different font handling - idea from new hp dezign
gabucino
parents: 4920
diff changeset
8 </HEAD>
6cb9d9a1716d HTML: different font handling - idea from new hp dezign
gabucino
parents: 4920
diff changeset
9
6435
d0d74f9d8d4a Background now set by CSS, added doctype and charset.
diego
parents: 6393
diff changeset
10 <BODY>
1704
a2e1432f7ac3 Arial font
gabucino
parents: 1686
diff changeset
11
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
12
7047
4f87cd0f642f Converted the docs to use proper headings tags.
diego
parents: 7015
diff changeset
13 <H3><A NAME="video">2.3.1 Video output devices</A></H3>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
14
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
15
7699
5d4b0446a557 Cosmetics: Converted 2 spaces to one in section titles, changed some ugly
diego
parents: 7651
diff changeset
16 <H4><A NAME="mtrr">2.3.1.1 Setting up MTRR</A></H4>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
17
1946
7fb1fb6f295f *** empty log message ***
gabucino
parents: 1922
diff changeset
18 <P>It is VERY recommended to check if the MTRR registers are set up properly,
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
19 because they can give a big performance boost.</P>
1946
7fb1fb6f295f *** empty log message ***
gabucino
parents: 1922
diff changeset
20
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
21 <P>Do a '<CODE>cat /proc/mtrr</CODE>':</P>
1946
7fb1fb6f295f *** empty log message ***
gabucino
parents: 1922
diff changeset
22
7fb1fb6f295f *** empty log message ***
gabucino
parents: 1922
diff changeset
23 <P><CODE>
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
24 --($:~)-- cat /proc/mtrr<BR>
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
25 reg00: base=0xe4000000 (3648MB), size= 16MB: write-combining, count=9<BR>
6974
916f62dd0910 Another big batch of cosmetics *only*.
diego
parents: 6960
diff changeset
26 reg01: base=0xd8000000 (3456MB), size= 128MB: write-combining, count=1</CODE></P>
1946
7fb1fb6f295f *** empty log message ***
gabucino
parents: 1922
diff changeset
27
6599
f20184a10258 1001 typos as found by ispell.
diego
parents: 6583
diff changeset
28 <P>It's right, shows my Matrox G400 with 16MB memory. I did this from
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
29 XFree 4.x.x , which sets up MTRR registers automatically.</P>
1946
7fb1fb6f295f *** empty log message ***
gabucino
parents: 1922
diff changeset
30
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
31 <P>If nothing worked, you have to do it manually. First, you have to find the
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
32 base address. You have 3 ways to find it:</P>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
33
6435
d0d74f9d8d4a Background now set by CSS, added doctype and charset.
diego
parents: 6393
diff changeset
34 <UL>
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
35 <LI>from X11 startup messages, for example:
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
36 <P><CODE>(--) SVGA: PCI: Matrox MGA G400 AGP rev 4, Memory @ 0xd8000000, 0xd4000000<BR>
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
37 (--) SVGA: Linear framebuffer at 0xD8000000</CODE></P></LI>
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
38 <LI>from /proc/pci (use lspci -v command):
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
39 <P>
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
40 <CODE>01:00.0 VGA compatible controller: Matrox Graphics, Inc.: Unknown device 0525</CODE>
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
41 <CODE>Memory at d8000000 (32-bit, prefetchable)</CODE>
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
42 </P></LI>
7138
8ab4d11353ae Fixed some small HTML errors.
diego
parents: 7099
diff changeset
43 <LI>from mga_vid kernel driver messages (use <CODE>dmesg</CODE>):
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
44 <P><CODE>mga_mem_base = d8000000</CODE></P></LI>
6435
d0d74f9d8d4a Background now set by CSS, added doctype and charset.
diego
parents: 6393
diff changeset
45 </UL>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
46
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
47 <P>Then let's find the memory size. This is very easy, just convert video ram
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
48 size to hexadecimal, or use this table:</P>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
49
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
50 <TABLE BORDER=0>
6974
916f62dd0910 Another big batch of cosmetics *only*.
diego
parents: 6960
diff changeset
51 <TR><TD>&nbsp;&nbsp;</TD><TD>1 MB</TD><TD WIDTH="10%"></TD><TD>0x100000</TD></TR>
916f62dd0910 Another big batch of cosmetics *only*.
diego
parents: 6960
diff changeset
52 <TR><TD></TD><TD>2 MB</TD><TD></TD><TD>0x200000</TD></TR>
916f62dd0910 Another big batch of cosmetics *only*.
diego
parents: 6960
diff changeset
53 <TR><TD></TD><TD>4 MB</TD><TD></TD><TD>0x400000</TD></TR>
916f62dd0910 Another big batch of cosmetics *only*.
diego
parents: 6960
diff changeset
54 <TR><TD></TD><TD>8 MB</TD><TD></TD><TD>0x800000</TD></TR>
916f62dd0910 Another big batch of cosmetics *only*.
diego
parents: 6960
diff changeset
55 <TR><TD></TD><TD>16 MB</TD><TD></TD><TD>0x1000000</TD></TR>
916f62dd0910 Another big batch of cosmetics *only*.
diego
parents: 6960
diff changeset
56 <TR><TD></TD><TD>32 MB</TD><TD></TD><TD>0x2000000</TD></TR>
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
57 </TABLE>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
58
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
59
6599
f20184a10258 1001 typos as found by ispell.
diego
parents: 6583
diff changeset
60 <P>You know base address and memory size, let's setup MTRR registers!
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
61 For example, for the Matrox card above (base=0xd8000000) with 32MB
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
62 ram (size=0x2000000) just execute:</P>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
63
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
64
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
65 <P><CODE>&nbsp;&nbsp;echo "base=0xd8000000 size=0x2000000 type=write-combining" &gt;| /proc/mtrr</CODE></P>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
66
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
67
6599
f20184a10258 1001 typos as found by ispell.
diego
parents: 6583
diff changeset
68 <P>Not all CPUs support MTRRs. For example older K6-2's [around 266MHz,
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
69 stepping 0] doesn't support MTRR, but stepping 12's do ('<CODE>cat
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
70 /proc/cpuinfo</CODE>' to check it').</P>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
71
8177
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
72 <H4><A NAME="normal">2.3.1.2 Video outputs for traditional video cards</A></H4>
6974
916f62dd0910 Another big batch of cosmetics *only*.
diego
parents: 6960
diff changeset
73
8177
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
74 <H4><A NAME="xv">2.3.1.2.1 Xv</A></H4>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
75
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
76 <P>Under XFree86 4.0.2 or newer, you can use your card's hardware YUV routines
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
77 using the XVideo extension. This is what the option '-vo xv' uses. Also,
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
78 this is driver supports adjusting brightness/contrast/hue/etc (unless you use
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
79 the old, slow DirectShow DivX codec, which supports it everywhere), see the
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
80 man page.</P>
4498
554af641717d -vo xv does video equalizing
gabucino
parents: 4496
diff changeset
81
554af641717d -vo xv does video equalizing
gabucino
parents: 4496
diff changeset
82 <P>In order to make this work, be sure to check the following:</P>
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
83
6435
d0d74f9d8d4a Background now set by CSS, added doctype and charset.
diego
parents: 6393
diff changeset
84 <UL>
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
85 <LI>You have to use XFree86 4.0.2 or newer (former versions don't have
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
86 XVideo)</LI>
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
87 <LI>Your card actually supports hardware acceleration (modern cards do)</LI>
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
88 <LI>X loads the XVideo extension, it's something like this:
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
89
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
90 <P><CODE>&nbsp;&nbsp;(II) Loading extension XVideo</CODE></P>
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
91
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
92 <P>in /var/log/XFree86.0.log</P>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
93
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
94 <P>NOTE: this loads only the XFree86's extension. In a good install, this
6998
83a386e88f9e Applied patch by Andras Mohari <mayday at varoshaza . nagyatad . hu>
diego
parents: 6981
diff changeset
95 is always loaded, and doesn't mean that the <B>card's</B> XVideo support is
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
96 loaded!</P>
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
97 </LI>
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
98 <LI>Your card has Xv support under Linux. To check, try 'xvinfo', it is the
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
99 part of the XFree86 distribution. It should display a long text, similar
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
100 to this:
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
101 <PRE>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
102 X-Video Extension version 2.2
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
103 screen #0
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
104 Adaptor #0: "Savage Streams Engine"
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
105 number of ports: 1
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
106 port base: 43
2848
33c32f3d9f1f many small updates, fixes (some/more to be completed soon)
gabucino
parents: 2747
diff changeset
107 operations supported: PutImage
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
108 supported visuals:
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
109 depth 16, visualID 0x22
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
110 depth 16, visualID 0x23
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
111 number of attributes: 5
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
112 (...)
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
113 Number of image formats: 7
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
114 id: 0x32595559 (YUY2)
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
115 guid: 59555932-0000-0010-8000-00aa00389b71
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
116 bits per pixel: 16
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
117 number of planes: 1
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
118 type: YUV (packed)
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
119 id: 0x32315659 (YV12)
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
120 guid: 59563132-0000-0010-8000-00aa00389b71
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
121 bits per pixel: 12
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
122 number of planes: 3
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
123 type: YUV (planar)
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
124 (...etc...)
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
125 </PRE>
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
126 <P>It must support YUY2 packed, and YV12 planar pixel formats to be
7814
988498df1996 <B>MPlayer</B> ---> MPlayer
diego
parents: 7793
diff changeset
127 usable with MPlayer.</P>
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
128 </LI>
7814
988498df1996 <B>MPlayer</B> ---> MPlayer
diego
parents: 7793
diff changeset
129 <LI>And finally, check if MPlayer was compiled with 'xv' support.
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
130 ./configure prints this.</LI>
6974
916f62dd0910 Another big batch of cosmetics *only*.
diego
parents: 6960
diff changeset
131 </UL>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
132
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
133
8177
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
134 <H4><A NAME="xv_3dfx">2.3.1.2.1.1 3dfx cards</A></H4>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
135
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
136 <P>Older 3dfx drivers were known to have problems with XVideo acceleration, it
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
137 didn't support either YUY2 or YV12, and so. Verify that you have XFree86
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
138 version 4.2.0 or greater, it works OK with YV12 and YUY2. Previous versions,
6998
83a386e88f9e Applied patch by Andras Mohari <mayday at varoshaza . nagyatad . hu>
diego
parents: 6981
diff changeset
139 including 4.1.0, <B>crash with YV12</B>. If you experience strange effects
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
140 using -vo xv, try SDL (it has XVideo too) and see if it helps. Check the
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
141 <A HREF="#sdl">SDL section</A> for details.</P>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
142
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
143 <P><B>OR</B>, try the NEW -vo tdfxfb driver! See the
6998
83a386e88f9e Applied patch by Andras Mohari <mayday at varoshaza . nagyatad . hu>
diego
parents: 6981
diff changeset
144 <A HREF="#tdfxfb">tdfxfb</A> section.</P>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
145
2865
72c750bbc249 *** empty log message ***
gabucino
parents: 2848
diff changeset
146
8177
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
147 <H4><A NAME="xv_s3">2.3.1.2.1.2 S3 cards</A></H4>
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
148
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
149 <P>S3 Savage3D's should work fine, but for Savage4, use XFree86 version 4.0.3
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
150 or greater (in case of image problems, try 16bpp). As for S3 Virge.. there is
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
151 xv support, but the card itself is very slow, so you better sell it.</P>
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
152
7640
427935644581 updates, fixes
gabucino
parents: 7454
diff changeset
153 <P><B>NOTE</B>: it's currently unclear which Savage models lack YV12 support,
427935644581 updates, fixes
gabucino
parents: 7454
diff changeset
154 and convert by driver (slow). If you suspect your card, get a newer driver,
427935644581 updates, fixes
gabucino
parents: 7454
diff changeset
155 or ask politely on the mplayer-users mailing list for an MMX/3DNow enabled
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
156 driver.</P>
2865
72c750bbc249 *** empty log message ***
gabucino
parents: 2848
diff changeset
157
72c750bbc249 *** empty log message ***
gabucino
parents: 2848
diff changeset
158
8177
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
159 <H4><A NAME="xv_nvidia">2.3.1.2.1.3 nVidia cards</A></H4>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
160
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
161 <P>nVidia isn't a very good choice under Linux (according to nVidia, this is
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
162 <A HREF="users_against_developers.html#nvidia">not true</A>).. You'll have to
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
163 use the binary closed-source nVidia driver, available at nVidia's web site.
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
164 The standard XFree86 driver doesn't support XVideo for these cards, due to
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
165 nVidia's closed sources/specifications.</P>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
166
3290
3928aef86033 stuff I don't remember
gabucino
parents: 3268
diff changeset
167 <P>As far as I know the latest XFree86 driver contains XVideo support for
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
168 GeForce 2 and 3.</P>
3290
3928aef86033 stuff I don't remember
gabucino
parents: 3268
diff changeset
169
6599
f20184a10258 1001 typos as found by ispell.
diego
parents: 6583
diff changeset
170 <P>Riva128 cards don't have XVideo support even with the nVidia driver :(
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
171 Complain to nVidia.</P>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
172
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
173
8177
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
174 <H4><A NAME="xv_ati">2.3.1.2.1.4 ATI cards</A></H4>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
175
6435
d0d74f9d8d4a Background now set by CSS, added doctype and charset.
diego
parents: 6393
diff changeset
176 <UL>
7937
33e4345d6dd6 URLs corrected.
diego
parents: 7814
diff changeset
177 <LI>The <A HREF="http://gatos.sourceforge.net">GATOS driver</A> (which you
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
178 should use, unless you have Rage128 or Radeon) has VSYNC enabled by
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
179 default. It means that decoding speed (!) is synced to the monitor's
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
180 refresh rate. If playing seems to be slow, try disabling VSYNC somehow, or
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
181 set refresh rate to n*(fps of the movie) Hz.</LI>
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
182 <LI>Radeon VE - currently only XFree86 CVS has driver for this card, version
7814
988498df1996 <B>MPlayer</B> ---> MPlayer
diego
parents: 7793
diff changeset
183 4.1.0 doesn't. And no TV out support. Of course with MPlayer you can
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
184 happily get <B>accelerated</B> display, with or without <B>TV output</B>, and
9255
c82e31b31194 my patches sent to dev-eng (i feel me brave) Diego, fix my wording bugs, and dont be angry.
alex
parents: 9254
diff changeset
185 no libraries or X are needed. Read <A HREF="#vidix">VIDIX</A> section.</LI>
6435
d0d74f9d8d4a Background now set by CSS, added doctype and charset.
diego
parents: 6393
diff changeset
186 </UL>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
187
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
188
8177
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
189 <H4><A NAME="xv_neomagic">2.3.1.2.1.5 NeoMagic cards</A></H4>
1922
5f0e4310dd4d NeoMagic stuff added (legyen egyszer gyereknap...)
gabucino
parents: 1920
diff changeset
190
4920
089485d69edd added notes about enhanced Neomagic and Savage4 drivers
gabucino
parents: 4908
diff changeset
191 <P>These cards can be found in many laptops. Unfortunately, the driver in
10068
b3ce60d238c4 Updates and a small patch provided by Bohdan Horst.
diego
parents: 9917
diff changeset
192 XFree prior to 4.3.0 cannot do Xv, but Stefan Seyfried provided
b3ce60d238c4 Updates and a small patch provided by Bohdan Horst.
diego
parents: 9917
diff changeset
193 <A HREF="http://www.mplayerhq.hu/MPlayer/contrib/NeoMagic-driver/">Xv-capable drivers</A>.
b3ce60d238c4 Updates and a small patch provided by Bohdan Horst.
diego
parents: 9917
diff changeset
194 Just choose the one that applies to your version of Xfree.</P>
b3ce60d238c4 Updates and a small patch provided by Bohdan Horst.
diego
parents: 9917
diff changeset
195
b3ce60d238c4 Updates and a small patch provided by Bohdan Horst.
diego
parents: 9917
diff changeset
196 <P>XFree86 4.3.0 includes Xv support, yet Bohdan Horst sent a small
b3ce60d238c4 Updates and a small patch provided by Bohdan Horst.
diego
parents: 9917
diff changeset
197 <A HREF="http://www.mplayerhq.hu/MPlayer/contrib/NeoMagic-driver/neo_driver.patch">patch</A>
b3ce60d238c4 Updates and a small patch provided by Bohdan Horst.
diego
parents: 9917
diff changeset
198 against the XFree sources that speeds up framebuffer operations up to four
b3ce60d238c4 Updates and a small patch provided by Bohdan Horst.
diego
parents: 9917
diff changeset
199 times.</P>
5378
1a7fd8f13ac0 small update
gabucino
parents: 5359
diff changeset
200
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
201 <P>To allow playback of DVD sized content change your XF86Config like this:</P>
5378
1a7fd8f13ac0 small update
gabucino
parents: 5359
diff changeset
202
6974
916f62dd0910 Another big batch of cosmetics *only*.
diego
parents: 6960
diff changeset
203 <P>Section "Device"<BR>
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
204 &nbsp; &nbsp; <I>[...]</I><BR>
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
205 &nbsp; &nbsp; Driver "neomagic"<BR>
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
206 &nbsp; &nbsp; <B>Option "OverlayMem" "829440"</B><BR>
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
207 &nbsp; &nbsp; <I>[...]</I><BR>
6974
916f62dd0910 Another big batch of cosmetics *only*.
diego
parents: 6960
diff changeset
208 EndSection</P>
1922
5f0e4310dd4d NeoMagic stuff added (legyen egyszer gyereknap...)
gabucino
parents: 1920
diff changeset
209
5378
1a7fd8f13ac0 small update
gabucino
parents: 5359
diff changeset
210
8177
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
211 <H4><A NAME="xv_trident">2.3.1.2.1.6 Trident cards</A></H4>
3794
4049673123e1 know not..
gabucino
parents: 3664
diff changeset
212
9241
537ff3f9961d VIDIX and PowerVR updates, based on a patch by Alex.
diego
parents: 9174
diff changeset
213 <P>If you want to use Xv with a Trident card, provided that it doesn't work
7640
427935644581 updates, fixes
gabucino
parents: 7454
diff changeset
214 with 4.1.0, install XFree 4.2.0. 4.2.0 adds support for fullscreen xv
427935644581 updates, fixes
gabucino
parents: 7454
diff changeset
215 support with the Cyberblade XP card.</P>
1922
5f0e4310dd4d NeoMagic stuff added (legyen egyszer gyereknap...)
gabucino
parents: 1920
diff changeset
216
6974
916f62dd0910 Another big batch of cosmetics *only*.
diego
parents: 6960
diff changeset
217
9241
537ff3f9961d VIDIX and PowerVR updates, based on a patch by Alex.
diego
parents: 9174
diff changeset
218 <H4><A NAME="xv_powervr">2.3.1.2.1.7 Kyro/PowerVR cards</A></H4>
537ff3f9961d VIDIX and PowerVR updates, based on a patch by Alex.
diego
parents: 9174
diff changeset
219
537ff3f9961d VIDIX and PowerVR updates, based on a patch by Alex.
diego
parents: 9174
diff changeset
220 <P>If you want to use Xv with a Kyro based card (for example Hercules Prophet
537ff3f9961d VIDIX and PowerVR updates, based on a patch by Alex.
diego
parents: 9174
diff changeset
221 4000XT), you should download the drivers from the
537ff3f9961d VIDIX and PowerVR updates, based on a patch by Alex.
diego
parents: 9174
diff changeset
222 <A HREF="http://www.powervr.com/">PowerVR site</A>.</P>
537ff3f9961d VIDIX and PowerVR updates, based on a patch by Alex.
diego
parents: 9174
diff changeset
223
537ff3f9961d VIDIX and PowerVR updates, based on a patch by Alex.
diego
parents: 9174
diff changeset
224
8177
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
225 <H4><A NAME="dga">2.3.1.2.2 DGA</A></H4>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
226
6974
916f62dd0910 Another big batch of cosmetics *only*.
diego
parents: 6960
diff changeset
227
9282
513e02e2e553 fixing others' 10/100liters
gabucino
parents: 9260
diff changeset
228 <H4>PREAMBLE</H4>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
229
9255
c82e31b31194 my patches sent to dev-eng (i feel me brave) Diego, fix my wording bugs, and dont be angry.
alex
parents: 9254
diff changeset
230 <P>This section tries to explain in some words what DGA is in general and what
c82e31b31194 my patches sent to dev-eng (i feel me brave) Diego, fix my wording bugs, and dont be angry.
alex
parents: 9254
diff changeset
231 the DGA video output driver for MPlayer can do (and what it can't).</P>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
232
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
233
9282
513e02e2e553 fixing others' 10/100liters
gabucino
parents: 9260
diff changeset
234 <H4>WHAT IS DGA</H4>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
235
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
236 <P>DGA is short for Direct Graphics Access and is a means for a program to
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
237 bypass the X-Server and directly modifying the framebuffer memory.
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
238 Technically spoken this happens by mapping the framebuffer memory into
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
239 the memory range of your process. This is allowed by the kernel only
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
240 if you have superuser privileges. You can get these either by logging in
7814
988498df1996 <B>MPlayer</B> ---> MPlayer
diego
parents: 7793
diff changeset
241 as root or by setting the SUID bit on the MPlayer executable (<B>not
7015
72059027f953 Applied patch by Andras Mohari <mayday at varoshaza nagyatad hu> in a
diego
parents: 6998
diff changeset
242 recommended</B>).</P>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
243
2848
33c32f3d9f1f many small updates, fixes (some/more to be completed soon)
gabucino
parents: 2747
diff changeset
244 <P>There are two versions of DGA: DGA1 is used by XFree 3.x.x and DGA2 was
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
245 introduced with XFree 4.0.1.</P>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
246
2848
33c32f3d9f1f many small updates, fixes (some/more to be completed soon)
gabucino
parents: 2747
diff changeset
247 <P>DGA1 provides only direct framebuffer access as described above. For
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
248 switching the resolution of the video signal you have to rely on the
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
249 XVidMode extension.</P>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
250
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
251 <P>DGA2 incorporates the features of XVidMode extension and also allows
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
252 switching the depth of the display. So you may, although basically
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
253 running a 32 bit depth X server, switch to a depth of 15 bits and vice
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
254 versa. </P>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
255
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
256 <P>However DGA has some drawbacks. It seems it is somewhat dependent on the
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
257 graphics chip you use and on the implementation of the X server's video
9255
c82e31b31194 my patches sent to dev-eng (i feel me brave) Diego, fix my wording bugs, and dont be angry.
alex
parents: 9254
diff changeset
258 driver that controls this chip. So it does not work on every system.</P>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
259
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
260
9282
513e02e2e553 fixing others' 10/100liters
gabucino
parents: 9260
diff changeset
261 <H4>INSTALLING DGA SUPPORT FOR MPLAYER</H4>
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
262
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
263 <P>First make sure X loads the DGA extension, see in /var/log/XFree86.0.log:</P>
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
264
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
265 <P>&nbsp;&nbsp;&nbsp;&nbsp;<CODE>(II) Loading extension XFree86-DGA</CODE></P>
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
266
7814
988498df1996 <B>MPlayer</B> ---> MPlayer
diego
parents: 7793
diff changeset
267 <P>See, XFree86 4.0.x or greater is VERY RECOMMENDED! MPlayer's DGA
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
268 driver is autodetected on ./configure, or you can force it with
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
269 --enable-dga.</P>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
270
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
271 <P>If the driver couldn't switch to a smaller resolution, experiment with
9138
42667fd91d4a changing "switch" -> "option" (unwritten DOCS rule)
gabucino
parents: 9086
diff changeset
272 options -vm (only with X 3.3.x), -fs, -bpp, -zoom to find a video mode that
6998
83a386e88f9e Applied patch by Andras Mohari <mayday at varoshaza . nagyatad . hu>
diego
parents: 6981
diff changeset
273 the movie fits in. There is no converter right now :(</P>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
274
7015
72059027f953 Applied patch by Andras Mohari <mayday at varoshaza nagyatad hu> in a
diego
parents: 6998
diff changeset
275 <P>Become root. DGA needs root access to be able to write directly to video
7814
988498df1996 <B>MPlayer</B> ---> MPlayer
diego
parents: 7793
diff changeset
276 memory. If you want to run it as user, then install MPlayer SUID
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
277 root:</P>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
278
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
279 <P><CODE>
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
280 &nbsp;&nbsp;&nbsp;&nbsp;chown root /usr/local/bin/mplayer<BR>
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
281 &nbsp;&nbsp;&nbsp;&nbsp;chmod 750 /usr/local/bin/mplayer<BR>
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
282 &nbsp;&nbsp;&nbsp;&nbsp;chmod +s /usr/local/bin/mplayer</CODE></P>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
283
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
284 <P>Now it works as a simple user, too.</P>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
285
7015
72059027f953 Applied patch by Andras Mohari <mayday at varoshaza nagyatad hu> in a
diego
parents: 6998
diff changeset
286 <BLOCKQUOTE>
72059027f953 Applied patch by Andras Mohari <mayday at varoshaza nagyatad hu> in a
diego
parents: 6998
diff changeset
287 <B>Warning: security risk</B><BR>
72059027f953 Applied patch by Andras Mohari <mayday at varoshaza nagyatad hu> in a
diego
parents: 6998
diff changeset
288 This is a <B>big</B> security risk! <B>Never</B> do this on a server or on
72059027f953 Applied patch by Andras Mohari <mayday at varoshaza nagyatad hu> in a
diego
parents: 6998
diff changeset
289 a computer that can be accessed by other people because they can gain root
7814
988498df1996 <B>MPlayer</B> ---> MPlayer
diego
parents: 7793
diff changeset
290 privileges through SUID root MPlayer.
7015
72059027f953 Applied patch by Andras Mohari <mayday at varoshaza nagyatad hu> in a
diego
parents: 6998
diff changeset
291 </BLOCKQUOTE>
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
292
6998
83a386e88f9e Applied patch by Andras Mohari <mayday at varoshaza . nagyatad . hu>
diego
parents: 6981
diff changeset
293 <P>Now use the <CODE>-vo dga</CODE> option, and there you go (hope so :))!
83a386e88f9e Applied patch by Andras Mohari <mayday at varoshaza . nagyatad . hu>
diego
parents: 6981
diff changeset
294 You should also try if the <CODE>-vo sdl:dga</CODE> option works for you. It's
83a386e88f9e Applied patch by Andras Mohari <mayday at varoshaza . nagyatad . hu>
diego
parents: 6981
diff changeset
295 much faster.</P>
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
296
6974
916f62dd0910 Another big batch of cosmetics *only*.
diego
parents: 6960
diff changeset
297
9287
385a16aa237a fixed missing link ? dga_modelines ?
nicolas
parents: 9282
diff changeset
298 <H4><A NAME="dga_modelines">RESOLUTION SWITCHING</A></H4>
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
299
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
300 <P>The DGA driver allows for switching the resolution of the output signal.
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
301 This avoids the need for doing (slow) software scaling and at the same time
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
302 provides a fullscreen image. Ideally it would switch to the exact resolution
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
303 (except for honoring aspect ratio) of the video data, but the X server only
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
304 allows switching to resolutions predefined in
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
305 <CODE>/etc/X11/XF86Config</CODE> (<CODE>/etc/X11/XF86Config-4</CODE> for
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
306 XFree 4.0.X respectively). Those are defined by so-called modelines and
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
307 depend on the capabilities of your video hardware. The X server scans this
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
308 config file on startup and disables the modelines not suitable for your
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
309 hardware. You can find out which modes survive with the X11 log file. It can
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
310 be found at:
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
311 <CODE>/var/log/XFree86.0.log</CODE>.</P>
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
312
9260
ea27d0f2d90d Small fixes and modelines moved to a more sensible place.
diego
parents: 9255
diff changeset
313 <P>These entries are known to work fine with a Riva128 chip, using the
ea27d0f2d90d Small fixes and modelines moved to a more sensible place.
diego
parents: 9255
diff changeset
314 <CODE>nv.o</CODE> X server driver module.</P>
ea27d0f2d90d Small fixes and modelines moved to a more sensible place.
diego
parents: 9255
diff changeset
315
ea27d0f2d90d Small fixes and modelines moved to a more sensible place.
diego
parents: 9255
diff changeset
316 <PRE>
ea27d0f2d90d Small fixes and modelines moved to a more sensible place.
diego
parents: 9255
diff changeset
317 Section "Modes"
ea27d0f2d90d Small fixes and modelines moved to a more sensible place.
diego
parents: 9255
diff changeset
318 Identifier "Modes[0]"
ea27d0f2d90d Small fixes and modelines moved to a more sensible place.
diego
parents: 9255
diff changeset
319 Modeline "800x600" 40 800 840 968 1056 600 601 605 628
ea27d0f2d90d Small fixes and modelines moved to a more sensible place.
diego
parents: 9255
diff changeset
320 Modeline "712x600" 35.0 712 740 850 900 400 410 412 425
ea27d0f2d90d Small fixes and modelines moved to a more sensible place.
diego
parents: 9255
diff changeset
321 Modeline "640x480" 25.175 640 664 760 800 480 491 493 525
ea27d0f2d90d Small fixes and modelines moved to a more sensible place.
diego
parents: 9255
diff changeset
322 Modeline "400x300" 20 400 416 480 528 300 301 303 314 Doublescan
ea27d0f2d90d Small fixes and modelines moved to a more sensible place.
diego
parents: 9255
diff changeset
323 Modeline "352x288" 25.10 352 368 416 432 288 296 290 310
ea27d0f2d90d Small fixes and modelines moved to a more sensible place.
diego
parents: 9255
diff changeset
324 Modeline "352x240" 15.750 352 368 416 432 240 244 246 262 Doublescan
ea27d0f2d90d Small fixes and modelines moved to a more sensible place.
diego
parents: 9255
diff changeset
325 Modeline "320x240" 12.588 320 336 384 400 240 245 246 262 Doublescan
ea27d0f2d90d Small fixes and modelines moved to a more sensible place.
diego
parents: 9255
diff changeset
326 EndSection
ea27d0f2d90d Small fixes and modelines moved to a more sensible place.
diego
parents: 9255
diff changeset
327 </PRE>
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
328
6974
916f62dd0910 Another big batch of cosmetics *only*.
diego
parents: 6960
diff changeset
329
9282
513e02e2e553 fixing others' 10/100liters
gabucino
parents: 9260
diff changeset
330 <H4>DGA &amp; MPLAYER</H4>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
331
7814
988498df1996 <B>MPlayer</B> ---> MPlayer
diego
parents: 7793
diff changeset
332 <P>DGA is used in two places with MPlayer: The SDL driver can be made to
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
333 make use of it (-vo sdl:dga) and within the DGA driver (-vo dga). The above
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
334 said is true for both; in the following sections I'll explain how the DGA
7814
988498df1996 <B>MPlayer</B> ---> MPlayer
diego
parents: 7793
diff changeset
335 driver for MPlayer works.</P>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
336
6974
916f62dd0910 Another big batch of cosmetics *only*.
diego
parents: 6960
diff changeset
337
9282
513e02e2e553 fixing others' 10/100liters
gabucino
parents: 9260
diff changeset
338 <H4>FEATURES</H4>
2848
33c32f3d9f1f many small updates, fixes (some/more to be completed soon)
gabucino
parents: 2747
diff changeset
339
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
340 <P>The DGA driver is invoked by specifying -vo dga at the command line.
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
341 The default behavior is to switch to a resolution matching the original
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
342 resolution of the video as close as possible. It deliberately ignores the
9138
42667fd91d4a changing "switch" -> "option" (unwritten DOCS rule)
gabucino
parents: 9086
diff changeset
343 -vm and -fs options (enabling of video mode switching and fullscreen) -
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
344 it always tries to cover as much area of your screen as possible by switching
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
345 the video mode, thus refraining to use a single additional cycle of your CPU
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
346 to scale the image.
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
347 If you don't like the mode it chooses you may force it to choose the mode
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
348 matching closest the resolution you specify by -x and -y.
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
349 By providing the -v option, the DGA driver will print, among a lot of other
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
350 things, a list of all resolutions supported by your current XF86-Config
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
351 file.
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
352 Having DGA2 you may also force it to use a certain depth by using the -bpp
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
353 option. Valid depths are 15, 16, 24 and 32. It depends on your hardware
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
354 whether these depths are natively supported or if a (possibly slow)
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
355 conversion has to be done.</P>
2848
33c32f3d9f1f many small updates, fixes (some/more to be completed soon)
gabucino
parents: 2747
diff changeset
356
33c32f3d9f1f many small updates, fixes (some/more to be completed soon)
gabucino
parents: 2747
diff changeset
357 <P>If you should be lucky enough to have enough offscreen memory left to
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
358 put a whole image there, the DGA driver will use doublebuffering, which
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
359 results in much smoother movie replaying. It will tell you whether double-
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
360 buffering is enabled or not.</P>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
361
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
362 <P>Doublebuffering means that the next frame of your video is being drawn in
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
363 some offscreen memory while the current frame is being displayed. When the
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
364 next frame is ready, the graphics chip is just told the location in memory
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
365 of the new frame and simply fetches the data to be displayed from there.
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
366 In the meantime the other buffer in memory will be filled again with new
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
367 video data.</P>
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
368
6435
d0d74f9d8d4a Background now set by CSS, added doctype and charset.
diego
parents: 6393
diff changeset
369 <P>Doublebuffering may be switched on by using the option -double and may be
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
370 disabled with -nodouble. Current default option is to disable
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
371 doublebuffering. When using the DGA driver, onscreen display (OSD) only
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
372 works with doublebuffering enabled. However, enabling doublebuffering may
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
373 result in a big speed penalty (on my K6-II+ 525 it used an additional 20% of
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
374 CPU time!) depending on the implementation of DGA for your hardware.</P>
2848
33c32f3d9f1f many small updates, fixes (some/more to be completed soon)
gabucino
parents: 2747
diff changeset
375
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
376
9282
513e02e2e553 fixing others' 10/100liters
gabucino
parents: 9260
diff changeset
377 <H4>SPEED ISSUES</H4>
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
378
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
379 <P>Generally spoken, DGA framebuffer access should be at least as fast as using
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
380 the X11 driver with the additional benefit of getting a fullscreen image.
7814
988498df1996 <B>MPlayer</B> ---> MPlayer
diego
parents: 7793
diff changeset
381 The percentage speed values printed by MPlayer have to be interpreted
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
382 with some care, as for example, with the X11 driver they do not include the
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
383 time used by the X-Server needed for the actual drawing. Hook a terminal to a
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
384 serial line of your box and start top to see what is really going on in your
9255
c82e31b31194 my patches sent to dev-eng (i feel me brave) Diego, fix my wording bugs, and dont be angry.
alex
parents: 9254
diff changeset
385 box.</P>
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
386
2848
33c32f3d9f1f many small updates, fixes (some/more to be completed soon)
gabucino
parents: 2747
diff changeset
387 <P>Generally spoken, the speedup done by using DGA against 'normal' use of X11
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
388 highly depends on your graphics card and how well the X-Server module for it
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
389 is optimized.</P>
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
390
2848
33c32f3d9f1f many small updates, fixes (some/more to be completed soon)
gabucino
parents: 2747
diff changeset
391 <P>If you have a slow system, better use 15 or 16bit depth since they require
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
392 only half the memory bandwidth of a 32 bit display.</P>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
393
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
394 <P>Using a depth of 24bit is even a good idea if your card natively just
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
395 supports 32 bit depth since it transfers 25% less data compared to the 32/32
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
396 mode.</P>
2848
33c32f3d9f1f many small updates, fixes (some/more to be completed soon)
gabucino
parents: 2747
diff changeset
397
6599
f20184a10258 1001 typos as found by ispell.
diego
parents: 6583
diff changeset
398 <P>I've seen some AVI files already be replayed on a Pentium MMX 266. AMD K6-2
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
399 CPUs might work at 400 MHZ and above.</P>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
400
6974
916f62dd0910 Another big batch of cosmetics *only*.
diego
parents: 6960
diff changeset
401
9282
513e02e2e553 fixing others' 10/100liters
gabucino
parents: 9260
diff changeset
402 <H4>KNOWN BUGS</H4>
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
403
6599
f20184a10258 1001 typos as found by ispell.
diego
parents: 6583
diff changeset
404 <P>Well, according to some developers of XFree, DGA is quite a beast. They
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
405 tell you better not to use it. Its implementation is not always flawless
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
406 with every chipset driver for XFree out there.</P>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
407
6435
d0d74f9d8d4a Background now set by CSS, added doctype and charset.
diego
parents: 6393
diff changeset
408 <UL>
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
409 <LI>With XFree 4.0.3 and nv.o there is a bug resulting in strange
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
410 colors.</LI>
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
411 <LI>ATI driver requires to switch mode back more than once after finishing
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
412 using of DGA.</LI>
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
413 <LI>Some drivers simply fail to switch back to normal resolution (use
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
414 Ctrl-Alt-Keypad +, - to switch back manually).</LI>
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
415 <LI>Some drivers simply display strange colors.</LI>
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
416 <LI>Some drivers lie about the amount of memory they map into the process's
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
417 address space, thus vo_dga won't use doublebuffering (SIS?).</LI>
9255
c82e31b31194 my patches sent to dev-eng (i feel me brave) Diego, fix my wording bugs, and dont be angry.
alex
parents: 9254
diff changeset
418 <LI>Some drivers seem to fail to report even a single valid mode. In this
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
419 case the DGA driver will crash telling you about a nonsense mode of
9260
ea27d0f2d90d Small fixes and modelines moved to a more sensible place.
diego
parents: 9255
diff changeset
420 100000x100000 or something like that.</LI>
9255
c82e31b31194 my patches sent to dev-eng (i feel me brave) Diego, fix my wording bugs, and dont be angry.
alex
parents: 9254
diff changeset
421 <LI>OSD only works with doublebuffering enabled (else it flickers).</LI>
6435
d0d74f9d8d4a Background now set by CSS, added doctype and charset.
diego
parents: 6393
diff changeset
422 </UL>
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
423
6974
916f62dd0910 Another big batch of cosmetics *only*.
diego
parents: 6960
diff changeset
424
8177
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
425 <H4><A NAME="sdl">2.3.1.2.3 SDL</A></H4>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
426
6583
4b7d097a9c69 big update
gabucino
parents: 6499
diff changeset
427 <P>SDL (Simple Directmedia Layer) is basically a unified video/audio
3988
a5c59d8637a9 some user-parsible lines about SDL
gabucino
parents: 3942
diff changeset
428 interface. Programs that use it know only about SDL, and not about what video
a5c59d8637a9 some user-parsible lines about SDL
gabucino
parents: 3942
diff changeset
429 or audio driver does SDL actually use. For example a Doom port using SDL can
a5c59d8637a9 some user-parsible lines about SDL
gabucino
parents: 3942
diff changeset
430 run on svgalib, aalib, X, fbdev, and others, you only have to specify the
a5c59d8637a9 some user-parsible lines about SDL
gabucino
parents: 3942
diff changeset
431 (for example) video driver to use with the SDL_VIDEODRIVER environment
a5c59d8637a9 some user-parsible lines about SDL
gabucino
parents: 3942
diff changeset
432 variable. Well, in theory.</P>
a5c59d8637a9 some user-parsible lines about SDL
gabucino
parents: 3942
diff changeset
433
7814
988498df1996 <B>MPlayer</B> ---> MPlayer
diego
parents: 7793
diff changeset
434 <P>With MPlayer, we used its X11 driver's software scaler ability for
3988
a5c59d8637a9 some user-parsible lines about SDL
gabucino
parents: 3942
diff changeset
435 cards/drivers that doesn't support XVideo, until we made our own (faster,
a5c59d8637a9 some user-parsible lines about SDL
gabucino
parents: 3942
diff changeset
436 nicer) software scaler. Also we used its aalib output, but now we have ours
a5c59d8637a9 some user-parsible lines about SDL
gabucino
parents: 3942
diff changeset
437 which is more comfortable. Its DGA mode was better than ours, until
a5c59d8637a9 some user-parsible lines about SDL
gabucino
parents: 3942
diff changeset
438 recently. Get it now? :)</P>
a5c59d8637a9 some user-parsible lines about SDL
gabucino
parents: 3942
diff changeset
439
a5c59d8637a9 some user-parsible lines about SDL
gabucino
parents: 3942
diff changeset
440 <P>It also helps with some buggy drivers/cards if the video is jerky
a5c59d8637a9 some user-parsible lines about SDL
gabucino
parents: 3942
diff changeset
441 (not slow system problem), or audio is lagging.</P>
a5c59d8637a9 some user-parsible lines about SDL
gabucino
parents: 3942
diff changeset
442
5119
636b20788503 szrii, tuu, van, fajor
gabucino
parents: 5116
diff changeset
443 <P>SDL video output supports displaying subtitles under the movie, on the (if
636b20788503 szrii, tuu, van, fajor
gabucino
parents: 5116
diff changeset
444 present) black bar.</P>
636b20788503 szrii, tuu, van, fajor
gabucino
parents: 5116
diff changeset
445
9138
42667fd91d4a changing "switch" -> "option" (unwritten DOCS rule)
gabucino
parents: 9086
diff changeset
446 <P><B>There are several command line options for SDL:</B></P>
7099
0b70f3dc34eb Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents: 7076
diff changeset
447 <DL>
0b70f3dc34eb Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents: 7076
diff changeset
448 <DT><CODE>-vo sdl:name</CODE></DT>
0b70f3dc34eb Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents: 7076
diff changeset
449 <DD>specifies sdl video driver to use (i.e.. aalib, dga, x11)</DD>
0b70f3dc34eb Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents: 7076
diff changeset
450
0b70f3dc34eb Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents: 7076
diff changeset
451 <DT><CODE>-ao sdl:name</CODE></DT>
0b70f3dc34eb Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents: 7076
diff changeset
452 <DD>specifies sdl audio driver to use (i.e. dsp, esd, arts)</DD>
0b70f3dc34eb Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents: 7076
diff changeset
453
0b70f3dc34eb Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents: 7076
diff changeset
454 <DT><CODE>-noxv</CODE></DT>
0b70f3dc34eb Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents: 7076
diff changeset
455 <DD>disables XVideo hardware acceleration</DD>
0b70f3dc34eb Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents: 7076
diff changeset
456
0b70f3dc34eb Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents: 7076
diff changeset
457 <DT><CODE>-forcexv</CODE></DT>
0b70f3dc34eb Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents: 7076
diff changeset
458 <DD>tries to force XVideo acceleration</DD>
0b70f3dc34eb Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents: 7076
diff changeset
459 </DL>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
460
6974
916f62dd0910 Another big batch of cosmetics *only*.
diego
parents: 6960
diff changeset
461 <TABLE BORDER=0>
916f62dd0910 Another big batch of cosmetics *only*.
diego
parents: 6960
diff changeset
462 <TR><TD COLSPAN=4><P><B>SDL Keys:</B></P></TD></TR>
916f62dd0910 Another big batch of cosmetics *only*.
diego
parents: 6960
diff changeset
463 <TR><TD></TD><TD><CODE>F</CODE></TD><TD></TD><TD>toggles fullscreen/windowed mode</TD></TR>
916f62dd0910 Another big batch of cosmetics *only*.
diego
parents: 6960
diff changeset
464 <TR><TD></TD><TD><CODE>C</CODE></TD><TD></TD><TD>cycles available fullscreen modes</TD></TR>
916f62dd0910 Another big batch of cosmetics *only*.
diego
parents: 6960
diff changeset
465 <TR><TD></TD><TD><CODE>W/S</CODE></TD><TD></TD><TD>mappings for * and / (mixer control)</TD></TR>
6435
d0d74f9d8d4a Background now set by CSS, added doctype and charset.
diego
parents: 6393
diff changeset
466 </TABLE>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
467
9282
513e02e2e553 fixing others' 10/100liters
gabucino
parents: 9260
diff changeset
468 <H4>KNOWN BUGS</H4>
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
469
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
470 <UL>
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
471 <LI>Keys pressed under sdl:aalib console driver repeat forever. (use -vo aa!)
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
472 It's bug in SDL, I can't change it (tested with SDL 1.2.1).</LI>
8145
adc8d71a15bd space, whitespace fixes
gabucino
parents: 8088
diff changeset
473 <LI>DO NOT USE SDL with GUI! It won't work as it should.</LI>
6435
d0d74f9d8d4a Background now set by CSS, added doctype and charset.
diego
parents: 6393
diff changeset
474 </UL>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
475
6974
916f62dd0910 Another big batch of cosmetics *only*.
diego
parents: 6960
diff changeset
476
8177
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
477 <H4><A NAME="svgalib">2.3.1.2.4 SVGAlib</A></H4>
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
478
9282
513e02e2e553 fixing others' 10/100liters
gabucino
parents: 9260
diff changeset
479 <H4>INSTALLATION</H4>
7047
4f87cd0f642f Converted the docs to use proper headings tags.
diego
parents: 7015
diff changeset
480
4f87cd0f642f Converted the docs to use proper headings tags.
diego
parents: 7015
diff changeset
481 <P>You'll have to install svgalib and its development package in order for
7814
988498df1996 <B>MPlayer</B> ---> MPlayer
diego
parents: 7793
diff changeset
482 MPlayer build its SVGAlib driver (autodetected, but can be forced),
6499
ce4647b864e5 SVGAlib section revised
gabucino
parents: 6435
diff changeset
483 and don't forget to edit /etc/vga/libvga.config to suit your card &amp;
ce4647b864e5 SVGAlib section revised
gabucino
parents: 6435
diff changeset
484 monitor.</P>
ce4647b864e5 SVGAlib section revised
gabucino
parents: 6435
diff changeset
485
9282
513e02e2e553 fixing others' 10/100liters
gabucino
parents: 9260
diff changeset
486 <H4>NOTES</H4>
7047
4f87cd0f642f Converted the docs to use proper headings tags.
diego
parents: 7015
diff changeset
487
9138
42667fd91d4a changing "switch" -> "option" (unwritten DOCS rule)
gabucino
parents: 9086
diff changeset
488 <P>Be sure not to use the -fs option, since it toggles the usage of the software
6499
ce4647b864e5 SVGAlib section revised
gabucino
parents: 6435
diff changeset
489 scaler, and it's slow. If you really need it, use the <CODE>-sws 4</CODE>
ce4647b864e5 SVGAlib section revised
gabucino
parents: 6435
diff changeset
490 option which will produce bad quality, but is somewhat faster.</P>
ce4647b864e5 SVGAlib section revised
gabucino
parents: 6435
diff changeset
491
9282
513e02e2e553 fixing others' 10/100liters
gabucino
parents: 9260
diff changeset
492 <H4>EGA (4BPP) SUPPORT</H4>
7047
4f87cd0f642f Converted the docs to use proper headings tags.
diego
parents: 7015
diff changeset
493
7814
988498df1996 <B>MPlayer</B> ---> MPlayer
diego
parents: 7793
diff changeset
494 <P>SVGAlib incorporates EGAlib, and MPlayer has the possibility to
6499
ce4647b864e5 SVGAlib section revised
gabucino
parents: 6435
diff changeset
495 display any movie in 16 colors, thus usable in the following sets:</P>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
496
6499
ce4647b864e5 SVGAlib section revised
gabucino
parents: 6435
diff changeset
497 <UL>
ce4647b864e5 SVGAlib section revised
gabucino
parents: 6435
diff changeset
498 <LI>EGA card with EGA monitor: 320x200x4bpp, 640x200x4bpp, 640x350x4bpp</LI>
ce4647b864e5 SVGAlib section revised
gabucino
parents: 6435
diff changeset
499 <LI>EGA card with CGA monitor: 320x200x4bpp, 640x200x4bpp</LI>
ce4647b864e5 SVGAlib section revised
gabucino
parents: 6435
diff changeset
500 </UL>
ce4647b864e5 SVGAlib section revised
gabucino
parents: 6435
diff changeset
501
ce4647b864e5 SVGAlib section revised
gabucino
parents: 6435
diff changeset
502 <P>The bpp (bits per pixel) value must be set to 4 by hand:<BR>
ce4647b864e5 SVGAlib section revised
gabucino
parents: 6435
diff changeset
503 &nbsp;&nbsp;<CODE>-bpp 4</CODE><BR>
ce4647b864e5 SVGAlib section revised
gabucino
parents: 6435
diff changeset
504 The movie probably must be scaled down to fit in EGA mode:<BR>
9644
0fe056bdb135 vop -> vf change, small fixes. The Polish documentation should be checked for correctness.
jonas
parents: 9529
diff changeset
505 &nbsp;&nbsp;<CODE>-vf scale=640:350</CODE> or<BR>
0fe056bdb135 vop -> vf change, small fixes. The Polish documentation should be checked for correctness.
jonas
parents: 9529
diff changeset
506 &nbsp;&nbsp;<CODE>-vf scale=320:200</CODE><BR>
6499
ce4647b864e5 SVGAlib section revised
gabucino
parents: 6435
diff changeset
507 For that we need fast but bad quality scaling routine:<BR>
ce4647b864e5 SVGAlib section revised
gabucino
parents: 6435
diff changeset
508 &nbsp;&nbsp;<CODE>-sws 4</CODE><BR>
ce4647b864e5 SVGAlib section revised
gabucino
parents: 6435
diff changeset
509 Maybe automatic aspect correction has to be shut off:<BR>
6974
916f62dd0910 Another big batch of cosmetics *only*.
diego
parents: 6960
diff changeset
510 &nbsp;&nbsp;<CODE>-noaspect</CODE></P>
6499
ce4647b864e5 SVGAlib section revised
gabucino
parents: 6435
diff changeset
511
9078
240e53cdce84 small EGA hint
gabucino
parents: 9059
diff changeset
512 <P><B>NOTE:</B> according to my experience the best image quality on EGA
9644
0fe056bdb135 vop -> vf change, small fixes. The Polish documentation should be checked for correctness.
jonas
parents: 9529
diff changeset
513 screens can be achieved by decreasing the brightness a bit: <CODE>-vf
9086
84a0be5caeb3 another EGA hint :)
gabucino
parents: 9078
diff changeset
514 eq=-20:0</CODE>. I also needed to lower the audio samplerate on my box,
84a0be5caeb3 another EGA hint :)
gabucino
parents: 9078
diff changeset
515 because the sound was broken on 44kHz: <CODE>-srate 22050</CODE>.</P>
9078
240e53cdce84 small EGA hint
gabucino
parents: 9059
diff changeset
516
240e53cdce84 small EGA hint
gabucino
parents: 9059
diff changeset
517 <P>You can turn on OSD and subtitles only with the <CODE>expand</CODE> filter,
240e53cdce84 small EGA hint
gabucino
parents: 9059
diff changeset
518 see the man page for exact parameters.</P>
240e53cdce84 small EGA hint
gabucino
parents: 9059
diff changeset
519
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
520
8177
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
521 <H4><A NAME="fbdev">2.3.1.2.5 Framebuffer output (FBdev)</A></H4>
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
522
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
523 <P>Whether to build the FBdev target is autodetected during ./configure .
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
524 Read the framebuffer documentation in the kernel sources
6998
83a386e88f9e Applied patch by Andras Mohari <mayday at varoshaza . nagyatad . hu>
diego
parents: 6981
diff changeset
525 (Documentation/fb/*) for more information.</P>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
526
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
527 <P>If your card doesn't support VBE 2.0 standard (older ISA/PCI
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
528 cards, such as S3 Trio64), only VBE 1.2 (or older?):
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
529 Well, VESAfb is still available, but you'll have to load SciTech Display
8177
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
530 Doctor (formerly UniVBE) before booting Linux. Use a DOS boot disk or
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
531 whatever. And don't forget to register your UniVBE ;))</P>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
532
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
533 <P>The FBdev output takes some additional parameters above the others:</P>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
534
7099
0b70f3dc34eb Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents: 7076
diff changeset
535 <DL>
0b70f3dc34eb Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents: 7076
diff changeset
536 <DT><CODE>-fb</CODE></DT>
0b70f3dc34eb Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents: 7076
diff changeset
537 <DD>specify the framebuffer device to use (/dev/fb0)</DD>
0b70f3dc34eb Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents: 7076
diff changeset
538
0b70f3dc34eb Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents: 7076
diff changeset
539 <DT><CODE>-fbmode</CODE></DT>
0b70f3dc34eb Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents: 7076
diff changeset
540 <DD>mode name to use (according to /etc/fb.modes)</DD>
0b70f3dc34eb Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents: 7076
diff changeset
541
0b70f3dc34eb Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents: 7076
diff changeset
542 <DT><CODE>-fbmodeconfig</CODE></DT>
0b70f3dc34eb Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents: 7076
diff changeset
543 <DD>config file of modes (default /etc/fb.modes)</DD>
0b70f3dc34eb Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents: 7076
diff changeset
544
0b70f3dc34eb Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents: 7076
diff changeset
545 <DT><CODE>-monitor_hfreq</CODE></DT>
0b70f3dc34eb Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents: 7076
diff changeset
546 <DT><CODE>-monitor_vfreq</CODE></DT>
0b70f3dc34eb Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents: 7076
diff changeset
547 <DT><CODE>-monitor_dotclock</CODE></DT>
0b70f3dc34eb Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents: 7076
diff changeset
548 <DD><STRONG>Important</STRONG> values, see <CODE>example.conf</CODE></DD>
0b70f3dc34eb Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents: 7076
diff changeset
549 </DL>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
550
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
551 <P>If you want to change to a specific mode, then use</P>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
552
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
553 <P><CODE>&nbsp;&nbsp;&nbsp;&nbsp;mplayer -vm -fbmode (NameOfMode) filename</CODE></P>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
554
6435
d0d74f9d8d4a Background now set by CSS, added doctype and charset.
diego
parents: 6393
diff changeset
555 <UL>
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
556 <LI><B>-vm</B> alone will choose the most suitable mode from /etc/fb.modes.
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
557 Can be used together with -x and -y options too. The -flip option is
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
558 supported only if the movie's pixel format matches the video mode's pixel
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
559 format. Pay attention to the bpp value, fbdev driver tries to use the
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
560 current, or if you specify the -bpp option, then that.</LI>
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
561 <LI><B>-zoom</B> option isn't supported (software scaling is slow). -fs
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
562 option isn't supported. You can't use 8bpp (or less) modes.</LI>
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
563 <LI>you possibly want to turn the cursor off: <CODE>echo -e
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
564 '\033[?25l'</CODE> or <CODE>setterm -cursor off</CODE><BR>
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
565 and the screen saver: <CODE>setterm -blank 0</CODE><BR>
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
566 To turn the cursor back on: <CODE>echo -e '\033[?25h'</CODE>
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
567 or <CODE>setterm -cursor on</CODE></LI>
6435
d0d74f9d8d4a Background now set by CSS, added doctype and charset.
diego
parents: 6393
diff changeset
568 </UL>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
569
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
570 <P>NOTE: FBdev video mode changing _does not work_ with the VESA framebuffer,
7814
988498df1996 <B>MPlayer</B> ---> MPlayer
diego
parents: 7793
diff changeset
571 and don't ask for it, since it's not an MPlayer limitation.</P>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
572
6974
916f62dd0910 Another big batch of cosmetics *only*.
diego
parents: 6960
diff changeset
573
8177
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
574 <H4><A NAME="mga_vid">2.3.1.2.6 Matrox framebuffer (mga_vid)</A></H4>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
575
1992
156639eddf49 tdfxfb added
gabucino
parents: 1988
diff changeset
576 <P>This section is about the Matrox G200/G400/G450/G550 BES (Back-End Scaler)
9260
ea27d0f2d90d Small fixes and modelines moved to a more sensible place.
diego
parents: 9255
diff changeset
577 support, the mga_vid kernel driver. It's actively developed by A'rpi, and
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
578 it has hardware VSYNC support with triple buffering. It works on both
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
579 framebuffer console and under X.</P>
2848
33c32f3d9f1f many small updates, fixes (some/more to be completed soon)
gabucino
parents: 2747
diff changeset
580
9241
537ff3f9961d VIDIX and PowerVR updates, based on a patch by Alex.
diego
parents: 9174
diff changeset
581 <P><B>NOTE</B>: This is Linux only! On non-Linux (tested on FreeBSD) systems,
537ff3f9961d VIDIX and PowerVR updates, based on a patch by Alex.
diego
parents: 9174
diff changeset
582 you can use <A HREF="#vidix">VIDIX</A> instead!</P>
4505
fdeee8424d90 on non-Linux use Vidix instead of mga_vid kernelmodule
gabucino
parents: 4504
diff changeset
583
7099
0b70f3dc34eb Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents: 7076
diff changeset
584 <P><B>Installation:</B></P>
0b70f3dc34eb Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents: 7076
diff changeset
585 <OL>
0b70f3dc34eb Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents: 7076
diff changeset
586 <LI>To use it, you first have to compile mga_vid.o:
0b70f3dc34eb Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents: 7076
diff changeset
587 <P><CODE>cd drivers<BR>
0b70f3dc34eb Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents: 7076
diff changeset
588 make</CODE></P></LI>
0b70f3dc34eb Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents: 7076
diff changeset
589 <LI>Then create the <CODE>/dev/mga_vid</CODE> device:
0b70f3dc34eb Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents: 7076
diff changeset
590 <P><CODE>mknod /dev/mga_vid c 178 0</CODE></P>
0b70f3dc34eb Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents: 7076
diff changeset
591 <P>and load the driver with</P>
0b70f3dc34eb Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents: 7076
diff changeset
592 <P><CODE>insmod mga_vid.o</CODE></P></LI>
0b70f3dc34eb Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents: 7076
diff changeset
593 <LI>You should verify the memory size detection using the <CODE>dmesg</CODE>
0b70f3dc34eb Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents: 7076
diff changeset
594 command. If it's bad, use the <CODE>mga_ram_size</CODE> option
0b70f3dc34eb Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents: 7076
diff changeset
595 (<CODE>rmmod mga_vid</CODE> first), specify card's memory size in MB:
0b70f3dc34eb Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents: 7076
diff changeset
596 <P><CODE>insmod mga_vid.o mga_ram_size=16</CODE></P></LI>
0b70f3dc34eb Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents: 7076
diff changeset
597 <LI>To make it load/unload automatically when needed, first insert the
0b70f3dc34eb Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents: 7076
diff changeset
598 following line at the end of <CODE>/etc/modules.conf</CODE>:
0b70f3dc34eb Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents: 7076
diff changeset
599 <P><CODE>alias char-major-178 mga_vid</CODE></P>
0b70f3dc34eb Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents: 7076
diff changeset
600 <P>Then copy the <CODE>mga_vid.o</CODE> module to the appropriate place
0b70f3dc34eb Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents: 7076
diff changeset
601 under <CODE>/lib/modules/&lt;kernel version&gt;/somewhere</CODE>.</P>
0b70f3dc34eb Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents: 7076
diff changeset
602 <P>Then run</P>
0b70f3dc34eb Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents: 7076
diff changeset
603 <P><CODE>depmod -a</CODE></P></LI>
7814
988498df1996 <B>MPlayer</B> ---> MPlayer
diego
parents: 7793
diff changeset
604 <LI>Now you have to (re)compile MPlayer, <CODE>configure</CODE> will
7099
0b70f3dc34eb Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents: 7076
diff changeset
605 detect <CODE>/dev/mga_vid</CODE> and build the 'mga' driver. Using it from
7814
988498df1996 <B>MPlayer</B> ---> MPlayer
diego
parents: 7793
diff changeset
606 MPlayer goes by <CODE>-vo mga</CODE> if you have matroxfb console,
7099
0b70f3dc34eb Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents: 7076
diff changeset
607 or <CODE>-vo xmga</CODE> under XFree86 3.x.x or 4.x.x.</LI>
0b70f3dc34eb Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents: 7076
diff changeset
608 </OL>
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
609
2108
767dbc5b7daa mga_vid now cooperates with xv
gabucino
parents: 2063
diff changeset
610 <P>The mga_vid driver cooperates with Xv.</P>
2848
33c32f3d9f1f many small updates, fixes (some/more to be completed soon)
gabucino
parents: 2747
diff changeset
611
4504
b2f4c590fb74 mga_vid supports reads and writes
gabucino
parents: 4498
diff changeset
612 <P>The <CODE>/dev/mga_vid</CODE> device file can be read (for example by
b2f4c590fb74 mga_vid supports reads and writes
gabucino
parents: 4498
diff changeset
613 <CODE>cat /dev/mga_vid</CODE>) for some info, and written for brightness
7076
3275af5787e0 Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, slightly
diego
parents: 7061
diff changeset
614 change: <CODE>echo "brightness=120" &gt; /dev/mga_vid</CODE></P>
4504
b2f4c590fb74 mga_vid supports reads and writes
gabucino
parents: 4498
diff changeset
615
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
616
8177
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
617 <H4><A NAME="tdfxfb">2.3.1.2.7 3dfx YUV support (tdfxfb)</A></H4>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
618
1992
156639eddf49 tdfxfb added
gabucino
parents: 1988
diff changeset
619 <P>This driver uses the kernel's tdfx framebuffer driver to play movies with
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
620 YUV acceleration. You'll need a kernel with tdfxfb support, and recompile
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
621 with <CODE>./configure --enable-tdfxfb</CODE></P>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
622
6974
916f62dd0910 Another big batch of cosmetics *only*.
diego
parents: 6960
diff changeset
623
8177
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
624 <H4><A NAME="opengl">2.3.1.2.8 OpenGL output</A></H4>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
625
7814
988498df1996 <B>MPlayer</B> ---> MPlayer
diego
parents: 7793
diff changeset
626 <P>MPlayer supports displaying movies using OpenGL, but if your
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
627 platform/driver supports xv as should be the case on a PC with Linux, use xv
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
628 instead, OpenGL performance is considerably worse. If you have an X11
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
629 implementation without xv support, OpenGL is a viable alternative.</P>
6309
d6eea5314980 OpenGL update
diego
parents: 5713
diff changeset
630
d6eea5314980 OpenGL update
diego
parents: 5713
diff changeset
631 <P>Unfortunately not all drivers support this feature. The Utah-GLX drivers
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
632 (for XFree86 3.3.6) support it for all cards. See
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
633 <A HREF="http://utah-glx.sourceforge.net">http://utah-glx.sourceforge.net</A>
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
634 for details about how to install it.</P>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
635
7076
3275af5787e0 Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, slightly
diego
parents: 7061
diff changeset
636 <P>XFree86(DRI) 4.0.3 or later supports OpenGL with Matrox and Radeon cards,
3275af5787e0 Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, slightly
diego
parents: 7061
diff changeset
637 4.2.0 or later supports Rage128. See
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
638 <A HREF="http://dri.sourceforge.net">http://dri.sourceforge.net</A>
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
639 for download and installation instructions.</P>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
640
6974
916f62dd0910 Another big batch of cosmetics *only*.
diego
parents: 6960
diff changeset
641
8177
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
642 <H4><A NAME="aalib">2.3.1.2.9 AAlib - text mode displaying</A></H4>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
643
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
644 <P><B>AAlib</B> is a library for displaying graphics in text mode, using powerful
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
645 ASCII renderer. There are LOTS of programs already supporting it, like Doom,
7814
988498df1996 <B>MPlayer</B> ---> MPlayer
diego
parents: 7793
diff changeset
646 Quake, etc. MPlayer contains a very usable driver for it.
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
647 If ./configure detects aalib installed, the aalib libvo driver will be
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
648 built.</P>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
649
6435
d0d74f9d8d4a Background now set by CSS, added doctype and charset.
diego
parents: 6393
diff changeset
650 <TABLE BORDER=0>
6974
916f62dd0910 Another big batch of cosmetics *only*.
diego
parents: 6960
diff changeset
651 <TR><TD COLSPAN=4><P><B>You can use some keys in the AA Window to change rendering options:</B></P></TD></TR>
916f62dd0910 Another big batch of cosmetics *only*.
diego
parents: 6960
diff changeset
652 <TR><TD>&nbsp;&nbsp;</TD><TD><CODE>1</CODE></TD><TD>&nbsp;&nbsp;</TD><TD>decrease contrast</TD></TR>
916f62dd0910 Another big batch of cosmetics *only*.
diego
parents: 6960
diff changeset
653 <TR><TD></TD><TD><CODE>2</CODE></TD><TD></TD><TD>increase contrast</TD></TR>
916f62dd0910 Another big batch of cosmetics *only*.
diego
parents: 6960
diff changeset
654 <TR><TD></TD><TD><CODE>3</CODE></TD><TD></TD><TD>decrease brightness</TD></TR>
916f62dd0910 Another big batch of cosmetics *only*.
diego
parents: 6960
diff changeset
655 <TR><TD></TD><TD><CODE>4</CODE></TD><TD></TD><TD>increase brightness</TD></TR>
916f62dd0910 Another big batch of cosmetics *only*.
diego
parents: 6960
diff changeset
656 <TR><TD></TD><TD><CODE>5</CODE></TD><TD></TD><TD>switch fast rendering on/off</TD></TR>
916f62dd0910 Another big batch of cosmetics *only*.
diego
parents: 6960
diff changeset
657 <TR><TD></TD><TD><CODE>6</CODE></TD><TD></TD><TD>set dithering mode (none, error distribution, Floyd Steinberg)</TD></TR>
916f62dd0910 Another big batch of cosmetics *only*.
diego
parents: 6960
diff changeset
658 <TR><TD></TD><TD><CODE>7</CODE></TD><TD></TD><TD>invert image</TD></TR>
7814
988498df1996 <B>MPlayer</B> ---> MPlayer
diego
parents: 7793
diff changeset
659 <TR><TD></TD><TD><CODE>a</CODE></TD><TD></TD><TD>toggles between aa and MPlayer control)</TD></TR>
7099
0b70f3dc34eb Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents: 7076
diff changeset
660 </TABLE>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
661
7099
0b70f3dc34eb Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents: 7076
diff changeset
662 <P><B>The following command line options can be used:</B></P>
0b70f3dc34eb Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents: 7076
diff changeset
663 <DL>
0b70f3dc34eb Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents: 7076
diff changeset
664 <DT><CODE>-aaosdcolor=V</CODE></DT>
0b70f3dc34eb Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents: 7076
diff changeset
665 <DD>change OSD color</DD>
0b70f3dc34eb Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents: 7076
diff changeset
666
0b70f3dc34eb Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents: 7076
diff changeset
667 <DT><CODE>-aasubcolor=V</CODE></DT>
0b70f3dc34eb Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents: 7076
diff changeset
668 <DD>change subtitle color
0b70f3dc34eb Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents: 7076
diff changeset
669 <P><I>where V can be: (0/normal, 1/dark, 2/bold, 3/bold font, 4/reverse,
0b70f3dc34eb Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents: 7076
diff changeset
670 5/special)</I></P></DD>
0b70f3dc34eb Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents: 7076
diff changeset
671 </DL>
0b70f3dc34eb Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents: 7076
diff changeset
672
0b70f3dc34eb Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents: 7076
diff changeset
673 <P><B>AAlib itself provides a large sum of options.
0b70f3dc34eb Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents: 7076
diff changeset
674 Here are some important:</B></P>
0b70f3dc34eb Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents: 7076
diff changeset
675 <DL>
0b70f3dc34eb Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents: 7076
diff changeset
676 <DT><CODE>-aadriver</CODE></DT>
0b70f3dc34eb Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents: 7076
diff changeset
677 <DD>set recommended aa driver (X11, curses, Linux)</DD>
0b70f3dc34eb Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents: 7076
diff changeset
678
0b70f3dc34eb Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents: 7076
diff changeset
679 <DT><CODE>-aaextended</CODE></DT>
0b70f3dc34eb Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents: 7076
diff changeset
680 <DD>use all 256 characters</DD>
0b70f3dc34eb Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents: 7076
diff changeset
681
0b70f3dc34eb Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents: 7076
diff changeset
682 <DT><CODE>-aaeight</CODE></DT>
0b70f3dc34eb Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents: 7076
diff changeset
683 <DD>use eight bit ASCII</DD>
0b70f3dc34eb Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents: 7076
diff changeset
684
0b70f3dc34eb Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents: 7076
diff changeset
685 <DT><CODE>-aahelp</CODE></DT>
0b70f3dc34eb Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents: 7076
diff changeset
686 <DD>prints out all aalib options</DD>
0b70f3dc34eb Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents: 7076
diff changeset
687 </DL>
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
688
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
689 <P>NOTE: the rendering is very CPU intensive, especially when using AA-on-X
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
690 (using aalib on X), and it's least CPU intensive on standard,
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
691 non-framebuffer console. Use SVGATextMode to set up a big textmode,
9138
42667fd91d4a changing "switch" -> "option" (unwritten DOCS rule)
gabucino
parents: 9086
diff changeset
692 then enjoy! (secondary head Hercules cards rock :)) (but imho you can use
9644
0fe056bdb135 vop -> vf change, small fixes. The Polish documentation should be checked for correctness.
jonas
parents: 9529
diff changeset
693 <CODE>-vf 1bpp</CODE> option to get graphics on hgafb:)</P>
2848
33c32f3d9f1f many small updates, fixes (some/more to be completed soon)
gabucino
parents: 2747
diff changeset
694
6732
8460a77203de DXR3 moved to video.html. TOC updated, added <CODE> where appropiate.
diego
parents: 6729
diff changeset
695 <P>Use the <CODE>-framedrop</CODE> option if your computer isn't fast enough to
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
696 render all frames!</P>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
697
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
698 <P>Playing on terminal you'll get better speed and quality using the Linux
6998
83a386e88f9e Applied patch by Andras Mohari <mayday at varoshaza . nagyatad . hu>
diego
parents: 6981
diff changeset
699 driver, not curses (<CODE>-aadriver linux</CODE>). But therefore you need write access on
8177
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
700 <CODE>/dev/vcsa&lt;terminal&gt;</CODE>. That isn't autodetected by aalib, but vo_aa tries
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
701 to find the best mode. See
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
702 <A HREF="http://aa-project.sourceforge.net/tune/">http://aa-project.sourceforge.net/tune/</A>
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
703 for further tuning issues.</P>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
704
2471
6bf47f224789 *** empty log message ***
gabucino
parents: 2452
diff changeset
705
8177
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
706 <H4><A NAME="vesa">2.3.1.2.10 VESA - output to VESA BIOS</A></H4>
6906
3274d0725fde Changed all link names from the section number to a sensible label.
diego
parents: 6882
diff changeset
707
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
708 <P>This driver was designed and introduced as a <B>generic driver</B> for any
7651
9bb9ce641684 documenting vesa 3 / GTF config
arpi
parents: 7640
diff changeset
709 video card which has VESA VBE 2.0+ compatible BIOS. Another advantage of this
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
710 driver is that it tries to force TV output on.<BR>
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
711 <B>VESA BIOS EXTENSION (VBE) Version 3.0 Date: September 16, 1998</B> (Page
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
712 70) says:</P>
2448
1e56c3381d55 'vesa' vo driver added. By Nick Kurshev. (spellchecked, fixed, mplayerdoxized)
gabucino
parents: 2408
diff changeset
713
6435
d0d74f9d8d4a Background now set by CSS, added doctype and charset.
diego
parents: 6393
diff changeset
714 <BLOCKQUOTE>
6974
916f62dd0910 Another big batch of cosmetics *only*.
diego
parents: 6960
diff changeset
715 <B>Dual-Controller Designs</B><BR>
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
716 VBE 3.0 supports the dual-controller design by assuming that since both
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
717 controllers are typically provided by the same OEM, under control of a
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
718 single BIOS ROM on the same graphics card, it is possible to hide the fact
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
719 that two controllers are indeed present from the application. This has the
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
720 limitation of preventing simultaneous use of the independent controllers,
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
721 but allows applications released before VBE 3.0 to operate normally. The
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
722 VBE Function 00h (Return Controller Information) returns the combined
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
723 information of both controllers, including the combined list of available
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
724 modes. When the application selects a mode, the appropriate controller is
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
725 activated. Each of the remaining VBE functions then operates on the active
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
726 controller.
6435
d0d74f9d8d4a Background now set by CSS, added doctype and charset.
diego
parents: 6393
diff changeset
727 </BLOCKQUOTE>
2448
1e56c3381d55 'vesa' vo driver added. By Nick Kurshev. (spellchecked, fixed, mplayerdoxized)
gabucino
parents: 2408
diff changeset
728
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
729 <P>So you have chances to get working TV-out by using this driver.<BR>
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
730 (I guess that TV-out frequently is standalone head or standalone output
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
731 at least.)</P>
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
732
9282
513e02e2e553 fixing others' 10/100liters
gabucino
parents: 9260
diff changeset
733 <H4>ADVANTAGES</H4>
6998
83a386e88f9e Applied patch by Andras Mohari <mayday at varoshaza . nagyatad . hu>
diego
parents: 6981
diff changeset
734
83a386e88f9e Applied patch by Andras Mohari <mayday at varoshaza . nagyatad . hu>
diego
parents: 6981
diff changeset
735 <UL>
83a386e88f9e Applied patch by Andras Mohari <mayday at varoshaza . nagyatad . hu>
diego
parents: 6981
diff changeset
736 <LI>You have the possibility to watch movies <B>even if Linux doesn't know</B>
83a386e88f9e Applied patch by Andras Mohari <mayday at varoshaza . nagyatad . hu>
diego
parents: 6981
diff changeset
737 your video hardware.</LI>
83a386e88f9e Applied patch by Andras Mohari <mayday at varoshaza . nagyatad . hu>
diego
parents: 6981
diff changeset
738 <LI>You don't need to have installed any graphics' related things on your Linux
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
739 (like X11 (aka XFree86), fbdev and so on). This driver can be run from
6998
83a386e88f9e Applied patch by Andras Mohari <mayday at varoshaza . nagyatad . hu>
diego
parents: 6981
diff changeset
740 <B>text-mode</B>.</LI>
83a386e88f9e Applied patch by Andras Mohari <mayday at varoshaza . nagyatad . hu>
diego
parents: 6981
diff changeset
741 <LI>You have chances to get <B>working TV-out</B>. (It's known at least for
83a386e88f9e Applied patch by Andras Mohari <mayday at varoshaza . nagyatad . hu>
diego
parents: 6981
diff changeset
742 ATI's cards).</LI>
83a386e88f9e Applied patch by Andras Mohari <mayday at varoshaza . nagyatad . hu>
diego
parents: 6981
diff changeset
743 <LI>This driver calls <B>int 10h</B> handler thus it's not an emulator - it
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
744 calls <B>real</B> things of <B>real</B> BIOS in <B>real</B>-mode. (Finely -
6998
83a386e88f9e Applied patch by Andras Mohari <mayday at varoshaza . nagyatad . hu>
diego
parents: 6981
diff changeset
745 in vm86 mode).</LI>
9255
c82e31b31194 my patches sent to dev-eng (i feel me brave) Diego, fix my wording bugs, and dont be angry.
alex
parents: 9254
diff changeset
746 <LI>You can use VIDIX with it, thus getting accelerated video display
6998
83a386e88f9e Applied patch by Andras Mohari <mayday at varoshaza . nagyatad . hu>
diego
parents: 6981
diff changeset
747 <B>AND</B> TV output at the same time! (recommended for ATI cards)</LI>
7793
6d8b4a1adb9d Remove option descriptions that are in the man page, add some missing
diego
parents: 7699
diff changeset
748 <LI>If you have VESA VBE 3.0+, and you had specified <CODE>monitor_hfreq</CODE>,
6d8b4a1adb9d Remove option descriptions that are in the man page, add some missing
diego
parents: 7699
diff changeset
749 <CODE>monitor_vfreq</CODE>, <CODE>monitor_dotclock</CODE> somewhere (config
6d8b4a1adb9d Remove option descriptions that are in the man page, add some missing
diego
parents: 7699
diff changeset
750 file, or commandline) you will get the highest possible refresh rate. (Using
6d8b4a1adb9d Remove option descriptions that are in the man page, add some missing
diego
parents: 7699
diff changeset
751 General Timing Formula). To enable this feature you have to specify
6d8b4a1adb9d Remove option descriptions that are in the man page, add some missing
diego
parents: 7699
diff changeset
752 <B>all</B> your monitor options.</LI>
6998
83a386e88f9e Applied patch by Andras Mohari <mayday at varoshaza . nagyatad . hu>
diego
parents: 6981
diff changeset
753 </UL>
2448
1e56c3381d55 'vesa' vo driver added. By Nick Kurshev. (spellchecked, fixed, mplayerdoxized)
gabucino
parents: 2408
diff changeset
754
9282
513e02e2e553 fixing others' 10/100liters
gabucino
parents: 9260
diff changeset
755 <H4>DISADVANTAGES</H4>
6998
83a386e88f9e Applied patch by Andras Mohari <mayday at varoshaza . nagyatad . hu>
diego
parents: 6981
diff changeset
756
83a386e88f9e Applied patch by Andras Mohari <mayday at varoshaza . nagyatad . hu>
diego
parents: 6981
diff changeset
757 <UL>
83a386e88f9e Applied patch by Andras Mohari <mayday at varoshaza . nagyatad . hu>
diego
parents: 6981
diff changeset
758 <LI>It works only on <B>x86 systems</B>.</LI>
83a386e88f9e Applied patch by Andras Mohari <mayday at varoshaza . nagyatad . hu>
diego
parents: 6981
diff changeset
759 <LI>It can be used only by <B>root</B>.</LI>
83a386e88f9e Applied patch by Andras Mohari <mayday at varoshaza . nagyatad . hu>
diego
parents: 6981
diff changeset
760 <LI>Currently it's available only for <B>Linux</B>.</LI>
83a386e88f9e Applied patch by Andras Mohari <mayday at varoshaza . nagyatad . hu>
diego
parents: 6981
diff changeset
761 </UL>
2448
1e56c3381d55 'vesa' vo driver added. By Nick Kurshev. (spellchecked, fixed, mplayerdoxized)
gabucino
parents: 2408
diff changeset
762
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
763 <P>Don't use this driver with <B>GCC 2.96</B>! It won't work!</P>
3141
21b6aab15ec9 -vo vesa + gcc 2.96 warning (is this confirmed?)
gabucino
parents: 3053
diff changeset
764
9282
513e02e2e553 fixing others' 10/100liters
gabucino
parents: 9260
diff changeset
765 <H4>COMMAND LINE OPTIONS AVAILABLE FOR VESA</H4>
7099
0b70f3dc34eb Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents: 7076
diff changeset
766 <DL>
0b70f3dc34eb Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents: 7076
diff changeset
767 <DT><CODE>-vo vesa:opts</CODE></DT>
0b70f3dc34eb Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents: 7076
diff changeset
768 <DD>currently recognized: <B>dga</B> to force dga mode and <B>nodga</B> to
7793
6d8b4a1adb9d Remove option descriptions that are in the man page, add some missing
diego
parents: 7699
diff changeset
769 disable dga mode. In dga mode you can enable double buffering via the
6d8b4a1adb9d Remove option descriptions that are in the man page, add some missing
diego
parents: 7699
diff changeset
770 <CODE>-double</CODE> option. Note: you may omit these parameters to enable
6d8b4a1adb9d Remove option descriptions that are in the man page, add some missing
diego
parents: 7699
diff changeset
771 <B>autodetection</B> of dga mode.</DD>
7099
0b70f3dc34eb Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents: 7076
diff changeset
772 </DL>
2448
1e56c3381d55 'vesa' vo driver added. By Nick Kurshev. (spellchecked, fixed, mplayerdoxized)
gabucino
parents: 2408
diff changeset
773
9282
513e02e2e553 fixing others' 10/100liters
gabucino
parents: 9260
diff changeset
774 <H4>KNOWN PROBLEMS AND WORKAROUNDS</H4>
6998
83a386e88f9e Applied patch by Andras Mohari <mayday at varoshaza . nagyatad . hu>
diego
parents: 6981
diff changeset
775
83a386e88f9e Applied patch by Andras Mohari <mayday at varoshaza . nagyatad . hu>
diego
parents: 6981
diff changeset
776 <UL>
83a386e88f9e Applied patch by Andras Mohari <mayday at varoshaza . nagyatad . hu>
diego
parents: 6981
diff changeset
777 <LI>If you have installed <B>NLS</B> font on your Linux box and run VESA
7814
988498df1996 <B>MPlayer</B> ---> MPlayer
diego
parents: 7793
diff changeset
778 driver from text-mode then after terminating MPlayer you will have
6998
83a386e88f9e Applied patch by Andras Mohari <mayday at varoshaza . nagyatad . hu>
diego
parents: 6981
diff changeset
779 <B>ROM font</B> loaded instead of national. You can load national font again
83a386e88f9e Applied patch by Andras Mohari <mayday at varoshaza . nagyatad . hu>
diego
parents: 6981
diff changeset
780 by using <B><I>setsysfont</I></B> utility from the Mandrake distribution
7076
3275af5787e0 Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, slightly
diego
parents: 7061
diff changeset
781 for example.<BR>
6998
83a386e88f9e Applied patch by Andras Mohari <mayday at varoshaza . nagyatad . hu>
diego
parents: 6981
diff changeset
782 (<B>Hint:</B> The same utility is used for the localization of fbdev).</LI>
83a386e88f9e Applied patch by Andras Mohari <mayday at varoshaza . nagyatad . hu>
diego
parents: 6981
diff changeset
783 <LI>Some <B>Linux graphics drivers</B> don't update active <B>BIOS mode</B> in
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
784 DOS memory. So if you have such problem - always use VESA driver only from
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
785 <B>text-mode</B>. Otherwise text-mode (#03) will be activated anyway and
6998
83a386e88f9e Applied patch by Andras Mohari <mayday at varoshaza . nagyatad . hu>
diego
parents: 6981
diff changeset
786 you will need restart your computer.</LI>
83a386e88f9e Applied patch by Andras Mohari <mayday at varoshaza . nagyatad . hu>
diego
parents: 6981
diff changeset
787 <LI>Often after terminating VESA driver you get <B>black screen</B>. To return
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
788 your screen to original state - simply switch to other console (by pressing
6998
83a386e88f9e Applied patch by Andras Mohari <mayday at varoshaza . nagyatad . hu>
diego
parents: 6981
diff changeset
789 <B>Alt-Fx</B>) then switch to your previous console by the same way.</LI>
83a386e88f9e Applied patch by Andras Mohari <mayday at varoshaza . nagyatad . hu>
diego
parents: 6981
diff changeset
790 <LI>To get <B>working TV-out</B> you need have plugged TV-connector in before
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
791 booting your PC since video BIOS initializes itself only once during POST
6998
83a386e88f9e Applied patch by Andras Mohari <mayday at varoshaza . nagyatad . hu>
diego
parents: 6981
diff changeset
792 procedure.</LI>
83a386e88f9e Applied patch by Andras Mohari <mayday at varoshaza . nagyatad . hu>
diego
parents: 6981
diff changeset
793 </UL>
2448
1e56c3381d55 'vesa' vo driver added. By Nick Kurshev. (spellchecked, fixed, mplayerdoxized)
gabucino
parents: 2408
diff changeset
794
1e56c3381d55 'vesa' vo driver added. By Nick Kurshev. (spellchecked, fixed, mplayerdoxized)
gabucino
parents: 2408
diff changeset
795
8177
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
796 <H4><A NAME="x11">2.3.1.2.11 X11</A></H4>
2848
33c32f3d9f1f many small updates, fixes (some/more to be completed soon)
gabucino
parents: 2747
diff changeset
797
33c32f3d9f1f many small updates, fixes (some/more to be completed soon)
gabucino
parents: 2747
diff changeset
798 <P>Avoid if possible. Outputs to X11 (uses shared memory extension), with no
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
799 hardware acceleration at all. Supports (MMX/3DNow/SSE accelerated, but still
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
800 slow) software scaling, use the options <CODE>-fs -zoom</CODE>. Most cards
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
801 have hardware scaling support, use the <CODE>-vo xv</CODE> output for them,
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
802 or <CODE>-vo xmga</CODE> for Matroxes.</P>
2848
33c32f3d9f1f many small updates, fixes (some/more to be completed soon)
gabucino
parents: 2747
diff changeset
803
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
804 <P>The problem is that most cards' driver doesn't support hardware acceleration
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
805 on the second head/TV. In those cases, you see green/blue colored window
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
806 instead of the movie. This is where this driver comes in handy, but you need
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
807 powerful CPU to use software scaling. Don't use the SDL driver's software
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
808 output+scaler, it has worse image quality!</P>
2848
33c32f3d9f1f many small updates, fixes (some/more to be completed soon)
gabucino
parents: 2747
diff changeset
809
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
810 <P>Software scaling is very slow, you better try changing video modes instead.
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
811 It's very simple. See the <A HREF="#dga_modelines">DGA section's modelines</A>,
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
812 and insert them into your XF86Config.</P>
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
813
3290
3928aef86033 stuff I don't remember
gabucino
parents: 3268
diff changeset
814 <UL>
3928aef86033 stuff I don't remember
gabucino
parents: 3268
diff changeset
815 <LI>If you have XFree86 4.x.x - use the <CODE>-vm</CODE> option. It will
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
816 change to a resolution your movie fits in. If it doesn't:</LI>
3290
3928aef86033 stuff I don't remember
gabucino
parents: 3268
diff changeset
817 <LI>With XFree86 3.x.x - you have to cycle through available resolutions
3928aef86033 stuff I don't remember
gabucino
parents: 3268
diff changeset
818 with the <B>CTRL-ALT-plus</B> and <B>minus</B> keys.</LI>
3928aef86033 stuff I don't remember
gabucino
parents: 3268
diff changeset
819 </UL>
3928aef86033 stuff I don't remember
gabucino
parents: 3268
diff changeset
820
6435
d0d74f9d8d4a Background now set by CSS, added doctype and charset.
diego
parents: 6393
diff changeset
821 <P>If you can't find the modes you inserted, browse XFree86's output. Some
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
822 drivers can't use low pixelclocks that are needed for low resolution
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
823 video modes.</P>
3290
3928aef86033 stuff I don't remember
gabucino
parents: 3268
diff changeset
824
2848
33c32f3d9f1f many small updates, fixes (some/more to be completed soon)
gabucino
parents: 2747
diff changeset
825
8177
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
826 <H4><A NAME="vidix">2.3.1.2.12 VIDIX</A></H4>
4199
bcaf75e384d8 Added (sigh, reHTMLized;)) Nick's VIDIX patch
gabucino
parents: 4177
diff changeset
827
9282
513e02e2e553 fixing others' 10/100liters
gabucino
parents: 9260
diff changeset
828 <H4>PREAMBLE</H4>
9255
c82e31b31194 my patches sent to dev-eng (i feel me brave) Diego, fix my wording bugs, and dont be angry.
alex
parents: 9254
diff changeset
829
c82e31b31194 my patches sent to dev-eng (i feel me brave) Diego, fix my wording bugs, and dont be angry.
alex
parents: 9254
diff changeset
830 <P>VIDIX is the abbreviation for <B>VID</B>eo <B>I</B>nterface for *ni<B>X</B>.
c82e31b31194 my patches sent to dev-eng (i feel me brave) Diego, fix my wording bugs, and dont be angry.
alex
parents: 9254
diff changeset
831 It was designed and introduced as an interface for fast user-space drivers
c82e31b31194 my patches sent to dev-eng (i feel me brave) Diego, fix my wording bugs, and dont be angry.
alex
parents: 9254
diff changeset
832 providing such video performance as mga_vid does for Matrox cards. It's also
c82e31b31194 my patches sent to dev-eng (i feel me brave) Diego, fix my wording bugs, and dont be angry.
alex
parents: 9254
diff changeset
833 very portable.</P>
4199
bcaf75e384d8 Added (sigh, reHTMLized;)) Nick's VIDIX patch
gabucino
parents: 4177
diff changeset
834
bcaf75e384d8 Added (sigh, reHTMLized;)) Nick's VIDIX patch
gabucino
parents: 4177
diff changeset
835 <P>This interface was designed as an attempt to fit existing video acceleration
6583
4b7d097a9c69 big update
gabucino
parents: 6499
diff changeset
836 interfaces (known as mga_vid, rage128_vid, radeon_vid, pm3_vid) into a fixed scheme. It
4199
bcaf75e384d8 Added (sigh, reHTMLized;)) Nick's VIDIX patch
gabucino
parents: 4177
diff changeset
837 provides highlevel interface to chips which are known as BES (BackEnd
bcaf75e384d8 Added (sigh, reHTMLized;)) Nick's VIDIX patch
gabucino
parents: 4177
diff changeset
838 scalers) or OV (Video Overlays). It doesn't provide lowlevel interface to
bcaf75e384d8 Added (sigh, reHTMLized;)) Nick's VIDIX patch
gabucino
parents: 4177
diff changeset
839 things which are known as graphics servers. (I don't want to compete with X11
bcaf75e384d8 Added (sigh, reHTMLized;)) Nick's VIDIX patch
gabucino
parents: 4177
diff changeset
840 team in graphics mode switching). I.e. main goal of this interface is to
6974
916f62dd0910 Another big batch of cosmetics *only*.
diego
parents: 6960
diff changeset
841 maximize the speed of video playback.</P>
4199
bcaf75e384d8 Added (sigh, reHTMLized;)) Nick's VIDIX patch
gabucino
parents: 4177
diff changeset
842
9282
513e02e2e553 fixing others' 10/100liters
gabucino
parents: 9260
diff changeset
843 <H4>USAGE</H4>
4199
bcaf75e384d8 Added (sigh, reHTMLized;)) Nick's VIDIX patch
gabucino
parents: 4177
diff changeset
844
6435
d0d74f9d8d4a Background now set by CSS, added doctype and charset.
diego
parents: 6393
diff changeset
845 <UL>
4199
bcaf75e384d8 Added (sigh, reHTMLized;)) Nick's VIDIX patch
gabucino
parents: 4177
diff changeset
846 <LI>You can use standalone video output driver: <CODE>-vo xvidix</CODE><BR>
8177
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
847 This driver was developed as X11's front end to VIDIX technology. It
8029
6ccd72982b88 Document xvidix pixmap corruption issue and known workarounds.
ranma
parents: 8021
diff changeset
848 requires X server and can work only under X server. Note that, as it
6ccd72982b88 Document xvidix pixmap corruption issue and known workarounds.
ranma
parents: 8021
diff changeset
849 directly accesses the hardware and circumvents the X driver, pixmaps
6ccd72982b88 Document xvidix pixmap corruption issue and known workarounds.
ranma
parents: 8021
diff changeset
850 cached in the graphics card's memory may be corrupted. You can prevent
6ccd72982b88 Document xvidix pixmap corruption issue and known workarounds.
ranma
parents: 8021
diff changeset
851 this by limiting the amount of video memory used by X with the XF86Config
6ccd72982b88 Document xvidix pixmap corruption issue and known workarounds.
ranma
parents: 8021
diff changeset
852 option "VideoRam" in the device section. You should set this to the amount
6ccd72982b88 Document xvidix pixmap corruption issue and known workarounds.
ranma
parents: 8021
diff changeset
853 of memory installed on your card minus 4MB. If you have less than 8MB of
6ccd72982b88 Document xvidix pixmap corruption issue and known workarounds.
ranma
parents: 8021
diff changeset
854 video ram, you can use the option "XaaNoPixmapCache" in the screen section
6ccd72982b88 Document xvidix pixmap corruption issue and known workarounds.
ranma
parents: 8021
diff changeset
855 instead.</LI>
4199
bcaf75e384d8 Added (sigh, reHTMLized;)) Nick's VIDIX patch
gabucino
parents: 4177
diff changeset
856 <LI>You can use VIDIX subdevice which was applied to several video output
bcaf75e384d8 Added (sigh, reHTMLized;)) Nick's VIDIX patch
gabucino
parents: 4177
diff changeset
857 drivers, such as:<BR>
7015
72059027f953 Applied patch by Andras Mohari <mayday at varoshaza nagyatad hu> in a
diego
parents: 6998
diff changeset
858 <CODE>-vo vesa:vidix</CODE> (<B>Linux only</B>) and <CODE>-vo fbdev:vidix</CODE></LI>
6435
d0d74f9d8d4a Background now set by CSS, added doctype and charset.
diego
parents: 6393
diff changeset
859 </UL>
6974
916f62dd0910 Another big batch of cosmetics *only*.
diego
parents: 6960
diff changeset
860
6435
d0d74f9d8d4a Background now set by CSS, added doctype and charset.
diego
parents: 6393
diff changeset
861 Indeed it doesn't matter which video output driver is used with <B>VIDIX</B>.
4199
bcaf75e384d8 Added (sigh, reHTMLized;)) Nick's VIDIX patch
gabucino
parents: 4177
diff changeset
862
9282
513e02e2e553 fixing others' 10/100liters
gabucino
parents: 9260
diff changeset
863 <H4>REQUIREMENTS</H4>
4199
bcaf75e384d8 Added (sigh, reHTMLized;)) Nick's VIDIX patch
gabucino
parents: 4177
diff changeset
864
6435
d0d74f9d8d4a Background now set by CSS, added doctype and charset.
diego
parents: 6393
diff changeset
865 <UL>
d0d74f9d8d4a Background now set by CSS, added doctype and charset.
diego
parents: 6393
diff changeset
866 <LI>video card should be in graphics mode (I write <B>should</B> simply
4199
bcaf75e384d8 Added (sigh, reHTMLized;)) Nick's VIDIX patch
gabucino
parents: 4177
diff changeset
867 because I tested it in text mode - it works but has awful output ;) Use
bcaf75e384d8 Added (sigh, reHTMLized;)) Nick's VIDIX patch
gabucino
parents: 4177
diff changeset
868 AAlib for that).<BR>
bcaf75e384d8 Added (sigh, reHTMLized;)) Nick's VIDIX patch
gabucino
parents: 4177
diff changeset
869 <I>Note: Everyone can try this trick by commenting out mode switching in
bcaf75e384d8 Added (sigh, reHTMLized;)) Nick's VIDIX patch
gabucino
parents: 4177
diff changeset
870 vo_vesa driver.</I></LI>
7814
988498df1996 <B>MPlayer</B> ---> MPlayer
diego
parents: 7793
diff changeset
871 <LI>MPlayer's video output driver should know active video mode and be
4199
bcaf75e384d8 Added (sigh, reHTMLized;)) Nick's VIDIX patch
gabucino
parents: 4177
diff changeset
872 able to tell to VIDIX subdevice some video characteristics of server.</LI>
6435
d0d74f9d8d4a Background now set by CSS, added doctype and charset.
diego
parents: 6393
diff changeset
873 </UL>
6974
916f62dd0910 Another big batch of cosmetics *only*.
diego
parents: 6960
diff changeset
874
9282
513e02e2e553 fixing others' 10/100liters
gabucino
parents: 9260
diff changeset
875 <H4>USAGE METHODS</H4>
4199
bcaf75e384d8 Added (sigh, reHTMLized;)) Nick's VIDIX patch
gabucino
parents: 4177
diff changeset
876
6435
d0d74f9d8d4a Background now set by CSS, added doctype and charset.
diego
parents: 6393
diff changeset
877 <P>When VIDIX is used as <B>subdevice</B> (<CODE>-vo vesa:vidix</CODE>) then
4199
bcaf75e384d8 Added (sigh, reHTMLized;)) Nick's VIDIX patch
gabucino
parents: 4177
diff changeset
878 video mode configuration is performed by video output device
6435
d0d74f9d8d4a Background now set by CSS, added doctype and charset.
diego
parents: 6393
diff changeset
879 (<B>vo_server</B> in short). Therefore you can pass into command line of
7814
988498df1996 <B>MPlayer</B> ---> MPlayer
diego
parents: 7793
diff changeset
880 MPlayer the same keys as for vo_server. In addition it understands
4199
bcaf75e384d8 Added (sigh, reHTMLized;)) Nick's VIDIX patch
gabucino
parents: 4177
diff changeset
881 <CODE>-double</CODE> key as globally visible parameter. (I recommend using
9255
c82e31b31194 my patches sent to dev-eng (i feel me brave) Diego, fix my wording bugs, and dont be angry.
alex
parents: 9254
diff changeset
882 this key with VIDIX at least for ATI cards).<BR>
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
883 As for <CODE>-vo xvidix</CODE>: currently it recognizes the following
6974
916f62dd0910 Another big batch of cosmetics *only*.
diego
parents: 6960
diff changeset
884 options: <CODE>-fs -zoom -x -y -double</CODE>.</P>
4199
bcaf75e384d8 Added (sigh, reHTMLized;)) Nick's VIDIX patch
gabucino
parents: 4177
diff changeset
885
bcaf75e384d8 Added (sigh, reHTMLized;)) Nick's VIDIX patch
gabucino
parents: 4177
diff changeset
886 <P>Also you can specify VIDIX's driver directly as third subargument in command
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
887 line:<BR>
4199
bcaf75e384d8 Added (sigh, reHTMLized;)) Nick's VIDIX patch
gabucino
parents: 4177
diff changeset
888 <BR>
bcaf75e384d8 Added (sigh, reHTMLized;)) Nick's VIDIX patch
gabucino
parents: 4177
diff changeset
889 &nbsp;&nbsp;<code>mplayer -vo xvidix:mga_vid.so -fs -zoom -double
bcaf75e384d8 Added (sigh, reHTMLized;)) Nick's VIDIX patch
gabucino
parents: 4177
diff changeset
890 file.avi</code><BR>
bcaf75e384d8 Added (sigh, reHTMLized;)) Nick's VIDIX patch
gabucino
parents: 4177
diff changeset
891 or<BR>
bcaf75e384d8 Added (sigh, reHTMLized;)) Nick's VIDIX patch
gabucino
parents: 4177
diff changeset
892 &nbsp;&nbsp;<code>mplayer -vo vesa:vidix:radeon_vid.so -fs -zoom -double -bpp
bcaf75e384d8 Added (sigh, reHTMLized;)) Nick's VIDIX patch
gabucino
parents: 4177
diff changeset
893 32 file.avi</code><BR>
bcaf75e384d8 Added (sigh, reHTMLized;)) Nick's VIDIX patch
gabucino
parents: 4177
diff changeset
894 <BR>
bcaf75e384d8 Added (sigh, reHTMLized;)) Nick's VIDIX patch
gabucino
parents: 4177
diff changeset
895 But it's dangerous, and you shouldn't do that. In this case given driver will
6435
d0d74f9d8d4a Background now set by CSS, added doctype and charset.
diego
parents: 6393
diff changeset
896 be forced and result is unpredictable (it may <B>freeze</B> your
4339
4b231f3778a6 entudjam?
gabucino
parents: 4223
diff changeset
897 computer). You should do that ONLY if you are absolutely sure it will work,
7814
988498df1996 <B>MPlayer</B> ---> MPlayer
diego
parents: 7793
diff changeset
898 and MPlayer doesn't do it automatically. Please tell about it to the
4339
4b231f3778a6 entudjam?
gabucino
parents: 4223
diff changeset
899 developers. The Right Way is to use VIDIX without arguments to enable driver
6974
916f62dd0910 Another big batch of cosmetics *only*.
diego
parents: 6960
diff changeset
900 autodetection.</P>
4199
bcaf75e384d8 Added (sigh, reHTMLized;)) Nick's VIDIX patch
gabucino
parents: 4177
diff changeset
901
9255
c82e31b31194 my patches sent to dev-eng (i feel me brave) Diego, fix my wording bugs, and dont be angry.
alex
parents: 9254
diff changeset
902 <P>VIDIX is a new technology and it's extremely possible that on your system
9260
ea27d0f2d90d Small fixes and modelines moved to a more sensible place.
diego
parents: 9255
diff changeset
903 it won't work. In this case the only solution for you is porting it (mainly
ea27d0f2d90d Small fixes and modelines moved to a more sensible place.
diego
parents: 9255
diff changeset
904 libdha). But there is hope that it will work on systems where X11 does.</P>
4199
bcaf75e384d8 Added (sigh, reHTMLized;)) Nick's VIDIX patch
gabucino
parents: 4177
diff changeset
905
9241
537ff3f9961d VIDIX and PowerVR updates, based on a patch by Alex.
diego
parents: 9174
diff changeset
906 <P>Since VIDIX requires direct hardware access you can either run it as root or
537ff3f9961d VIDIX and PowerVR updates, based on a patch by Alex.
diego
parents: 9174
diff changeset
907 set the SUID bit on the MPlayer binary (<B>Warning: This is a security
537ff3f9961d VIDIX and PowerVR updates, based on a patch by Alex.
diego
parents: 9174
diff changeset
908 risk!</B>). Alternatively, you can use a special kernel module, like this:</P>
537ff3f9961d VIDIX and PowerVR updates, based on a patch by Alex.
diego
parents: 9174
diff changeset
909
537ff3f9961d VIDIX and PowerVR updates, based on a patch by Alex.
diego
parents: 9174
diff changeset
910 <OL>
537ff3f9961d VIDIX and PowerVR updates, based on a patch by Alex.
diego
parents: 9174
diff changeset
911 <LI>Download the
537ff3f9961d VIDIX and PowerVR updates, based on a patch by Alex.
diego
parents: 9174
diff changeset
912 <A HREF="http://www.arava.co.il/matan/svgalib/">development version</A>
9282
513e02e2e553 fixing others' 10/100liters
gabucino
parents: 9260
diff changeset
913 of svgalib (for example 1.9.17),<BR>
513e02e2e553 fixing others' 10/100liters
gabucino
parents: 9260
diff changeset
914 <B>OR</B><BR>
513e02e2e553 fixing others' 10/100liters
gabucino
parents: 9260
diff changeset
915 download a version made by Alex especially for usage with
9255
c82e31b31194 my patches sent to dev-eng (i feel me brave) Diego, fix my wording bugs, and dont be angry.
alex
parents: 9254
diff changeset
916 MPlayer (it doesn't need the svgalib source to compile) from
c82e31b31194 my patches sent to dev-eng (i feel me brave) Diego, fix my wording bugs, and dont be angry.
alex
parents: 9254
diff changeset
917 <A HREF="http://www.mplayerhq.hu/~alex/svgalib_helper-1.9.17-mplayer.tar.bz2">
9282
513e02e2e553 fixing others' 10/100liters
gabucino
parents: 9260
diff changeset
918 here</A>.</LI>
9255
c82e31b31194 my patches sent to dev-eng (i feel me brave) Diego, fix my wording bugs, and dont be angry.
alex
parents: 9254
diff changeset
919 <LI>Compile the module in the <CODE>svgalib_helper</CODE> directory (it can
c82e31b31194 my patches sent to dev-eng (i feel me brave) Diego, fix my wording bugs, and dont be angry.
alex
parents: 9254
diff changeset
920 be found inside the <CODE>svgalib-1.9.17/kernel/</CODE> directory if you've
c82e31b31194 my patches sent to dev-eng (i feel me brave) Diego, fix my wording bugs, and dont be angry.
alex
parents: 9254
diff changeset
921 downloaded the source from the svgalib site) and insmod it.</LI>
c82e31b31194 my patches sent to dev-eng (i feel me brave) Diego, fix my wording bugs, and dont be angry.
alex
parents: 9254
diff changeset
922 <LI>Move the <CODE>svgalib_helper</CODE> directory to
9241
537ff3f9961d VIDIX and PowerVR updates, based on a patch by Alex.
diego
parents: 9174
diff changeset
923 <CODE>mplayer/main/libdha/svgalib_helper</CODE>.</LI>
9260
ea27d0f2d90d Small fixes and modelines moved to a more sensible place.
diego
parents: 9255
diff changeset
924 <LI>Required if you download the source from the svgalib site: Remove the
9255
c82e31b31194 my patches sent to dev-eng (i feel me brave) Diego, fix my wording bugs, and dont be angry.
alex
parents: 9254
diff changeset
925 comment before the CFLAGS line containing "svgalib_helper" string from the
c82e31b31194 my patches sent to dev-eng (i feel me brave) Diego, fix my wording bugs, and dont be angry.
alex
parents: 9254
diff changeset
926 <CODE>libdha/Makefile</CODE>.</LI>
9241
537ff3f9961d VIDIX and PowerVR updates, based on a patch by Alex.
diego
parents: 9174
diff changeset
927 <LI>Recompile and install libdha.</LI>
537ff3f9961d VIDIX and PowerVR updates, based on a patch by Alex.
diego
parents: 9174
diff changeset
928 </OL>
537ff3f9961d VIDIX and PowerVR updates, based on a patch by Alex.
diego
parents: 9174
diff changeset
929
537ff3f9961d VIDIX and PowerVR updates, based on a patch by Alex.
diego
parents: 9174
diff changeset
930
537ff3f9961d VIDIX and PowerVR updates, based on a patch by Alex.
diego
parents: 9174
diff changeset
931 <H4><A NAME="vidix_ati">2.3.1.2.12.1 ATI cards</A></H4>
537ff3f9961d VIDIX and PowerVR updates, based on a patch by Alex.
diego
parents: 9174
diff changeset
932
537ff3f9961d VIDIX and PowerVR updates, based on a patch by Alex.
diego
parents: 9174
diff changeset
933 <P>Currently most ATI cards are supported natively, from Mach64 to the newest
537ff3f9961d VIDIX and PowerVR updates, based on a patch by Alex.
diego
parents: 9174
diff changeset
934 Radeons.</P>
537ff3f9961d VIDIX and PowerVR updates, based on a patch by Alex.
diego
parents: 9174
diff changeset
935
537ff3f9961d VIDIX and PowerVR updates, based on a patch by Alex.
diego
parents: 9174
diff changeset
936 <P>There are two compiled binaries: <CODE>radeon_vid</CODE> for Radeon and
537ff3f9961d VIDIX and PowerVR updates, based on a patch by Alex.
diego
parents: 9174
diff changeset
937 <CODE>rage128_vid</CODE> for Rage 128 cards. You may force one or let the
537ff3f9961d VIDIX and PowerVR updates, based on a patch by Alex.
diego
parents: 9174
diff changeset
938 VIDIX system autoprobe all available drivers.</P>
537ff3f9961d VIDIX and PowerVR updates, based on a patch by Alex.
diego
parents: 9174
diff changeset
939
4199
bcaf75e384d8 Added (sigh, reHTMLized;)) Nick's VIDIX patch
gabucino
parents: 4177
diff changeset
940
9241
537ff3f9961d VIDIX and PowerVR updates, based on a patch by Alex.
diego
parents: 9174
diff changeset
941 <H4><A NAME="vidix_matrox">2.3.1.2.12.2 Matrox cards</A></H4>
537ff3f9961d VIDIX and PowerVR updates, based on a patch by Alex.
diego
parents: 9174
diff changeset
942
537ff3f9961d VIDIX and PowerVR updates, based on a patch by Alex.
diego
parents: 9174
diff changeset
943 <P>Matrox G200,G400,G450 and G550 have been reported to work.</P>
537ff3f9961d VIDIX and PowerVR updates, based on a patch by Alex.
diego
parents: 9174
diff changeset
944
537ff3f9961d VIDIX and PowerVR updates, based on a patch by Alex.
diego
parents: 9174
diff changeset
945 <P>The driver supports video equalizers and should be nearly as fast as the
537ff3f9961d VIDIX and PowerVR updates, based on a patch by Alex.
diego
parents: 9174
diff changeset
946 <A HREF="#mga_vid">Matrox framebuffer</A>.</P>
537ff3f9961d VIDIX and PowerVR updates, based on a patch by Alex.
diego
parents: 9174
diff changeset
947
537ff3f9961d VIDIX and PowerVR updates, based on a patch by Alex.
diego
parents: 9174
diff changeset
948
9917
alex
parents: 9842
diff changeset
949 <H4><A NAME="vidix_trident">2.3.1.2.12.3 Trident cards</A></H4>
9241
537ff3f9961d VIDIX and PowerVR updates, based on a patch by Alex.
diego
parents: 9174
diff changeset
950
537ff3f9961d VIDIX and PowerVR updates, based on a patch by Alex.
diego
parents: 9174
diff changeset
951 <P>There is a driver available for the Trident Cyberblade/i1 chipset, which
537ff3f9961d VIDIX and PowerVR updates, based on a patch by Alex.
diego
parents: 9174
diff changeset
952 can be found on VIA Epia motherboards.</P>
537ff3f9961d VIDIX and PowerVR updates, based on a patch by Alex.
diego
parents: 9174
diff changeset
953
537ff3f9961d VIDIX and PowerVR updates, based on a patch by Alex.
diego
parents: 9174
diff changeset
954 <P>The driver was written and is maintained by Alastair M. Robinson, who offers
537ff3f9961d VIDIX and PowerVR updates, based on a patch by Alex.
diego
parents: 9174
diff changeset
955 the very latest driver versions for download from his
537ff3f9961d VIDIX and PowerVR updates, based on a patch by Alex.
diego
parents: 9174
diff changeset
956 <A HREF="http://www.blackfiveservices.co.uk/EPIAVidix.shtml">homepage</A>.
537ff3f9961d VIDIX and PowerVR updates, based on a patch by Alex.
diego
parents: 9174
diff changeset
957 The drivers are added to MPlayer with only a short delay, so CVS should always
537ff3f9961d VIDIX and PowerVR updates, based on a patch by Alex.
diego
parents: 9174
diff changeset
958 be up to date.</P>
537ff3f9961d VIDIX and PowerVR updates, based on a patch by Alex.
diego
parents: 9174
diff changeset
959
537ff3f9961d VIDIX and PowerVR updates, based on a patch by Alex.
diego
parents: 9174
diff changeset
960
537ff3f9961d VIDIX and PowerVR updates, based on a patch by Alex.
diego
parents: 9174
diff changeset
961 <H4><A NAME="vidix_3dlabs">2.3.1.2.12.4 3DLabs cards</A></H4>
537ff3f9961d VIDIX and PowerVR updates, based on a patch by Alex.
diego
parents: 9174
diff changeset
962
537ff3f9961d VIDIX and PowerVR updates, based on a patch by Alex.
diego
parents: 9174
diff changeset
963 <P>Although there is a driver for the 3DLabs GLINT R3 and Permedia3 chips,
537ff3f9961d VIDIX and PowerVR updates, based on a patch by Alex.
diego
parents: 9174
diff changeset
964 no one has tested it, so reports are welcome.</P>
537ff3f9961d VIDIX and PowerVR updates, based on a patch by Alex.
diego
parents: 9174
diff changeset
965
2956
f6b51da0a50d DOXized and applied Nick's radeon_vid patch. Nick, should I update
gabucino
parents: 2883
diff changeset
966
8177
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
967 <H4><A NAME="directfb">2.3.1.2.13 DirectFB</A></H4>
7192
f771e685f3b1 Zr documentation updated plus some typos fixed.
diego
parents: 7138
diff changeset
968
8177
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
969 <P><I>"DirectFB is a graphics library which was designed with embedded systems in
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
970 mind. It offers maximum hardware accelerated performance at a minimum of
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
971 resource usage and overhead."</I> - quoted from
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
972 <A HREF="http://www.directfb.org">http://www.directfb.org</A>.</P>
7192
f771e685f3b1 Zr documentation updated plus some typos fixed.
diego
parents: 7138
diff changeset
973
8177
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
974 <P>I'll exclude DirectFB features from this section.</P>
7192
f771e685f3b1 Zr documentation updated plus some typos fixed.
diego
parents: 7138
diff changeset
975
8177
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
976 <P>Though MPlayer is not supported as a "video provider" in DirectFB, this
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
977 output driver will enable video playback through DirectFB. It will -
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
978 of course - be accelerated, on my Matrox G400 DirectFB's speed was the
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
979 same as XVideo.</P>
4339
4b231f3778a6 entudjam?
gabucino
parents: 4223
diff changeset
980
8177
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
981 <P>Always try to use the newest version of DirectFB. You can use DirectFB
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
982 options on the command line, using the <CODE>-dfbopts</CODE> option.
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
983 Layer selection can be done by the subdevice method, e.g.: <CODE>-vo
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
984 directfb:2</CODE> (layer -1 is default: autodetect)</P>
4339
4b231f3778a6 entudjam?
gabucino
parents: 4223
diff changeset
985
7367
5b0baab4c4fd Numbering corrected.
diego
parents: 7281
diff changeset
986
8177
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
987 <H4><A NAME="dfbmga">2.3.1.2.14 DirectFB/Matrox (dfbmga)</A></H4>
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
988
8332
8368a516019e small updates, ATI TV-out, -vo directx:noaccel
diego
parents: 8260
diff changeset
989 <P>Please read the <A HREF="#directfb">main DirectFB section</A> for general
8177
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
990 informations.</P>
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
991
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
992 <P>This video output driver will enable CRTC2 (on the second head) on the
9529
1992bd6a788e dfb updates
gabucino
parents: 9510
diff changeset
993 Matrox G400/G450/G550 cards, displaying video <B>independently</B> of the
1992bd6a788e dfb updates
gabucino
parents: 9510
diff changeset
994 first head.</P>
8177
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
995
8449
ff22f772bd38 link added, section reworded.
diego
parents: 8447
diff changeset
996 <P>Instructions on how to make it work can be found in the
9387
72c0458c854a update of links regarding tech/ dir
nicolas
parents: 9382
diff changeset
997 <A HREF="../tech/directfb.txt">tech section</A>
8449
ff22f772bd38 link added, section reworded.
diego
parents: 8447
diff changeset
998 or directly on Ville Syrjala's
9529
1992bd6a788e dfb updates
gabucino
parents: 9510
diff changeset
999 <A HREF="http://www.sci.fi/~syrjala/directfb/Matrox_TV-out_README.txt">home page</A>.</P>
8177
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1000
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1001 <P>Note: we haven't been able to make this work, but others did. Anyway,
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1002 porting of the CRTC2 code to <B>mga_vid</B> is underway.</P>
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1003
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1004
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1005 <H4><A NAME="mpegdec">2.3.1.3 MPEG decoders</A></H4>
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1006
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1007 <H4><A NAME="dvb">2.3.1.3.1 DVB</A></H4>
6729
62b33bad8fca Added DVB to the HTML docs.
diego
parents: 6599
diff changeset
1008
7814
988498df1996 <B>MPlayer</B> ---> MPlayer
diego
parents: 7793
diff changeset
1009 <P>MPlayer supports cards with the Siemens DVB chipset from vendors like
8177
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1010 Siemens, Technotrend, Galaxis or Hauppauge. The latest DVB drivers are
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
1011 available from the <A HREF="http://www.linuxtv.org">Linux TV site</A>. If you
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
1012 want to do software transcoding you should have at least a 1GHz CPU.</P>
6729
62b33bad8fca Added DVB to the HTML docs.
diego
parents: 6599
diff changeset
1013
8420
a986112926f4 small html fixes
gabucino
parents: 8332
diff changeset
1014 <P>Configure should detect your DVB card. If it did not, force detection with</P>
6729
62b33bad8fca Added DVB to the HTML docs.
diego
parents: 6599
diff changeset
1015
62b33bad8fca Added DVB to the HTML docs.
diego
parents: 6599
diff changeset
1016 <PRE>
62b33bad8fca Added DVB to the HTML docs.
diego
parents: 6599
diff changeset
1017 ./configure --enable-dvb
62b33bad8fca Added DVB to the HTML docs.
diego
parents: 6599
diff changeset
1018 </PRE>
62b33bad8fca Added DVB to the HTML docs.
diego
parents: 6599
diff changeset
1019
62b33bad8fca Added DVB to the HTML docs.
diego
parents: 6599
diff changeset
1020 <P>If you have ost headers at a non-standard path, set the path with</P>
62b33bad8fca Added DVB to the HTML docs.
diego
parents: 6599
diff changeset
1021
62b33bad8fca Added DVB to the HTML docs.
diego
parents: 6599
diff changeset
1022 <PRE>
62b33bad8fca Added DVB to the HTML docs.
diego
parents: 6599
diff changeset
1023 ./configure --with-extraincdir=&lt;DVB source directory&gt;/ost/include
62b33bad8fca Added DVB to the HTML docs.
diego
parents: 6599
diff changeset
1024 </PRE>
62b33bad8fca Added DVB to the HTML docs.
diego
parents: 6599
diff changeset
1025
62b33bad8fca Added DVB to the HTML docs.
diego
parents: 6599
diff changeset
1026 <P>Then compile and install as usual.</P>
62b33bad8fca Added DVB to the HTML docs.
diego
parents: 6599
diff changeset
1027
9282
513e02e2e553 fixing others' 10/100liters
gabucino
parents: 9260
diff changeset
1028 <H4>USAGE</H4>
6732
8460a77203de DXR3 moved to video.html. TOC updated, added <CODE> where appropiate.
diego
parents: 6729
diff changeset
1029
6729
62b33bad8fca Added DVB to the HTML docs.
diego
parents: 6599
diff changeset
1030 <P>Hardware decoding (playing standard MPEG1/2 files) can be done with this
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
1031 command:</P>
6729
62b33bad8fca Added DVB to the HTML docs.
diego
parents: 6599
diff changeset
1032
62b33bad8fca Added DVB to the HTML docs.
diego
parents: 6599
diff changeset
1033 <PRE>
62b33bad8fca Added DVB to the HTML docs.
diego
parents: 6599
diff changeset
1034 mplayer -ao mpegpes -vo mpegpes file.mpg|vob
62b33bad8fca Added DVB to the HTML docs.
diego
parents: 6599
diff changeset
1035 </PRE>
62b33bad8fca Added DVB to the HTML docs.
diego
parents: 6599
diff changeset
1036
62b33bad8fca Added DVB to the HTML docs.
diego
parents: 6599
diff changeset
1037 <P>Software decoding or transcoding different formats to MPEG1 can be achieved
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
1038 using a command like this:</P>
6729
62b33bad8fca Added DVB to the HTML docs.
diego
parents: 6599
diff changeset
1039
62b33bad8fca Added DVB to the HTML docs.
diego
parents: 6599
diff changeset
1040 <PRE>
9506
6c6ea2b4cfdb default.css path fixed (it needs to be moved on CVS server!!)
gabucino
parents: 9387
diff changeset
1041 mplayer -ao mpegpes -vo mpegpes yourfile.ext
9644
0fe056bdb135 vop -> vf change, small fixes. The Polish documentation should be checked for correctness.
jonas
parents: 9529
diff changeset
1042 mplayer -ao mpegpes -vo mpegpes -vf expand yourfile.ext
6729
62b33bad8fca Added DVB to the HTML docs.
diego
parents: 6599
diff changeset
1043 </PRE>
62b33bad8fca Added DVB to the HTML docs.
diego
parents: 6599
diff changeset
1044
62b33bad8fca Added DVB to the HTML docs.
diego
parents: 6599
diff changeset
1045 <P>Note that DVB cards only support heights 288 and 576 for PAL or 240 and 480
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
1046 for NTSC. You <B>must</B> rescale for other heights by adding
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
1047 <CODE>scale=width:height</CODE> with the width and height you want to the
9644
0fe056bdb135 vop -> vf change, small fixes. The Polish documentation should be checked for correctness.
jonas
parents: 9529
diff changeset
1048 <CODE>-vf</CODE> option. DVB cards accept various widths, like 720, 704,
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
1049 640, 512, 480, 352 etc and do hardware scaling in horizontal direction, so
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
1050 you do not need to scale horizontally in most cases. For a 512x384 (aspect
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
1051 4:3) DivX try:</P>
6729
62b33bad8fca Added DVB to the HTML docs.
diego
parents: 6599
diff changeset
1052
62b33bad8fca Added DVB to the HTML docs.
diego
parents: 6599
diff changeset
1053 <PRE>
9644
0fe056bdb135 vop -> vf change, small fixes. The Polish documentation should be checked for correctness.
jonas
parents: 9529
diff changeset
1054 mplayer -ao mpegpes -vo mpegpes -vf scale=512:576
6729
62b33bad8fca Added DVB to the HTML docs.
diego
parents: 6599
diff changeset
1055 </PRE>
62b33bad8fca Added DVB to the HTML docs.
diego
parents: 6599
diff changeset
1056
62b33bad8fca Added DVB to the HTML docs.
diego
parents: 6599
diff changeset
1057 <P>If you have a widescreen movie and you do not want to scale it to full height,
8420
a986112926f4 small html fixes
gabucino
parents: 8332
diff changeset
1058 you can use the <CODE>expand=w:h</CODE> filter to add black bands. To view a
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
1059 640x384 DivX, try:</P>
6729
62b33bad8fca Added DVB to the HTML docs.
diego
parents: 6599
diff changeset
1060
62b33bad8fca Added DVB to the HTML docs.
diego
parents: 6599
diff changeset
1061 <PRE>
9644
0fe056bdb135 vop -> vf change, small fixes. The Polish documentation should be checked for correctness.
jonas
parents: 9529
diff changeset
1062 mplayer -ao mpegpes -vo mpegpes -vf expand=640:576 file.avi
6729
62b33bad8fca Added DVB to the HTML docs.
diego
parents: 6599
diff changeset
1063 </PRE>
62b33bad8fca Added DVB to the HTML docs.
diego
parents: 6599
diff changeset
1064
62b33bad8fca Added DVB to the HTML docs.
diego
parents: 6599
diff changeset
1065 <P>If your CPU is too slow for a full size 720x576 DivX, try downscaling:</P>
62b33bad8fca Added DVB to the HTML docs.
diego
parents: 6599
diff changeset
1066
62b33bad8fca Added DVB to the HTML docs.
diego
parents: 6599
diff changeset
1067 <PRE>
9644
0fe056bdb135 vop -> vf change, small fixes. The Polish documentation should be checked for correctness.
jonas
parents: 9529
diff changeset
1068 mplayer -ao mpegpes -vo mpegpes -vf scale=352:576 file.avi
6729
62b33bad8fca Added DVB to the HTML docs.
diego
parents: 6599
diff changeset
1069 </PRE>
62b33bad8fca Added DVB to the HTML docs.
diego
parents: 6599
diff changeset
1070
62b33bad8fca Added DVB to the HTML docs.
diego
parents: 6599
diff changeset
1071 <P>If speed does not improve, try vertical downscaling, too:</P>
62b33bad8fca Added DVB to the HTML docs.
diego
parents: 6599
diff changeset
1072
62b33bad8fca Added DVB to the HTML docs.
diego
parents: 6599
diff changeset
1073 <PRE>
9644
0fe056bdb135 vop -> vf change, small fixes. The Polish documentation should be checked for correctness.
jonas
parents: 9529
diff changeset
1074 mplayer -ao mpegpes -vo mpegpes -vf scale=352:288 file.avi
6729
62b33bad8fca Added DVB to the HTML docs.
diego
parents: 6599
diff changeset
1075 </PRE>
62b33bad8fca Added DVB to the HTML docs.
diego
parents: 6599
diff changeset
1076
8420
a986112926f4 small html fixes
gabucino
parents: 8332
diff changeset
1077 <P>For OSD and subtitles use the OSD feature of the expand filter. So, instead
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
1078 of <CODE>expand=w:h</CODE> or <CODE>expand=w:h:x:y</CODE>, use
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
1079 <CODE>expand=w:h:x:y:1</CODE> (the 5th parameter <CODE>:1</CODE> at the end
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
1080 will enable OSD rendering). You may want to move the image up a bit to get a
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
1081 bigger black zone for subtitles. You may also want to move subtitles up, if
9138
42667fd91d4a changing "switch" -> "option" (unwritten DOCS rule)
gabucino
parents: 9086
diff changeset
1082 they are outside your TV screen, use the <CODE>-subpos &lt;0-100&gt;</CODE> option
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
1083 to adjust this (<CODE>-subpos 80</CODE> is a good choice).</P>
6729
62b33bad8fca Added DVB to the HTML docs.
diego
parents: 6599
diff changeset
1084
62b33bad8fca Added DVB to the HTML docs.
diego
parents: 6599
diff changeset
1085 <P>In order to play non-25fps movies on a PAL TV or with a slow CPU, add the
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
1086 <CODE>-framedrop</CODE> option.</P>
6729
62b33bad8fca Added DVB to the HTML docs.
diego
parents: 6599
diff changeset
1087
62b33bad8fca Added DVB to the HTML docs.
diego
parents: 6599
diff changeset
1088 <P>To keep the aspect ratio of DivX files and get the optimal scaling parameters
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
1089 (hardware horizontal scaling and software vertical scaling while keeping the
8420
a986112926f4 small html fixes
gabucino
parents: 8332
diff changeset
1090 right aspect ratio), use the new dvbscale filter:</P>
6729
62b33bad8fca Added DVB to the HTML docs.
diego
parents: 6599
diff changeset
1091
62b33bad8fca Added DVB to the HTML docs.
diego
parents: 6599
diff changeset
1092 <PRE>
9644
0fe056bdb135 vop -> vf change, small fixes. The Polish documentation should be checked for correctness.
jonas
parents: 9529
diff changeset
1093 for 3:4 TV: -vf dvbscale,scale=-1:0,expand=-1:576:-1:-1:1
0fe056bdb135 vop -> vf change, small fixes. The Polish documentation should be checked for correctness.
jonas
parents: 9529
diff changeset
1094 for 16:9 TV: -vf dvbscale=1024,scale=-1:0,expand=-1:576:-1:-1:1
6729
62b33bad8fca Added DVB to the HTML docs.
diego
parents: 6599
diff changeset
1095 </PRE>
62b33bad8fca Added DVB to the HTML docs.
diego
parents: 6599
diff changeset
1096
9282
513e02e2e553 fixing others' 10/100liters
gabucino
parents: 9260
diff changeset
1097 <H4>FUTURE</H4>
6732
8460a77203de DXR3 moved to video.html. TOC updated, added <CODE> where appropiate.
diego
parents: 6729
diff changeset
1098
6729
62b33bad8fca Added DVB to the HTML docs.
diego
parents: 6599
diff changeset
1099 <P>If you have questions or want to hear feature announcements and take part in
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
1100 discussions on this subject, join our
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
1101 <A HREF="http://mplayerhq.hu/mailman/listinfo/mplayer-dvb">MPlayer-DVB</A>
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
1102 mailing list. Please remember that the list language is English.</P>
6729
62b33bad8fca Added DVB to the HTML docs.
diego
parents: 6599
diff changeset
1103
62b33bad8fca Added DVB to the HTML docs.
diego
parents: 6599
diff changeset
1104 <P>In the future you may expect the ability to display OSD and subtitles using
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
1105 the native OSD feature of DVB cards, as well as more fluent playback of
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
1106 non-25fps movies and realtime transcoding between MPEG2 and MPEG4 (partial
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
1107 decompression).</P>
6729
62b33bad8fca Added DVB to the HTML docs.
diego
parents: 6599
diff changeset
1108
4496
bf7ea03b1adf Vidix video equalizing (Nick's patch)
gabucino
parents: 4360
diff changeset
1109
8177
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1110 <H4><A NAME="dxr2">2.3.1.3.2 DXR2</A></H4>
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1111
9506
6c6ea2b4cfdb default.css path fixed (it needs to be moved on CVS server!!)
gabucino
parents: 9387
diff changeset
1112 <P>MPlayer supports hardware accelerated playback with the Creative DXR2
6c6ea2b4cfdb default.css path fixed (it needs to be moved on CVS server!!)
gabucino
parents: 9387
diff changeset
1113 card.</P>
6c6ea2b4cfdb default.css path fixed (it needs to be moved on CVS server!!)
gabucino
parents: 9387
diff changeset
1114
6c6ea2b4cfdb default.css path fixed (it needs to be moved on CVS server!!)
gabucino
parents: 9387
diff changeset
1115 <P>First of all you will need properly installed DXR2 drivers. You can find
6c6ea2b4cfdb default.css path fixed (it needs to be moved on CVS server!!)
gabucino
parents: 9387
diff changeset
1116 the drivers and installation instructions at the
6c6ea2b4cfdb default.css path fixed (it needs to be moved on CVS server!!)
gabucino
parents: 9387
diff changeset
1117 <A HREF="http://dxr2.sourceforge.net/">DXR2 Resource Center</A> site.</P>
6c6ea2b4cfdb default.css path fixed (it needs to be moved on CVS server!!)
gabucino
parents: 9387
diff changeset
1118
6c6ea2b4cfdb default.css path fixed (it needs to be moved on CVS server!!)
gabucino
parents: 9387
diff changeset
1119 <H4>USAGE</H4>
6c6ea2b4cfdb default.css path fixed (it needs to be moved on CVS server!!)
gabucino
parents: 9387
diff changeset
1120 <DL>
6c6ea2b4cfdb default.css path fixed (it needs to be moved on CVS server!!)
gabucino
parents: 9387
diff changeset
1121 <DT><CODE>-vo dxr2</CODE></DT>
6c6ea2b4cfdb default.css path fixed (it needs to be moved on CVS server!!)
gabucino
parents: 9387
diff changeset
1122 <DD>enable TV output</DD>
6c6ea2b4cfdb default.css path fixed (it needs to be moved on CVS server!!)
gabucino
parents: 9387
diff changeset
1123 <DT><CODE>-vo dxr2:x11</CODE> or <CODE>-vo dxr2:xv</CODE></DT>
6c6ea2b4cfdb default.css path fixed (it needs to be moved on CVS server!!)
gabucino
parents: 9387
diff changeset
1124 <DD>enable Overlay output in X11</DD>
6c6ea2b4cfdb default.css path fixed (it needs to be moved on CVS server!!)
gabucino
parents: 9387
diff changeset
1125 <DT><CODE>-dxr2 &lt;option1:option2:...&gt;</CODE></DT>
6c6ea2b4cfdb default.css path fixed (it needs to be moved on CVS server!!)
gabucino
parents: 9387
diff changeset
1126 <DD>This option is used to control the DXR2 driver.</DD>
6c6ea2b4cfdb default.css path fixed (it needs to be moved on CVS server!!)
gabucino
parents: 9387
diff changeset
1127 </DL>
6c6ea2b4cfdb default.css path fixed (it needs to be moved on CVS server!!)
gabucino
parents: 9387
diff changeset
1128
6c6ea2b4cfdb default.css path fixed (it needs to be moved on CVS server!!)
gabucino
parents: 9387
diff changeset
1129 <P>The overlay chipset used on the DXR2 is of pretty bad quality but the
6c6ea2b4cfdb default.css path fixed (it needs to be moved on CVS server!!)
gabucino
parents: 9387
diff changeset
1130 default settings should work for everybody. The OSD may be usable with the
6c6ea2b4cfdb default.css path fixed (it needs to be moved on CVS server!!)
gabucino
parents: 9387
diff changeset
1131 overlay (not on TV) by drawing it in the colorkey. With the default colorkey
6c6ea2b4cfdb default.css path fixed (it needs to be moved on CVS server!!)
gabucino
parents: 9387
diff changeset
1132 settings you may get variable results, usually you will see the colorkey
6c6ea2b4cfdb default.css path fixed (it needs to be moved on CVS server!!)
gabucino
parents: 9387
diff changeset
1133 around the characters or some other funny effect. But if you properly adjust
6c6ea2b4cfdb default.css path fixed (it needs to be moved on CVS server!!)
gabucino
parents: 9387
diff changeset
1134 the colorkey settings you should be able to get acceptable results.</P>
6c6ea2b4cfdb default.css path fixed (it needs to be moved on CVS server!!)
gabucino
parents: 9387
diff changeset
1135
6c6ea2b4cfdb default.css path fixed (it needs to be moved on CVS server!!)
gabucino
parents: 9387
diff changeset
1136 <P>Please see the manpage for available options.</P>
8177
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1137
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1138
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1139 <H4><A NAME="dxr3">2.3.1.3.3 DXR3/Hollywood+</A></H4>
6732
8460a77203de DXR3 moved to video.html. TOC updated, added <CODE> where appropiate.
diego
parents: 6729
diff changeset
1140
7814
988498df1996 <B>MPlayer</B> ---> MPlayer
diego
parents: 7793
diff changeset
1141 <P>MPlayer supports hardware accelerated playback with the Creative DXR3
7270
60a3b83b73bf DXR3 docs updated. Patch by David Holm <david@realityrift.com>, further
diego
parents: 7192
diff changeset
1142 and Sigma Designs Hollywood Plus cards. These cards both use the em8300 MPEG
60a3b83b73bf DXR3 docs updated. Patch by David Holm <david@realityrift.com>, further
diego
parents: 7192
diff changeset
1143 decoder chip from Sigma Designs.</P>
6732
8460a77203de DXR3 moved to video.html. TOC updated, added <CODE> where appropiate.
diego
parents: 6729
diff changeset
1144
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
1145 <P>First of all you will need properly installed DXR3/H+ drivers, version
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
1146 0.12.0 or later. You can find the drivers and installation instructions at
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
1147 the <A HREF="http://dxr3.sourceforge.net/">DXR3 &amp; Hollywood Plus for
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
1148 Linux</A> site. Configure should detect your card automatically, compilation
7270
60a3b83b73bf DXR3 docs updated. Patch by David Holm <david@realityrift.com>, further
diego
parents: 7192
diff changeset
1149 should go without problems.</P>
6732
8460a77203de DXR3 moved to video.html. TOC updated, added <CODE> where appropiate.
diego
parents: 6729
diff changeset
1150
9282
513e02e2e553 fixing others' 10/100liters
gabucino
parents: 9260
diff changeset
1151 <H4>USAGE</H4>
7099
0b70f3dc34eb Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents: 7076
diff changeset
1152 <DL>
8550
fd750a80c93e DXR3 norm option, patch by Thomas Jarosch <tomj@simonv.com>.
diego
parents: 8509
diff changeset
1153 <DT><CODE>-vo dxr3:prebuf:sync:norm=x:&lt;device&gt;</CODE></DT>
8088
59f4133fbab5 Updated docs with DXR3 overlay info
mswitch
parents: 8029
diff changeset
1154 <DD><CODE>overlay</CODE> activates the overlay instead of TVOut. It requires
59f4133fbab5 Updated docs with DXR3 overlay info
mswitch
parents: 8029
diff changeset
1155 that you have a properly configured overlay setup to work right. The easiest
59f4133fbab5 Updated docs with DXR3 overlay info
mswitch
parents: 8029
diff changeset
1156 way to configure the overlay is to first run autocal. Then run mplayer with
59f4133fbab5 Updated docs with DXR3 overlay info
mswitch
parents: 8029
diff changeset
1157 dxr3 output and without overlay turned on, run dxr3view. In dxr3view you can
59f4133fbab5 Updated docs with DXR3 overlay info
mswitch
parents: 8029
diff changeset
1158 tweak the overlay settings and see the effects in realtime, perhaps this
59f4133fbab5 Updated docs with DXR3 overlay info
mswitch
parents: 8029
diff changeset
1159 feature will be supported by the MPlayer GUI in the future. When overlay is
59f4133fbab5 Updated docs with DXR3 overlay info
mswitch
parents: 8029
diff changeset
1160 properly set up you will no longer need to use dxr3view.<BR>
59f4133fbab5 Updated docs with DXR3 overlay info
mswitch
parents: 8029
diff changeset
1161 <CODE>prebuf</CODE> turns on prebuffering. Prebuffering is a feature
7270
60a3b83b73bf DXR3 docs updated. Patch by David Holm <david@realityrift.com>, further
diego
parents: 7192
diff changeset
1162 of the em8300 chip that enables it to hold more than one frame of video at
7951
32ae0a9d06aa Updated the DXR3 section to reflect command changes, prebuf replaced
mswitch
parents: 7937
diff changeset
1163 a time. This means that when you are running with prebuffering
7814
988498df1996 <B>MPlayer</B> ---> MPlayer
diego
parents: 7793
diff changeset
1164 MPlayer will try to keep the video buffer filled with data at all
988498df1996 <B>MPlayer</B> ---> MPlayer
diego
parents: 7793
diff changeset
1165 times. If you are on a slow machine MPlayer will probably use close
7270
60a3b83b73bf DXR3 docs updated. Patch by David Holm <david@realityrift.com>, further
diego
parents: 7192
diff changeset
1166 to, or precisely 100% of CPU. This is especially common if you play pure MPEG
7814
988498df1996 <B>MPlayer</B> ---> MPlayer
diego
parents: 7793
diff changeset
1167 streams (like DVDs, SVCDs a.s.o.) since MPlayer will not have to
7270
60a3b83b73bf DXR3 docs updated. Patch by David Holm <david@realityrift.com>, further
diego
parents: 7192
diff changeset
1168 reencode it to MPEG it will fill the buffer very fast.<BR>
60a3b83b73bf DXR3 docs updated. Patch by David Holm <david@realityrift.com>, further
diego
parents: 7192
diff changeset
1169 With prebuffering video playback is <B>much</B> less sensitive to other
60a3b83b73bf DXR3 docs updated. Patch by David Holm <david@realityrift.com>, further
diego
parents: 7192
diff changeset
1170 programs hogging the CPU, it will not drop frames unless applications hog
60a3b83b73bf DXR3 docs updated. Patch by David Holm <david@realityrift.com>, further
diego
parents: 7192
diff changeset
1171 the CPU for a long time.<BR>
7951
32ae0a9d06aa Updated the DXR3 section to reflect command changes, prebuf replaced
mswitch
parents: 7937
diff changeset
1172 When running without prebuffering the em8300 is much more sensitive to CPU
7969
9ec3f2b9a87f <B>MPlayer</B> --> MPlayer
diego
parents: 7951
diff changeset
1173 load, so it is highly suggested that you turn on MPlayer's
7951
32ae0a9d06aa Updated the DXR3 section to reflect command changes, prebuf replaced
mswitch
parents: 7937
diff changeset
1174 <CODE>-framedrop</CODE> option to avoid further loss of sync.<BR>
32ae0a9d06aa Updated the DXR3 section to reflect command changes, prebuf replaced
mswitch
parents: 7937
diff changeset
1175 <CODE>sync</CODE> will turn on the new sync-engine. This is currently an
32ae0a9d06aa Updated the DXR3 section to reflect command changes, prebuf replaced
mswitch
parents: 7937
diff changeset
1176 experimental feature. With the sync feature turned on the em8300's internal
32ae0a9d06aa Updated the DXR3 section to reflect command changes, prebuf replaced
mswitch
parents: 7937
diff changeset
1177 clock will be monitored at all times, if it starts to deviate from MPlayer's
32ae0a9d06aa Updated the DXR3 section to reflect command changes, prebuf replaced
mswitch
parents: 7937
diff changeset
1178 clock it will be reset causing the em8300 to drop any frames that are lagging
32ae0a9d06aa Updated the DXR3 section to reflect command changes, prebuf replaced
mswitch
parents: 7937
diff changeset
1179 behind.<BR>
8550
fd750a80c93e DXR3 norm option, patch by Thomas Jarosch <tomj@simonv.com>.
diego
parents: 8509
diff changeset
1180 <CODE>norm=x</CODE> will set the TV norm of the DXR3 card without the need
fd750a80c93e DXR3 norm option, patch by Thomas Jarosch <tomj@simonv.com>.
diego
parents: 8509
diff changeset
1181 for external tools like em8300setup. Valid norms are 5 = NTSC, 4 = PAL-60,
fd750a80c93e DXR3 norm option, patch by Thomas Jarosch <tomj@simonv.com>.
diego
parents: 8509
diff changeset
1182 3 = PAL. Special norms are 2 (auto-adjust using PAL/PAL-60) and 1
fd750a80c93e DXR3 norm option, patch by Thomas Jarosch <tomj@simonv.com>.
diego
parents: 8509
diff changeset
1183 (auto-adjust using PAL/NTSC) because they decide which norm to use by
8998
e5caaebc14d0 removed obsolete stuff
gabucino
parents: 8550
diff changeset
1184 looking at the frame rate of the movie. norm = 0 (default) does not
8550
fd750a80c93e DXR3 norm option, patch by Thomas Jarosch <tomj@simonv.com>.
diego
parents: 8509
diff changeset
1185 change the current norm.<BR>
6974
916f62dd0910 Another big batch of cosmetics *only*.
diego
parents: 6960
diff changeset
1186 <CODE>&lt;device&gt;</CODE> = device number to use if you have more than one
916f62dd0910 Another big batch of cosmetics *only*.
diego
parents: 6960
diff changeset
1187 em8300 card.
916f62dd0910 Another big batch of cosmetics *only*.
diego
parents: 6960
diff changeset
1188 <BR>
8021
66c0515d234f Cleaned up the DXR3 section (lots of old stuff which was no longer
mswitch
parents: 7969
diff changeset
1189 Any of these options may be left out.<BR>
8998
e5caaebc14d0 removed obsolete stuff
gabucino
parents: 8550
diff changeset
1190 <CODE>:prebuf:sync</CODE> seems to work great when playing DivX movies.
e5caaebc14d0 removed obsolete stuff
gabucino
parents: 8550
diff changeset
1191 People have reported problems using the <CODE>prebuf</CODE> option when playing
e5caaebc14d0 removed obsolete stuff
gabucino
parents: 8550
diff changeset
1192 MPEG1/2 files. You might want to try running without any options first, if you
e5caaebc14d0 removed obsolete stuff
gabucino
parents: 8550
diff changeset
1193 have sync problems, or DVD subtitle problems, give <CODE>:sync</CODE> a
e5caaebc14d0 removed obsolete stuff
gabucino
parents: 8550
diff changeset
1194 try.</DD>
7099
0b70f3dc34eb Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents: 7076
diff changeset
1195
0b70f3dc34eb Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents: 7076
diff changeset
1196 <DT><CODE>-ao oss:/dev/em8300_ma-X</CODE></DT>
0b70f3dc34eb Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents: 7076
diff changeset
1197 <DD>For audio output, where <CODE>X</CODE> is the device number
0b70f3dc34eb Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents: 7076
diff changeset
1198 (0 if one card).</DD>
0b70f3dc34eb Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents: 7076
diff changeset
1199
7270
60a3b83b73bf DXR3 docs updated. Patch by David Holm <david@realityrift.com>, further
diego
parents: 7192
diff changeset
1200 <DT><CODE>-aop list=resample:fout=xxxxx</CODE></DT>
60a3b83b73bf DXR3 docs updated. Patch by David Holm <david@realityrift.com>, further
diego
parents: 7192
diff changeset
1201 <DD>The em8300 cannot play back samplerates lower than 44100Hz. If the sample
60a3b83b73bf DXR3 docs updated. Patch by David Holm <david@realityrift.com>, further
diego
parents: 7192
diff changeset
1202 rate is below 44100Hz select either 44100Hz or 48000Hz depending on which
60a3b83b73bf DXR3 docs updated. Patch by David Holm <david@realityrift.com>, further
diego
parents: 7192
diff changeset
1203 one matches closest. I.e. if the movie uses 22050Hz use 44100Hz as
60a3b83b73bf DXR3 docs updated. Patch by David Holm <david@realityrift.com>, further
diego
parents: 7192
diff changeset
1204 44100 / 2 = 22050, if it is 24000Hz use 48000Hz as 48000 / 2 = 24000 and so
60a3b83b73bf DXR3 docs updated. Patch by David Holm <david@realityrift.com>, further
diego
parents: 7192
diff changeset
1205 on. This does not work with digital audio output (<CODE>-ac hwac3</CODE>).</DD>
7099
0b70f3dc34eb Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents: 7076
diff changeset
1206
9644
0fe056bdb135 vop -> vf change, small fixes. The Polish documentation should be checked for correctness.
jonas
parents: 9529
diff changeset
1207 <DT><CODE>-vf lavc/fame</CODE></DT>
9506
6c6ea2b4cfdb default.css path fixed (it needs to be moved on CVS server!!)
gabucino
parents: 9387
diff changeset
1208 <DD><B>(AUTO-INSERTED)</B> To watch non-MPEG content on the em8300 (i.e. DivX or RealVideo) you have
7270
60a3b83b73bf DXR3 docs updated. Patch by David Holm <david@realityrift.com>, further
diego
parents: 7192
diff changeset
1209 to specify an MPEG1 video filter such as libavcodec (lavc) or libfame
60a3b83b73bf DXR3 docs updated. Patch by David Holm <david@realityrift.com>, further
diego
parents: 7192
diff changeset
1210 (fame). At the moment lavc is both faster and gives better image quality, it
60a3b83b73bf DXR3 docs updated. Patch by David Holm <david@realityrift.com>, further
diego
parents: 7192
diff changeset
1211 is suggested that you use that unless you have problems with it. See the man
9644
0fe056bdb135 vop -> vf change, small fixes. The Polish documentation should be checked for correctness.
jonas
parents: 9529
diff changeset
1212 page for further info about <CODE>-vf lavc/fame</CODE>.<BR>
7951
32ae0a9d06aa Updated the DXR3 section to reflect command changes, prebuf replaced
mswitch
parents: 7937
diff changeset
1213 Using lavc is highly recommended. Currently there is no way of setting the
32ae0a9d06aa Updated the DXR3 section to reflect command changes, prebuf replaced
mswitch
parents: 7937
diff changeset
1214 fps of the em8300 which means that it is fixed to 29.97fps. Because of this
9644
0fe056bdb135 vop -> vf change, small fixes. The Polish documentation should be checked for correctness.
jonas
parents: 9529
diff changeset
1215 it is highly recommended that you use <CODE>-vf lavc=&lt;quality&gt;:25</CODE>,
8021
66c0515d234f Cleaned up the DXR3 section (lots of old stuff which was no longer
mswitch
parents: 7969
diff changeset
1216 especially if you are using prebuffering. Then why 25 and not 29.97? Well,
66c0515d234f Cleaned up the DXR3 section (lots of old stuff which was no longer
mswitch
parents: 7969
diff changeset
1217 the thing is that when you use 29.97 the picture becomes a bit jumpy. The
66c0515d234f Cleaned up the DXR3 section (lots of old stuff which was no longer
mswitch
parents: 7969
diff changeset
1218 reason for this is unknown to us. If you set it to somewhere between 25 and
66c0515d234f Cleaned up the DXR3 section (lots of old stuff which was no longer
mswitch
parents: 7969
diff changeset
1219 27 the picture becomes stable. For now all we can do is accept this for a
66c0515d234f Cleaned up the DXR3 section (lots of old stuff which was no longer
mswitch
parents: 7969
diff changeset
1220 fact.</DD>
8177
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1221
9644
0fe056bdb135 vop -> vf change, small fixes. The Polish documentation should be checked for correctness.
jonas
parents: 9529
diff changeset
1222 <DT><CODE>-vf expand=-1:-1:-1:-1:1</CODE></DT>
9510
diego
parents: 9506
diff changeset
1223 <DD>Although the DXR3 driver can put some OSD onto the MPEG1/2/4 video,
8177
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1224 it has much lower quality than MPlayer's traditional OSD, and has several
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1225 refresh problems as well. The command line above will firstly convert the
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1226 input video to MPEG4 (this is mandatory, sorry), then apply an expand
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1227 filter which won't expand anything (-1: default), but apply the normal OSD
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1228 onto the picture (that's what the "1" at the end does).</DD>
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1229
7270
60a3b83b73bf DXR3 docs updated. Patch by David Holm <david@realityrift.com>, further
diego
parents: 7192
diff changeset
1230 <DT><CODE>-ac hwac3</CODE></DT>
60a3b83b73bf DXR3 docs updated. Patch by David Holm <david@realityrift.com>, further
diego
parents: 7192
diff changeset
1231 <DD>The em8300 supports playing back AC3 audio (surround sound) through the
7640
427935644581 updates, fixes
gabucino
parents: 7454
diff changeset
1232 digital audio output of the card. See the <CODE>-ao oss</CODE> option
427935644581 updates, fixes
gabucino
parents: 7454
diff changeset
1233 above, it must be used to specify the DXR3's output instead of
8998
e5caaebc14d0 removed obsolete stuff
gabucino
parents: 8550
diff changeset
1234 a soundcard.</DD>
7099
0b70f3dc34eb Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents: 7076
diff changeset
1235 </DL>
6732
8460a77203de DXR3 moved to video.html. TOC updated, added <CODE> where appropiate.
diego
parents: 6729
diff changeset
1236
8460a77203de DXR3 moved to video.html. TOC updated, added <CODE> where appropiate.
diego
parents: 6729
diff changeset
1237
8177
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1238 <H4><A NAME="other">2.3.1.4 Other visualization hardware</A></H4>
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1239
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1240 <H4><A NAME="zr">2.3.1.4.1 Zr</A></H4>
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1241
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1242 <P>This is a display-driver (<CODE>-vo zr</CODE>) for a number of MJPEG
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1243 capture/playback cards (tested for DC10+ and Buz, and it should work for the
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1244 LML33 and the original DC10). The driver works by encoding the frame to jpeg
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1245 and then sending it to the card. For the jpeg encoding <B>libavcodec</B> is
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1246 used, and required. With the special <I>cinerama</I> mode, you can watch
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1247 movies in true wide screen provided that you have two beamers and two
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1248 MJPEG cards. Depending on resolution and quality settings, this driver
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1249 may require a lot of CPU power, remember to specify <CODE>-framedrop</CODE>
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1250 if your machine is too slow. Note: My AMD K6-2 350MHz is (with <CODE>
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1251 -framedrop</CODE>) quite adequate for watching VCD sized material and
9174
0333afac3a56 closing some tags in Zr section
gabucino
parents: 9138
diff changeset
1252 downscaled movies.</P>
8177
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1253
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1254 <P>This driver talks to the kernel driver available at
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1255 <A HREF="http://mjpeg.sourceforge.net">http://mjpeg.sourceforge.net</A>, so
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1256 you must get it working first. The presence of an MJPEG card is autodetected
9174
0333afac3a56 closing some tags in Zr section
gabucino
parents: 9138
diff changeset
1257 by the configure script, if autodetection fails, force detection with</P>
8177
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1258
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1259 <PRE>
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1260 ./configure --enable-zr
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1261 </PRE>
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1262
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1263 <P>The output can be controlled by several options, a long description of the
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1264 options can be found in the man page, a short list of options can be
9174
0333afac3a56 closing some tags in Zr section
gabucino
parents: 9138
diff changeset
1265 viewed by running</P>
8177
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1266
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1267 <PRE>
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1268 mplayer -zrhelp
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1269 </PRE>
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1270
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1271 <P>Things like scaling and the OSD (on screen display) are not handled by
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1272 this driver but can be done using the video filters. For example,
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1273 suppose that you have a movie with a resolution of <CODE>512x272</CODE> and
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1274 you want to view it fullscreen on your DC10+. There are three main
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1275 possibilities, you may scale the movie to a width of <CODE>768</CODE>,
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1276 <CODE>384</CODE> or <CODE>192</CODE>. For performance and quality reasons,
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1277 I would choose to scale the movie to <CODE>384x204</CODE> using the fast
9174
0333afac3a56 closing some tags in Zr section
gabucino
parents: 9138
diff changeset
1278 bilinear software scaler. The commandline is</P>
8177
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1279
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1280 <PRE>
9644
0fe056bdb135 vop -> vf change, small fixes. The Polish documentation should be checked for correctness.
jonas
parents: 9529
diff changeset
1281 mplayer -vo zr -sws 0 -vf scale=384:204 movie.avi
8177
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1282 </PRE>
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1283
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1284 <P>Cropping can be done by the <CODE>crop</CODE> filter and by
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1285 this driver itself. Suppose that a movie is too wide for display on your
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1286 Buz and that you want to use <CODE>-zrcrop</CODE> to make the movie less
9783
1163cf586d5a Typos, patch by Roberto Togni <r_togni@libero.it>.
diego
parents: 9644
diff changeset
1287 wide, then you would issue the following command</P>
8177
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1288
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1289 <PRE>
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1290 mplayer -vo zr -zrcrop 720x320+80+0 benhur.avi
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1291 </PRE>
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1292
9174
0333afac3a56 closing some tags in Zr section
gabucino
parents: 9138
diff changeset
1293 <P>if you want to use the <CODE>crop</CODE> filter, you would do</P>
8177
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1294
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1295 <PRE>
9644
0fe056bdb135 vop -> vf change, small fixes. The Polish documentation should be checked for correctness.
jonas
parents: 9529
diff changeset
1296 mplayer -vo zr -vf crop=720:320:80:0 benhur.avi
8177
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1297 </PRE>
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1298
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1299 <P>Extra occurances of <CODE>-zrcrop</CODE> invoke <I>cinerama</I> mode, i.e.
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1300 you can distribute the movie over several TV's or beamers to create a larger
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1301 screen. Suppose you have two beamers. The left one is connected to your Buz
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1302 at <CODE>/dev/video1</CODE> and the right one is connected to your DC10+ at
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1303 <CODE>/dev/video0</CODE>. The movie has a resolution of <CODE>704x288</CODE>.
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1304 Suppose also that you want the right beamer in black and white and that
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1305 the right beamer should have jpeg frames at quality <CODE>10</CODE>,
9174
0333afac3a56 closing some tags in Zr section
gabucino
parents: 9138
diff changeset
1306 then you would issue the following command</P>
8177
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1307
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1308 <PRE>
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1309 mplayer -vo zr -zrdev /dev/video0 -zrcrop 352x288+352+0 -zrxdoff 0 -zrbw \
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1310 -zrcrop 352x288+0+0 -zrdev /dev/video1 -zrquality 10 movie.avi
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1311 </PRE>
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1312
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1313 <P>You see that the options appearing before the second <CODE>-zrcrop</CODE>
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1314 only apply to the DC10+ and that the options after the second
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1315 <CODE>-zrcrop</CODE> apply to the Buz. The maximum number of MJPEG cards
9783
1163cf586d5a Typos, patch by Roberto Togni <r_togni@libero.it>.
diego
parents: 9644
diff changeset
1316 participating in <I>cinerama</I> is four, so you can build a <CODE>2x2</CODE>
8177
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1317 vidiwall.</P>
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1318
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1319 <P>Finally an important remark: Do not start or stop XawTV on the playback
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1320 device during playback, it will crash your computer. It is, however, fine to
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1321 <B>FIRST</B> start XawTV, <B>THEN</B> start MPlayer, wait for
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1322 MPlayer to finish and <B>THEN</B> stop XawTV.</P>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
1323
6974
916f62dd0910 Another big batch of cosmetics *only*.
diego
parents: 6960
diff changeset
1324
8177
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1325 <H4><A NAME="blinken">2.3.1.4.2 Blinkenlights</A></H4>
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1326
9254
a35bf9da25db typo and update
alex
parents: 9241
diff changeset
1327 <P>This driver is capable of playback using the Blinkenlights UDP protocol.
a35bf9da25db typo and update
alex
parents: 9241
diff changeset
1328 If you don't know what <A HREF="http://www.blinkenlights.de/">Blinkenlights</A>
a35bf9da25db typo and update
alex
parents: 9241
diff changeset
1329 is, you don't need this driver.</P>
8177
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1330
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1331
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1332 <H4><A NAME="tv-out">2.3.1.5 TV-out support</A></H4>
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1333
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1334
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1335 <H4><A NAME="tv-out_matrox">2.3.1.5.1 Matrox G400 cards</A></H4>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
1336
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
1337 <P>Under Linux you have 2 methods to get G400 TV out working:</P>
5116
20bf56a828d1 "nememlex" --Gabucino, 2002
arpi
parents: 4982
diff changeset
1338
7377
2c13297f0b80 G450/G550 TV-out
gabucino
parents: 7367
diff changeset
1339 <P><B>IMPORTANT:</B> for Matrox G450/G550 TV-out instructions, please see the
2c13297f0b80 G450/G550 TV-out
gabucino
parents: 7367
diff changeset
1340 next section!</P>
2309
3128b9d8b4ea New section: Matrox TVout - method 2
gabucino
parents: 2206
diff changeset
1341
2486
d4f398ef37aa rewritten matrox tvout section
gabucino
parents: 2472
diff changeset
1342 <UL>
d4f398ef37aa rewritten matrox tvout section
gabucino
parents: 2472
diff changeset
1343 <LI><B>XFree86</B>: using the driver and the HAL module, available from
d4f398ef37aa rewritten matrox tvout section
gabucino
parents: 2472
diff changeset
1344 <A HREF="http://www.matrox.com">Matrox's site</A>. This will give you X on
d4f398ef37aa rewritten matrox tvout section
gabucino
parents: 2472
diff changeset
1345 the TV.<BR> <B>This method doesn't give you accelerated playback</B> as
d4f398ef37aa rewritten matrox tvout section
gabucino
parents: 2472
diff changeset
1346 under Windoze! The second head has only YUV framebuffer, the <I>BES</I>
d4f398ef37aa rewritten matrox tvout section
gabucino
parents: 2472
diff changeset
1347 (Back End Scaler, the YUV scaler on G200/G400/G450/G550 cards) doesn't work
7061
33624384dd7b Typos, cosmetics and a tag closed.
diego
parents: 7047
diff changeset
1348 on it! The Windows driver somehow works around this, probably by using the
2486
d4f398ef37aa rewritten matrox tvout section
gabucino
parents: 2472
diff changeset
1349 3D engine to zoom, and the YUV framebuffer to display the zoomed
2848
33c32f3d9f1f many small updates, fixes (some/more to be completed soon)
gabucino
parents: 2747
diff changeset
1350 image. If you really want to use X, use the <CODE>-vo x11 -fs -zoom</CODE>
6599
f20184a10258 1001 typos as found by ispell.
diego
parents: 6583
diff changeset
1351 options, but it will be <B>SLOW</B>, and has <B>Macrovision</B> copy protection
4177
cab4ac1467e4 many small updates
gabucino
parents: 3988
diff changeset
1352 enabled (you can "workaround" Macrovision using
cab4ac1467e4 many small updates
gabucino
parents: 3988
diff changeset
1353 <A HREF="http://avifile.sourceforge.net/mgamacro.pl">this</A> perl
cab4ac1467e4 many small updates
gabucino
parents: 3988
diff changeset
1354 script.</LI>
2486
d4f398ef37aa rewritten matrox tvout section
gabucino
parents: 2472
diff changeset
1355 <LI><B>Framebuffer</B>: using the <B>matroxfb modules</B> in the 2.4 kernels.
d4f398ef37aa rewritten matrox tvout section
gabucino
parents: 2472
diff changeset
1356 2.2 kernels don't have the TVout feature in them, thus unusable for this.
3030
1dbc569b6528 more fix/update
gabucino
parents: 3027
diff changeset
1357 You have to enable ALL matroxfb-specific feature during compilation (except
5713
634fbb5dd181 I2C is also needed for G400 tvout
gabucino
parents: 5378
diff changeset
1358 MultiHead), and compile them into <B>modules</B>! You'll also need I2C
634fbb5dd181 I2C is also needed for G400 tvout
gabucino
parents: 5378
diff changeset
1359 enabled.
7099
0b70f3dc34eb Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents: 7076
diff changeset
1360 <OL>
2486
d4f398ef37aa rewritten matrox tvout section
gabucino
parents: 2472
diff changeset
1361 <LI>
d4f398ef37aa rewritten matrox tvout section
gabucino
parents: 2472
diff changeset
1362 Enter <CODE>TVout/matroxset</CODE> and type <CODE>make</CODE>. Install
d4f398ef37aa rewritten matrox tvout section
gabucino
parents: 2472
diff changeset
1363 <CODE>matroxset</CODE> into somewhere in your PATH.</LI>
d4f398ef37aa rewritten matrox tvout section
gabucino
parents: 2472
diff changeset
1364 <LI>
d4f398ef37aa rewritten matrox tvout section
gabucino
parents: 2472
diff changeset
1365 If you don't have <CODE>fbset</CODE> installed, enter
d4f398ef37aa rewritten matrox tvout section
gabucino
parents: 2472
diff changeset
1366 <CODE>TVout/fbset</CODE> and type <CODE>make</CODE>. Install
d4f398ef37aa rewritten matrox tvout section
gabucino
parents: 2472
diff changeset
1367 <CODE>fbset</CODE> into somewhere in your PATH.</LI>
d4f398ef37aa rewritten matrox tvout section
gabucino
parents: 2472
diff changeset
1368 <LI>
7814
988498df1996 <B>MPlayer</B> ---> MPlayer
diego
parents: 7793
diff changeset
1369 Then enter into the <CODE>TVout/</CODE> directory in the MPlayer
2486
d4f398ef37aa rewritten matrox tvout section
gabucino
parents: 2472
diff changeset
1370 source, and execute <CODE>./modules</CODE> as root. Your text-mode console
d4f398ef37aa rewritten matrox tvout section
gabucino
parents: 2472
diff changeset
1371 will enter into framebuffer mode (no way back!).</LI>
7454
a8ae3f53eb14 matroxtv script was modified
gabucino
parents: 7377
diff changeset
1372 <LI>Next, EDIT and run the <CODE>./matroxtv</CODE> script. This will present you
2486
d4f398ef37aa rewritten matrox tvout section
gabucino
parents: 2472
diff changeset
1373 to a very simple menu. Press <B>2</B> and <B>ENTER</B>. Now you should
7454
a8ae3f53eb14 matroxtv script was modified
gabucino
parents: 7377
diff changeset
1374 have the same picture on your monitor, and TV. If
a8ae3f53eb14 matroxtv script was modified
gabucino
parents: 7377
diff changeset
1375 the TV (PAL by default) picture has some weird stripes on it, the script wasn't able to
a8ae3f53eb14 matroxtv script was modified
gabucino
parents: 7377
diff changeset
1376 set the resolution correctly (to 640x512 by default). Try other
a8ae3f53eb14 matroxtv script was modified
gabucino
parents: 7377
diff changeset
1377 resolutions from the menu and/or experiment with fbset.</LI>
7099
0b70f3dc34eb Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents: 7076
diff changeset
1378 </OL>
2486
d4f398ef37aa rewritten matrox tvout section
gabucino
parents: 2472
diff changeset
1379
6974
916f62dd0910 Another big batch of cosmetics *only*.
diego
parents: 6960
diff changeset
1380 <P>Yoh. Next task is to make the cursor on tty1 (or whatever) to disappear,
2486
d4f398ef37aa rewritten matrox tvout section
gabucino
parents: 2472
diff changeset
1381 and turn off screen blanking. Execute the following commands:</P>
d4f398ef37aa rewritten matrox tvout section
gabucino
parents: 2472
diff changeset
1382
6974
916f62dd0910 Another big batch of cosmetics *only*.
diego
parents: 6960
diff changeset
1383 <P><CODE>echo -e '\033[?25l'</CODE> or <CODE>setterm -cursor off<BR>
916f62dd0910 Another big batch of cosmetics *only*.
diego
parents: 6960
diff changeset
1384 setterm -blank 0</CODE></P>
2486
d4f398ef37aa rewritten matrox tvout section
gabucino
parents: 2472
diff changeset
1385
6974
916f62dd0910 Another big batch of cosmetics *only*.
diego
parents: 6960
diff changeset
1386 <P>You possibly want to put the above into a script, and also clear
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
1387 the screen.. To turn the cursor back:<BR><CODE>echo -e '\033[?25h'</CODE>
6974
916f62dd0910 Another big batch of cosmetics *only*.
diego
parents: 6960
diff changeset
1388 or <CODE>setterm -cursor on</CODE></P>
2486
d4f398ef37aa rewritten matrox tvout section
gabucino
parents: 2472
diff changeset
1389
d4f398ef37aa rewritten matrox tvout section
gabucino
parents: 2472
diff changeset
1390 <P>Yeah kewl. Start movie playing with <CODE>mplayer -vo mga -fs -screenw 640
d4f398ef37aa rewritten matrox tvout section
gabucino
parents: 2472
diff changeset
1391 -screenh 512 &lt;filename&gt;</CODE><BR>
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
1392 (if you use X, now change to matroxfb with for example CTRL-ALT-F1!)<BR>
6998
83a386e88f9e Applied patch by Andras Mohari <mayday at varoshaza . nagyatad . hu>
diego
parents: 6981
diff changeset
1393 Change 640x512 if you set the resolution to other.<BR>
6974
916f62dd0910 Another big batch of cosmetics *only*.
diego
parents: 6960
diff changeset
1394 <B>Enjoy the ultra-fast ultra-featured Matrox TV output (better than Xv)!</B></P>
2486
d4f398ef37aa rewritten matrox tvout section
gabucino
parents: 2472
diff changeset
1395 </LI>
d4f398ef37aa rewritten matrox tvout section
gabucino
parents: 2472
diff changeset
1396 </UL>
2309
3128b9d8b4ea New section: Matrox TVout - method 2
gabucino
parents: 2206
diff changeset
1397
8177
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1398 <H4>Building a Matrox TV-out cable</H4>
2309
3128b9d8b4ea New section: Matrox TVout - method 2
gabucino
parents: 2206
diff changeset
1399
9059
dd733c8d7e9e G450 tvout cable pinout (contributed)
gabucino
parents: 8998
diff changeset
1400 <P>No one takes any responsibility, nor guarantee for any damage caused by this
dd733c8d7e9e G450 tvout cable pinout (contributed)
gabucino
parents: 8998
diff changeset
1401 documentation.</P>
8177
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1402
9059
dd733c8d7e9e G450 tvout cable pinout (contributed)
gabucino
parents: 8998
diff changeset
1403 <P><B>Cable for G400</B>: The CRTC2 connector's fourth pin is the composite video signal. The ground
dd733c8d7e9e G450 tvout cable pinout (contributed)
gabucino
parents: 8998
diff changeset
1404 are the sixth, seventh and eighth pins. (info contributed from Balázs
dd733c8d7e9e G450 tvout cable pinout (contributed)
gabucino
parents: 8998
diff changeset
1405 Rácz)</P>
8177
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1406
9059
dd733c8d7e9e G450 tvout cable pinout (contributed)
gabucino
parents: 8998
diff changeset
1407 <P><B>Cable for G450</B>: The CRTC2 connector's first pin is the composite video
dd733c8d7e9e G450 tvout cable pinout (contributed)
gabucino
parents: 8998
diff changeset
1408 signal. The ground are the fifth, sixth, seventh, and fifteenth
dd733c8d7e9e G450 tvout cable pinout (contributed)
gabucino
parents: 8998
diff changeset
1409 (5, 6, 7, 15) pins. (info contributed from Balázs Kerekes)</P>
8177
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1410
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1411 <H4><A NAME="tv-out_matrox_g450">2.3.1.5.2 Matrox G450/G550 cards</A></H4>
7377
2c13297f0b80 G450/G550 TV-out
gabucino
parents: 7367
diff changeset
1412
2c13297f0b80 G450/G550 TV-out
gabucino
parents: 7367
diff changeset
1413 <P>TV output support for these cards has only been recently introduced, and is
2c13297f0b80 G450/G550 TV-out
gabucino
parents: 7367
diff changeset
1414 not yet in the mainstream kernel. Currently the <B>mga_vid</B> module
2c13297f0b80 G450/G550 TV-out
gabucino
parents: 7367
diff changeset
1415 can't be used AFAIK, because the G450/G550 driver works only in one
2c13297f0b80 G450/G550 TV-out
gabucino
parents: 7367
diff changeset
1416 configuration: the first CRTC chip (with much more features) on the first
2c13297f0b80 G450/G550 TV-out
gabucino
parents: 7367
diff changeset
1417 display (on monitor), and the second CRTC (no <B>BES</B> - for explanation
2c13297f0b80 G450/G550 TV-out
gabucino
parents: 7367
diff changeset
1418 on BES, please see the G400 section above) on TV. So you can only use
7969
9ec3f2b9a87f <B>MPlayer</B> --> MPlayer
diego
parents: 7951
diff changeset
1419 MPlayer's <I>fbdev</I> output driver at the present.</P>
7377
2c13297f0b80 G450/G550 TV-out
gabucino
parents: 7367
diff changeset
1420
2c13297f0b80 G450/G550 TV-out
gabucino
parents: 7367
diff changeset
1421 <P>The first CRTC can't be routed to the second head currently.
2c13297f0b80 G450/G550 TV-out
gabucino
parents: 7367
diff changeset
1422 The author of the kernel matroxfb driver - Petr Vandrovec - will maybe make
2c13297f0b80 G450/G550 TV-out
gabucino
parents: 7367
diff changeset
1423 support for this, by displaying the first CRTC's output onto both of the
2c13297f0b80 G450/G550 TV-out
gabucino
parents: 7367
diff changeset
1424 heads at once, as currently recommended for G400, see the section above.</P>
2c13297f0b80 G450/G550 TV-out
gabucino
parents: 7367
diff changeset
1425
2c13297f0b80 G450/G550 TV-out
gabucino
parents: 7367
diff changeset
1426 <P>The necessary kernel patch and the detailed howto is downloadable from
9842
bffe6ac086e6 url update, reported by Dan Eriksen
nicolas
parents: 9783
diff changeset
1427 <A HREF="http://www.bglug.ca/matrox_tvout/">http://www.bglug.ca/matrox_tvout/</A></P>
7377
2c13297f0b80 G450/G550 TV-out
gabucino
parents: 7367
diff changeset
1428
2c13297f0b80 G450/G550 TV-out
gabucino
parents: 7367
diff changeset
1429
8177
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1430 <H4><A NAME="tv-out_ati">2.3.1.5.3 ATI cards</A></H4>
2206
0e8e8fed492e ATI TVout stuff added (from Nick Kurshev)
gabucino
parents: 2131
diff changeset
1431
9282
513e02e2e553 fixing others' 10/100liters
gabucino
parents: 9260
diff changeset
1432 <H4>PREAMBLE</H4>
7047
4f87cd0f642f Converted the docs to use proper headings tags.
diego
parents: 7015
diff changeset
1433
4f87cd0f642f Converted the docs to use proper headings tags.
diego
parents: 7015
diff changeset
1434 <P>Currently ATI doesn't want to support any of its TV-out chips under Linux,
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
1435 because of their licensed Macrovision technology.</P>
6583
4b7d097a9c69 big update
gabucino
parents: 6499
diff changeset
1436
9282
513e02e2e553 fixing others' 10/100liters
gabucino
parents: 9260
diff changeset
1437 <H4>ATI CARDS TV-OUT STATUS ON LINUX</H4>
2206
0e8e8fed492e ATI TVout stuff added (from Nick Kurshev)
gabucino
parents: 2131
diff changeset
1438
6435
d0d74f9d8d4a Background now set by CSS, added doctype and charset.
diego
parents: 6393
diff changeset
1439 <UL>
8332
8368a516019e small updates, ATI TV-out, -vo directx:noaccel
diego
parents: 8260
diff changeset
1440 <LI><B>ATI Mach64</B>: Supported by
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
1441 <A HREF="http://gatos.sf.net">gatos</A>.</LI>
8332
8368a516019e small updates, ATI TV-out, -vo directx:noaccel
diego
parents: 8260
diff changeset
1442 <LI><B>ASIC Radeon VIVO</B>: Supported by
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
1443 <A HREF="http://gatos.sf.net">gatos</A>.</LI>
8332
8368a516019e small updates, ATI TV-out, -vo directx:noaccel
diego
parents: 8260
diff changeset
1444 <LI><B>Radeon</B> and <B>Rage128</B>: Supported by MPlayer!
6998
83a386e88f9e Applied patch by Andras Mohari <mayday at varoshaza . nagyatad . hu>
diego
parents: 6981
diff changeset
1445 Check <a href="#vesa">VESA driver</a> and <A HREF="#vidix">VIDIX</A>
6960
87deea511b1f continuing paragraph reformatting
gabucino
parents: 6906
diff changeset
1446 sections.</LI>
8332
8368a516019e small updates, ATI TV-out, -vo directx:noaccel
diego
parents: 8260
diff changeset
1447 <LI><B>Rage Mobility P/M, Radeon, Rage 128, Mobility M3/M4</B>: Supported by
8368a516019e small updates, ATI TV-out, -vo directx:noaccel
diego
parents: 8260
diff changeset
1448 <A HREF="http://www.stud.uni-hamburg.de/users/lennart/projects/atitvout/">
8368a516019e small updates, ATI TV-out, -vo directx:noaccel
diego
parents: 8260
diff changeset
1449 atitvout</A>.
6435
d0d74f9d8d4a Background now set by CSS, added doctype and charset.
diego
parents: 6393
diff changeset
1450 </UL>
2206
0e8e8fed492e ATI TVout stuff added (from Nick Kurshev)
gabucino
parents: 2131
diff changeset
1451
6974
916f62dd0910 Another big batch of cosmetics *only*.
diego
parents: 6960
diff changeset
1452 <P>On other cards, just use the <a href="#vesa">VESA driver</a>, without
916f62dd0910 Another big batch of cosmetics *only*.
diego
parents: 6960
diff changeset
1453 VIDIX. Powerful CPU is needed, though.</P>
2206
0e8e8fed492e ATI TVout stuff added (from Nick Kurshev)
gabucino
parents: 2131
diff changeset
1454
6583
4b7d097a9c69 big update
gabucino
parents: 6499
diff changeset
1455 <P>Only thing you need to do - <B>have TV connector plugged in before
4b7d097a9c69 big update
gabucino
parents: 6499
diff changeset
1456 booting your PC</B> since video BIOS initializes itself only once during
6974
916f62dd0910 Another big batch of cosmetics *only*.
diego
parents: 6960
diff changeset
1457 POST procedure.</P>
2206
0e8e8fed492e ATI TVout stuff added (from Nick Kurshev)
gabucino
parents: 2131
diff changeset
1458
2472
487f5bbb38ae link to tomi ollila's voodoo3 tvout text. if he has interest to integrate
gabucino
parents: 2471
diff changeset
1459
8177
1f00a3d29b20 some TOC reorder
gabucino
parents: 8145
diff changeset
1460 <H4><A NAME="tv-out_voodoo">2.3.1.5.4 Voodoo 3</A></H4>
2472
487f5bbb38ae link to tomi ollila's voodoo3 tvout text. if he has interest to integrate
gabucino
parents: 2471
diff changeset
1461
6974
916f62dd0910 Another big batch of cosmetics *only*.
diego
parents: 6960
diff changeset
1462 <P>Check <A HREF="http://www.iki.fi/too/tvout-voodoo3-3000-xfree">this URL</A>.</P>
2472
487f5bbb38ae link to tomi ollila's voodoo3 tvout text. if he has interest to integrate
gabucino
parents: 2471
diff changeset
1463
8260
352b654c7787 updates
gabucino
parents: 8177
diff changeset
1464
352b654c7787 updates
gabucino
parents: 8177
diff changeset
1465 <H4><A NAME="tv-out_nvidia">2.3.1.5.5 nVidia</A></H4>
352b654c7787 updates
gabucino
parents: 8177
diff changeset
1466
352b654c7787 updates
gabucino
parents: 8177
diff changeset
1467 <P>First, you MUST download the closed-source drivers from
352b654c7787 updates
gabucino
parents: 8177
diff changeset
1468 <A HREF="http://nvidia.com">http://nvidia.com</A>. I will not describe the
352b654c7787 updates
gabucino
parents: 8177
diff changeset
1469 installation and configuration process because it does not cover the
352b654c7787 updates
gabucino
parents: 8177
diff changeset
1470 scope of this documentation.</P>
352b654c7787 updates
gabucino
parents: 8177
diff changeset
1471
352b654c7787 updates
gabucino
parents: 8177
diff changeset
1472 <P>After XFree86, XVideo, and 3D acceleration is properly working,
352b654c7787 updates
gabucino
parents: 8177
diff changeset
1473 edit your card's Device section in the <CODE>XF86Config</CODE> file,
352b654c7787 updates
gabucino
parents: 8177
diff changeset
1474 according to the following example (adapt for your card/TV):</P>
352b654c7787 updates
gabucino
parents: 8177
diff changeset
1475
352b654c7787 updates
gabucino
parents: 8177
diff changeset
1476 <PRE>
352b654c7787 updates
gabucino
parents: 8177
diff changeset
1477 Section "Device"
352b654c7787 updates
gabucino
parents: 8177
diff changeset
1478 Identifier "GeForce"
352b654c7787 updates
gabucino
parents: 8177
diff changeset
1479 VendorName "ASUS"
352b654c7787 updates
gabucino
parents: 8177
diff changeset
1480 BoardName "nVidia GeForce2/MX 400"
352b654c7787 updates
gabucino
parents: 8177
diff changeset
1481 Driver "nvidia"
352b654c7787 updates
gabucino
parents: 8177
diff changeset
1482 #Option "NvAGP" "1"
352b654c7787 updates
gabucino
parents: 8177
diff changeset
1483 Option "NoLogo"
352b654c7787 updates
gabucino
parents: 8177
diff changeset
1484 Option "CursorShadow" "on"
352b654c7787 updates
gabucino
parents: 8177
diff changeset
1485
352b654c7787 updates
gabucino
parents: 8177
diff changeset
1486 Option "TwinView"
352b654c7787 updates
gabucino
parents: 8177
diff changeset
1487 Option "TwinViewOrientation" "Clone"
352b654c7787 updates
gabucino
parents: 8177
diff changeset
1488 Option "MetaModes" "1024x768,640x480"
352b654c7787 updates
gabucino
parents: 8177
diff changeset
1489 Option "ConnectedMonitor" "CRT, TV"
352b654c7787 updates
gabucino
parents: 8177
diff changeset
1490 Option "TVStandard" "PAL-B"
352b654c7787 updates
gabucino
parents: 8177
diff changeset
1491 Option "TVOutFormat" "Composite"
352b654c7787 updates
gabucino
parents: 8177
diff changeset
1492
352b654c7787 updates
gabucino
parents: 8177
diff changeset
1493 EndSection
352b654c7787 updates
gabucino
parents: 8177
diff changeset
1494 </PRE>
352b654c7787 updates
gabucino
parents: 8177
diff changeset
1495
352b654c7787 updates
gabucino
parents: 8177
diff changeset
1496 <P>Of course the important thing is the TwinView part.</P>
352b654c7787 updates
gabucino
parents: 8177
diff changeset
1497
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
1498 </BODY>
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
1499 </HTML>