140
|
1
|
|
2 Videocards with hardware acceleration:
|
|
3 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
4
|
|
5 * read DOCS/MTRR too!
|
|
6
|
|
7 "Hardware acceleration" usually means hardware YUV conversion, scaling,
|
|
8 bilinear filtering. Under Linux and XFree86, this is done by the XVideo
|
|
9 extension, this is what the option '-vo xv' uses.
|
|
10 In order to make this work, be sure to check the following:
|
|
11 1. your card actually supports harware acceleration
|
|
12 2. you use XFree86 4.0.2 or newer (former versions don't have XVideo)
|
|
13 3. X loads the XVideo extension, it's something like this:
|
|
14 (II) Loading extension XVideo
|
|
15 in /var/log/XFree86.0.log
|
|
16 NOTE : this loads only the XFree86 support. In a good install, this is
|
|
17 always loaded, and doesn't mean that the _card's_ XVideo support is
|
|
18 loaded!
|
|
19 4. The XVideo extensions can use your card. Try 'xvinfo' which is the part of
|
|
20 the XFree86 distribution. It should display a long text, similar to this:
|
|
21
|
|
22 X-Video Extension version 2.2
|
|
23 screen #0
|
|
24 Adaptor #0: "Savage Streams Engine"
|
|
25 number of ports: 1
|
|
26 port base: 43
|
|
27 operations supported: PutImage
|
|
28 supported visuals:
|
|
29 depth 16, visualID 0x22
|
|
30 depth 16, visualID 0x23
|
|
31 number of attributes: 5
|
|
32 (...etc...)
|
|
33 5. Be sure MPlayer is compiled with the "xv" target. "./configure" should say:
|
|
34 Checking for Xv ... yes
|
|
35 6. If all is fine, try the option '-vo xv' . It should work.
|
|
36 (if it doesn't, send us a bugreport. See the README on how to do this.)
|
|
37
|
|
38
|
|
39
|
|
40 There are additional drivers for the Matrox cards, which are usually
|
|
41 better than XVideo, consume much less CPU, and some doesn't even need X.
|
|
42 (Arpi please complete this section somewhat :) I'll correct your english:)
|
|
43
|
|
44
|
|
45
|
|
46 If your card lacks hardware acceleration, you can still boost your fps by
|
|
47 using the DGA driver.
|
|
48 1. Make sure X loads the DGA extension:
|
|
49 (II) Loading extension XFree86-DGA
|
|
50 2. MPlayer's DGA driver is autodetected on ./configure, or you can force it
|
|
51 with --enable-dga.
|
|
52 3. Be sure to use 24/32bpp mode, since there is no converter right now.. :(
|
|
53 4. Install MPlayer SUID root.
|
|
54 (see the FAQ on how to do this, and... heed the warning!)
|
|
55 5. Use '-vo dga' option, and there you go! (hope so:)
|
|
56
|
|
57
|
|
58
|
|
59 (section describing OpenGL support? I don't have any:)
|
|
60
|
|
61 Gabucino
|
|
62
|