Changeset 973dabe9


Ignore:
Timestamp:
09/26/2016 09:03:33 PM (8 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
69e7a8d1
Parents:
ac61d9b
Message:

Update mesa dependencies and instructions

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

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • introduction/welcome/changelog.xml

    rac61d9b r973dabe9  
    4848      <itemizedlist>
    4949        <listitem>
     50          <para>[bdubbs] - Updated mesa dependencies. Fixes
     51          <ulink url="&blfs-ticket-root;8341">#8341</ulink>.</para>
     52        </listitem>
     53        <listitem>
    5054          <para>[renodr] - Update to yelp-3.22.0. Fixes
    5155          <ulink url="&blfs-ticket-root;8316">#8316</ulink>.</para>
  • x/installing/mesa.xml

    rac61d9b r973dabe9  
    9696    <bridgehead renderas="sect4">Recommended</bridgehead>
    9797    <para role="recommended">
    98       <xref linkend="elfutils"/> (required for Gallium3D radeonsi driver),
     98      <xref linkend="elfutils"/> (required for the radeonsi driver),
     99     
    99100      <phrase revision="systemd"><xref linkend="libva"/> (to build drivers for
    100101      supported hardware, note that there is a circular dependency. You must
    101102      build <application>libva</application> first without EGL and GLX support,
    102103      install this package, and rebuild <application>libva</application>.),</phrase>
     104     
    103105      <xref linkend="libvdpau"/> (to build VDPAU drivers),
     106     
    104107      <xref linkend="llvm"/> (required for Gallium3D r300, r600 and radeonsi
    105       drivers and also for llvmpipe which is intended to be the fastest of the
    106       three sw rasterizers, see
    107       <ulink url="http://www.mesa3d.org/systems.html"/>)
     108      drivers and for the llvmpipe software rasterizer. See
     109      <ulink url="http://www.mesa3d.org/systems.html"/> for more information.)
    108110    </para>
    109111
     
    113115      <xref linkend="nettle"/>,
    114116      <xref linkend="wayland"/> (required for
    115       <xref linkend='plasma5-build'/><phrase revision="systemd">,</phrase>
    116       <phrase revision="sysv">and</phrase>
    117       <xref linkend='lxqt'/><phrase revision="systemd">, and GNOME</phrase>),
     117        <xref linkend='plasma5-build'/>
     118          <phrase revision="systemd">,</phrase>
     119          <phrase revision="sysv">and</phrase>
     120        <xref linkend='lxqt'/>
     121          <phrase revision="systemd">, and GNOME</phrase>),
     122     
    118123      <ulink url="ftp://ftp.freedesktop.org/pub/mesa/demos/">mesa-demos</ulink>
    119124      (provides more than 300 extra demos to test
    120       <application>Mesa</application>; this includes the same programs
    121       added by the patch above), and
     125      <application>Mesa</application>; this includes the same programs added by
     126      the patch above), and
     127     
    122128      <ulink url="http://omxil.sourceforge.net/">Bellagio OpenMAX Integration
    123129      Layer</ulink> (for mobile platforms)
     
    129135        and <application>LLVM</application> with the r600/amdgpu and host
    130136        backends are installed. You will need to modify the instructions if you
    131         choose not to install them. Please note that
    132         <application>elfutils</application> and <application>LLVM</application>
    133         are <emphasis>required</emphasis> for the Gallium3D r300, r600,
    134         radeonsi, and SWR drivers. For an explanation of Gallium3D please see
     137        choose not to install them.  For an explanation of Gallium3D see
    135138        <ulink url="https://en.wikipedia.org/wiki/Gallium3D"/>.
    136139      </para>
     
    152155
    153156<screen><userinput>patch -Np1 -i ../mesa-&mesa-version;-add_xdemos-1.patch</userinput></screen>
     157
     158   <para>Now, select the drivers you wish to install.  The available
     159   drivers are i915, ilo, nouveau, r300, r600, radeonsi, freedreno, svga,
     160   swrast, vc4, and virgl.  The default is 'r300,r600,svga,swrast'. Modify
     161   the command below for any desired drivers.  The listed drivers will cover
     162   most modern video cards.  For help in selecting
     163   drivers see <ulink url='http://www.mesa3d.org/systems.html'/>.</para>
     164
     165<screen><userinput>GLL_DRV="i915,nouveau,radeonsi,svga,swrast"</userinput></screen>
    154166
    155167    <para>
     
    168180    </note>
    169181
    170 <screen><userinput>GLL_DRV="nouveau,r300,r600,radeonsi,svga,swrast" &amp;&amp;
    171 
    172 sed -i "/pthread-stubs/d" configure.ac      &amp;&amp;
     182<screen><userinput>sed -i "/pthread-stubs/d" configure.ac      &amp;&amp;
    173183sed -i "/seems to be moved/s/^/: #/" bin/ltmain.sh &amp;&amp;
     184
    174185./autogen.sh CFLAGS='-O2' CXXFLAGS='-O2'    \
    175186            --prefix=$XORG_PREFIX           \
    176187            --sysconfdir=/etc               \
    177188            --enable-texture-float          \
    178             --enable-gles1                  \
    179             --enable-gles2                  \
    180189            --enable-osmesa                 \
    181190            --enable-xa                     \
    182             --enable-gbm                    \
    183191            --enable-glx-tls                \
    184192            --with-egl-platforms="drm,x11"  \
     
    255263
    256264    <para>
    257       <parameter>--enable-gles1</parameter>: This switch enables support for
    258       the OpenGL ES 1.x API.
    259     </para>
    260 
    261     <para>
    262       <parameter>--enable-gles2</parameter>: This switch enables support for
    263       the OpenGL ES 2.x API.
    264     </para>
    265 
    266     <para>
    267265      <parameter>--enable-osmesa</parameter>: This switch enables building
    268266      the <filename class="libraryfile">libOSMesa</filename> library.
     
    292290    <para>
    293291      <parameter>--with-gallium-drivers="..."</parameter>: This parameter
    294       controls which Gallium3D drivers should be built. Available drivers
    295       are: i915, ilo, nouveau, r300, r600, radeonsi, svga, swrast, and swr. You
    296       will need to remove r300, r600, radeonsi, and swr from the list if you did
    297       not install <application>elfutils</application> and
    298       <application>LLVM</application> with the r600/amdgpu and host backends.
    299       Note that swr is in an early development stage, and the BLFS team does
    300       not recommend building it.
    301     </para>
    302 
    303     <para>
    304       <option>--enable-r600-llvm-compiler</option>: Use this switch to
    305       enable an experimental R600 <application>LLVM</application> backend
    306       for graphics shaders which claims to speed up the driver.
     292      controls which Gallium3D drivers should be built.
    307293    </para>
    308294
Note: See TracChangeset for help on using the changeset viewer.