comparison DOCS/VIDEOCARDS @ 665:83c87c15bbbf

added MTRR and SUID notes
author arpi_esp
date Sun, 29 Apr 2001 23:11:35 +0000
parents c67c6e9c1fb3
children 176d242f935c
comparison
equal deleted inserted replaced
664:50cca1591b15 665:83c87c15bbbf
13 III. Native card-specific drivers, using special abilities of some cards 13 III. Native card-specific drivers, using special abilities of some cards
14 IV. DGA - direct graphic access. no YUV & scaling, but faster than raw X11 14 IV. DGA - direct graphic access. no YUV & scaling, but faster than raw X11
15 V. Not really acceleration, but... 15 V. Not really acceleration, but...
16 16
17 Now, let's see them in details: 17 Now, let's see them in details:
18
19 But before reading this, read DOCS/MTRR, and check your /proc/mtrr.
20 Believe me, it does worth! Speed up things 5x on P3!!!
18 21
19 I. Under XFree86 4.0.2 or newer, using the XVideo extension: 22 I. Under XFree86 4.0.2 or newer, using the XVideo extension:
20 this is what the option '-vo xv' uses. 23 this is what the option '-vo xv' uses.
21 24
22 In order to make this work, be sure to check the following: 25 In order to make this work, be sure to check the following:
119 2. MPlayer's DGA driver is autodetected on ./configure, or you can force it 122 2. MPlayer's DGA driver is autodetected on ./configure, or you can force it
120 with --enable-dga. 123 with --enable-dga.
121 3. If the driver couldn't switch to a smaller resolution, experiment with 124 3. If the driver couldn't switch to a smaller resolution, experiment with
122 switches -vm (only with X 3.0.x), -fs, -bpp, -zoom to find a video mode that 125 switches -vm (only with X 3.0.x), -fs, -bpp, -zoom to find a video mode that
123 the movie fits in. There is no converter right now.. :( 126 the movie fits in. There is no converter right now.. :(
124 4. Install MPlayer SUID root. 127 4. Became ROOT. DGA needs root access to be able to write directly video memory.
128 If you want to run it as user, then install MPlayer SUID root:
125 'chown root /usr/local/bin/mplayer' 129 'chown root /usr/local/bin/mplayer'
126 'chmod 750 /usr/local/bin/mplayer' 130 'chmod 750 /usr/local/bin/mplayer'
127 'chmod +s /usr/local/bin/mplayer' 131 'chmod +s /usr/local/bin/mplayer'
128 Now it works as a simple user, too. 132 Now it works as a simple user, too.
129 !!!! BUT STAY TUNED !!!! 133 !!!! BUT STAY TUNED !!!!