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