[blfs-book] r12210 - in trunk/BOOK: introduction/welcome x/installing

igor at higgs.linuxfromscratch.org igor at higgs.linuxfromscratch.org
Wed Nov 13 08:50:57 PST 2013


Author: igor
Date: Wed Nov 13 08:50:57 2013
New Revision: 12210

Log:
Update to glamor-egl-0.5.1. Fixed text to recommend it for Intel cards as well, thanks to William Harrington.

Modified:
   trunk/BOOK/introduction/welcome/changelog.xml
   trunk/BOOK/x/installing/x7driver-ati.xml
   trunk/BOOK/x/installing/x7driver-glamor.xml
   trunk/BOOK/x/installing/x7driver-intel.xml

Modified: trunk/BOOK/introduction/welcome/changelog.xml
==============================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml	Wed Nov 13 08:23:26 2013	(r12209)
+++ trunk/BOOK/introduction/welcome/changelog.xml	Wed Nov 13 08:50:57 2013	(r12210)
@@ -47,6 +47,10 @@
       <para>November 13th, 2013</para>
       <itemizedlist>
         <listitem>
+          <para>[igor] - Update to glamor-egl-0.5.1. Fixed text to recommend it
+          for Intel cards as well, thanks to William Harrington.</para>
+        </listitem>
+        <listitem>
           <para>[fernando] - Update to gst-plugins-bad-1.2.1. Fixes
           <ulink url="&blfs-ticket-root;4299">#4299</ulink>.</para>
         </listitem>

Modified: trunk/BOOK/x/installing/x7driver-ati.xml
==============================================================================
--- trunk/BOOK/x/installing/x7driver-ati.xml	Wed Nov 13 08:23:26 2013	(r12209)
+++ trunk/BOOK/x/installing/x7driver-ati.xml	Wed Nov 13 08:50:57 2013	(r12210)
@@ -89,8 +89,8 @@
         <xref linkend="xorg-server"/>
       </para>
 
-      <bridgehead renderas="sect5">Optional</bridgehead>
-      <para role="optional">
+      <bridgehead renderas="sect5">Recommended</bridgehead>
+      <para role="Recommended">
         <xref linkend="glamor-egl"/>
       </para>
 

Modified: trunk/BOOK/x/installing/x7driver-glamor.xml
==============================================================================
--- trunk/BOOK/x/installing/x7driver-glamor.xml	Wed Nov 13 08:23:26 2013	(r12209)
+++ trunk/BOOK/x/installing/x7driver-glamor.xml	Wed Nov 13 08:50:57 2013	(r12210)
@@ -4,14 +4,14 @@
   <!ENTITY % general-entities SYSTEM "../../general.ent">
   %general-entities;
 
-  <!ENTITY glamor-egl-version "0.5.0">
+  <!ENTITY glamor-egl-version "0.5.1">
 
-  <!ENTITY glamor-egl-download-http "&sources-anduin-other-http;/glamor-egl-&glamor-egl-version;.tar.xz">
-  <!ENTITY glamor-egl-download-ftp  "&sources-anduin-other;/glamor-egl-&glamor-egl-version;.tar.xz">
-  <!ENTITY glamor-egl-md5sum        "8b8c3ca4d502313df8e62c01c000e10d">
-  <!ENTITY glamor-egl-size          "100 KB">
+  <!ENTITY glamor-egl-download-http "http://cgit.freedesktop.org/xorg/driver/glamor/snapshot/glamor-egl-&glamor-egl-version;.tar.gz">
+  <!ENTITY glamor-egl-download-ftp  " ">
+  <!ENTITY glamor-egl-md5sum        "b52cc1cadebe210cc256a9fd9523dc08">
+  <!ENTITY glamor-egl-size          "132 KB">
   <!ENTITY glamor-egl-buildsize     "13 MB">
-  <!ENTITY glamor-egl-time          "0.1 SBU">
+  <!ENTITY glamor-egl-time          "0.2 SBU">
 ]>
 
   <!-- Begin Glamor EGL -->
@@ -28,9 +28,7 @@
 
       <para>
         The <application>Glamor EGL</application> package contains a
-        GL-based rendering acceleration library for X server. It is
-        only useful if you are using newer AMD Radeon cards with
-        <application>Xorg ATI Driver</application>.
+        GL-based rendering acceleration library for X server.
       </para>
 
       &lfs74_built;
@@ -69,16 +67,6 @@
         </listitem>
       </itemizedlist>
 
-      <bridgehead renderas="sect4">Additional Downloads</bridgehead>
-      <itemizedlist spacing="compact">
-        <listitem>
-          <para>
-            Required patch:
-            <ulink url="&patch-root;/glamor-egl-&glamor-egl-version;-fixes-1.patch"/>
-          </para>
-        </listitem>
-      </itemizedlist>
-
       <bridgehead renderas="sect4">Glamor EGL Dependencies</bridgehead>
 
       <bridgehead renderas="sect5">Required</bridgehead>
@@ -99,9 +87,7 @@
         commands:
       </para>
 
-<screen><userinput>patch -Np1 -i ../glamor-egl-&glamor-egl-version;-fixes-1.patch &&
-autoreconf -fi &&
-./configure $XORG_CONFIG --enable-glx-tls &&
+<screen><userinput>./autogen.sh $XORG_CONFIG --enable-glx-tls &&
 make</userinput></screen>
 
       <para>

Modified: trunk/BOOK/x/installing/x7driver-intel.xml
==============================================================================
--- trunk/BOOK/x/installing/x7driver-intel.xml	Wed Nov 13 08:23:26 2013	(r12209)
+++ trunk/BOOK/x/installing/x7driver-intel.xml	Wed Nov 13 08:50:57 2013	(r12210)
@@ -76,6 +76,11 @@
         <xref linkend="xorg-server"/>
       </para>
 
+      <bridgehead renderas="sect5">Recommended</bridgehead>
+      <para role="Recommended">
+        <xref linkend="glamor-egl"/>
+      </para>
+
       <para condition="html" role="usernotes">
         User Notes: <ulink url="&blfs-wiki;/xorg-intel-driver"/>
       </para>
@@ -108,7 +113,10 @@
         commands:
       </para>
 
-<screen><userinput>./configure $XORG_CONFIG --enable-kms-only --with-default-accel=sna &&
+<screen><userinput>./configure $XORG_CONFIG \
+            --enable-kms-only \
+            --enable-glamor \
+            --with-default-accel=sna &&
 make</userinput></screen>
 
       <para>
@@ -131,12 +139,44 @@
       </para>
 
       <para>
+        <parameter>--enable-glamor</parameter>: 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).
+      </para>
+
+      <para>
         <parameter>--with-default-accel=sna</parameter>: This switch enables
         SandyBridge New Acceleration method by default.
       </para>
 
     </sect3>
 
+    <sect3>
+      <title>Glamor Acceleration</title>
+
+      <para>
+        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 <filename>xorg.conf</filename> file to enable it. To
+        enable Glamor, create the following
+        <filename>/etc/X11/xorg.conf</filename> as the
+        <systemitem class="username">root</systemitem> user:
+      </para>
+
+<screen role="root"><userinput>cat >> /etc/X11/xorg.conf << "EOF"
+<literal>Section "Module"
+        Load "dri2"
+        Load "glamoregl"
+EndSection
+
+Section "Device"
+        Identifier "intel"
+        Driver "intel"
+        Option "AccelMethod" "glamor"
+EndSection</literal>
+EOF</userinput></screen>
+
+    </sect3>
     <sect3 role="content">
       <title>Contents</title>
 



More information about the blfs-book mailing list