Ignore:
Timestamp:
06/03/2024 02:01:29 AM (5 weeks ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
trunk
Children:
c371304
Parents:
2f3edd8c
Message:

Changes for mesa and xorg-server.

The patch for xorg-server, xorg-server-21.1.13-tearfree_backport-2.patch,
was changed to a -2 version to allow the package to build with gcc14.

The dependencies and one command explanation were converted to list
format to make those items more undeerstandable.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • x/installing/mesa.xml

    r2f3edd8c rc833c06  
    9999    <para role="recommended">
    100100
    101       <xref linkend="glslang"/> (required for Vulkan support),
    102 
    103       <xref role="first" linkend="libva"/> (to provide VA-API support for some
    104       gallium drivers, note that there is a circular dependency. You must
    105       build <application>libva</application> first without EGL and GLX support,
    106       install this package, and rebuild <application>libva</application>),
    107 
    108       <xref linkend="libvdpau"/> (to build VDPAU drivers),
    109 
    110       <xref linkend="llvm"/> (required for the r300, r600, and radeonsi
    111       drivers, and the LLVMpipe software rasterizer which can make the
    112       swrast driver much faster),
    113 
    114       <xref linkend="wayland-protocols"/> (required for
    115         <xref role="nodep" linkend='plasma-build'/>,
    116         GNOME, and recommended for <xref role="nodep" linkend='gtk3'/>), and
    117 
    118       <xref linkend="vulkan-loader"/> (required for Vulkan support)
     101      <itemizedlist spacing="compact">
     102        <listitem>
     103          <para>
     104            <xref linkend="glslang"/> and <xref linkend="vulkan-loader"/>
     105            (required for Vulkan support)
     106          </para>
     107        </listitem>
     108        <listitem>
     109          <para>
     110            <xref linkend="libva"/> (to provide VA-API support for some
     111            gallium drivers. Note that there is a circular dependency.
     112            You must build <application>libva</application> first without
     113            mesa's EGL and GLX support, install this package, and rebuild
     114            <application>libva</application>)
     115          </para>
     116        </listitem>
     117        <listitem>
     118          <para>
     119            <xref linkend="libvdpau"/> (to build VDPAU drivers)
     120          </para>
     121        </listitem>
     122        <listitem>
     123          <para>
     124            <xref linkend="llvm"/> (required for the r300, r600, and radeonsi
     125            drivers, and the LLVMpipe software rasterizer which can make the
     126            swrast driver much faster)
     127          </para>
     128        </listitem>
     129        <listitem>
     130          <para>
     131            <xref linkend="wayland-protocols"/> (required for
     132              <xref role="nodep" linkend='plasma-build'/>,
     133              GNOME, and recommended for
     134              <xref role="nodep" linkend='gtk3'/>)
     135          </para>
     136        </listitem>
     137      </itemizedlist>
    119138    </para>
    120139
     
    288307cd    build &amp;&amp;
    289308
    290 meson setup                   \
    291       --prefix=$XORG_PREFIX   \
    292       --buildtype=release     \
    293       -Dplatforms=x11,wayland \
    294       -Dgallium-drivers=auto  \
    295       -Dvulkan-drivers=auto   \
    296       -Dvalgrind=disabled     \
    297       -Dlibunwind=disabled    \
    298       ..                      &amp;&amp;
     309meson setup ..                 \
     310      --prefix=$XORG_PREFIX    \
     311      --buildtype=release      \
     312      -D platforms=x11,wayland \
     313      -D gallium-drivers=auto  \
     314      -D vulkan-drivers=auto   \
     315      -D valgrind=disabled     \
     316      -D libunwind=disabled    &amp;&amp;
    299317
    300318ninja</userinput></screen>
     
    340358      <anchor id='mesa-gallium-drivers' xreflabel='Mesa Gallium3D Drivers'/>
    341359      <parameter>-Dgallium-drivers=auto</parameter>: This parameter
    342       controls which Gallium3D drivers should be built.
    343       <literal>auto</literal> selects all Gallium3D drivers available
    344       for x86: <literal>r300</literal> (for ATI Radeon 9000 or Radeon X
    345       series), <literal>r600</literal> (for AMD/ATI Radeon HD 2000-6000
    346       series), <literal>radeonsi</literal> (for AMD Radeon HD 7000 or newer
    347       AMD GPU models), <literal>nouveau</literal>
    348       (for Supported NVIDIA GPUs, they are listed as all
    349       <quote>3D features</quote> either <quote>DONE</quote> or
    350       <quote>N/A</quote> in <ulink
    351       url='https://nouveau.freedesktop.org/FeatureMatrix.html'>the Nouveau
    352       status page</ulink>), <literal>virgl</literal> (for QEMU virtual GPU
    353       with <application>virglrender</application> support; note that BLFS
    354       <xref linkend='qemu'/> is not built with
    355       <application>virglrender</application>), <literal>svga</literal>
    356       (for VMWare virtual GPU), <literal>swrast</literal> (using CPU for 3D
    357       rasterisation; note that it's much slower than using a modern
    358       3D-capable GPU, so it should be only used if the GPU is not supported
    359       by other drivers), <literal>iris</literal> (for Intel GPUs shipped
    360       with Broadwell or newer CPUs), <literal>crocus</literal> (for Intel
    361       GMA 3000, X3000 series, 4000 series, or X4000 series GPUs shipped with
    362       chipsets, or Intel HD GPUs shipped with pre-Broadwell CPUs),
    363       <literal>i915</literal> (for Intel GMA 900, 950, 3100, or 3150 GPUs
    364       shipped with chipsets or Atom D/N 4xx/5xx CPUs).  You may replace
    365       <literal>auto</literal> with a comma-separated list to build only
    366       a subset of these drivers if you precisely know which drivers you
    367       need, for example
    368       <option>-Dgallium-drivers=radeonsi,iris,swrast</option>.
    369     </para>
    370 <!--
    371     <para>
    372       <parameter>-Dosmesa=true</parameter>: This switch enables building
    373       the <filename class="libraryfile">libOSMesa</filename> library and
    374       provides Gallium3D support in it. It requires the swrast gallium driver.
    375     </para>
    376 -->
     360      controls which Gallium3D drivers should be built:
     361
     362      <itemizedlist spacing="compact">
     363        <listitem>
     364          <para>
     365            <literal>auto</literal> selects all Gallium3D drivers available
     366            for x86. With a comma-separated list, only a subset of these
     367            drivers will be built. If you precisely know which drivers you
     368            need, you can build. for example.
     369            <option>-Dgallium-drivers=radeonsi,iris,swrast</option>.
     370          </para>
     371        </listitem>
     372        <listitem>
     373          <para>
     374             <literal>r300</literal> (for ATI Radeon 9000 or Radeon X series)
     375          </para>
     376        </listitem>
     377        <listitem>
     378          <para>
     379             <literal>r600</literal> (for AMD/ATI Radeon HD 2000-6000 series)
     380          </para>
     381        </listitem>
     382        <listitem>
     383          <para>
     384             <literal>radeonsi</literal> (for AMD Radeon HD 7000 or newer AMD GPU models)
     385          </para>
     386        </listitem>
     387        <listitem>
     388          <para>
     389             <literal>nouveau</literal> (for Supported NVIDIA GPUs, they are
     390             listed as all <quote>3D features</quote> either <quote>DONE</quote> or
     391             <quote>N/A</quote> in
     392             <ulink url='https://nouveau.freedesktop.org/FeatureMatrix.html'>the Nouveau
     393             status page</ulink>)
     394          </para>
     395        </listitem>
     396        <listitem>
     397          <para>
     398             <literal>virgl</literal> (for a QEMU virtual GPU
     399             with <application>virglrender</application> support; note that BLFS
     400             <xref linkend='qemu'/> is not built with
     401             <application>virglrender</application>)
     402          </para>
     403        </listitem>
     404        <listitem>
     405          <para>
     406             <literal>svga</literal> (for a VMWare virtual GPU)
     407          </para>
     408        </listitem>
     409        <listitem>
     410          <para>
     411             <literal>swrast</literal> (using CPU for 3D
     412             rasterisation. Note that it's much slower than using a modern
     413             3D-capable GPU, so it should be only used if the GPU is not supported
     414             by other drivers),
     415          </para>
     416        </listitem>
     417        <listitem>
     418          <para>
     419             <literal>iris</literal> (for Intel GPUs shipped with Broadwell
     420             or newer CPUs)
     421          </para>
     422        </listitem>
     423        <listitem>
     424          <para>
     425             <literal>crocus</literal> (for Intel GMA 3000, X3000 series,
     426             4000 series, or X4000 series GPUs shipped with chipsets,
     427             or Intel HD GPUs shipped with pre-Broadwell CPUs)
     428          </para>
     429        </listitem>
     430        <listitem>
     431          <para>
     432             <literal>i915</literal> (for Intel GMA 900, 950, 3100, or 3150 GPUs
     433             shipped with chipsets or Atom D/N 4xx/5xx CPUs)
     434          </para>
     435        </listitem>
     436      </itemizedlist>
     437    </para>
    377438
    378439    <para>
     
    386447      for the Vulkan graphics API. It automatically builds all graphics drivers
    387448      that are available for Vulkan. If you wish to build specific drivers,
    388       valid options include 'amd', 'intel', 'intel_hasvk', and 'swrast'. If you
    389       do not want Vulkan support, change 'auto' to "".
     449      valid options include 'amd', 'intel', 'intel_hasvk' (Haswell CPUs),
     450      and 'swrast'. If you do not want Vulkan support, change 'auto' to "".
    390451    </para>
    391452
Note: See TracChangeset for help on using the changeset viewer.