[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">
|
---|
[ef936e4] | 9 | <!ENTITY mesa-md5sum "f81336168864b1f890edfa5db8587f2b">
|
---|
[63a0217] | 10 | <!ENTITY mesa-size "15 MB">
|
---|
[ef936e4] | 11 | <!ENTITY mesa-buildsize "799 MB (with docs, add 376 MB if running the tests)">
|
---|
| 12 | <!-- using NINJAJOBS=6 -->
|
---|
| 13 | <!ENTITY mesa-time "5.1 SBU (on a 4-core machine with docs)">
|
---|
[868c7c2] | 14 | ]>
|
---|
| 15 |
|
---|
[7a395d1] | 16 | <sect1 id="mesa" xreflabel="Mesa-&mesa-version;">
|
---|
| 17 | <?dbhtml filename="mesa.html"?>
|
---|
[868c7c2] | 18 |
|
---|
| 19 | <sect1info>
|
---|
| 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 |
|
---|
[34a6571] | 44 | &lfs110a_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"
|
---|
[c6cb93b] | 113 | url="https://docs.mesa3d.org/systems.html"/> for more information), and
|
---|
[8558044] | 114 | <xref linkend="wayland-protocols"/> (required for
|
---|
[8e17e54] | 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
|
---|
[8558044] | 131 | Layer</ulink> (for mobile platforms),
|
---|
[ef936e4] | 132 | <ulink url="http://www.nongnu.org/libunwind/">libunwind</ulink>,
|
---|
[b4d0b5a] | 133 | <ulink url="https://github.com/tizonia/tizonia-openmax-il/wiki/Tizonia-OpenMAX-IL/">
|
---|
[ef936e4] | 134 | libtizonia</ulink>, and
|
---|
| 135 | <ulink url="https://www.vulkan.org/">libvulkan</ulink> (for the zink driver)
|
---|
[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:
|
---|
[6ff79cf] | 150 | <ulink url="&blfs-wiki;/mesalib"/>
|
---|
[2993b2f] | 151 | </para>
|
---|
[868c7c2] | 152 | </sect2>
|
---|
| 153 |
|
---|
| 154 | <sect2 role="installation">
|
---|
[7a395d1] | 155 | <title>Installation of Mesa</title>
|
---|
[1334c9a] | 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 |
|
---|
[1334c9a] | 163 | <screen><userinput>patch -Np1 -i ../mesa-&mesa-version;-add_xdemos-1.patch</userinput></screen>
|
---|
| 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>
|
---|
[4873baa] | 172 | Adjust a script file in test suite to use Python 3, instead of the
|
---|
[17facb1] | 173 | obsolete Python 2:
|
---|
[908e724] | 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
|
---|
[ef936e4] | 189 | available gallium drivers are auto (<emphasis>in 21.2.1 this does not select
|
---|
| 190 | crocus </emphasis>), <emphasis>or alternatively a choice from</emphasis>
|
---|
[d06644b] | 191 | crocus, i915, iris, nouveau, r300, r600, radeonsi, svga, swrast, and virgl. The
|
---|
[ef936e4] | 192 | latter is recommended if you intend to run the system under
|
---|
| 193 | <xref linkend="qemu"/>.<!-- If you wish to build all available gallium drivers,
|
---|
| 194 | use 'auto'. FIXME : does not build crocus in 21.2.1 -->
|
---|
[6ff79cf] | 195 |
|
---|
| 196 | <!-- crocus was added to the default x86/x86_64 drivers for meson in the
|
---|
| 197 | master branch on 2021-08-31, at some point it will appear in a stable release -->
|
---|
[d2f50ba] | 198 | </para>
|
---|
| 199 |
|
---|
| 200 | <para>
|
---|
| 201 | The (non-gallium) DRI drivers available in X86 are auto, <emphasis>or
|
---|
| 202 | alternatively a choice from</emphasis> i915, i965, nouveau, r100, r200,
|
---|
| 203 | and swrast. Use 'auto' to build all available DRI drivers, or use an
|
---|
| 204 | empty string (DRI_DRIVERS="") if you wish to only build gallium drivers.
|
---|
| 205 | </para>
|
---|
| 206 |
|
---|
| 207 | <para>
|
---|
| 208 | The platforms ("window systems") available for X86 linux are x11, wayland,
|
---|
[8558044] | 209 | <!--drm,--> and surfaceless. By not specifying anything, the meson
|
---|
[17ae4374] | 210 | build-system will build for all these platforms if you have the
|
---|
| 211 | dependencies, identical to if you had specified '-Dplatforms=auto'.
|
---|
[d2f50ba] | 212 | </para>
|
---|
| 213 |
|
---|
| 214 | <para>
|
---|
| 215 | Modify the commands below for your desired drivers. The drivers listed
|
---|
| 216 | below will cover most modern video cards and virtual machines. For help in
|
---|
[c6cb93b] | 217 | selecting drivers see <ulink url="https://docs.mesa3d.org/systems.html"/>.
|
---|
[ef936e4] | 218 | <!-- these two don't seem to be mentioned in that mesa link -->
|
---|
| 219 | For intel drivers, specify crocus for i965 gen 4 through to haswell, iris
|
---|
| 220 | for broadwell and later.
|
---|
[d2f50ba] | 221 | </para>
|
---|
| 222 |
|
---|
| 223 | <note>
|
---|
| 224 | <para>
|
---|
| 225 | Although the nouveau drivers can be built for both gallium and dri, the
|
---|
| 226 | i915 driver can only be built for one or the other.
|
---|
| 227 | </para>
|
---|
| 228 | </note>
|
---|
| 229 |
|
---|
[ef936e4] | 230 | <screen><userinput>GALLIUM_DRV="crocus,i915,iris,nouveau,r600,radeonsi,svga,swrast,virgl"
|
---|
[d2f50ba] | 231 | DRI_DRIVERS="i965,nouveau"</userinput></screen>
|
---|
[973dabe9] | 232 |
|
---|
[eb425b4] | 233 | <para>
|
---|
[7a395d1] | 234 | Install <application>Mesa</application> by running the following
|
---|
[eb425b4] | 235 | commands:
|
---|
| 236 | </para>
|
---|
[868c7c2] | 237 |
|
---|
[b3f053c5] | 238 | <screen><userinput>mkdir build &&
|
---|
| 239 | cd build &&
|
---|
[a85e5ce] | 240 |
|
---|
[b3f053c5] | 241 | meson --prefix=$XORG_PREFIX \
|
---|
[3918112a] | 242 | --buildtype=release \
|
---|
[b3f053c5] | 243 | -Ddri-drivers=$DRI_DRIVERS \
|
---|
| 244 | -Dgallium-drivers=$GALLIUM_DRV \
|
---|
[2ca222a7] | 245 | -Dgallium-nine=false \
|
---|
[d2f50ba] | 246 | -Dglx=dri \
|
---|
[d7fcae6] | 247 | -Dvalgrind=disabled \
|
---|
| 248 | -Dlibunwind=disabled \
|
---|
[b3f053c5] | 249 | .. &&
|
---|
[a85e5ce] | 250 |
|
---|
[d2f50ba] | 251 | unset GALLIUM_DRV DRI_DRIVERS &&
|
---|
[b3f053c5] | 252 |
|
---|
| 253 | ninja</userinput></screen>
|
---|
[868c7c2] | 254 |
|
---|
[b3f053c5] | 255 | <para>
|
---|
[d2f50ba] | 256 | If you built the tests (see 'Command Explanations'), to run them issue:
|
---|
[8558044] | 257 | <command>ninja test</command>.
|
---|
[ef936e4] | 258 | All 33 subtests tests in the mesa:compiler+glsl / glsl compiler warnings
|
---|
| 259 | suite are known to fail.
|
---|
[b3f053c5] | 260 | </para>
|
---|
[ef936e4] | 261 |
|
---|
[eb425b4] | 262 | <para>
|
---|
| 263 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 264 | </para>
|
---|
[ff55539b] | 265 |
|
---|
[b3f053c5] | 266 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
[a07e9eb] | 267 |
|
---|
[eb425b4] | 268 | <para>
|
---|
[a07e9eb] | 269 | If desired, install the optional documentation by running
|
---|
| 270 | the following commands as the
|
---|
[eb425b4] | 271 | <systemitem class="username">root</systemitem> user:
|
---|
| 272 | </para>
|
---|
[91859cf] | 273 |
|
---|
[7a395d1] | 274 | <screen role="root"><userinput>install -v -dm755 /usr/share/doc/mesa-&mesa-version; &&
|
---|
[b3f053c5] | 275 | cp -rfv ../docs/* /usr/share/doc/mesa-&mesa-version;</userinput></screen>
|
---|
[5a883bc4] | 276 |
|
---|
[868c7c2] | 277 | </sect2>
|
---|
| 278 |
|
---|
[a07e9eb] | 279 | <sect2 role="commands">
|
---|
| 280 | <title>Command Explanations</title>
|
---|
[d2f50ba] | 281 |
|
---|
[95e8211] | 282 | <para>
|
---|
[3918112a] | 283 | <parameter>--buildtype=release</parameter>: This switch ensures a
|
---|
[d2f50ba] | 284 | fully-optimized build, and disables debug assertions which will
|
---|
[ec77633] | 285 | severely slow down the libraries in certain use-cases. Without this
|
---|
| 286 | switch, build sizes can span into the 2GB range.
|
---|
[95e8211] | 287 | </para>
|
---|
| 288 |
|
---|
[b642036d] | 289 | <para>
|
---|
[d2f50ba] | 290 | <parameter>-Ddri-drivers="..."</parameter>: This parameter
|
---|
| 291 | controls which (non-gallium) dri drivers should be built.
|
---|
| 292 | </para>
|
---|
| 293 |
|
---|
| 294 | <para>
|
---|
| 295 | <parameter>-Dgallium-drivers="..."</parameter>: This parameter
|
---|
| 296 | controls which Gallium3D drivers should be built.
|
---|
| 297 | </para>
|
---|
| 298 |
|
---|
| 299 | <para>
|
---|
[42117d4e] | 300 | <parameter>-Dgallium-nine=false</parameter>: Prevents building
|
---|
| 301 | support for (MS Windows) games designed for DX9. Set it to true if
|
---|
| 302 | this support is desired.
|
---|
[d2f50ba] | 303 | </para>
|
---|
[d3ad4c0f] | 304 | <!--
|
---|
[d2f50ba] | 305 | <para>
|
---|
[d3ad4c0f] | 306 | <parameter>-Dosmesa=true</parameter>: This switch enables building
|
---|
[d2f50ba] | 307 | the <filename class="libraryfile">libOSMesa</filename> library and
|
---|
[018c4c52] | 308 | provides Gallium3D support in it. It requires the swrast gallium driver.
|
---|
[b642036d] | 309 | </para>
|
---|
[d3ad4c0f] | 310 | -->
|
---|
[0f09c2b8] | 311 | <!--
|
---|
[eb425b4] | 312 | <para>
|
---|
[d2f50ba] | 313 | <parameter>-Dplatforms="..."</parameter>: This parameter
|
---|
| 314 | controls which platforms EGL will be built for. Available
|
---|
| 315 | linux X86 platforms are drm, x11, wayland, and surfaceless.
|
---|
[eb425b4] | 316 | </para>
|
---|
[0f09c2b8] | 317 | -->
|
---|
[2993b2f] | 318 | <para>
|
---|
[d7fcae6] | 319 | <parameter>-Dvalgrind=disabled</parameter>: This parameter disables
|
---|
[d2f50ba] | 320 | the usage of Valgrind during the build process. Remove this parameter
|
---|
| 321 | if you have Valgrind installed, and wish to check for memory leaks.
|
---|
[2993b2f] | 322 | </para>
|
---|
| 323 |
|
---|
[42117d4e] | 324 | <para>
|
---|
[d7fcae6] | 325 | <parameter>-Dlibunwind=disabled</parameter>: This parameter disables
|
---|
[42117d4e] | 326 | the usage of libunwind.
|
---|
| 327 | </para>
|
---|
| 328 |
|
---|
[d2f50ba] | 329 | <!--
|
---|
[eb425b4] | 330 | <para>
|
---|
[b3f053c5] | 331 | <parameter>- -enable-xa</parameter>: This switch enables building the
|
---|
[eb425b4] | 332 | XA X Acceleration API (Required for VMware 3D Driver).
|
---|
| 333 | </para>
|
---|
| 334 |
|
---|
| 335 | <para>
|
---|
[b3f053c5] | 336 | <parameter>- -enable-gbm</parameter>: This switch enables building the
|
---|
[a07e9eb] | 337 | <application>Mesa</application> Graphics Buffer Manager library.
|
---|
| 338 | </para>
|
---|
[d2f50ba] | 339 | These two seem to be automatic in 19.0 - ken
|
---|
[a07e9eb] | 340 |
|
---|
[eb425b4] | 341 | <para>
|
---|
[b3f053c5] | 342 | <parameter>- -enable-glx-tls</parameter>: This switch enables TLS (Thread Local
|
---|
[4d92247] | 343 | Storage) support in GLX.
|
---|
[eb425b4] | 344 | </para>
|
---|
[b3f053c5] | 345 | -->
|
---|
[a07e9eb] | 346 | <para>
|
---|
[d2f50ba] | 347 | <option>-Dbuild-tests=true</option>: This option will cause the test code
|
---|
[63a0217] | 348 | to be enabled. To run the tests, issue: <command>ninja test</command>.
|
---|
[b4d0b5a] | 349 | </para>
|
---|
| 350 |
|
---|
[371ff30] | 351 | </sect2>
|
---|
| 352 |
|
---|
[868c7c2] | 353 | <sect2 role="content">
|
---|
| 354 | <title>Contents</title>
|
---|
| 355 |
|
---|
| 356 | <segmentedlist>
|
---|
[1263ab1e] | 357 | <segtitle>Installed Programs</segtitle>
|
---|
[42117d4e] | 358 | <segtitle>Installed Libraries</segtitle><!-- in /usr/lib -->
|
---|
| 359 | <segtitle>Installed Drivers</segtitle><!-- in /usr/lib/<subdir> -->
|
---|
[ba2ac60] | 360 | <segtitle>Installed Directories</segtitle>
|
---|
[868c7c2] | 361 |
|
---|
| 362 | <seglistitem>
|
---|
[eb425b4] | 363 | <seg>
|
---|
| 364 | glxgears and glxinfo
|
---|
| 365 | </seg>
|
---|
[42117d4e] | 366 | <seg>
|
---|
| 367 | libEGL.so,
|
---|
| 368 | libGL.so,
|
---|
| 369 | libGLESv1_CM.so,
|
---|
| 370 | libGLESv2.so,
|
---|
| 371 | libOSMesa.so,
|
---|
| 372 | libXvMCnouveau.so,
|
---|
| 373 | libXvMCr600.so,
|
---|
| 374 | libgbm.so,
|
---|
| 375 | libglapi.so,
|
---|
| 376 | <!-- Begin Vulkan drivers -->
|
---|
| 377 | libvulkan_intel.so,
|
---|
| 378 | libvulkan_lvp.so,
|
---|
| 379 | libvulkan_radeon.so, and
|
---|
| 380 | <!-- End Vulkan drivers -->
|
---|
| 381 | libxatracker.so,
|
---|
| 382 | </seg>
|
---|
[eb425b4] | 383 | <seg>
|
---|
[ef936e4] | 384 | <!-- Begini gallium DRI drivers : this is the full set -->
|
---|
[42117d4e] | 385 | d3dadapter9.so (optional), <!-- For Windows games. This is DirectX's
|
---|
| 386 | Direct3D -->
|
---|
[ef936e4] | 387 | crocus_dri.so,
|
---|
| 388 | i830_dri.so,
|
---|
[b3f053c5] | 389 | i915_dri.so,
|
---|
| 390 | i965_dri.so,
|
---|
[db480be] | 391 | iris_dri.so,
|
---|
[b3f053c5] | 392 | kms_swrast_dri.so,
|
---|
| 393 | nouveau_dri.so,
|
---|
[d2f50ba] | 394 | nouveau_drv_video.so,
|
---|
[b3f053c5] | 395 | nouveau_vieux_dri.so,
|
---|
[42117d4e] | 396 | r200_dri.so (optional),
|
---|
| 397 | r300_dri.so (optional),
|
---|
[d2f50ba] | 398 | r600_dri.so,
|
---|
| 399 | r600_drv_video.so,
|
---|
[bc38b45] | 400 | radeon_dri.so (optional),
|
---|
[b3f053c5] | 401 | radeonsi_dri.so,
|
---|
| 402 | radeonsi_drv_video.so,
|
---|
| 403 | swrast_dri.so,
|
---|
[d2f50ba] | 404 | virtio_gpu_dri.so,
|
---|
[696735e] | 405 | vmwgfx_dri.so,
|
---|
[e4fbb24] | 406 | <!-- End DRI Drivers -->
|
---|
| 407 | <!-- Begin VDPAU drivers -->
|
---|
[d2f50ba] | 408 | libvdpau_nouveau.so,
|
---|
[42117d4e] | 409 | libvdpau_r300.so (optional),
|
---|
[d2f50ba] | 410 | libvdpau_r600.so, and
|
---|
[b3f053c5] | 411 | libvdpau_radeonsi.so
|
---|
[e4fbb24] | 412 | <!-- End VDPAU drivers -->
|
---|
[ef936e4] | 413 | (Many of these drivers are hard-linked).
|
---|
[eb425b4] | 414 | </seg>
|
---|
| 415 | <seg>
|
---|
[42117d4e] | 416 | $XORG_PREFIX/{include/{EGL,GL,GLES,GLES2,GLES3,KHR,vulkan},lib/{dri,vdpau}},
|
---|
| 417 | $XORG_PREFIX/include/d3adapter (optional),
|
---|
| 418 | $XORG_PREFIX/lib/d3d (optional),
|
---|
[d2f50ba] | 419 | $XORG_PREFIX/share/drirc.d (contains workarounds for various applications,
|
---|
| 420 | particularly browsers and games)
|
---|
| 421 | $XORG_PREFIX/share/vulkan/icd.d,
|
---|
[880727e] | 422 | and
|
---|
[7a395d1] | 423 | /usr/share/doc/mesa-&mesa-version; (optional)
|
---|
[eb425b4] | 424 | </seg>
|
---|
[868c7c2] | 425 | </seglistitem>
|
---|
| 426 | </segmentedlist>
|
---|
[d3ef1e4] | 427 |
|
---|
[4437f63] | 428 | <variablelist>
|
---|
| 429 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 430 | <?dbfo list-presentation="list"?>
|
---|
| 431 | <?dbhtml list-presentation="table"?>
|
---|
| 432 |
|
---|
| 433 | <varlistentry id="glxgears">
|
---|
[eb50ddde] | 434 | <term><command>glxgears</command></term>
|
---|
[4437f63] | 435 | <listitem>
|
---|
[eb425b4] | 436 | <para>
|
---|
| 437 | is a GL demo useful for troubleshooting graphics
|
---|
[4c24eb0a] | 438 | problems
|
---|
[eb425b4] | 439 | </para>
|
---|
[7a395d1] | 440 | <indexterm zone="mesa glxgears">
|
---|
[4437f63] | 441 | <primary sortas="b-glxgears">glxgears</primary>
|
---|
| 442 | </indexterm>
|
---|
| 443 | </listitem>
|
---|
| 444 | </varlistentry>
|
---|
| 445 |
|
---|
| 446 | <varlistentry id="glxinfo">
|
---|
[eb50ddde] | 447 | <term><command>glxinfo</command></term>
|
---|
[4437f63] | 448 | <listitem>
|
---|
[eb425b4] | 449 | <para>
|
---|
| 450 | is a diagnostic program that displays information about the
|
---|
[4c24eb0a] | 451 | graphics hardware and installed GL libraries
|
---|
[eb425b4] | 452 | </para>
|
---|
[7a395d1] | 453 | <indexterm zone="mesa glxinfo">
|
---|
[4437f63] | 454 | <primary sortas="b-glxinfo">glxinfo</primary>
|
---|
| 455 | </indexterm>
|
---|
| 456 | </listitem>
|
---|
| 457 | </varlistentry>
|
---|
| 458 |
|
---|
[25f6d94] | 459 | <varlistentry id="libEGL">
|
---|
[a07e9eb] | 460 | <term><filename class="libraryfile">libEGL.so</filename></term>
|
---|
[25f6d94] | 461 | <listitem>
|
---|
[eb425b4] | 462 | <para>
|
---|
[a07e9eb] | 463 | provides a native platform graphics interface as
|
---|
[4c24eb0a] | 464 | defined by the EGL-1.4 specification
|
---|
[eb425b4] | 465 | </para>
|
---|
[7a395d1] | 466 | <indexterm zone="mesa libEGL">
|
---|
[25f6d94] | 467 | <primary sortas="c-libGL">libEGL.so</primary>
|
---|
| 468 | </indexterm>
|
---|
| 469 | </listitem>
|
---|
| 470 | </varlistentry>
|
---|
| 471 |
|
---|
[a07e9eb] | 472 | <varlistentry id="libgbm">
|
---|
| 473 | <term><filename class="libraryfile">libgbm.so</filename></term>
|
---|
| 474 | <listitem>
|
---|
| 475 | <para>
|
---|
| 476 | is the <application>Mesa</application> Graphics Buffer
|
---|
[4c24eb0a] | 477 | Manager library
|
---|
[a07e9eb] | 478 | </para>
|
---|
[7a395d1] | 479 | <indexterm zone="mesa libgbm">
|
---|
[a07e9eb] | 480 | <primary sortas="c-libgbm">libgbm.so</primary>
|
---|
| 481 | </indexterm>
|
---|
| 482 | </listitem>
|
---|
| 483 | </varlistentry>
|
---|
| 484 |
|
---|
| 485 | <varlistentry id="libGLESv1_CM">
|
---|
| 486 | <term><filename class="libraryfile">libGLESv1_CM.so</filename></term>
|
---|
| 487 | <listitem>
|
---|
| 488 | <para>
|
---|
[4c24eb0a] | 489 | is the <application>Mesa</application> OpenGL ES 1.1 library
|
---|
[a07e9eb] | 490 | </para>
|
---|
[7a395d1] | 491 | <indexterm zone="mesa libGLESv1_CM">
|
---|
[a07e9eb] | 492 | <primary sortas="c-libGLESv1_CM">libGLESv1_CM.so</primary>
|
---|
| 493 | </indexterm>
|
---|
| 494 | </listitem>
|
---|
| 495 | </varlistentry>
|
---|
| 496 |
|
---|
| 497 | <varlistentry id="libGLES2">
|
---|
| 498 | <term><filename class="libraryfile">libGLES2.so</filename></term>
|
---|
| 499 | <listitem>
|
---|
| 500 | <para>
|
---|
[4c24eb0a] | 501 | is the <application>Mesa</application> OpenGL ES 2.0 library
|
---|
[a07e9eb] | 502 | </para>
|
---|
[7a395d1] | 503 | <indexterm zone="mesa libGLES2">
|
---|
[a07e9eb] | 504 | <primary sortas="c-libGLES2">libGLES2.so</primary>
|
---|
| 505 | </indexterm>
|
---|
| 506 | </listitem>
|
---|
| 507 | </varlistentry>
|
---|
| 508 |
|
---|
[ba2ac60] | 509 | <varlistentry id="libGL">
|
---|
[a07e9eb] | 510 | <term><filename class="libraryfile">libGL.so</filename></term>
|
---|
[ba2ac60] | 511 | <listitem>
|
---|
[eb425b4] | 512 | <para>
|
---|
[4c24eb0a] | 513 | is the main <application>Mesa</application> OpenGL library
|
---|
[eb425b4] | 514 | </para>
|
---|
[7a395d1] | 515 | <indexterm zone="mesa libGL">
|
---|
[ba2ac60] | 516 | <primary sortas="c-libGL">libGL.so</primary>
|
---|
| 517 | </indexterm>
|
---|
| 518 | </listitem>
|
---|
| 519 | </varlistentry>
|
---|
| 520 |
|
---|
[2993b2f] | 521 | <varlistentry id="libOSMesa">
|
---|
| 522 | <term><filename class="libraryfile">libOSMesa.so</filename></term>
|
---|
| 523 | <listitem>
|
---|
| 524 | <para>
|
---|
[4c24eb0a] | 525 | is the <application>Mesa</application> Off-screen Rendering library
|
---|
[2993b2f] | 526 | </para>
|
---|
[7a395d1] | 527 | <indexterm zone="mesa libOSMesa">
|
---|
[2993b2f] | 528 | <primary sortas="c-libOSMesa">libOSMesa.so</primary>
|
---|
| 529 | </indexterm>
|
---|
| 530 | </listitem>
|
---|
| 531 | </varlistentry>
|
---|
| 532 |
|
---|
[4437f63] | 533 | </variablelist>
|
---|
| 534 |
|
---|
[868c7c2] | 535 | </sect2>
|
---|
[d3ef1e4] | 536 |
|
---|
[868c7c2] | 537 | </sect1>
|
---|