1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-14 02:45:43 +00:00
mpv/drivers/radeon
nick 5eaa1f97d3 Probably ugly attempt to fix Rage128 problems
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3199 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-29 17:07:52 +00:00
..
hacking Sorry for inexactitude 2001-11-29 17:06:58 +00:00
Makefile radeon_vid new features: 2001-11-27 18:36:02 +00:00
radeon_vid.c Probably ugly attempt to fix Rage128 problems 2001-11-29 17:07:52 +00:00
radeon_vid.h Probably ugly attempt to fix Rage128 problems 2001-11-29 17:07:52 +00:00
radeon.h radeon_vid new features: 2001-11-27 18:36:02 +00:00
radeonfb.c Enable discards - now it works 2001-10-11 06:24:17 +00:00
README radeon_vid new features: 2001-11-27 18:36:02 +00:00

	framebuffer driver for ATI Radeon chipset video boards
	======================================================

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.
Note: since linux-2.4.10 this driver was moved from -ac to
Linus distribution.

Alternative way:
~~~~~~~~~~~~~~~~
Simply type 'make' command in this directory then copy results ( *.o files ) to: 
/lib/modules/$(LINUX_VER)/kernel/drivers/video
directory.
Don't forget about: 
depmod -a

Anyway you should have 'Frame buffer 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).  


                      Radeon video overlay
		      ====================
		      
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).

Installation:
~~~~~~~~~~~~~

After building modules just copy them to:
/lib/modules/$(LINUX_VER)/kernel/drivers/video
directory.
Don't forget about: 
depmod -a

If you are doing it first time then create the device then execute
following command:
mknod /dev/radeon_vid c 178 0
for radeon_vid.o
mknod /dev/rage128_vid c 178 0
for rage128_vid.o

Using with mplayer:
~~~~~~~~~~~~~~~~~~~

Currently there is only way to use ATI's drivers:
mplayer -vo vesa:lvo:/dev/radeon_vid -<your options> filename
or
mplayer -vo vesa:lvo:/dev/rage128_vid -<your options> filename

Note:
~~~~~
You can pass only options with can be recognized by vo_vesa driver.
(Indeed radeon_vid and rage128_vid are stupid things and can create
video overlay only. But mode switching and other adjustement performs
vo_vesa driver. This mean that they use VESA BIOS as graphics server).

Conslusion:
~~~~~~~~~~~
This stuff (radeon(rage128)_vid) currently doesn't support any standards.
So after implementing linux standards I'll fully rewrite this driver.

Enjoy