annotate drivers/radeon/README @ 3492:24b0fad7fccc

Use $AUDIODEV environment variable as the default audio device on solaris, if available.
author jkeil
date Fri, 14 Dec 2001 20:13:17 +0000
parents 1a1669d42306
children f6cd00725f6e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1921
3733b1430c60 building improvements
nick
parents: 1919
diff changeset
1 framebuffer driver for ATI Radeon chipset video boards
3733b1430c60 building improvements
nick
parents: 1919
diff changeset
2 ======================================================
3733b1430c60 building improvements
nick
parents: 1919
diff changeset
3
1919
e9762fe502a8 initial howto
nick
parents:
diff changeset
4 These files are replacement for linux-2.4.x-ac.y drivers.
e9762fe502a8 initial howto
nick
parents:
diff changeset
5 To use this driver you should have at least linux-2.4.5-ac.1
e9762fe502a8 initial howto
nick
parents:
diff changeset
6 then simply replace linux/drivers/video/radeon* with files
e9762fe502a8 initial howto
nick
parents:
diff changeset
7 from this directory.
1968
dde27e9e34bf Driver location notes
nick
parents: 1921
diff changeset
8 Note: since linux-2.4.10 this driver was moved from -ac to
dde27e9e34bf Driver location notes
nick
parents: 1921
diff changeset
9 Linus distribution.
1919
e9762fe502a8 initial howto
nick
parents:
diff changeset
10
1921
3733b1430c60 building improvements
nick
parents: 1919
diff changeset
11 Alternative way:
3733b1430c60 building improvements
nick
parents: 1919
diff changeset
12 ~~~~~~~~~~~~~~~~
3244
6f6c1bd1a682 Auto-install stuff
nick
parents: 3164
diff changeset
13 Simply type two commands in this directory:
6f6c1bd1a682 Auto-install stuff
nick
parents: 3164
diff changeset
14 make
6f6c1bd1a682 Auto-install stuff
nick
parents: 3164
diff changeset
15 make install
1921
3733b1430c60 building improvements
nick
parents: 1919
diff changeset
16
3733b1430c60 building improvements
nick
parents: 1919
diff changeset
17 Anyway you should have 'Frame buffer support' compiled into linux-kernel
3733b1430c60 building improvements
nick
parents: 1919
diff changeset
18 and at least '8bpp packed pixel support' compiled and installed as module.
3733b1430c60 building improvements
nick
parents: 1919
diff changeset
19 (But if you plan to use this module with mplayer you also should have
3733b1430c60 building improvements
nick
parents: 1919
diff changeset
20 16bpp, 24bpp and 32bpp pixel support compiled as modules).
3733b1430c60 building improvements
nick
parents: 1919
diff changeset
21
3164
3c5ad8d5ac00 radeon_vid new features:
nick
parents: 1968
diff changeset
22
3c5ad8d5ac00 radeon_vid new features:
nick
parents: 1968
diff changeset
23 Radeon video overlay
3c5ad8d5ac00 radeon_vid new features:
nick
parents: 1968
diff changeset
24 ====================
3c5ad8d5ac00 radeon_vid new features:
nick
parents: 1968
diff changeset
25
3c5ad8d5ac00 radeon_vid new features:
nick
parents: 1968
diff changeset
26 Was designed for mplayer and currently can be used only by mplayer.
3c5ad8d5ac00 radeon_vid new features:
nick
parents: 1968
diff changeset
27 It's RGB-YUV BES for radeon cards (althrough there is experimental
3c5ad8d5ac00 radeon_vid new features:
nick
parents: 1968
diff changeset
28 support for rage128 / rage128pro chips).
3c5ad8d5ac00 radeon_vid new features:
nick
parents: 1968
diff changeset
29
3c5ad8d5ac00 radeon_vid new features:
nick
parents: 1968
diff changeset
30 Installation:
3c5ad8d5ac00 radeon_vid new features:
nick
parents: 1968
diff changeset
31 ~~~~~~~~~~~~~
3c5ad8d5ac00 radeon_vid new features:
nick
parents: 1968
diff changeset
32
3244
6f6c1bd1a682 Auto-install stuff
nick
parents: 3164
diff changeset
33 Simply type two commands in this directory:
6f6c1bd1a682 Auto-install stuff
nick
parents: 3164
diff changeset
34 make
6f6c1bd1a682 Auto-install stuff
nick
parents: 3164
diff changeset
35 make install
3246
f03adf755028 Improving auto-install
nick
parents: 3244
diff changeset
36 If you install it first time then type also:
f03adf755028 Improving auto-install
nick
parents: 3244
diff changeset
37 make nodes
3164
3c5ad8d5ac00 radeon_vid new features:
nick
parents: 1968
diff changeset
38
3c5ad8d5ac00 radeon_vid new features:
nick
parents: 1968
diff changeset
39 Using with mplayer:
3c5ad8d5ac00 radeon_vid new features:
nick
parents: 1968
diff changeset
40 ~~~~~~~~~~~~~~~~~~~
3c5ad8d5ac00 radeon_vid new features:
nick
parents: 1968
diff changeset
41
3c5ad8d5ac00 radeon_vid new features:
nick
parents: 1968
diff changeset
42 Currently there is only way to use ATI's drivers:
3270
d5d87c2c9157 -vo mga notes
nick
parents: 3265
diff changeset
43 mplayer -vo vesa:lvo:/dev/radeon_vid -<your vesa's options> filename
3164
3c5ad8d5ac00 radeon_vid new features:
nick
parents: 1968
diff changeset
44 or
3270
d5d87c2c9157 -vo mga notes
nick
parents: 3265
diff changeset
45 mplayer -vo vesa:lvo:/dev/rage128_vid -<your vesa's options> filename
d5d87c2c9157 -vo mga notes
nick
parents: 3265
diff changeset
46
d5d87c2c9157 -vo mga notes
nick
parents: 3265
diff changeset
47 For YV12 formats you can use also:
d5d87c2c9157 -vo mga notes
nick
parents: 3265
diff changeset
48 mplayer -vo mga:/dev/radeon_vid -<your mga's option> filename
d5d87c2c9157 -vo mga notes
nick
parents: 3265
diff changeset
49
d5d87c2c9157 -vo mga notes
nick
parents: 3265
diff changeset
50 but in this case you should load at least radeonfb driver from
d5d87c2c9157 -vo mga notes
nick
parents: 3265
diff changeset
51 this package.
3164
3c5ad8d5ac00 radeon_vid new features:
nick
parents: 1968
diff changeset
52
3246
f03adf755028 Improving auto-install
nick
parents: 3244
diff changeset
53 Configuring:
f03adf755028 Improving auto-install
nick
parents: 3244
diff changeset
54 ~~~~~~~~~~~~
f03adf755028 Improving auto-install
nick
parents: 3244
diff changeset
55
f03adf755028 Improving auto-install
nick
parents: 3244
diff changeset
56 You can tune up some parameters with using following trick:
f03adf755028 Improving auto-install
nick
parents: 3244
diff changeset
57 echo "parameter=value">/dev/radeon_vid
3251
acb2fcf45d9a More useful example
nick
parents: 3246
diff changeset
58 Example (disables adaptive deinterlacing):
acb2fcf45d9a More useful example
nick
parents: 3246
diff changeset
59 echo "deinterlace=off">/dev/radeon_vid
3246
f03adf755028 Improving auto-install
nick
parents: 3244
diff changeset
60
f03adf755028 Improving auto-install
nick
parents: 3244
diff changeset
61 To know more about these parameters - try read /dev/radeon_vid file ;)
3263
4ee5fc519e08 Fixed 'cat' problems
nick
parents: 3253
diff changeset
62 For example:
4ee5fc519e08 Fixed 'cat' problems
nick
parents: 3253
diff changeset
63 cat /dev/radeon_vid
3253
48899ffdc4de Minor improvements
nick
parents: 3251
diff changeset
64
48899ffdc4de Minor improvements
nick
parents: 3251
diff changeset
65 List of parameters:
48899ffdc4de Minor improvements
nick
parents: 3251
diff changeset
66 ~~~~~~~~~~~~~~~~~~~
3470
1a1669d42306 Tuned some registers
nick
parents: 3278
diff changeset
67 if you have rage128 chip:
3253
48899ffdc4de Minor improvements
nick
parents: 3251
diff changeset
68 brightness=decval (-64:+63) doesn't work on radeons
48899ffdc4de Minor improvements
nick
parents: 3251
diff changeset
69 saturation=decval (0:+31) doesn't work on radeons
3470
1a1669d42306 Tuned some registers
nick
parents: 3278
diff changeset
70 endif
1a1669d42306 Tuned some registers
nick
parents: 3278
diff changeset
71
3253
48899ffdc4de Minor improvements
nick
parents: 3251
diff changeset
72 double_buff=on/off enables/disables double buffering
48899ffdc4de Minor improvements
nick
parents: 3251
diff changeset
73 deinterlace=on/off enables/disables adaprive deinterlacing
48899ffdc4de Minor improvements
nick
parents: 3251
diff changeset
74 deinterlace_pattern=hexval defines deinterlacing pattern
3246
f03adf755028 Improving auto-install
nick
parents: 3244
diff changeset
75
3265
ec69d8238c84 Support for MTRR and 'swap_fourcc' flag
nick
parents: 3263
diff changeset
76 Driver parameters:
ec69d8238c84 Support for MTRR and 'swap_fourcc' flag
nick
parents: 3263
diff changeset
77 ~~~~~~~~~~~~~~~~~~
ec69d8238c84 Support for MTRR and 'swap_fourcc' flag
nick
parents: 3263
diff changeset
78
ec69d8238c84 Support for MTRR and 'swap_fourcc' flag
nick
parents: 3263
diff changeset
79 You can use some additional parameters during module loading:
ec69d8238c84 Support for MTRR and 'swap_fourcc' flag
nick
parents: 3263
diff changeset
80 Example:
ec69d8238c84 Support for MTRR and 'swap_fourcc' flag
nick
parents: 3263
diff changeset
81 modprobe radeon_vid swap_fourcc=1
ec69d8238c84 Support for MTRR and 'swap_fourcc' flag
nick
parents: 3263
diff changeset
82
ec69d8238c84 Support for MTRR and 'swap_fourcc' flag
nick
parents: 3263
diff changeset
83 List of driver's parameters:
ec69d8238c84 Support for MTRR and 'swap_fourcc' flag
nick
parents: 3263
diff changeset
84 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ec69d8238c84 Support for MTRR and 'swap_fourcc' flag
nick
parents: 3263
diff changeset
85 mtrr=1/0 configures MTRR (if available) default = 1
ec69d8238c84 Support for MTRR and 'swap_fourcc' flag
nick
parents: 3263
diff changeset
86 swap_fourcc=1/0 performs byte swapping of passed fourcc.
ec69d8238c84 Support for MTRR and 'swap_fourcc' flag
nick
parents: 3263
diff changeset
87 (It's required for compatibility with -vo mga)
ec69d8238c84 Support for MTRR and 'swap_fourcc' flag
nick
parents: 3263
diff changeset
88
ec69d8238c84 Support for MTRR and 'swap_fourcc' flag
nick
parents: 3263
diff changeset
89 To know more about driver's parameters execute:
ec69d8238c84 Support for MTRR and 'swap_fourcc' flag
nick
parents: 3263
diff changeset
90 modinfo radeon_vid
ec69d8238c84 Support for MTRR and 'swap_fourcc' flag
nick
parents: 3263
diff changeset
91 or
ec69d8238c84 Support for MTRR and 'swap_fourcc' flag
nick
parents: 3263
diff changeset
92 modinfo rage128_vid
ec69d8238c84 Support for MTRR and 'swap_fourcc' flag
nick
parents: 3263
diff changeset
93
3164
3c5ad8d5ac00 radeon_vid new features:
nick
parents: 1968
diff changeset
94 Note:
3c5ad8d5ac00 radeon_vid new features:
nick
parents: 1968
diff changeset
95 ~~~~~
3265
ec69d8238c84 Support for MTRR and 'swap_fourcc' flag
nick
parents: 3263
diff changeset
96 For command line of mplayer:
3164
3c5ad8d5ac00 radeon_vid new features:
nick
parents: 1968
diff changeset
97 You can pass only options with can be recognized by vo_vesa driver.
3c5ad8d5ac00 radeon_vid new features:
nick
parents: 1968
diff changeset
98 (Indeed radeon_vid and rage128_vid are stupid things and can create
3c5ad8d5ac00 radeon_vid new features:
nick
parents: 1968
diff changeset
99 video overlay only. But mode switching and other adjustement performs
3c5ad8d5ac00 radeon_vid new features:
nick
parents: 1968
diff changeset
100 vo_vesa driver. This mean that they use VESA BIOS as graphics server).
3c5ad8d5ac00 radeon_vid new features:
nick
parents: 1968
diff changeset
101
3c5ad8d5ac00 radeon_vid new features:
nick
parents: 1968
diff changeset
102 Conslusion:
3c5ad8d5ac00 radeon_vid new features:
nick
parents: 1968
diff changeset
103 ~~~~~~~~~~~
3c5ad8d5ac00 radeon_vid new features:
nick
parents: 1968
diff changeset
104 This stuff (radeon(rage128)_vid) currently doesn't support any standards.
3c5ad8d5ac00 radeon_vid new features:
nick
parents: 1968
diff changeset
105 So after implementing linux standards I'll fully rewrite this driver.
3c5ad8d5ac00 radeon_vid new features:
nick
parents: 1968
diff changeset
106
3265
ec69d8238c84 Support for MTRR and 'swap_fourcc' flag
nick
parents: 3263
diff changeset
107 Full example:
ec69d8238c84 Support for MTRR and 'swap_fourcc' flag
nick
parents: 3263
diff changeset
108 ~~~~~~~~~~~~~
ec69d8238c84 Support for MTRR and 'swap_fourcc' flag
nick
parents: 3263
diff changeset
109 modprobe radeon_vid mtrr=1
3278
404cfc1a0942 Color key still causes some troubles
nick
parents: 3270
diff changeset
110 echo "deinterlace_pattern=F0055555">/dev/radeon_vid
3265
ec69d8238c84 Support for MTRR and 'swap_fourcc' flag
nick
parents: 3263
diff changeset
111 mplayer -vo vesa:lvo:/dev/radeon_vid -fs -zoom -bpp 32 filename
ec69d8238c84 Support for MTRR and 'swap_fourcc' flag
nick
parents: 3263
diff changeset
112
ec69d8238c84 Support for MTRR and 'swap_fourcc' flag
nick
parents: 3263
diff changeset
113 Enjoy!