Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • x/installing/mesa.xml

    rd628802 r959291f  
    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        "d6efe1ecc0680cd1adb942f05600d884">
     9  <!ENTITY mesa-md5sum        "f299f32fc3f48db392b12cdfd83fa4fd">
    1010  <!ENTITY mesa-size          "16 MB">
    11   <!ENTITY mesa-buildsize     "588 MB (with docs, add 389 MB for tests)">
    12   <!ENTITY mesa-time          "3.4 SBU (Using parallelism=4; with docs, add 0.6 SBU for tests)">
     11  <!ENTITY mesa-buildsize     "372 MB (with docs, add 284 MB for tests)">
     12  <!ENTITY mesa-time          "2.2 SBU (Using parallelism=4; with docs, add 0.5 SBU for tests)">
    1313]>
    1414
     
    1616  <?dbhtml filename="mesa.html"?>
    1717
    18   <sect1info>
    19     <date>$Date$</date>
    20   </sect1info>
    2118
    2219  <title>Mesa-&mesa-version;</title>
     
    4138    </note>
    4239
    43     &lfs110a_checked;
     40    &lfs112_checked;
    4441
    4542    <bridgehead renderas="sect3">Package Information</bridgehead>
     
    8481          <ulink url="&patch-root;/mesa-&mesa-version;-add_xdemos-1.patch"/>
    8582          (installs 2 demo programs for testing Mesa - not needed if you
    86           install the <ulink url="ftp://ftp.freedesktop.org/pub/mesa/demos/">
     83          install the <ulink url="https://archive.mesa3d.org/demos/">
    8784          mesa-demos</ulink> package)
    8885        </para>
     
    106103      build <application>libva</application> first without EGL and GLX support,
    107104      install this package, and rebuild <application>libva</application>),
     105
    108106      <xref linkend="libvdpau"/> (to build VDPAU drivers),
    109       <xref linkend="llvm"/> (required for Gallium3D, nouveau, r300, and radeonsi
     107
     108      <xref linkend="llvm"/> (required for Gallium3D, nouveau, and radeonsi
    110109      drivers and for swrast, the software rasterizer which is sometimes referred
    111110      to as llvmpipe. See <ulink role="nodep"
    112111      url="https://docs.mesa3d.org/systems.html"/> for more information), and
     112
    113113      <xref linkend="wayland-protocols"/> (required for
    114114        <xref role="nodep" linkend='plasma5-build'/>,
    115         <!-- <xref role="nodep" linkend='lxqt'/>, -->
    116         GNOME, and recommended for  <xref role="nodep" linkend='gtk3'/>)
     115        GNOME, and recommended for <xref role="nodep" linkend='gtk3'/>)
    117116    </para>
    118117
     
    120119    <para role="optional">
    121120      <xref linkend="libgcrypt"/>,
     121      <xref linkend="libunwind"/>,
    122122      <xref linkend="lm_sensors"/> <!-- for libsensors according to Meson -->,
    123123      <xref linkend="nettle"/>,
    124124      <xref linkend="valgrind"/>,
    125       <ulink url="ftp://ftp.freedesktop.org/pub/mesa/demos/">mesa-demos</ulink>
     125      <ulink url="https://archive.mesa3d.org/demos/">mesa-demos</ulink>
    126126      (provides more than 300 extra demos to test
    127127      <application>Mesa</application>; this includes the same programs added by
     
    129129      <ulink url="http://omxil.sourceforge.net/">Bellagio OpenMAX Integration
    130130      Layer</ulink> (for mobile platforms),
    131       <ulink url="http://www.nongnu.org/libunwind/">libunwind</ulink>,
     131      <ulink url="https://github.com/KhronosGroup/glslang">glslang</ulink>
     132      (for vulkan drivers),
    132133      <ulink url="https://github.com/tizonia/tizonia-openmax-il/wiki/Tizonia-OpenMAX-IL/">
    133134      libtizonia</ulink>,  and
    134       <ulink url="https://www.vulkan.org/">libvulkan</ulink> (for the zink driver)
    135     </para>
    136 
     135      <ulink url="https://www.vulkan.org/">libvulkan</ulink>
     136    </para>
     137<!--
    137138    <note>
    138139      <para>
     
    145146      </para>
    146147    </note>
    147 
     148-->
    148149    <para condition="html" role="usernotes">User Notes:
    149150      <ulink url="&blfs-wiki;/mesalib"/>
     
    167168        freedreno is for qualcom hardware, libdrm will build for it on suitable
    168169        systems. VC4 is for the Broadcom VC4 used in the raspberry pi - ken -->
    169 
     170<!--
    170171    <note>
    171172      <para>
     
    187188      (you will need a freedesktop.org account to get to that page, you can
    188189      download the 0.9.1 release without an account from
    189      <ulink url="https://gitlab.freedesktop.org/virgl/virglrenderer/-/archive/0.9.1/virglrenderer-0.9.1.tar.bz2">virglrenderer-0.9.1</ulink>).
     190     <ulink url="https://gitlab.freedesktop.org/virgl/virglrenderer/-/archive/0.9.1/virglrenderer-0.9.1.tar.bz2">virglrenderer-0.9.1</ulink>).-->
     191
    190192<!-- If you wish to build all available gallium drivers,
    191193      use 'auto'. FIXME : does not build crocus in 21.2.1 -->
    192194
    193195      <!-- crocus was added to the default x86/x86_64 drivers for meson in the
    194       master branch on 2021-08-31, at some point it will appear in a stable release -->
    195     </para>
    196 
     196      master branch on 2021-08-31, at some point it will appear in a stable release
     197    </para>
     198-->
     199<!--
    197200    <para>
    198201      The (non-gallium) DRI drivers available in X86 are auto, <emphasis>or
     
    204207    <para>
    205208      The platforms ("window systems") available for X86 linux are x11, wayland,
    206      <!--drm,--> and surfaceless. By not specifying anything, the meson
     209     drm, and surfaceless. By not specifying anything, the meson
    207210      build-system will build for all these platforms if you have the
    208211      dependencies, identical to if you had specified '-Dplatforms=auto'.
     
    213216      below will cover most modern video cards and virtual machines.  For help in
    214217      selecting drivers see <ulink url="https://docs.mesa3d.org/systems.html"/>.
     218-->
    215219      <!-- these two don't seem to be mentioned in that mesa link -->
     220<!--
    216221      For intel drivers, specify crocus for i965 gen 4 through to haswell, iris
    217222      for broadwell and later.
     
    227232<screen><userinput>GALLIUM_DRV="crocus,i915,iris,nouveau,r600,radeonsi,svga,swrast,virgl"
    228233DRI_DRIVERS="i965,nouveau"</userinput></screen>
     234-->
    229235
    230236    <para>
     
    236242cd    build &amp;&amp;
    237243
    238 meson --prefix=$XORG_PREFIX          \
    239       --buildtype=release            \
    240       -Ddri-drivers=$DRI_DRIVERS     \
    241       -Dgallium-drivers=$GALLIUM_DRV \
    242       -Dgallium-nine=false           \
    243       -Dglx=dri                      \
    244       -Dvalgrind=disabled            \
    245       -Dlibunwind=disabled           \
    246       ..                             &amp;&amp;
    247 
    248 unset GALLIUM_DRV DRI_DRIVERS &amp;&amp;
    249 
     244meson --prefix=$XORG_PREFIX   \
     245      --buildtype=release     \
     246      -Dplatforms=x11,wayland \
     247      -Dgallium-drivers=auto  \
     248      -Dvulkan-drivers=""     \
     249      -Dvalgrind=disabled     \
     250      -Dlibunwind=disabled    \
     251      ..                      &amp;&amp;
     252<!-- Removed for 22.2.1: seems to be the default  -Dglx=dri      \ -->
    250253ninja</userinput></screen>
    251254
     
    253256      If you built the tests (see 'Command Explanations'), to run them issue:
    254257      <command>ninja test</command>.
     258    </para>
    255259<!-- All tests passed for me for 21.2.4 [pierre]
    256       All 33 subtests tests in the mesa:compiler+glsl / glsl compiler warnings
    257       suite are known to fail.-->
    258     </para>
     260     All 33 subtests tests in the mesa:compiler+glsl / glsl compiler warnings
     261      suite are known to fail.
     262
     263     For 22.1.0:
     264     Ok:                 74
     265     Expected Fail:      0
     266     Fail:               0
     267     Unexpected Pass:    0
     268     Skipped:            0
     269     Timeout:            0
     270-->
    259271
    260272    <para>
     
    287299
    288300    <para>
    289       <parameter>-Ddri-drivers="..."</parameter>: This parameter
    290       controls which (non-gallium) dri drivers should be built.
    291     </para>
    292 
    293     <para>
    294301      <parameter>-Dgallium-drivers="..."</parameter>: This parameter
    295302      controls which Gallium3D drivers should be built.
    296     </para>
    297 
    298     <para>
    299       <parameter>-Dgallium-nine=false</parameter>: Prevents building
    300       support for (MS Windows) games designed for DX9. Set it to true if
    301       this support is desired.
    302303    </para>
    303304<!--
     
    308309    </para>
    309310-->
    310 <!--
     311
    311312    <para>
    312313      <parameter>-Dplatforms="..."</parameter>: This parameter
    313       controls which platforms EGL will be built for. Available
    314       linux X86 platforms are drm, x11, wayland, and surfaceless.
    315     </para>
    316 -->
     314      controls which windowing systems will be supported. Available
     315      linux platforms are x11 and wayland.
     316    </para>
     317
     318    <para>
     319      <parameter>-Dvulkan-drivers=""</parameter>: This switch allows choosing
     320      which Vulkan drivers are built. The default is auto, but this requires
     321      the optional dependency <filename>glslang</filename>. So it is better
     322      to pass an empty list, in order to remove the need for that
     323      dependency.  Nothing in BLFS uses Vulkan anyway.
     324    </para>
     325
    317326    <para>
    318327      <parameter>-Dvalgrind=disabled</parameter>: This parameter disables
     
    326335    </para>
    327336
    328 <!--
    329     <para>
    330       <parameter>- -enable-xa</parameter>: This switch enables building the
    331       XA X Acceleration API (Required for VMware 3D Driver).
    332     </para>
    333 
    334     <para>
    335       <parameter>- -enable-gbm</parameter>: This switch enables building the
    336       <application>Mesa</application> Graphics Buffer Manager library.
    337     </para>
    338     These two seem to be automatic in 19.0 - ken
    339 
    340     <para>
    341       <parameter>- -enable-glx-tls</parameter>: This switch enables TLS (Thread Local
    342       Storage) support in GLX.
    343     </para>
    344 -->
    345     <para>
    346       <option>-Dbuild-tests=true</option>: This option will cause the test code
    347       to be enabled. To run the tests, issue: <command>ninja test</command>.
    348     </para>
    349 
    350     <para>
    351       <option>-Dvulkan-drivers=...</option>: This option allows choosing which
    352       Vulkan drivers are built. Since those drivers depend on the
    353       corresponding Gallium3D drivers, do not enable drivers that are not
    354       enabled in Gallium3D drivers. Furthermore, since BLFS does not use
    355       Vulkan, it is safe to leave the list of Vulkan drivers empty.
     337    <para>
     338      <option>-Dbuild-tests=true</option>: This switch will cause the test code
     339      to be enabled.
     340    </para>
     341
     342    <para>
     343      <option>-Degl-native-platform="..."</option>: This parameter
     344      controls which Embedded Graphics Library support will be built. Available
     345      linux options are auto (default), x11, wayland, surfaceless, and drm.
    356346    </para>
    357347
     
    376366          libGLESv1_CM.so,
    377367          libGLESv2.so,
    378 <!--          libOSMesa.so,-->
    379368          libXvMCnouveau.so,
    380369          libXvMCr600.so,
    381370          libgbm.so,
    382           libglapi.so,
    383           <!-- Begin Vulkan drivers -->
    384           libvulkan_intel.so,
    385           libvulkan_lvp.so,
    386           libvulkan_radeon.so, and
    387           <!-- End Vulkan drivers -->
    388           libxatracker.so,
     371          libglapi.so, and
     372          libxatracker.so
    389373        </seg>
    390374        <seg>
    391375          <!-- Begin gallium DRI drivers : this is the full set -->
    392           d3dadapter9.so (optional), <!-- For Windows games. This is DirectX's
     376<!--          d3dadapter9.so (optional),  For Windows games. This is DirectX's
    393377                                          Direct3D -->
    394378          crocus_dri.so,
    395 <!--          i830_dri.so,-->
    396379          i915_dri.so,
    397           i965_dri.so,
    398380          iris_dri.so,
    399381          kms_swrast_dri.so,
    400382          nouveau_dri.so,
    401383          nouveau_drv_video.so,
    402           nouveau_vieux_dri.so,
    403           r200_dri.so (optional),
    404           r300_dri.so (optional),
     384          r300_dri.so,
    405385          r600_dri.so,
    406386          r600_drv_video.so,
    407           radeon_dri.so (optional),
    408387          radeonsi_dri.so,
    409388          radeonsi_drv_video.so,
     
    414393          <!-- Begin VDPAU drivers -->
    415394          libvdpau_nouveau.so,
    416           libvdpau_r300.so (optional),
     395          libvdpau_r300.so
    417396          libvdpau_r600.so, and
    418397          libvdpau_radeonsi.so
     
    421400        </seg>
    422401        <seg>
    423           $XORG_PREFIX/{include/{EGL,GL,GLES,GLES2,GLES3,KHR},lib/{dri,vdpau}},
    424           $XORG_PREFIX/include/d3adapter (optional),
    425           $XORG_PREFIX/lib/d3d (optional),
     402          <!-- $XORG_PREFIX/include/GL is installed by xorg-protos -->
     403          $XORG_PREFIX/{include/{EGL,GLES,GLES2,GLES3,KHR},
     404          $XORG_PREFIX/lib/{dri,vdpau}},
    426405          $XORG_PREFIX/share/drirc.d (contains workarounds for various applications,
    427406          particularly browsers and games),
    428           $XORG_PREFIX/share/vulkan/icd.d,
    429           and
    430           /usr/share/doc/mesa-&mesa-version; (optional)
     407          and /usr/share/doc/mesa-&mesa-version;
    431408        </seg>
    432409      </seglistitem>
     
    525502        </listitem>
    526503      </varlistentry>
    527 <!--
    528       <varlistentry id="libOSMesa">
    529         <term><filename class="libraryfile">libOSMesa.so</filename></term>
    530         <listitem>
    531           <para>
    532             is the <application>Mesa</application> Off-screen Rendering library
    533           </para>
    534           <indexterm zone="mesa libOSMesa">
    535             <primary sortas="c-libOSMesa">libOSMesa.so</primary>
    536           </indexterm>
    537         </listitem>
    538       </varlistentry>
    539 -->
     504
    540505    </variablelist>
    541506
Note: See TracChangeset for help on using the changeset viewer.