From 143292104b2cddce2088dc966707773309e39fb9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Igor=20=C5=BDivkovi=C4=87?= Date: Wed, 13 Nov 2013 16:50:57 +0000 Subject: [PATCH] Update to glamor-egl-0.5.1. Fixed text to recommend it for Intel cards as well, thanks to William Harrington. git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@12210 af4574ff-66df-0310-9fd7-8a98e5e911e0 --- introduction/welcome/changelog.xml | 4 +++ x/installing/x7driver-ati.xml | 4 +-- x/installing/x7driver-glamor.xml | 30 ++++++--------------- x/installing/x7driver-intel.xml | 42 +++++++++++++++++++++++++++++- 4 files changed, 55 insertions(+), 25 deletions(-) diff --git a/introduction/welcome/changelog.xml b/introduction/welcome/changelog.xml index 992ac1d05b..8f33429d1a 100644 --- a/introduction/welcome/changelog.xml +++ b/introduction/welcome/changelog.xml @@ -46,6 +46,10 @@ November 13th, 2013 + + [igor] - Update to glamor-egl-0.5.1. Fixed text to recommend it + for Intel cards as well, thanks to William Harrington. + [fernando] - Update to gst-plugins-bad-1.2.1. Fixes #4299. diff --git a/x/installing/x7driver-ati.xml b/x/installing/x7driver-ati.xml index 2ca36fad8b..4bf27c7f02 100644 --- a/x/installing/x7driver-ati.xml +++ b/x/installing/x7driver-ati.xml @@ -89,8 +89,8 @@ - Optional - + Recommended + diff --git a/x/installing/x7driver-glamor.xml b/x/installing/x7driver-glamor.xml index 5574e7f8c9..b1f9b22b4c 100644 --- a/x/installing/x7driver-glamor.xml +++ b/x/installing/x7driver-glamor.xml @@ -4,14 +4,14 @@ %general-entities; - + - - - - + + + + - + ]> @@ -28,9 +28,7 @@ The Glamor EGL package contains a - GL-based rendering acceleration library for X server. It is - only useful if you are using newer AMD Radeon cards with - Xorg ATI Driver. + GL-based rendering acceleration library for X server. &lfs74_built; @@ -69,16 +67,6 @@ - Additional Downloads - - - - Required patch: - - - - - Glamor EGL Dependencies Required @@ -99,9 +87,7 @@ commands: -patch -Np1 -i ../glamor-egl-&glamor-egl-version;-fixes-1.patch && -autoreconf -fi && -./configure $XORG_CONFIG --enable-glx-tls && +./autogen.sh $XORG_CONFIG --enable-glx-tls && make diff --git a/x/installing/x7driver-intel.xml b/x/installing/x7driver-intel.xml index a4adac56f2..f20c6b95c8 100644 --- a/x/installing/x7driver-intel.xml +++ b/x/installing/x7driver-intel.xml @@ -76,6 +76,11 @@ + Recommended + + + + User Notes: @@ -108,7 +113,10 @@ commands: -./configure $XORG_CONFIG --enable-kms-only --with-default-accel=sna && +./configure $XORG_CONFIG \ + --enable-kms-only \ + --enable-glamor \ + --with-default-accel=sna && make @@ -130,6 +138,12 @@ make (User Mode Setting) code. + + --enable-glamor: This switch enables + new GL-based 2D acceleration. As well as specifying this in the + build, it needs to be enabled at run time (see below). + + --with-default-accel=sna: This switch enables SandyBridge New Acceleration method by default. @@ -137,6 +151,32 @@ make + + Glamor Acceleration + + + Glamor is an acceleration library which uses cards' 3D capabilities to + accelerate 2D rendering. 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 "intel" + Driver "intel" + Option "AccelMethod" "glamor" +EndSection +EOF + + Contents