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
This commit is contained in:
Igor Živković 2013-11-13 16:50:57 +00:00
parent 1c1dffa037
commit 143292104b
4 changed files with 55 additions and 25 deletions

View File

@ -46,6 +46,10 @@
<listitem>
<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>

View File

@ -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>

View File

@ -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 &amp;&amp;
autoreconf -fi &amp;&amp;
./configure $XORG_CONFIG --enable-glx-tls &amp;&amp;
<screen><userinput>./autogen.sh $XORG_CONFIG --enable-glx-tls &amp;&amp;
make</userinput></screen>
<para>

View File

@ -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 &amp;&amp;
<screen><userinput>./configure $XORG_CONFIG \
--enable-kms-only \
--enable-glamor \
--with-default-accel=sna &amp;&amp;
make</userinput></screen>
<para>
@ -130,6 +138,12 @@ make</userinput></screen>
(User Mode Setting) code.
</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.
@ -137,6 +151,32 @@ make</userinput></screen>
</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 &gt;&gt; /etc/X11/xorg.conf &lt;&lt; "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>