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