Changeset 2001b3e


Ignore:
Timestamp:
04/08/2012 09:22:47 PM (12 years ago)
Author:
Ken Moffat <ken@…>
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:
7114aa56
Parents:
1464543
Message:

Reinstate some of the DRI explanation, expanded to mention DRI2 hardware video acceleration.

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

Files:
6 edited

Legend:

Unmodified
Added
Removed
  • general/graphlib/clutter.xml

    r1464543 r2001b3e  
    3535
    3636  <note>
    37     <para>Anything built with this toolkit needs accelerated 3D support from the
    38     graphics driver at runtime.  If you use <application>GNOME-3</application> and
    39     it selects the <emphasis>fallback</emphasis> window manager
     37    <para>Anything built with this toolkit needs hardware 3D acceleration from the
     38    graphics driver at runtime.  This is provided by <application>MesaLib</application>
     39    (or by proprietary graphics drivers), but is not available for every graphics card,
     40    nor for all virtual machines). You may wish to review <xref linkend="checking-dri"/>.
     41    </para>
     42
     43    <para>If you use <application>GNOME-3</application> and it selects the
     44    <emphasis>fallback</emphasis> window manager
    4045    (<application>metacity</application>) you should treat this package as a build
    4146    dependency and expect unsatisfactory runtime performance from other
    42     <application>clutter</application> packages, particularly
     47    <application>clutter</application> packages such as
    4348    <application>totem</application>.</para>
    4449  </note>
    4550
    46     &lfs70_built;
     51    &lfs70_checked;
    4752
    4853    <bridgehead renderas="sect3">Package Information</bridgehead>
  • gnome/add/totem.xml

    r1464543 r2001b3e  
    3838
    3939    <para>Now that this package uses the <application>clutter</application> toolkit,
    40     it is only useful if you have accelerated video.</para>
     40    it is only useful if you have hardware accelerated video.</para>
    4141
    4242    &lfs70_checked;
  • gnome/core/metacity.xml

    r1464543 r2001b3e  
    3333    <para><application>Metacity</application> is the fallback window manager for
    3434    <application>GNOME</application>, used if the video driver does not provide
    35     acceleration. It is conventionally run from <command>gnome-session</command>,
     35    hardware acceleration. It is conventionally run from <command>gnome-session</command>,
    3636    which will start the necessary <application>GNOME</application> daemons.</para>
    3737
  • gnome/core/mutter.xml

    r1464543 r2001b3e  
    3232    <para><application>Mutter</application> is the window manager for
    3333    <application>GNOME</application>. It is not invoked directly, but from
    34     <application>gnome-session</application> (on a machine with an accelerated
    35     video driver).</para>
     34    <application>gnome-session</application> (on a machine with a hardware
     35    accelerated video driver).</para>
    3636
    3737    &lfs70_checked;
  • introduction/welcome/changelog.xml

    r1464543 r2001b3e  
    4848          <para>[rthomsen] - Corrected Qt configuration. Thanks to Pierre Labastie for the report.</para>
    4949        </listitem>
     50        <listitem>
     51          <para>[ken] - reinstate some of the notes on DRI, particularly re the
     52          'video' group, and expand to cover DRI2 hardware video acceleration.  Tweak
     53          certain gnome comments to show that it is hardware acceleration which is
     54          required.</para>
     55        </listitem>
    5056      </itemizedlist>
    5157    </listitem>
  • x/installing/xorg-config.xml

    r1464543 r2001b3e  
    3333    </sect2>
    3434
     35    <sect2 role="configuration" id='checking-dri' xreflabel="Checking the DRI installation">
     36    <title>Checking the Direct Rendering Infrastructure (DRI) Installation</title>
     37
     38    <para>DRI is a framework for allowing software to access graphics hardware
     39    in a safe and efficient manner. It is installed in <application>X</application>
     40    by default (using <application>MesaLib</application>) if you have a supported
     41    video card.</para>
     42
     43    <para>To check if DRI is installed properly, check the log file
     44    <filename>/var/log/Xorg.0.log</filename> for statements like:</para>
     45
     46<screen><literal>(II) R128(0): Direct rendering enabled</literal></screen>
     47
     48    <note><para>DRI configuration may differ if you are using alternate
     49    drivers, such as those from
     50    <ulink url="http://www.nvidia.com/page/home.html">NVIDIA</ulink> or
     51    <ulink url="http://www.ati.com/">ATI</ulink>.</para>
     52    </note>
     53
     54    <para>Although all users can use software acceleration, any hardware
     55    acceleration (DRI2) is only available to
     56    <systemitem class="username">root</systemitem> and members of the
     57    <systemitem class="groupname">video</systemitem> group.</para>
     58
     59    <para>To see if hardware acceleration is available for your driver, look in
     60    <filename>/var/log/Xorg.0.log</filename> for statements like:</para>
     61
     62<screen><literal> (II) intel(0): direct rendering: DRI2 Enabled</literal></screen>
     63
     64    <para>If your driver is supported, add any users that might use X to that group:</para>
     65
     66<screen role="root"><userinput>usermod -a -G video <replaceable>&lt;username&gt;</replaceable></userinput></screen>
     67
     68    <para>If you elected to install the Mesa-Demos package when installing
     69    <xref linkend="mesalib"/>, from an <command>xterm</command>, run
     70    <command>glxinfo</command> and first look for the phrase:</para>
     71
     72<screen><computeroutput>direct rendering: Yes</computeroutput></screen>
     73
     74    <para>If direct rendering is enabled, you can add verbosity by
     75    running <command>LIBGL_DEBUG=verbose glxinfo</command>.  This will
     76    show the drivers, device nodes and files used by the DRI system.</para>
     77
     78    <para>If DRI is enabled, to confirm that DRI2 hardware acceleration is
     79    working you can (still in the <command>xterm</command>) run the command
     80    <command>glxinfo | grep "OpenGL renderer string"</command> - if that
     81    reports something <emphasis>other than</emphasis>
     82    <literal>Software Rasterizer</literal> then you have working acceleration
     83    for the user who ran the command.</para>
     84
     85    <para>Again, if you have added the Mesa-Demos package, you can also
     86    run the test program <command>glxgears</command>.
     87    This program brings up a window with three gears turning.  The
     88    <command>xterm</command> will display how many frames were drawn every
     89    five seconds, so this is a reasonable benchmark.  The window is scalable,
     90    and the frames drawn per second is highly dependent on the size of
     91    the window.</para>
     92
     93    </sect2>
     94
    3595    <sect2 role="configuration" id='X11R6-compat-symlink'
    3696         xreflabel="Creating an X11R6 Compatibility Symlink">
Note: See TracChangeset for help on using the changeset viewer.