[868c7c2] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[868c7c2] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[c0a8c0dc] | 7 | <!ENTITY mesa-download-http "https://mesa.freedesktop.org/archive/mesa-&mesa-version;.tar.xz">
|
---|
| 8 | <!ENTITY mesa-download-ftp "ftp://ftp.freedesktop.org/pub/mesa/mesa-&mesa-version;.tar.xz">
|
---|
[d34eadb] | 9 | <!ENTITY mesa-md5sum "0203cf3077bbdcf628c664372a0ae2fa">
|
---|
[d1afdf5] | 10 | <!ENTITY mesa-size "12 MB">
|
---|
[d34eadb] | 11 | <!ENTITY mesa-buildsize "439 MB (with demos and docs), add 275 MB for tests">
|
---|
| 12 | <!ENTITY mesa-time "2.8 SBU (with parallelism=4, demos, and docs), add 0.5 SBU for tests">
|
---|
[868c7c2] | 13 | ]>
|
---|
| 14 |
|
---|
[7a395d1] | 15 | <sect1 id="mesa" xreflabel="Mesa-&mesa-version;">
|
---|
| 16 | <?dbhtml filename="mesa.html"?>
|
---|
[868c7c2] | 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
[7a395d1] | 23 | <title>Mesa-&mesa-version;</title>
|
---|
[868c7c2] | 24 |
|
---|
[7a395d1] | 25 | <indexterm zone="mesa">
|
---|
| 26 | <primary sortas="a-Mesa">Mesa</primary>
|
---|
[868c7c2] | 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
[7a395d1] | 30 | <title>Introduction to Mesa</title>
|
---|
[868c7c2] | 31 |
|
---|
[eb425b4] | 32 | <para>
|
---|
| 33 | <application>Mesa</application> is an OpenGL compatible 3D graphics
|
---|
| 34 | library.
|
---|
| 35 | </para>
|
---|
[868c7c2] | 36 |
|
---|
[fdcf97c7] | 37 | <note>
|
---|
| 38 | <para>
|
---|
| 39 | <application>Mesa</application> is updated relatively often. You may
|
---|
| 40 | want to use the latest available &mesa-major-minor;.x mesa version.
|
---|
| 41 | </para>
|
---|
| 42 | </note>
|
---|
| 43 |
|
---|
[62a5037e] | 44 | &lfs91_checked;
|
---|
[ca0c29cc] | 45 |
|
---|
[868c7c2] | 46 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 47 | <itemizedlist spacing="compact">
|
---|
| 48 | <listitem>
|
---|
[de938a4e] | 49 | <para>
|
---|
[7a395d1] | 50 | Download (HTTP): <ulink url="&mesa-download-http;"/>
|
---|
[de938a4e] | 51 | </para>
|
---|
[868c7c2] | 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
[de938a4e] | 54 | <para>
|
---|
[7a395d1] | 55 | Download (FTP): <ulink url="&mesa-download-ftp;"/>
|
---|
[de938a4e] | 56 | </para>
|
---|
[868c7c2] | 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
[de938a4e] | 59 | <para>
|
---|
[7a395d1] | 60 | Download MD5 sum: &mesa-md5sum;
|
---|
[de938a4e] | 61 | </para>
|
---|
[868c7c2] | 62 | </listitem>
|
---|
| 63 | <listitem>
|
---|
[de938a4e] | 64 | <para>
|
---|
[7a395d1] | 65 | Download size: &mesa-size;
|
---|
[de938a4e] | 66 | </para>
|
---|
[868c7c2] | 67 | </listitem>
|
---|
| 68 | <listitem>
|
---|
[de938a4e] | 69 | <para>
|
---|
[7a395d1] | 70 | Estimated disk space required: &mesa-buildsize;
|
---|
[de938a4e] | 71 | </para>
|
---|
[868c7c2] | 72 | </listitem>
|
---|
| 73 | <listitem>
|
---|
[de938a4e] | 74 | <para>
|
---|
[7a395d1] | 75 | Estimated build time: &mesa-time;
|
---|
[de938a4e] | 76 | </para>
|
---|
[868c7c2] | 77 | </listitem>
|
---|
| 78 | </itemizedlist>
|
---|
| 79 |
|
---|
[625079b6] | 80 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
[a07e9eb] | 81 | <itemizedlist spacing="compact">
|
---|
| 82 | <listitem>
|
---|
[eb425b4] | 83 | <para>
|
---|
| 84 | Recommended patch:
|
---|
[39dd48b] | 85 | <ulink
|
---|
[3b33a630] | 86 | url="&patch-root;/mesa-&mesa-version;-add_xdemos-1.patch"/>
|
---|
[7a395d1] | 87 | (installs 2 demo programs for testing Mesa - not needed if you
|
---|
[39dd48b] | 88 | install the <ulink url="ftp://ftp.freedesktop.org/pub/mesa/demos/">
|
---|
| 89 | mesa-demos</ulink> package)
|
---|
[ace536a] | 90 | </para>
|
---|
[eeb29511] | 91 | </listitem>
|
---|
| 92 | </itemizedlist>
|
---|
| 93 |
|
---|
[7a395d1] | 94 | <bridgehead renderas="sect3">Mesa Dependencies</bridgehead>
|
---|
[868c7c2] | 95 |
|
---|
| 96 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[7b74537e] | 97 | <para role="required">
|
---|
[df343952] | 98 | <xref linkend="xorg7-lib"/>,
|
---|
[e2aae21f] | 99 | <xref linkend="libdrm"/>, and
|
---|
| 100 | <xref linkend="Mako"/>
|
---|
[eb425b4] | 101 | </para>
|
---|
[868c7c2] | 102 |
|
---|
[606dfd4] | 103 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
[eb425b4] | 104 | <para role="recommended">
|
---|
[d2f50ba] | 105 |
|
---|
[cc405844] | 106 | <xref role="first" linkend="libva"/> (to provide VA-API support for some
|
---|
| 107 | gallium drivers, note that there is a circular dependency. You must
|
---|
[df343952] | 108 | build <application>libva</application> first without EGL and GLX support,
|
---|
[cc405844] | 109 | install this package, and rebuild <application>libva</application>),
|
---|
[9065a56b] | 110 | <xref linkend="libvdpau"/> (to build VDPAU drivers),
|
---|
[d2f50ba] | 111 | <xref linkend="llvm"/> (required for Gallium3D, nouveau, r300, and radeonsi
|
---|
| 112 | drivers and for swrast, the software rasterizer which is sometimes referred
|
---|
| 113 | to as llvmpipe. See <ulink role="nodep"
|
---|
[fdcf97c7] | 114 | url="http://www.mesa3d.org/systems.html"/> for more information), and
|
---|
[8e17e54] | 115 | <xref linkend="wayland-protocols"/> (required for
|
---|
| 116 | <xref role="nodep" linkend='plasma5-build'/>,
|
---|
| 117 | <!-- <xref role="nodep" linkend='lxqt'/>, -->
|
---|
[d2f50ba] | 118 | GNOME, and recommended for <xref role="nodep" linkend='gtk3'/>)
|
---|
[606dfd4] | 119 | </para>
|
---|
[60bcf481] | 120 |
|
---|
[07584d8] | 121 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 122 | <para role="optional">
|
---|
[57bcce9] | 123 | <xref linkend="libgcrypt"/>,
|
---|
[b4d0b5a] | 124 | <xref linkend="lm_sensors"/> <!-- for libsensors according to Meson -->,
|
---|
[57bcce9] | 125 | <xref linkend="nettle"/>,
|
---|
[b4d0b5a] | 126 | <xref linkend="valgrind"/>,
|
---|
[58720a7b] | 127 | <ulink url="ftp://ftp.freedesktop.org/pub/mesa/demos/">mesa-demos</ulink>
|
---|
[1cdb1f7] | 128 | (provides more than 300 extra demos to test
|
---|
[973dabe9] | 129 | <application>Mesa</application>; this includes the same programs added by
|
---|
[b4d0b5a] | 130 | the patch above),
|
---|
[c18b8f23] | 131 | <ulink url="http://omxil.sourceforge.net/">Bellagio OpenMAX Integration
|
---|
[2ecacdd] | 132 | Layer</ulink> (for mobile platforms),
|
---|
| 133 | <ulink url="http://www.nongnu.org/libunwind/">libunwind</ulink>, and
|
---|
[b4d0b5a] | 134 | <ulink url="https://github.com/tizonia/tizonia-openmax-il/wiki/Tizonia-OpenMAX-IL/">
|
---|
| 135 | libtizonia</ulink>
|
---|
[07584d8] | 136 | </para>
|
---|
| 137 |
|
---|
[9065a56b] | 138 | <note>
|
---|
[fd2f9a2] | 139 | <para>
|
---|
[e4fbb24] | 140 | The instructions below assume that
|
---|
[d2f50ba] | 141 | <application>LLVM</application> with the r600/amdgpu and host backends
|
---|
| 142 | and run-time type information (RTTI - needed for nouveau) are installed.
|
---|
| 143 | You will need to modify the instructions if you
|
---|
| 144 | choose not to install all of these. For an explanation of Gallium3D see
|
---|
[e83a3bb] | 145 | <ulink url="https://en.wikipedia.org/wiki/Gallium3D"/>.
|
---|
[fd2f9a2] | 146 | </para>
|
---|
[9065a56b] | 147 | </note>
|
---|
[fd2f9a2] | 148 |
|
---|
[c5c2654] | 149 | <para condition="html" role="usernotes">User Notes:
|
---|
[7a395d1] | 150 | <ulink url="&blfs-wiki;/mesa"/>
|
---|
[2993b2f] | 151 | </para>
|
---|
[868c7c2] | 152 | </sect2>
|
---|
| 153 |
|
---|
| 154 | <sect2 role="installation">
|
---|
[7a395d1] | 155 | <title>Installation of Mesa</title>
|
---|
[868c7c2] | 156 |
|
---|
[a07e9eb] | 157 | <para>
|
---|
[51c08f3] | 158 | If you have downloaded the xdemos patch (needed if testing the Xorg
|
---|
| 159 | installation per BLFS instructions), apply it by running the following
|
---|
| 160 | command:
|
---|
[a07e9eb] | 161 | </para>
|
---|
| 162 |
|
---|
[3b33a630] | 163 | <screen><userinput>patch -Np1 -i ../mesa-&mesa-version;-add_xdemos-1.patch</userinput></screen>
|
---|
[a07e9eb] | 164 |
|
---|
[054e926] | 165 | <!-- Note that freedreno, vc4, and virgl all need special support from
|
---|
[d2f50ba] | 166 | libdrm - renodr
|
---|
| 167 | For me, libdrm does not mention virgl, but mesa accepts it. AFAICS
|
---|
| 168 | freedreno is for qualcom hardware, libdrm will build for it on suitable
|
---|
| 169 | systems. VC4 is for the Broadcom VC4 used in the raspberry pi - ken -->
|
---|
| 170 |
|
---|
[908e724] | 171 | <para>
|
---|
| 172 | If <xref linkend="python2"/> is not installed, adjust a script file
|
---|
| 173 | in test suite to use Python 3:
|
---|
| 174 | </para>
|
---|
| 175 |
|
---|
[62a5037e] | 176 | <screen><userinput>sed '1s/python/&3/' -i bin/symbols-check.py</userinput></screen>
|
---|
[908e724] | 177 |
|
---|
[d2f50ba] | 178 | <note>
|
---|
| 179 | <para>
|
---|
| 180 | The measurements above, and the Contents below, are for a full build.
|
---|
| 181 | Many people will not wish to install drivers they cannot use, so the
|
---|
| 182 | following paragraphs explain how to limit the drivers, and give an
|
---|
| 183 | example which can be be reduced or amended as necessary.
|
---|
| 184 | </para>
|
---|
| 185 | </note>
|
---|
| 186 |
|
---|
| 187 | <para>
|
---|
| 188 | Now, select the drivers you wish to install. For the X86 architecture, the
|
---|
| 189 | available gallium drivers are auto, <emphasis>or alternatively a choice
|
---|
| 190 | from</emphasis> i915, nouveau, r300, r600, radeonsi, svga, swrast, and
|
---|
| 191 | virgl. The latter is recommended if you intend to run the system under
|
---|
| 192 | <xref linkend="qemu"/>. If you wish to build all available gallium drivers,
|
---|
| 193 | use 'auto'.
|
---|
| 194 | </para>
|
---|
| 195 |
|
---|
| 196 | <para>
|
---|
| 197 | The (non-gallium) DRI drivers available in X86 are auto, <emphasis>or
|
---|
| 198 | alternatively a choice from</emphasis> i915, i965, nouveau, r100, r200,
|
---|
| 199 | and swrast. Use 'auto' to build all available DRI drivers, or use an
|
---|
| 200 | empty string (DRI_DRIVERS="") if you wish to only build gallium drivers.
|
---|
| 201 | </para>
|
---|
| 202 |
|
---|
| 203 | <para>
|
---|
| 204 | The platforms ("window systems") available for X86 linux are x11, wayland,
|
---|
| 205 | drm, and surfaceless. By not specifying anything, the meson build-system
|
---|
| 206 | will build for all these platforms if you have the dependencies, identical
|
---|
| 207 | to if you had specified '-Dplatforms=auto'.
|
---|
| 208 | </para>
|
---|
| 209 |
|
---|
| 210 | <para>
|
---|
| 211 | Modify the commands below for your desired drivers. The drivers listed
|
---|
| 212 | below will cover most modern video cards and virtual machines. For help in
|
---|
| 213 | selecting drivers see <ulink url='http://www.mesa3d.org/systems.html'/>.
|
---|
| 214 | </para>
|
---|
| 215 |
|
---|
| 216 | <note>
|
---|
| 217 | <para>
|
---|
| 218 | Although the nouveau drivers can be built for both gallium and dri, the
|
---|
| 219 | i915 driver can only be built for one or the other.
|
---|
| 220 | </para>
|
---|
| 221 | </note>
|
---|
| 222 |
|
---|
[696735e] | 223 | <!-- The iris driver has been temporarily removed from the below line.
|
---|
| 224 | With mesa-20.0.5, it caused crashes and occasional system lockups.
|
---|
| 225 | Exporting MESA_LOADER_DRIVER_OVERRIDE=i965 was able to fix it on
|
---|
| 226 | my Skylake (i5-6600k) system, but that overrides the iris driver.
|
---|
| 227 | Let's revisit this at a later time, maybe in a few releases or when
|
---|
| 228 | the hardware is more accessible. See
|
---|
| 229 | http://lists.linuxfromscratch.org/pipermail/blfs-dev/2020-April/037385.html
|
---|
| 230 | For more information/context.-->
|
---|
[c823c075] | 231 | <!-- Let's revisit Iris at 20.0.7, it's now known upstream -->
|
---|
[696735e] | 232 |
|
---|
| 233 | <screen><userinput>GALLIUM_DRV="i915,nouveau,r600,radeonsi,svga,swrast,virgl"
|
---|
[d2f50ba] | 234 | DRI_DRIVERS="i965,nouveau"</userinput></screen>
|
---|
[973dabe9] | 235 |
|
---|
[eb425b4] | 236 | <para>
|
---|
[7a395d1] | 237 | Install <application>Mesa</application> by running the following
|
---|
[eb425b4] | 238 | commands:
|
---|
| 239 | </para>
|
---|
[868c7c2] | 240 |
|
---|
[b3f053c5] | 241 | <screen><userinput>mkdir build &&
|
---|
| 242 | cd build &&
|
---|
[a85e5ce] | 243 |
|
---|
[b3f053c5] | 244 | meson --prefix=$XORG_PREFIX \
|
---|
[d2f50ba] | 245 | -Dbuildtype=release \
|
---|
[b3f053c5] | 246 | -Ddri-drivers=$DRI_DRIVERS \
|
---|
| 247 | -Dgallium-drivers=$GALLIUM_DRV \
|
---|
[2ca222a7] | 248 | -Dgallium-nine=false \
|
---|
[d2f50ba] | 249 | -Dglx=dri \
|
---|
| 250 | -Dosmesa=gallium \
|
---|
| 251 | -Dvalgrind=false \
|
---|
[99c61a4] | 252 | -Dlibunwind=false \
|
---|
[b3f053c5] | 253 | .. &&
|
---|
[a85e5ce] | 254 |
|
---|
[d2f50ba] | 255 | unset GALLIUM_DRV DRI_DRIVERS &&
|
---|
[b3f053c5] | 256 |
|
---|
| 257 | ninja</userinput></screen>
|
---|
[868c7c2] | 258 |
|
---|
[b3f053c5] | 259 | <para>
|
---|
[d2f50ba] | 260 | If you built the tests (see 'Command Explanations'), to run them issue:
|
---|
[09c7250] | 261 | <command>ninja test</command>. Four tests in the glcpp test suite and
|
---|
| 262 | two tests in the llvmpipe suite are known to fail.
|
---|
[b3f053c5] | 263 | </para>
|
---|
[ff55539b] | 264 |
|
---|
[eb425b4] | 265 | <para>
|
---|
| 266 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 267 | </para>
|
---|
[ff55539b] | 268 |
|
---|
[b3f053c5] | 269 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
[a07e9eb] | 270 |
|
---|
[eb425b4] | 271 | <para>
|
---|
[a07e9eb] | 272 | If desired, install the optional documentation by running
|
---|
| 273 | the following commands as the
|
---|
[eb425b4] | 274 | <systemitem class="username">root</systemitem> user:
|
---|
| 275 | </para>
|
---|
[91859cf] | 276 |
|
---|
[7a395d1] | 277 | <screen role="root"><userinput>install -v -dm755 /usr/share/doc/mesa-&mesa-version; &&
|
---|
[b3f053c5] | 278 | cp -rfv ../docs/* /usr/share/doc/mesa-&mesa-version;</userinput></screen>
|
---|
[5a883bc4] | 279 |
|
---|
[868c7c2] | 280 | </sect2>
|
---|
| 281 |
|
---|
[a07e9eb] | 282 | <sect2 role="commands">
|
---|
| 283 | <title>Command Explanations</title>
|
---|
[d2f50ba] | 284 |
|
---|
[95e8211] | 285 | <para>
|
---|
[d2f50ba] | 286 | <parameter>-Dbuildtype=release</parameter>: This switch ensures a
|
---|
| 287 | fully-optimized build, and disables debug assertions which will
|
---|
[ec77633] | 288 | severely slow down the libraries in certain use-cases. Without this
|
---|
| 289 | switch, build sizes can span into the 2GB range.
|
---|
[95e8211] | 290 | </para>
|
---|
| 291 |
|
---|
[b642036d] | 292 | <para>
|
---|
[d2f50ba] | 293 | <parameter>-Ddri-drivers="..."</parameter>: This parameter
|
---|
| 294 | controls which (non-gallium) dri drivers should be built.
|
---|
| 295 | </para>
|
---|
| 296 |
|
---|
| 297 | <para>
|
---|
| 298 | <parameter>-Dgallium-drivers="..."</parameter>: This parameter
|
---|
| 299 | controls which Gallium3D drivers should be built.
|
---|
| 300 | </para>
|
---|
| 301 |
|
---|
| 302 | <para>
|
---|
[018c4c52] | 303 | <option>-Dgallium-nine=true</option>: Setting this option to true will
|
---|
| 304 | provide support for (MS Windows) games designed for DX9.
|
---|
[d2f50ba] | 305 | </para>
|
---|
| 306 |
|
---|
| 307 | <para>
|
---|
| 308 | <parameter>-Dosmesa=gallium</parameter>: This switch enables building
|
---|
| 309 | the <filename class="libraryfile">libOSMesa</filename> library and
|
---|
[018c4c52] | 310 | provides Gallium3D support in it. It requires the swrast gallium driver.
|
---|
[b642036d] | 311 | </para>
|
---|
[0f09c2b8] | 312 | <!--
|
---|
[eb425b4] | 313 | <para>
|
---|
[d2f50ba] | 314 | <parameter>-Dplatforms="..."</parameter>: This parameter
|
---|
| 315 | controls which platforms EGL will be built for. Available
|
---|
| 316 | linux X86 platforms are drm, x11, wayland, and surfaceless.
|
---|
[eb425b4] | 317 | </para>
|
---|
[0f09c2b8] | 318 | -->
|
---|
[2993b2f] | 319 | <para>
|
---|
[d2f50ba] | 320 | <parameter>-Dvalgrind=false</parameter>: This parameter disables
|
---|
| 321 | the usage of Valgrind during the build process. Remove this parameter
|
---|
| 322 | if you have Valgrind installed, and wish to check for memory leaks.
|
---|
[2993b2f] | 323 | </para>
|
---|
| 324 |
|
---|
[d2f50ba] | 325 | <!--
|
---|
[eb425b4] | 326 | <para>
|
---|
[b3f053c5] | 327 | <parameter>- -enable-xa</parameter>: This switch enables building the
|
---|
[eb425b4] | 328 | XA X Acceleration API (Required for VMware 3D Driver).
|
---|
| 329 | </para>
|
---|
| 330 |
|
---|
| 331 | <para>
|
---|
[b3f053c5] | 332 | <parameter>- -enable-gbm</parameter>: This switch enables building the
|
---|
[a07e9eb] | 333 | <application>Mesa</application> Graphics Buffer Manager library.
|
---|
| 334 | </para>
|
---|
[d2f50ba] | 335 | These two seem to be automatic in 19.0 - ken
|
---|
[a07e9eb] | 336 |
|
---|
[eb425b4] | 337 | <para>
|
---|
[b3f053c5] | 338 | <parameter>- -enable-glx-tls</parameter>: This switch enables TLS (Thread Local
|
---|
[4d92247] | 339 | Storage) support in GLX.
|
---|
[eb425b4] | 340 | </para>
|
---|
[b3f053c5] | 341 | -->
|
---|
[a07e9eb] | 342 | <para>
|
---|
[d2f50ba] | 343 | <option>-Dbuild-tests=true</option>: This option will cause the test code
|
---|
| 344 | to be enabled.
|
---|
[b4d0b5a] | 345 | </para>
|
---|
| 346 |
|
---|
[371ff30] | 347 | </sect2>
|
---|
| 348 |
|
---|
[868c7c2] | 349 | <sect2 role="content">
|
---|
| 350 | <title>Contents</title>
|
---|
| 351 |
|
---|
| 352 | <segmentedlist>
|
---|
[1263ab1e] | 353 | <segtitle>Installed Programs</segtitle>
|
---|
[868c7c2] | 354 | <segtitle>Installed Libraries</segtitle>
|
---|
[ba2ac60] | 355 | <segtitle>Installed Directories</segtitle>
|
---|
[868c7c2] | 356 |
|
---|
| 357 | <seglistitem>
|
---|
[eb425b4] | 358 | <seg>
|
---|
| 359 | glxgears and glxinfo
|
---|
| 360 | </seg>
|
---|
| 361 | <seg>
|
---|
[d2f50ba] | 362 | <!-- Begin DRI drivers : this is the full set from auto -->
|
---|
| 363 | d3dadapter9.so, <!-- For Windows games. This is DirectX's Direct3D -->
|
---|
[b3f053c5] | 364 | i915_dri.so,
|
---|
| 365 | i965_dri.so,
|
---|
| 366 | kms_swrast_dri.so,
|
---|
| 367 | nouveau_dri.so,
|
---|
[d2f50ba] | 368 | nouveau_drv_video.so,
|
---|
[b3f053c5] | 369 | nouveau_vieux_dri.so,
|
---|
[d2f50ba] | 370 | r200_dri.so,
|
---|
| 371 | r300_dri.so,
|
---|
| 372 | r600_dri.so,
|
---|
| 373 | r600_drv_video.so,
|
---|
| 374 | radeon_dri.so,
|
---|
[b3f053c5] | 375 | radeonsi_dri.so,
|
---|
| 376 | radeonsi_drv_video.so,
|
---|
| 377 | swrast_dri.so,
|
---|
[d2f50ba] | 378 | virtio_gpu_dri.so,
|
---|
[696735e] | 379 | vmwgfx_dri.so,
|
---|
[e4fbb24] | 380 | <!-- End DRI Drivers -->
|
---|
[ed6d075] | 381 | libEGL.so,
|
---|
[b3f053c5] | 382 | libGL.so,
|
---|
[ed6d075] | 383 | libGLESv1_CM.so,
|
---|
[5a14a19] | 384 | libGLESv2.so,
|
---|
[a640d58] | 385 | libOSMesa.so,
|
---|
| 386 | libXvMCnouveau.so,
|
---|
[d2f50ba] | 387 | libXvMCr600.so,
|
---|
[b3f053c5] | 388 | libgbm.so,
|
---|
| 389 | libglapi.so,
|
---|
[e4fbb24] | 390 | <!-- Begin Vulkan drivers -->
|
---|
[b3f053c5] | 391 | libvulkan_intel.so,
|
---|
| 392 | libvulkan_radeon.so,
|
---|
[e4fbb24] | 393 | <!-- End Vulkan drivers -->
|
---|
[b3f053c5] | 394 | libxatracker.so,
|
---|
[e4fbb24] | 395 | <!-- Begin VDPAU drivers -->
|
---|
[d2f50ba] | 396 | libvdpau_nouveau.so,
|
---|
| 397 | libvdpau_r300.so,
|
---|
| 398 | libvdpau_r600.so, and
|
---|
[b3f053c5] | 399 | libvdpau_radeonsi.so
|
---|
[e4fbb24] | 400 | <!-- End VDPAU drivers -->
|
---|
[eb425b4] | 401 | </seg>
|
---|
| 402 | <seg>
|
---|
[62fb0eea] | 403 | $XORG_PREFIX/{include/{d3dapater,EGL,GL,GLES,GLES2,GLES3,KHR,vulkan},lib/{d3d,dri,vdpau}}
|
---|
[d2f50ba] | 404 | $XORG_PREFIX/share/drirc.d (contains workarounds for various applications,
|
---|
| 405 | particularly browsers and games)
|
---|
| 406 | $XORG_PREFIX/share/vulkan/icd.d,
|
---|
[880727e] | 407 | and
|
---|
[7a395d1] | 408 | /usr/share/doc/mesa-&mesa-version; (optional)
|
---|
[eb425b4] | 409 | </seg>
|
---|
[868c7c2] | 410 | </seglistitem>
|
---|
| 411 | </segmentedlist>
|
---|
[d3ef1e4] | 412 |
|
---|
[4437f63] | 413 | <variablelist>
|
---|
| 414 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 415 | <?dbfo list-presentation="list"?>
|
---|
| 416 | <?dbhtml list-presentation="table"?>
|
---|
| 417 |
|
---|
| 418 | <varlistentry id="glxgears">
|
---|
[eb50ddde] | 419 | <term><command>glxgears</command></term>
|
---|
[4437f63] | 420 | <listitem>
|
---|
[eb425b4] | 421 | <para>
|
---|
| 422 | is a GL demo useful for troubleshooting graphics
|
---|
| 423 | problems.
|
---|
| 424 | </para>
|
---|
[7a395d1] | 425 | <indexterm zone="mesa glxgears">
|
---|
[4437f63] | 426 | <primary sortas="b-glxgears">glxgears</primary>
|
---|
| 427 | </indexterm>
|
---|
| 428 | </listitem>
|
---|
| 429 | </varlistentry>
|
---|
| 430 |
|
---|
| 431 | <varlistentry id="glxinfo">
|
---|
[eb50ddde] | 432 | <term><command>glxinfo</command></term>
|
---|
[4437f63] | 433 | <listitem>
|
---|
[eb425b4] | 434 | <para>
|
---|
| 435 | is a diagnostic program that displays information about the
|
---|
| 436 | graphics hardware and installed GL libraries.
|
---|
| 437 | </para>
|
---|
[7a395d1] | 438 | <indexterm zone="mesa glxinfo">
|
---|
[4437f63] | 439 | <primary sortas="b-glxinfo">glxinfo</primary>
|
---|
| 440 | </indexterm>
|
---|
| 441 | </listitem>
|
---|
| 442 | </varlistentry>
|
---|
| 443 |
|
---|
[25f6d94] | 444 | <varlistentry id="libEGL">
|
---|
[a07e9eb] | 445 | <term><filename class="libraryfile">libEGL.so</filename></term>
|
---|
[25f6d94] | 446 | <listitem>
|
---|
[eb425b4] | 447 | <para>
|
---|
[a07e9eb] | 448 | provides a native platform graphics interface as
|
---|
| 449 | defined by the EGL-1.4 specification.
|
---|
[eb425b4] | 450 | </para>
|
---|
[7a395d1] | 451 | <indexterm zone="mesa libEGL">
|
---|
[25f6d94] | 452 | <primary sortas="c-libGL">libEGL.so</primary>
|
---|
| 453 | </indexterm>
|
---|
| 454 | </listitem>
|
---|
| 455 | </varlistentry>
|
---|
| 456 |
|
---|
[a07e9eb] | 457 | <varlistentry id="libgbm">
|
---|
| 458 | <term><filename class="libraryfile">libgbm.so</filename></term>
|
---|
| 459 | <listitem>
|
---|
| 460 | <para>
|
---|
| 461 | is the <application>Mesa</application> Graphics Buffer
|
---|
[0d7900a] | 462 | Manager library.
|
---|
[a07e9eb] | 463 | </para>
|
---|
[7a395d1] | 464 | <indexterm zone="mesa libgbm">
|
---|
[a07e9eb] | 465 | <primary sortas="c-libgbm">libgbm.so</primary>
|
---|
| 466 | </indexterm>
|
---|
| 467 | </listitem>
|
---|
| 468 | </varlistentry>
|
---|
| 469 |
|
---|
| 470 | <varlistentry id="libGLESv1_CM">
|
---|
| 471 | <term><filename class="libraryfile">libGLESv1_CM.so</filename></term>
|
---|
| 472 | <listitem>
|
---|
| 473 | <para>
|
---|
| 474 | is the <application>Mesa</application> OpenGL ES 1.1 library.
|
---|
| 475 | </para>
|
---|
[7a395d1] | 476 | <indexterm zone="mesa libGLESv1_CM">
|
---|
[a07e9eb] | 477 | <primary sortas="c-libGLESv1_CM">libGLESv1_CM.so</primary>
|
---|
| 478 | </indexterm>
|
---|
| 479 | </listitem>
|
---|
| 480 | </varlistentry>
|
---|
| 481 |
|
---|
| 482 | <varlistentry id="libGLES2">
|
---|
| 483 | <term><filename class="libraryfile">libGLES2.so</filename></term>
|
---|
| 484 | <listitem>
|
---|
| 485 | <para>
|
---|
| 486 | is the <application>Mesa</application> OpenGL ES 2.0 library.
|
---|
| 487 | </para>
|
---|
[7a395d1] | 488 | <indexterm zone="mesa libGLES2">
|
---|
[a07e9eb] | 489 | <primary sortas="c-libGLES2">libGLES2.so</primary>
|
---|
| 490 | </indexterm>
|
---|
| 491 | </listitem>
|
---|
| 492 | </varlistentry>
|
---|
| 493 |
|
---|
[ba2ac60] | 494 | <varlistentry id="libGL">
|
---|
[a07e9eb] | 495 | <term><filename class="libraryfile">libGL.so</filename></term>
|
---|
[ba2ac60] | 496 | <listitem>
|
---|
[eb425b4] | 497 | <para>
|
---|
[a07e9eb] | 498 | is the main <application>Mesa</application> OpenGL library.
|
---|
[eb425b4] | 499 | </para>
|
---|
[7a395d1] | 500 | <indexterm zone="mesa libGL">
|
---|
[ba2ac60] | 501 | <primary sortas="c-libGL">libGL.so</primary>
|
---|
| 502 | </indexterm>
|
---|
| 503 | </listitem>
|
---|
| 504 | </varlistentry>
|
---|
| 505 |
|
---|
[2993b2f] | 506 | <varlistentry id="libOSMesa">
|
---|
| 507 | <term><filename class="libraryfile">libOSMesa.so</filename></term>
|
---|
| 508 | <listitem>
|
---|
| 509 | <para>
|
---|
| 510 | is the <application>Mesa</application> Off-screen Rendering library.
|
---|
| 511 | </para>
|
---|
[7a395d1] | 512 | <indexterm zone="mesa libOSMesa">
|
---|
[2993b2f] | 513 | <primary sortas="c-libOSMesa">libOSMesa.so</primary>
|
---|
| 514 | </indexterm>
|
---|
| 515 | </listitem>
|
---|
| 516 | </varlistentry>
|
---|
| 517 |
|
---|
[4437f63] | 518 | </variablelist>
|
---|
| 519 |
|
---|
[868c7c2] | 520 | </sect2>
|
---|
[d3ef1e4] | 521 |
|
---|
[868c7c2] | 522 | </sect1>
|
---|