Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • x/installing/mesa.xml

    r34a6571 r3940f2f  
    77  <!ENTITY mesa-download-http "https://mesa.freedesktop.org/archive/mesa-&mesa-version;.tar.xz">
    88  <!ENTITY mesa-download-ftp  "ftp://ftp.freedesktop.org/pub/mesa/mesa-&mesa-version;.tar.xz">
    9   <!ENTITY mesa-md5sum        "f81336168864b1f890edfa5db8587f2b">
    10   <!ENTITY mesa-size          "15 MB">
    11   <!ENTITY mesa-buildsize     "799 MB (with docs, add 376 MB if running the tests)">
    12                               <!-- using NINJAJOBS=6 -->
    13   <!ENTITY mesa-time          "5.1 SBU (on a 4-core machine with docs)">
     9  <!ENTITY mesa-md5sum        "b378394df26fc6b4d58888f9f1ef1bdb">
     10  <!ENTITY mesa-size          "14 MB">
     11  <!ENTITY mesa-buildsize     "481 MB (with docs), add 317 MB for tests">
     12  <!ENTITY mesa-time          "2.5 SBU (with parallelism=4 and docs). Add 0.5 SBU for tests">
    1413]>
    1514
     
    1817
    1918  <sect1info>
     19    <othername>$LastChangedBy$</othername>
    2020    <date>$Date$</date>
    2121  </sect1info>
     
    4242    </note>
    4343
    44     &lfs110a_checked;
     44    &lfs10_checked;
    4545
    4646    <bridgehead renderas="sect3">Package Information</bridgehead>
     
    111111      drivers and for swrast, the software rasterizer which is sometimes referred
    112112      to as llvmpipe. See <ulink role="nodep"
    113       url="https://docs.mesa3d.org/systems.html"/> for more information), and
     113      url="http://www.mesa3d.org/systems.html"/> for more information), and
    114114      <xref linkend="wayland-protocols"/> (required for
    115115        <xref role="nodep" linkend='plasma5-build'/>,
     
    130130      <ulink url="http://omxil.sourceforge.net/">Bellagio OpenMAX Integration
    131131      Layer</ulink> (for mobile platforms),
    132       <ulink url="http://www.nongnu.org/libunwind/">libunwind</ulink>,
     132      <ulink url="http://www.nongnu.org/libunwind/">libunwind</ulink>, and
    133133      <ulink url="https://github.com/tizonia/tizonia-openmax-il/wiki/Tizonia-OpenMAX-IL/">
    134       libtizonia</ulink>,  and
    135       <ulink url="https://www.vulkan.org/">libvulkan</ulink> (for the zink driver)
     134      libtizonia</ulink>
    136135    </para>
    137136
     
    187186    <para>
    188187      Now, select the drivers you wish to install. For the X86 architecture, the
    189       available gallium drivers are auto (<emphasis>in 21.2.1 this does not select
    190       crocus </emphasis>), <emphasis>or alternatively a choice from</emphasis>
    191       crocus, i915, iris, nouveau, r300, r600, radeonsi, svga, swrast, and virgl. The
    192       latter is recommended if you intend to run the system under
    193       <xref linkend="qemu"/>.<!-- If you wish to build all available gallium drivers,
    194       use 'auto'. FIXME : does not build crocus in 21.2.1 -->
     188      available gallium drivers are auto, <emphasis>or alternatively a choice
     189      from</emphasis> i915, nouveau, r300, r600, radeonsi, svga, swrast, and
     190      virgl. The latter is recommended if you intend to run the system under
     191      <xref linkend="qemu"/>. If you wish to build all available gallium drivers,
     192      use 'auto'.
    195193    </para>
    196194
     
    212210      Modify the commands below for your desired drivers.  The drivers listed
    213211      below will cover most modern video cards and virtual machines.  For help in
    214       selecting drivers see <ulink url="https://docs.mesa3d.org/systems.html"/>.
    215       <!-- these two don't seem to be mentioned in that mesa link -->
    216       For intel drivers, specify crocus for i965 gen 4 through to haswell, iris
    217       for broadwell and later.
     212      selecting drivers see <ulink url='http://www.mesa3d.org/systems.html'/>.
    218213    </para>
    219214
     
    225220    </note>
    226221
    227 <screen><userinput>GALLIUM_DRV="crocus,i915,iris,nouveau,r600,radeonsi,svga,swrast,virgl"
     222<screen><userinput>GALLIUM_DRV="i915,iris,nouveau,r600,radeonsi,svga,swrast,virgl"
    228223DRI_DRIVERS="i965,nouveau"</userinput></screen>
    229224
     
    237232
    238233meson --prefix=$XORG_PREFIX          \
    239       --buildtype=release            \
     234      -Dbuildtype=release            \
    240235      -Ddri-drivers=$DRI_DRIVERS     \
    241236      -Dgallium-drivers=$GALLIUM_DRV \
    242237      -Dgallium-nine=false           \
    243238      -Dglx=dri                      \
    244       -Dvalgrind=disabled            \
    245       -Dlibunwind=disabled           \
     239      -Dosmesa=gallium               \
     240      -Dvalgrind=false               \
     241      -Dlibunwind=false              \
    246242      ..                             &amp;&amp;
    247243
     
    253249      If you built the tests (see 'Command Explanations'), to run them issue:
    254250      <command>ninja test</command>.
    255       All 33 subtests tests in the mesa:compiler+glsl / glsl compiler warnings
    256       suite are known to fail.
     251      Two tests in the llvmpipe suite are known to fail.
    257252    </para>
    258253
     
    278273
    279274    <para>
    280       <parameter>--buildtype=release</parameter>: This switch ensures a
     275      <parameter>-Dbuildtype=release</parameter>: This switch ensures a
    281276      fully-optimized build, and disables debug assertions which will
    282277      severely slow down the libraries in certain use-cases. Without this
     
    299294      this support is desired.
    300295    </para>
    301 <!--
    302     <para>
    303       <parameter>-Dosmesa=true</parameter>: This switch enables building
     296
     297    <para>
     298      <parameter>-Dosmesa=gallium</parameter>: This switch enables building
    304299      the <filename class="libraryfile">libOSMesa</filename> library and
    305300      provides Gallium3D support in it. It requires the swrast gallium driver.
    306301    </para>
    307 -->
    308302<!--
    309303    <para>
     
    314308-->
    315309    <para>
    316       <parameter>-Dvalgrind=disabled</parameter>: This parameter disables
     310      <parameter>-Dvalgrind=false</parameter>: This parameter disables
    317311      the usage of Valgrind during the build process. Remove this parameter
    318312      if you have Valgrind installed, and wish to check for memory leaks.
     
    320314
    321315    <para>
    322       <parameter>-Dlibunwind=disabled</parameter>: This parameter disables
     316      <parameter>-Dlibunwind=false</parameter>: This parameter disables
    323317      the usage of libunwind.
    324318    </para>
     
    343337    <para>
    344338      <option>-Dbuild-tests=true</option>: This option will cause the test code
    345       to be enabled. To run the tests, issue: <command>ninja test</command>.
     339      to be enabled.
    346340    </para>
    347341
     
    379373        </seg>
    380374        <seg>
    381           <!-- Begini gallium DRI drivers : this is the full set -->
     375          <!-- Begin DRI drivers : this is the full set from auto -->
    382376          d3dadapter9.so (optional), <!-- For Windows games. This is DirectX's
    383377                                          Direct3D -->
    384           crocus_dri.so,
    385           i830_dri.so,
    386378          i915_dri.so,
    387379          i965_dri.so,
     
    395387          r600_dri.so,
    396388          r600_drv_video.so,
    397           radeon_dri.so (optional),
     389          radeon_dri.so,
    398390          radeonsi_dri.so,
    399391          radeonsi_drv_video.so,
     
    408400          libvdpau_radeonsi.so
    409401          <!-- End VDPAU drivers -->
    410           (Many of these drivers are hard-linked).
    411402        </seg>
    412403        <seg>
     
    433424          <para>
    434425            is a GL demo useful for troubleshooting graphics
    435             problems
     426            problems.
    436427          </para>
    437428          <indexterm zone="mesa glxgears">
     
    446437          <para>
    447438            is a diagnostic program that displays information about the
    448             graphics hardware and installed GL libraries
     439            graphics hardware and installed GL libraries.
    449440          </para>
    450441          <indexterm zone="mesa glxinfo">
     
    459450          <para>
    460451            provides a native platform graphics interface as
    461             defined by the EGL-1.4 specification
     452            defined by the EGL-1.4 specification.
    462453          </para>
    463454          <indexterm zone="mesa libEGL">
     
    472463          <para>
    473464            is the <application>Mesa</application> Graphics Buffer
    474             Manager library
     465            Manager library.
    475466          </para>
    476467          <indexterm zone="mesa libgbm">
     
    484475        <listitem>
    485476          <para>
    486             is the <application>Mesa</application> OpenGL ES 1.1 library
     477            is the <application>Mesa</application> OpenGL ES 1.1 library.
    487478          </para>
    488479          <indexterm zone="mesa libGLESv1_CM">
     
    496487        <listitem>
    497488          <para>
    498             is the <application>Mesa</application> OpenGL ES 2.0 library
     489            is the <application>Mesa</application> OpenGL ES 2.0 library.
    499490          </para>
    500491          <indexterm zone="mesa libGLES2">
     
    508499        <listitem>
    509500          <para>
    510             is the main <application>Mesa</application> OpenGL library
     501            is the main <application>Mesa</application> OpenGL library.
    511502          </para>
    512503          <indexterm zone="mesa libGL">
     
    520511        <listitem>
    521512          <para>
    522             is the <application>Mesa</application> Off-screen Rendering library
     513            is the <application>Mesa</application> Off-screen Rendering library.
    523514          </para>
    524515          <indexterm zone="mesa libOSMesa">
Note: See TracChangeset for help on using the changeset viewer.