Changeset b3f053c5


Ignore:
Timestamp:
03/15/2019 12:50:58 AM (6 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 12.2, 9.0, 9.1, gimp3, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/for-12.3, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/spidermonkey128, xry111/test-20220226, xry111/xf86-video-removal
Children:
0f73c155
Parents:
3b79812
Message:

Update to mesa-19.0.0.

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

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • general/prog/llvm.xml

    r3b79812 rb3f053c5  
    201201      -DLLVM_BUILD_LLVM_DYLIB=ON                \
    202202      -DLLVM_LINK_LLVM_DYLIB=ON                 \
     203      -DLLVM_ENABLE_RTTI=ON                     \
    203204      -DLLVM_TARGETS_TO_BUILD="host;AMDGPU;BPF" \
    204205      -DLLVM_BUILD_TESTS=ON                     \
     
    302303      It also slightly reduces their size and also ensures that llvm-config
    303304      will correctly use libLLVM-&llvm-majmin;.so.
     305    </para>
     306
     307    <para>
     308      <parameter>-D=LLVM_ENABLE_RTTI=ON</parameter>: Used to build LLVM with
     309      run-time type information. This is required for building
     310      <xref linkend="mesa"/>.
    304311    </para>
    305312
  • introduction/welcome/changelog.xml

    r3b79812 rb3f053c5  
    4646      <para>March 14th, 2019</para>
    4747      <itemizedlist>
     48        <listitem>
     49          <para>[bdubbs] - Update to mesa-19.0.0. Fixes
     50          <ulink url="&blfs-ticket-root;11800">#11800</ulink>.</para>
     51        </listitem>
    4852        <listitem>
    4953          <para>[timtas] - Update to dovecot-2.3.5. Fixes
  • packages.ent

    r3b79812 rb3f053c5  
    654654<!ENTITY xcursor-themes-version       "1.0.6">
    655655<!ENTITY xkeyboard-config-version     "2.26">
    656 <!ENTITY mesa-major-minor             "18.3">
    657 <!ENTITY mesa-version                 "&mesa-major-minor;.4">
     656<!ENTITY mesa-major-minor             "19.0">
     657<!ENTITY mesa-version                 "&mesa-major-minor;.0">
    658658<!ENTITY xcb-util-version             "0.4.0">
    659659<!ENTITY xcb-util-image-version       "0.4.0">
  • x/installing/mesa.xml

    r3b79812 rb3f053c5  
    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        "6f2a5e01dd5cb91d05a9534f5a80c35d">
     9  <!ENTITY mesa-md5sum        "d0d76cd8b00bc1308e37985d4a45d3c5">
    1010  <!ENTITY mesa-size          "11 MB">
    11   <!ENTITY mesa-buildsize     "361 MB (with demos and docs, add 89 MB for tests)">
    12   <!ENTITY mesa-time          "2.1 SBU (with parallelism=4, demos, and docs; add 1.0 SBU for tests)">
     11  <!ENTITY mesa-buildsize     "1.6 GB (with demos and docs)">
     12  <!ENTITY mesa-time          "2.3 SBU (with parallelism=4, demos, and docs)">
    1313]>
    1414
     
    125125      <xref linkend="libgcrypt"/>,
    126126      <xref linkend="nettle"/>,
    127       <xref linkend="python2"/> (not used if Python3 is present),
    128127      <ulink url="ftp://ftp.freedesktop.org/pub/mesa/demos/">mesa-demos</ulink>
    129128      (provides more than 300 extra demos to test
     
    163162        libdrm - renodr -->
    164163
    165    <para>Now, select the drivers you wish to install.  The available drivers
    166    are i915, nouveau, r300, r600, radeonsi, freedreno, pl111, svga, swrast,
    167    swr, tegra, v3d, vc4, virgl, etnaviv, and imx.  If the Gallium drivers are
    168    not specified, the default is 'r300,r600,svga,swrast'. Modify the command
     164   <para>Now, select the drivers you wish to install.  The gallium available
     165   drivers are pl111, radeonsi, r300, r600, nouveau, and freedreno.  The DRI
     166   drivers available are i915, i965, r100, r200, nouveau, and swrast.  The
     167   platforms available are x11, wayland, drm, surfaceless, haiku, and android.
     168   
     169   Modify the commands
    169170   below for any desired drivers.  The listed drivers below will cover most
    170171   modern video cards.  For help in selecting drivers see <ulink
    171172   url='http://www.mesa3d.org/systems.html'/>.</para>
    172173
    173 <screen><userinput>GLL_DRV="i915,nouveau,radeonsi,svga,swrast"</userinput></screen>
     174<screen><userinput>GALLIUM_DRV="i915,nouveau,radeonsi,svga,swrast"
     175DRI_DRIVERS="i915,i965,nouveau"
     176PLATFORMS="x11,wayland,drm"</userinput></screen>
    174177
    175178    <para>
     
    178181    </para>
    179182
    180 <screen><userinput>./configure CFLAGS='-O2' CXXFLAGS='-O2' LDFLAGS=-lLLVM \
    181             --prefix=$XORG_PREFIX              \
    182             --sysconfdir=/etc                  \
    183             --enable-osmesa                    \
    184             --enable-xa                        \
    185             --enable-glx-tls                   \
    186             --with-platforms="drm,x11,wayland" \
    187             --with-gallium-drivers=$GLL_DRV    &amp;&amp;
    188 
    189 unset GLL_DRV &amp;&amp;
    190 
    191 make</userinput></screen>
     183<screen><userinput>mkdir build &amp;&amp;
     184cd    build &amp;&amp;
     185
     186meson --prefix=$XORG_PREFIX          \
     187      --sysconfdir=/etc              \
     188      -Dvalgrind=false               \
     189      -Dglx=dri                      \
     190      -Dosmesa=gallium               \
     191      -Dgallium-nine=true            \
     192      -Ddri-drivers=$DRI_DRIVERS     \
     193      -Dgallium-drivers=$GALLIUM_DRV \
     194      -Dplatforms=$PLATFORMS         \
     195      ..                             &amp;&amp;
     196
     197unset GALLIUM_DRV DRI_DRIVERS PLATFORMS &amp;&amp;
     198
     199ninja</userinput></screen>
    192200
    193201    <para>
     
    196204    </para>
    197205
    198 <screen><userinput>make -C xdemos DEMOS_PREFIX=$XORG_PREFIX</userinput></screen>
    199 
     206<screen><userinput>make -C ../xdemos DEMOS_PREFIX=$XORG_PREFIX</userinput></screen>
     207<!--
    200208    <para>
    201209      To test the results, issue: <command>make -k check</command>.
    202210    </para>
     211-->
     212    <para>
     213      This package does not come with a test suite.
     214    </para>
    203215
    204216    <para>
     
    206218    </para>
    207219
    208 <screen role="root"><userinput>make install</userinput></screen>
     220<screen role="root"><userinput>ninja install</userinput></screen>
    209221
    210222    <para>
     
    214226    </para>
    215227
    216 <screen role="root"><userinput>make -C xdemos DEMOS_PREFIX=$XORG_PREFIX install</userinput></screen>
     228<screen role="root"><userinput>make -C ../xdemos DEMOS_PREFIX=$XORG_PREFIX install</userinput></screen>
    217229
    218230    <para>
     
    223235
    224236<screen role="root"><userinput>install -v -dm755 /usr/share/doc/mesa-&mesa-version; &amp;&amp;
    225 cp -rfv docs/* /usr/share/doc/mesa-&mesa-version;</userinput></screen>
     237cp -rfv ../docs/* /usr/share/doc/mesa-&mesa-version;</userinput></screen>
    226238
    227239  </sect2>
     
    229241  <sect2 role="commands">
    230242    <title>Command Explanations</title>
    231 
     243<!--
    232244    <para>
    233245      <parameter>CFLAGS="-O2" CXXFLAGS="-O2"</parameter>: By default,
     
    243255      for some of the package components.
    244256    </para>
     257-->
    245258<!--
    246259    <para>
     
    252265    Removed in 18.2.0
    253266-->
    254 
    255     <para>
    256       <parameter>--enable-osmesa</parameter>: This switch enables building
     267<!--
     268    <para>
     269      <parameter>-Dosmesa=gallium</parameter>: This switch enables building
    257270      the <filename class="libraryfile">libOSMesa</filename> library.
    258271    </para>
    259272
    260273    <para>
    261       <parameter>--enable-xa</parameter>: This switch enables building the
     274      <parameter>- -enable-xa</parameter>: This switch enables building the
    262275      XA X Acceleration API (Required for VMware 3D Driver).
    263276    </para>
    264277
    265278    <para>
    266       <parameter>--enable-gbm</parameter>: This switch enables building the
     279      <parameter>- -enable-gbm</parameter>: This switch enables building the
    267280      <application>Mesa</application> Graphics Buffer Manager library.
    268281    </para>
    269282
    270283    <para>
    271       <parameter>--enable-glx-tls</parameter>: This switch enables TLS (Thread Local
     284      <parameter>- -enable-glx-tls</parameter>: This switch enables TLS (Thread Local
    272285      Storage) support in GLX.
    273286    </para>
    274 
    275     <para>
    276       <parameter>--with-platforms="..."</parameter>: This parameter
     287-->
     288    <para>
     289      <parameter>-Dplatforms="..."</parameter>: This parameter
    277290      controls which platforms EGL will be built for. Available
    278       platforms are drm, x11 and wayland.
    279     </para>
    280 
    281     <para>
    282       <parameter>--with-gallium-drivers="..."</parameter>: This parameter
    283       controls which Gallium3D drivers should be built.
    284     </para>
    285 
    286     <para revision="sysv">
    287       <option>--enable-sysfs</option>: Use this switch to enable simple PCI
    288       identification method, required for building DRI on systems without udev.
     291      platforms are drm, x11, surfaceless, haiku, android,  and wayland.
     292    </para>
     293
     294    <para>
     295      <parameter>=-Dgallium-drivers="..."</parameter>: This parameter
     296      controls which Gallium3D drivers should be built. Available drivers
     297      are pl111, radeonsi, r300, r600, nouveau, and freedreno.
     298    </para>
     299
     300    <para>
     301      <parameter>=-Ddri-drivers="..."</parameter>: This parameter
     302      controls which platforms should be supported. Available platforms
     303      are i915, i965, r100, r200, nouveau, and swrast.
    289304    </para>
    290305
     
    304319        </seg>
    305320        <seg>
     321          d3dadapter9.so,
     322          i915_dri.so,
     323          i965_dri.so,
     324          kms_swrast_dri.so,
     325          nouveau_dri.so,
     326          nouveau_vieux_dri.so,
     327          radeonsi_dri.so,
     328          radeonsi_drv_video.so,
     329          swrast_dri.so,
     330          vmwgfx_dri.so
    306331          libEGL.so,
     332          libGL.so,
     333          libGLESv1_CM.so,
     334          libGLESv2.so,
     335          libOSMesa.so,
     336          libXvMCnouveau.so,
    307337          libgbm.so,
    308338          libglapi.so,
    309           libGLESv1_CM.so,
    310           libGLESv2.so,
    311           libGL.so,
    312           libOSMesa.so,
    313 <!-- Those libraries are associated with the "swr" gallium driver,
    314      which has been removed at r17757. Keeping as a comment in case we
    315      reintroduce that driver. AVX libs are restored in version 18.0.1 -->
    316 <!--          libswrAVX.so,
    317           libswrAVX2.so, -->
    318           libwayland-egl.so (if built with <application>Wayland</application>)
    319           <!-- Does not appear to be present even with Wayland installed in 18.2.2.
    320           Further verification on a GNOME and Plasma system required. -->
     339          libvulkan_intel.so,
     340          libvulkan_radeon.so,
    321341          libxatracker.so,
    322           libXvMCnouveau.so,
    323           and libXvMCr600.so
     342          libvdpau_nouveau.so, and
     343          libvdpau_radeonsi.so
    324344        </seg>
    325345        <seg>
    326           $XORG_PREFIX/{include/{EGL,GL,GLES,GLES2,GLES3,KHR},lib/{dri,vdpau}}
     346          $XORG_PREFIX/{include/{EGL,GL,GLES,GLES2,GLES3,KHR,vulkan},lib/{d3d,dri,vdpau}}
    327347          and
    328348          /usr/share/doc/mesa-&mesa-version; (optional)
     
    436456      </varlistentry>
    437457
    438       <varlistentry id="libxatracker">
    439         <term><filename class="libraryfile">libxatracker.so</filename></term>
    440         <listitem>
    441           <para>
    442             is the Xorg Gallium3D acceleration library.
    443           </para>
    444           <indexterm zone="mesa libxatracker">
    445             <primary sortas="c-libxatracker">libxatracker.so</primary>
    446           </indexterm>
    447         </listitem>
    448       </varlistentry>
    449458    </variablelist>
    450459
Note: See TracChangeset for help on using the changeset viewer.