From bb9728099f29795aaa463687b87e662613785838 Mon Sep 17 00:00:00 2001 From: Krejzi Date: Sat, 16 Mar 2013 20:17:21 +0000 Subject: [PATCH] Add Glamor. git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@11102 af4574ff-66df-0310-9fd7-8a98e5e911e0 --- x/installing/x7driver.xml | 250 ++++++++++++++++++++++++++++++++++++-- 1 file changed, 240 insertions(+), 10 deletions(-) diff --git a/x/installing/x7driver.xml b/x/installing/x7driver.xml index bb67eb7c35..195eecbc46 100644 --- a/x/installing/x7driver.xml +++ b/x/installing/x7driver.xml @@ -4,6 +4,18 @@ %general-entities; + + + + + + + + + + + + @@ -193,6 +205,19 @@ + + Xorg Modules + + + + + + + + + + + Xorg Input Drivers @@ -296,6 +321,168 @@ + + + + Glamor EGL-&glamor-egl-version; + + + glamor-egl + + + + Introduction to Glamor EGL + + + The Glamor EGL package contains a + GL-based rendering acceleration library for X server. + + + &lfs72_checked; + + Package Information + + + + Download (HTTP): + + + + + Download (FTP): + + + + + Download MD5 sum: &glamor-egl-md5sum; + + + + + Download size: &glamor-egl-size; + + + + + Estimated disk space required: &glamor-egl-buildsize; + + + + + Estimated build time: &glamor-egl-time; + + + + + Additional Downloads + + + + Required patch: + + + + + + Glamor EGL Dependencies + + Required + + + + + + User Notes: + + + + + Installation of Glamor EGL + + + Install Glamor EGL by running the following + commands: + + +patch -Np1 -i ../glamor-egl-&glamor-egl-version;-fixes-1.patch && +autoreconf -fi && +./configure $XORG_CONFIG --enable-glx-tls && +make + + + This package does not come with a test suite. + + + + Now, as the root user: + + +make install + + + + Command Explanations + + + --enable-glx-tls: This switch enables + TLS support in GLX. + + + + + + Contents + + + Installed Library + Installed Xorg Module + + + + libglamor.so + + + libglamoregl.so + + + + + + Short Descriptions + + + + + libglamoregl.so + + + contains functions to create and initialize OpenGL/EGL context. + + + libglamoregl.so + + + + + + libglamor.so + + + contains the Glamor rendering functions. + + + libglamor.so + + + + + + + + + + + @@ -945,7 +1132,7 @@ make The Xorg ATI Driver package contains the X.Org Video Driver for ATI Radeon video cards including all chipsets ranging - from R100 to R700 including newer Radeon HD ones. + from R100 to R900 and the newer RAxx chipsets. &lfs72_checked; @@ -953,7 +1140,7 @@ make For Direct Rendering to work with newer Radeon Cards (r300 and later chipsets), - you will need to enable building of r300 and r600 Gallium drivers in + you will need to enable building of r300, r600 and radeonsi Gallium drivers in instructions. Also, some cards will require Firmware to be available when kernel driver is loaded. Firmware can be obtained from @@ -999,12 +1186,7 @@ make Required - - - - Optional - - Glamor + @@ -1039,7 +1221,7 @@ make commands: -./configure $XORG_CONFIG && +./configure $XORG_CONFIG --enable-glamor && make @@ -1053,6 +1235,54 @@ make make install + + Command Explanations + + + --enable-glamor: This switch enables + new GL-based acceleration. + + + + + + Glamor Acceleration + + + Glamor is an acceleration library which uses cards' 3D capabilities + to accelerate 2D rendering. Glamor acceleration is required for + Radeon "South Islands" GPUs which use "radeonsi" Gallium3D driver + from . To see which cards fall under + "South Islands" category, read the + + Decoder ring for engineering vs marketing names. Please note + that Glamor acceleration can be used with other chips as well, but + it has not been tested recently. + + + + Glamor acceleration is not enabled by default. You have to use a + xorg.conf file to enable it. To enable + Glamor, create the following + /etc/X11/xorg.conf as the + root user: + + +cat >> /etc/X11/xorg.conf << "EOF" +Section "Module" + Load "dri2" + Load "glamoregl" +EndSection + +Section "Device" + Identifier "radeon" + Driver "radeon" + Option "AccelMethod" "glamor" +EndSection +EOF + + + Contents @@ -1258,7 +1488,7 @@ make The Xorg Intel Driver package contains the X.Org Video Driver for Intel integrated video cards including 8xx, 9xx, Gxx, Qxx - and HD graphics processors. + and HD graphics processors (SandyBridge, IvyBridge and Haswell). &lfs72_checked;