diff options
author | gabucino <gabucino@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-06-10 22:04:10 +0000 |
---|---|---|
committer | gabucino <gabucino@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-06-10 22:04:10 +0000 |
commit | aac85fc010c4b68480a16f364a3890ee008cf7ce (patch) | |
tree | 5ab6249c369771092d77caa5bb3c946e83e3371e /DOCS/DGA | |
parent | 50c380554602d107e03e2b1d34732e66e61cf385 (diff) | |
download | mpv-aac85fc010c4b68480a16f364a3890ee008cf7ce.tar.bz2 mpv-aac85fc010c4b68480a16f364a3890ee008cf7ce.tar.xz |
*** empty log message ***
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1087 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'DOCS/DGA')
-rw-r--r-- | DOCS/DGA | 17 |
1 files changed, 9 insertions, 8 deletions
@@ -23,17 +23,18 @@ Contents 2. What is DGA? ~~~~~~~~~~~~~~~ - DGA is short for Direct Graphics Access and is a means for a programm to + DGA is short for Direct Graphics Access and is a means for a program to bypass the X-Server and directly modifying the framebuffer memory. Technically spoken this happens by mapping the framebuffer memory into - the memory range of your process. This is just allowed by the kernel + the memory range of your process. This is allowed by the kernel only if you have superuser privileges. You can get these either by logging in - as root or by setting the suid bit on the mplayer excecutable. + as root or by setting the suid bit on the mplayer excecutable (NOT + recommended!). - There are two versions of DGA: DGA1 is used by XFree 3.X.X and DGA2 was + There are two versions of DGA: DGA1 is used by XFree 3.x.x and DGA2 was introduced with XFree 4.0.1. - DGA1 just provides direct framebuffer access as described above. For + DGA1 provides only direct framebuffer access as described above. For switching the resolution of the video signal you have to rely on the XVidMode extension. @@ -57,12 +58,12 @@ Contents /etc/X11/XF86Config (/etc/X11/XF86Config-4 for XFree 4.0.X respectively). Those are defined by so-called modelines and depend on the capabilites of your video hardware. The XServer scans this config file on startup and - disables those modelines not suitable for your hardware. You can find + disables the modelines not suitable for your hardware. You can find out which modes survive with the X11 log file. It can be found at: - /var/log/XFree86.0.log (on Debian systems ... :-) ) + /var/log/XFree86.0.log See appendix A for some sample modeline definitions. -4. DGA & MPLayer +4. DGA & MPlayer ~~~~~~~~~~~~~~~~ DGA is used in two places with MPlayer: The SDL driver can be made to make |