Ignore:
Timestamp:
03/16/2013 08:17:21 PM (11 years ago)
Author:
Krejzi <krejzi@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
dcd16c6
Parents:
f144243
Message:

Add Glamor.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@11102 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • x/installing/x7driver.xml

    rf144243 rbb97280  
    44  <!ENTITY % general-entities SYSTEM "../../general.ent">
    55  %general-entities;
     6
     7  <!ENTITY radeon-wiki "http://wiki.x.org/wiki/RadeonFeature">
     8  <!ENTITY radeon-marketing-names "&radeon-wiki;#Decoder_ring_for_engineering_vs_marketing_names">
     9
     10  <!ENTITY glamor-egl-version "0.5.0">
     11
     12  <!ENTITY glamor-egl-download-http "&sources-anduin-other-http;/glamor-egl-&glamor-egl-version;.tar.xz">
     13  <!ENTITY glamor-egl-download-ftp  "&sources-anduin-other;/glamor-egl-&glamor-egl-version;.tar.xz">
     14  <!ENTITY glamor-egl-md5sum        "8b8c3ca4d502313df8e62c01c000e10d">
     15  <!ENTITY glamor-egl-size          "100 KB">
     16  <!ENTITY glamor-egl-buildsize     "13 MB">
     17  <!ENTITY glamor-egl-time          "0.1 SBU">
    618
    719  <!ENTITY xorg-evdev-driver-version "2.7.3">
     
    194206    </note>
    195207
     208    <sect3 id="xorg-modules">
     209      <title>Xorg Modules</title>
     210
     211      <itemizedlist spacing="compact">
     212        <listitem>
     213          <para>
     214            <xref linkend="glamor-egl"/>
     215          </para>
     216        </listitem>
     217      </itemizedlist>
     218
     219    </sect3>
     220
    196221    <sect3 id="xorg-input-drivers">
    197222      <title>Xorg Input Drivers</title>
     
    296321
    297322  </sect2>
     323
     324  <!-- Begin Glamor EGL -->
     325  <sect2 id="glamor-egl" xreflabel="Glamor EGL-&glamor-egl-version;">
     326
     327    <title>Glamor EGL-&glamor-egl-version;</title>
     328
     329    <indexterm zone="glamor-egl">
     330      <primary sortas="a-glamor-egl">glamor-egl</primary>
     331    </indexterm>
     332
     333    <sect3 role="package">
     334      <title>Introduction to Glamor EGL</title>
     335
     336      <para>
     337        The <application>Glamor EGL</application> package contains a
     338        GL-based rendering acceleration library for X server.
     339      </para>
     340
     341      &lfs72_checked;
     342
     343      <bridgehead renderas="sect4">Package Information</bridgehead>
     344      <itemizedlist spacing="compact">
     345        <listitem>
     346          <para>
     347            Download (HTTP): <ulink url="&glamor-egl-download-http;"/>
     348          </para>
     349        </listitem>
     350        <listitem>
     351          <para>
     352            Download (FTP): <ulink url="&glamor-egl-download-ftp;"/>
     353          </para>
     354        </listitem>
     355        <listitem>
     356          <para>
     357            Download MD5 sum: &glamor-egl-md5sum;
     358          </para>
     359        </listitem>
     360        <listitem>
     361          <para>
     362            Download size: &glamor-egl-size;
     363          </para>
     364        </listitem>
     365        <listitem>
     366          <para>
     367            Estimated disk space required: &glamor-egl-buildsize;
     368          </para>
     369        </listitem>
     370        <listitem>
     371          <para>
     372            Estimated build time: &glamor-egl-time;
     373          </para>
     374        </listitem>
     375      </itemizedlist>
     376
     377      <bridgehead renderas="sect4">Additional Downloads</bridgehead>
     378      <itemizedlist spacing="compact">
     379        <listitem>
     380          <para>
     381            Required patch:
     382            <ulink url="&patch-root;/glamor-egl-&glamor-egl-version;-fixes-1.patch"/>
     383          </para>
     384        </listitem>
     385      </itemizedlist>
     386
     387      <bridgehead renderas="sect4">Glamor EGL Dependencies</bridgehead>
     388
     389      <bridgehead renderas="sect5">Required</bridgehead>
     390      <para role="required">
     391        <xref linkend="xorg-server"/>
     392      </para>
     393
     394      <para condition="html" role="usernotes">
     395        User Notes: <ulink url="&blfs-wiki;/glamor-egl"/>
     396      </para>
     397    </sect3>
     398
     399    <sect3 role="installation">
     400      <title>Installation of Glamor EGL</title>
     401
     402      <para>
     403        Install <application>Glamor EGL</application> by running the following
     404        commands:
     405      </para>
     406
     407<screen><userinput>patch -Np1 -i ../glamor-egl-&glamor-egl-version;-fixes-1.patch &amp;&amp;
     408autoreconf -fi &amp;&amp;
     409./configure $XORG_CONFIG --enable-glx-tls &amp;&amp;
     410make</userinput></screen>
     411
     412      <para>
     413        This package does not come with a test suite.
     414      </para>
     415
     416      <para>
     417        Now, as the <systemitem class="username">root</systemitem> user:
     418      </para>
     419
     420<screen role="root"><userinput>make install</userinput></screen>
     421    </sect3>
     422
     423    <sect3>
     424      <title>Command Explanations</title>
     425
     426      <para>
     427        <parameter>--enable-glx-tls</parameter>: This switch enables
     428        TLS support in GLX.
     429      </para>
     430
     431    </sect3>
     432
     433    <sect3 role="content">
     434      <title>Contents</title>
     435
     436      <segmentedlist>
     437        <segtitle>Installed Library</segtitle>
     438        <segtitle>Installed Xorg Module</segtitle>
     439
     440        <seglistitem>
     441          <seg>
     442            libglamor.so
     443          </seg>
     444          <seg>
     445            libglamoregl.so
     446          </seg>
     447        </seglistitem>
     448      </segmentedlist>
     449
     450      <variablelist>
     451        <bridgehead renderas="sect4">Short Descriptions</bridgehead>
     452        <?dbfo list-presentation="list"?>
     453        <?dbhtml list-presentation="table"?>
     454
     455        <varlistentry id="libglamoregl">
     456          <term><filename class="libraryfile">libglamoregl.so</filename></term>
     457          <listitem>
     458            <para>
     459              contains functions to create and initialize OpenGL/EGL context.
     460            </para>
     461            <indexterm zone="glamor-egl libglamoregl">
     462              <primary sortas="c-libglamoregl">libglamoregl.so</primary>
     463            </indexterm>
     464          </listitem>
     465        </varlistentry>
     466
     467        <varlistentry id="libglamor">
     468          <term><filename class="libraryfile">libglamor.so</filename></term>
     469          <listitem>
     470            <para>
     471              contains the <application>Glamor</application> rendering functions.
     472            </para>
     473            <indexterm zone="glamor-egl libglamor">
     474              <primary sortas="c-libglamor">libglamor.so</primary>
     475            </indexterm>
     476          </listitem>
     477        </varlistentry>
     478
     479      </variablelist>
     480
     481    </sect3>
     482
     483  </sect2>
     484  <!-- End Glamor EGL -->
    298485
    299486  <!-- Begin Xorg Evdev Driver -->
     
    9461133        The <application>Xorg ATI Driver</application> package contains the X.Org
    9471134        Video Driver for ATI Radeon video cards including all chipsets ranging
    948         from R100 to R700 including newer Radeon HD ones.
     1135        from R100 to R900 and the newer RAxx chipsets.
    9491136      </para>
    9501137
     
    9541141        <para>
    9551142          For Direct Rendering to work with newer Radeon Cards (r300 and later chipsets),
    956           you will need to enable building of r300 and r600 Gallium drivers in
     1143          you will need to enable building of r300, r600 and radeonsi Gallium drivers in
    9571144          <xref linkend="mesalib"/> instructions. Also, some cards will require Firmware
    9581145          to be available when kernel driver is loaded. Firmware can be obtained from
     
    10001187      <bridgehead renderas="sect5">Required</bridgehead>
    10011188      <para role="required">
    1002         <xref linkend="xorg-server"/>
    1003       </para>
    1004 
    1005       <bridgehead renderas="sect5">Optional</bridgehead>
    1006       <para role="optional">
    1007         <ulink url="http://www.freedesktop.org/wiki/Software/Glamor">Glamor</ulink>
     1189        <xref linkend="glamor-egl"/>
    10081190      </para>
    10091191
     
    10401222      </para>
    10411223
    1042 <screen><userinput>./configure $XORG_CONFIG &amp;&amp;
     1224<screen><userinput>./configure $XORG_CONFIG --enable-glamor &amp;&amp;
    10431225make</userinput></screen>
    10441226
     
    10521234
    10531235<screen role="root"><userinput>make install</userinput></screen>
     1236    </sect3>
     1237
     1238    <sect3>
     1239      <title>Command Explanations</title>
     1240
     1241      <para>
     1242        <parameter>--enable-glamor</parameter>: This switch enables
     1243        new GL-based acceleration.
     1244      </para>
     1245
     1246    </sect3>
     1247
     1248    <sect3>
     1249      <title>Glamor Acceleration</title>
     1250
     1251      <para>
     1252        Glamor is an acceleration library which uses cards' 3D capabilities
     1253        to accelerate 2D rendering. Glamor acceleration is required for
     1254        Radeon "South Islands" GPUs which use "radeonsi" Gallium3D driver
     1255        from <xref linkend="mesalib"/>. To see which cards fall under
     1256        "South Islands" category, read the
     1257        <ulink url="&radeon-marketing-names;">
     1258        Decoder ring for engineering vs marketing names</ulink>. Please note
     1259        that Glamor acceleration can be used with other chips as well, but
     1260        it has not been tested recently.
     1261      </para>
     1262
     1263      <para>
     1264        Glamor acceleration is not enabled by default. You have to use a
     1265        <filename>xorg.conf</filename> file to enable it. To enable
     1266        Glamor, create the following
     1267        <filename>/etc/X11/xorg.conf</filename> as the
     1268        <systemitem class="username">root</systemitem> user:
     1269      </para>
     1270 
     1271<screen role="root"><userinput>cat &gt;&gt; /etc/X11/xorg.conf &lt;&lt; "EOF"
     1272<literal>Section "Module"
     1273        Load "dri2"
     1274        Load "glamoregl"
     1275EndSection
     1276
     1277Section "Device"
     1278        Identifier "radeon"
     1279        Driver "radeon"
     1280        Option "AccelMethod" "glamor"
     1281EndSection</literal>
     1282EOF</userinput></screen>
     1283
    10541284    </sect3>
    10551285
     
    12591489        The <application>Xorg Intel Driver</application> package contains the X.Org
    12601490        Video Driver for Intel integrated video cards including 8xx, 9xx, Gxx, Qxx
    1261         and HD graphics processors.
     1491        and HD graphics processors (SandyBridge, IvyBridge and Haswell).
    12621492      </para>
    12631493
Note: See TracChangeset for help on using the changeset viewer.