2001-09-19 16:52:13 +00:00
|
|
|
framebuffer driver for ATI Radeon chipset video boards
|
|
|
|
======================================================
|
|
|
|
|
2001-09-19 15:47:24 +00:00
|
|
|
These files are replacement for linux-2.4.x-ac.y drivers.
|
|
|
|
To use this driver you should have at least linux-2.4.5-ac.1
|
|
|
|
then simply replace linux/drivers/video/radeon* with files
|
|
|
|
from this directory.
|
2001-09-26 08:24:18 +00:00
|
|
|
Note: since linux-2.4.10 this driver was moved from -ac to
|
|
|
|
Linus distribution.
|
2001-09-19 15:47:24 +00:00
|
|
|
|
2001-09-19 16:52:13 +00:00
|
|
|
Alternative way:
|
|
|
|
~~~~~~~~~~~~~~~~
|
2001-12-01 15:22:10 +00:00
|
|
|
Simply type two commands in this directory:
|
|
|
|
make
|
|
|
|
make install
|
2001-09-19 16:52:13 +00:00
|
|
|
|
2007-03-17 17:53:00 +00:00
|
|
|
Anyway you should have 'framebuffer support' compiled into linux-kernel
|
|
|
|
and at least '8bpp packed pixel support' compiled and installed as module.
|
|
|
|
(But if you plan to use this module with MPlayer you also should have
|
|
|
|
16bpp, 24bpp and 32bpp pixel support compiled as modules).
|
2001-09-19 16:52:13 +00:00
|
|
|
|
2001-11-27 18:36:02 +00:00
|
|
|
|
|
|
|
Radeon video overlay
|
|
|
|
====================
|
2007-03-17 17:53:00 +00:00
|
|
|
|
|
|
|
It was designed for MPlayer and currently can be used only by MPlayer.
|
|
|
|
It's RGB-YUV BES for Radeon cards (althrough there is experimental
|
|
|
|
support for Rage128 / Rage128pro chips).
|
2001-11-27 18:36:02 +00:00
|
|
|
|
2007-03-17 09:02:00 +00:00
|
|
|
rage128_vid is contained within radeon_vid.c. As for a Rage128 framebuffer -
|
|
|
|
use the one from your Linux distribution.
|
|
|
|
|
2001-11-27 18:36:02 +00:00
|
|
|
Installation:
|
|
|
|
~~~~~~~~~~~~~
|
|
|
|
|
2001-12-01 15:22:10 +00:00
|
|
|
Simply type two commands in this directory:
|
|
|
|
make
|
|
|
|
make install
|
2001-11-27 18:36:02 +00:00
|
|
|
|
2007-03-17 17:53:00 +00:00
|
|
|
Using with MPlayer:
|
2001-11-27 18:36:02 +00:00
|
|
|
~~~~~~~~~~~~~~~~~~~
|
|
|
|
|
2007-03-17 17:53:00 +00:00
|
|
|
Currently there is only one way to use ATI's drivers:
|
2001-12-02 14:01:13 +00:00
|
|
|
mplayer -vo vesa:lvo:/dev/radeon_vid -<your vesa's options> filename
|
2001-11-27 18:36:02 +00:00
|
|
|
or
|
2001-12-02 14:01:13 +00:00
|
|
|
mplayer -vo vesa:lvo:/dev/rage128_vid -<your vesa's options> filename
|
|
|
|
|
|
|
|
For YV12 formats you can use also:
|
|
|
|
mplayer -vo mga:/dev/radeon_vid -<your mga's option> filename
|
|
|
|
|
|
|
|
but in this case you should load at least radeonfb driver from
|
|
|
|
this package.
|
2001-11-27 18:36:02 +00:00
|
|
|
|
2001-12-01 17:08:12 +00:00
|
|
|
Configuring:
|
|
|
|
~~~~~~~~~~~~
|
|
|
|
|
2007-03-17 17:53:00 +00:00
|
|
|
You can tune some parameters with the following trick:
|
|
|
|
echo "parameter=value" > /dev/radeon_vid
|
2001-12-01 18:09:32 +00:00
|
|
|
Example (disables adaptive deinterlacing):
|
2007-03-17 17:53:00 +00:00
|
|
|
echo "deinterlace=off" > /dev/radeon_vid
|
2001-12-01 17:08:12 +00:00
|
|
|
|
2007-03-17 17:53:00 +00:00
|
|
|
To know more about these parameters - try reading the /dev/radeon_vid file ;)
|
2001-12-02 10:44:46 +00:00
|
|
|
For example:
|
|
|
|
cat /dev/radeon_vid
|
2001-12-01 20:23:47 +00:00
|
|
|
|
|
|
|
List of parameters:
|
|
|
|
~~~~~~~~~~~~~~~~~~~
|
2007-03-17 17:53:00 +00:00
|
|
|
If you have Rage128 chip:
|
2001-12-31 16:08:32 +00:00
|
|
|
brightness=decval (-64:+63) changes brightness
|
2007-03-17 17:53:00 +00:00
|
|
|
saturation=decval (0:+31) changes saturation 0 == grayscale mode
|
|
|
|
else - if you have Radeon:
|
|
|
|
brightness=decval (-1000:+1000) -1000 == black screen
|
2001-12-31 16:08:32 +00:00
|
|
|
saturation=decval (-1000:+1000) -1000 == grayscaled mode
|
|
|
|
contrast=decval (-1000:+1000) -1000 == black screen
|
|
|
|
hue=decval (-1000:+1000) -1000 == +1000 (full circle)
|
|
|
|
all other values are within this range
|
2007-03-17 17:53:00 +00:00
|
|
|
Note: 0 is the default value for every parameter on Radeons.
|
|
|
|
WARNING: This driver violates the rule: "no float in the kernel".
|
|
|
|
So if you have problems then don't use color correction.
|
2001-12-12 15:29:51 +00:00
|
|
|
|
2001-12-01 20:23:47 +00:00
|
|
|
double_buff=on/off enables/disables double buffering
|
2007-03-17 17:53:00 +00:00
|
|
|
deinterlace=on/off enables/disables adaptive deinterlacing
|
2001-12-01 20:23:47 +00:00
|
|
|
deinterlace_pattern=hexval defines deinterlacing pattern
|
2001-12-01 17:08:12 +00:00
|
|
|
|
2001-12-02 11:45:44 +00:00
|
|
|
Driver parameters:
|
|
|
|
~~~~~~~~~~~~~~~~~~
|
|
|
|
|
|
|
|
You can use some additional parameters during module loading:
|
|
|
|
Example:
|
|
|
|
modprobe radeon_vid swap_fourcc=1
|
|
|
|
|
2007-03-17 17:53:00 +00:00
|
|
|
List of driver parameters:
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
mtrr=1/0 Configures MTRR (if available), default = 1.
|
|
|
|
swap_fourcc=1/0 Performs byte swapping of passed fourcc.
|
|
|
|
(It's required for compatibility with -vo mga.)
|
|
|
|
|
|
|
|
To know more about driver parameters execute:
|
2001-12-02 11:45:44 +00:00
|
|
|
modinfo radeon_vid
|
|
|
|
or
|
|
|
|
modinfo rage128_vid
|
2007-03-17 17:53:00 +00:00
|
|
|
|
2001-11-27 18:36:02 +00:00
|
|
|
Note:
|
|
|
|
~~~~~
|
2007-03-17 17:53:00 +00:00
|
|
|
For command line of MPlayer:
|
2001-11-27 18:36:02 +00:00
|
|
|
You can pass only options with can be recognized by vo_vesa driver.
|
2007-03-17 17:53:00 +00:00
|
|
|
(Indeed radeon_vid and rage128_vid are stupid things and can only create
|
|
|
|
video overlay. Mode switching and other adjustments are performed by the
|
|
|
|
vo_vesa driver. This mean that they use the VESA BIOS as graphics server.)
|
2001-11-27 18:36:02 +00:00
|
|
|
|
2007-03-17 17:53:00 +00:00
|
|
|
Conclusion:
|
2001-11-27 18:36:02 +00:00
|
|
|
~~~~~~~~~~~
|
|
|
|
This stuff (radeon(rage128)_vid) currently doesn't support any standards.
|
|
|
|
|
2001-12-02 11:45:44 +00:00
|
|
|
Full example:
|
|
|
|
~~~~~~~~~~~~~
|
|
|
|
modprobe radeon_vid mtrr=1
|
2007-03-17 17:53:00 +00:00
|
|
|
echo "deinterlace_pattern=F0055555" > /dev/radeon_vid
|
2001-12-02 11:45:44 +00:00
|
|
|
mplayer -vo vesa:lvo:/dev/radeon_vid -fs -zoom -bpp 32 filename
|
|
|
|
|
2007-03-17 17:53:00 +00:00
|
|
|
Enjoy!
|