[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">
|
---|
[7b9b069] | 9 | <!ENTITY mesa-md5sum "06c329323a60f6eb6d4adc0d3971b0f4">
|
---|
[6b5ea12] | 10 | <!ENTITY mesa-size "16 MB">
|
---|
[7b9b069] | 11 | <!ENTITY mesa-buildsize "463 MB (with docs, add 230 MB for tests)">
|
---|
| 12 | <!ENTITY mesa-time "2.5 SBU (Using parallelism=4; with 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 | <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 |
|
---|
[aa0b625] | 43 | &lfs112_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
|
---|
[713981db] | 86 | install the <ulink url="https://archive.mesa3d.org/demos/">
|
---|
[39dd48b] | 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>),
|
---|
[1fe05eb] | 108 |
|
---|
[9065a56b] | 109 | <xref linkend="libvdpau"/> (to build VDPAU drivers),
|
---|
[1fe05eb] | 110 |
|
---|
[bee072a] | 111 | <xref linkend="llvm"/> (required for Gallium3D, nouveau, and radeonsi
|
---|
[d2f50ba] | 112 | drivers and for swrast, the software rasterizer which is sometimes referred
|
---|
| 113 | to as llvmpipe. See <ulink role="nodep"
|
---|
[c6cb93b] | 114 | url="https://docs.mesa3d.org/systems.html"/> for more information), and
|
---|
[1fe05eb] | 115 |
|
---|
[8558044] | 116 | <xref linkend="wayland-protocols"/> (required for
|
---|
[8e17e54] | 117 | <xref role="nodep" linkend='plasma5-build'/>,
|
---|
[bee072a] | 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"/>,
|
---|
[751dd1e] | 124 | <xref linkend="libunwind"/>,
|
---|
[b4d0b5a] | 125 | <xref linkend="lm_sensors"/> <!-- for libsensors according to Meson -->,
|
---|
[57bcce9] | 126 | <xref linkend="nettle"/>,
|
---|
[b4d0b5a] | 127 | <xref linkend="valgrind"/>,
|
---|
[9dc1c31] | 128 | <ulink url="https://archive.mesa3d.org/demos/">mesa-demos</ulink>
|
---|
[1cdb1f7] | 129 | (provides more than 300 extra demos to test
|
---|
[973dabe9] | 130 | <application>Mesa</application>; this includes the same programs added by
|
---|
[b4d0b5a] | 131 | the patch above),
|
---|
[c18b8f23] | 132 | <ulink url="http://omxil.sourceforge.net/">Bellagio OpenMAX Integration
|
---|
[8558044] | 133 | Layer</ulink> (for mobile platforms),
|
---|
[6b5ea12] | 134 | <ulink url="https://github.com/KhronosGroup/glslang">glslang</ulink>
|
---|
[f4b4c81] | 135 | (for vulkan drivers),
|
---|
[b4d0b5a] | 136 | <ulink url="https://github.com/tizonia/tizonia-openmax-il/wiki/Tizonia-OpenMAX-IL/">
|
---|
[ef936e4] | 137 | libtizonia</ulink>, and
|
---|
[bee072a] | 138 | <ulink url="https://www.vulkan.org/">libvulkan</ulink>
|
---|
[07584d8] | 139 | </para>
|
---|
[bee072a] | 140 | <!--
|
---|
[9065a56b] | 141 | <note>
|
---|
[fd2f9a2] | 142 | <para>
|
---|
[e4fbb24] | 143 | The instructions below assume that
|
---|
[d2f50ba] | 144 | <application>LLVM</application> with the r600/amdgpu and host backends
|
---|
| 145 | and run-time type information (RTTI - needed for nouveau) are installed.
|
---|
| 146 | You will need to modify the instructions if you
|
---|
| 147 | choose not to install all of these. For an explanation of Gallium3D see
|
---|
[e83a3bb] | 148 | <ulink url="https://en.wikipedia.org/wiki/Gallium3D"/>.
|
---|
[fd2f9a2] | 149 | </para>
|
---|
[9065a56b] | 150 | </note>
|
---|
[bee072a] | 151 | -->
|
---|
[c5c2654] | 152 | <para condition="html" role="usernotes">User Notes:
|
---|
[6ff79cf5] | 153 | <ulink url="&blfs-wiki;/mesalib"/>
|
---|
[2993b2f] | 154 | </para>
|
---|
[868c7c2] | 155 | </sect2>
|
---|
| 156 |
|
---|
| 157 | <sect2 role="installation">
|
---|
[7a395d1] | 158 | <title>Installation of Mesa</title>
|
---|
[1334c9a] | 159 |
|
---|
[a07e9eb] | 160 | <para>
|
---|
[51c08f3] | 161 | If you have downloaded the xdemos patch (needed if testing the Xorg
|
---|
| 162 | installation per BLFS instructions), apply it by running the following
|
---|
| 163 | command:
|
---|
[a07e9eb] | 164 | </para>
|
---|
| 165 |
|
---|
[1334c9a] | 166 | <screen><userinput>patch -Np1 -i ../mesa-&mesa-version;-add_xdemos-1.patch</userinput></screen>
|
---|
| 167 |
|
---|
[054e926] | 168 | <!-- Note that freedreno, vc4, and virgl all need special support from
|
---|
[d2f50ba] | 169 | libdrm - renodr
|
---|
| 170 | For me, libdrm does not mention virgl, but mesa accepts it. AFAICS
|
---|
| 171 | freedreno is for qualcom hardware, libdrm will build for it on suitable
|
---|
| 172 | systems. VC4 is for the Broadcom VC4 used in the raspberry pi - ken -->
|
---|
[bee072a] | 173 | <!--
|
---|
[d2f50ba] | 174 | <note>
|
---|
| 175 | <para>
|
---|
| 176 | The measurements above, and the Contents below, are for a full build.
|
---|
| 177 | Many people will not wish to install drivers they cannot use, so the
|
---|
| 178 | following paragraphs explain how to limit the drivers, and give an
|
---|
| 179 | example which can be be reduced or amended as necessary.
|
---|
| 180 | </para>
|
---|
| 181 | </note>
|
---|
| 182 |
|
---|
| 183 | <para>
|
---|
| 184 | Now, select the drivers you wish to install. For the X86 architecture, the
|
---|
[ef936e4] | 185 | available gallium drivers are auto (<emphasis>in 21.2.1 this does not select
|
---|
| 186 | crocus </emphasis>), <emphasis>or alternatively a choice from</emphasis>
|
---|
[9f777e1] | 187 | crocus, i915, iris, nouveau, r300, r600, radeonsi, svga, swrast, and virgl.
|
---|
| 188 | The latter can provide acceleration in <xref linkend="qemu"/> if that has
|
---|
| 189 | been linked against
|
---|
| 190 | <ulink url="https://gitlab.freedesktop.org/virgl/virglrenderer/~/releases/">virglrenderer</ulink>
|
---|
| 191 | (you will need a freedesktop.org account to get to that page, you can
|
---|
| 192 | download the 0.9.1 release without an account from
|
---|
[bee072a] | 193 | <ulink url="https://gitlab.freedesktop.org/virgl/virglrenderer/-/archive/0.9.1/virglrenderer-0.9.1.tar.bz2">virglrenderer-0.9.1</ulink>).-->
|
---|
| 194 |
|
---|
[9f777e1] | 195 | <!-- If you wish to build all available gallium drivers,
|
---|
[ef936e4] | 196 | use 'auto'. FIXME : does not build crocus in 21.2.1 -->
|
---|
[6ff79cf5] | 197 |
|
---|
| 198 | <!-- crocus was added to the default x86/x86_64 drivers for meson in the
|
---|
[1fe05eb] | 199 | master branch on 2021-08-31, at some point it will appear in a stable release
|
---|
[d2f50ba] | 200 | </para>
|
---|
[bee072a] | 201 | -->
|
---|
| 202 | <!--
|
---|
[d2f50ba] | 203 | <para>
|
---|
| 204 | The (non-gallium) DRI drivers available in X86 are auto, <emphasis>or
|
---|
| 205 | alternatively a choice from</emphasis> i915, i965, nouveau, r100, r200,
|
---|
| 206 | and swrast. Use 'auto' to build all available DRI drivers, or use an
|
---|
| 207 | empty string (DRI_DRIVERS="") if you wish to only build gallium drivers.
|
---|
| 208 | </para>
|
---|
| 209 |
|
---|
| 210 | <para>
|
---|
| 211 | The platforms ("window systems") available for X86 linux are x11, wayland,
|
---|
[bee072a] | 212 | drm, and surfaceless. By not specifying anything, the meson
|
---|
[17ae4374] | 213 | build-system will build for all these platforms if you have the
|
---|
| 214 | dependencies, identical to if you had specified '-Dplatforms=auto'.
|
---|
[d2f50ba] | 215 | </para>
|
---|
| 216 |
|
---|
| 217 | <para>
|
---|
| 218 | Modify the commands below for your desired drivers. The drivers listed
|
---|
| 219 | below will cover most modern video cards and virtual machines. For help in
|
---|
[c6cb93b] | 220 | selecting drivers see <ulink url="https://docs.mesa3d.org/systems.html"/>.
|
---|
[bee072a] | 221 | -->
|
---|
[ef936e4] | 222 | <!-- these two don't seem to be mentioned in that mesa link -->
|
---|
[bee072a] | 223 | <!--
|
---|
[ef936e4] | 224 | For intel drivers, specify crocus for i965 gen 4 through to haswell, iris
|
---|
| 225 | for broadwell and later.
|
---|
[d2f50ba] | 226 | </para>
|
---|
| 227 |
|
---|
| 228 | <note>
|
---|
| 229 | <para>
|
---|
| 230 | Although the nouveau drivers can be built for both gallium and dri, the
|
---|
| 231 | i915 driver can only be built for one or the other.
|
---|
| 232 | </para>
|
---|
| 233 | </note>
|
---|
| 234 |
|
---|
[ef936e4] | 235 | <screen><userinput>GALLIUM_DRV="crocus,i915,iris,nouveau,r600,radeonsi,svga,swrast,virgl"
|
---|
[d2f50ba] | 236 | DRI_DRIVERS="i965,nouveau"</userinput></screen>
|
---|
[bee072a] | 237 | -->
|
---|
[43149b8] | 238 |
|
---|
[eb425b4] | 239 | <para>
|
---|
[7a395d1] | 240 | Install <application>Mesa</application> by running the following
|
---|
[eb425b4] | 241 | commands:
|
---|
| 242 | </para>
|
---|
[868c7c2] | 243 |
|
---|
[b3f053c5] | 244 | <screen><userinput>mkdir build &&
|
---|
| 245 | cd build &&
|
---|
[a85e5ce] | 246 |
|
---|
[bee072a] | 247 | meson --prefix=$XORG_PREFIX \
|
---|
| 248 | --buildtype=release \
|
---|
| 249 | -Dplatforms=x11,wayland \
|
---|
| 250 | -Dgallium-drivers=auto \
|
---|
[f4b4c81] | 251 | -Dvulkan-drivers="" \
|
---|
[bee072a] | 252 | -Dvalgrind=disabled \
|
---|
| 253 | -Dlibunwind=disabled \
|
---|
| 254 | .. &&
|
---|
[869bf46b] | 255 | <!-- Removed for 22.2.1: seems to be the default -Dglx=dri \ -->
|
---|
[b3f053c5] | 256 | ninja</userinput></screen>
|
---|
[868c7c2] | 257 |
|
---|
[b3f053c5] | 258 | <para>
|
---|
[d2f50ba] | 259 | If you built the tests (see 'Command Explanations'), to run them issue:
|
---|
[1fe05eb] | 260 | <command>ninja test</command>.
|
---|
[b3f053c5] | 261 | </para>
|
---|
[bee072a] | 262 | <!-- All tests passed for me for 21.2.4 [pierre]
|
---|
| 263 | All 33 subtests tests in the mesa:compiler+glsl / glsl compiler warnings
|
---|
| 264 | suite are known to fail.
|
---|
[1fe05eb] | 265 |
|
---|
[bee072a] | 266 | For 22.1.0:
|
---|
| 267 | Ok: 74
|
---|
| 268 | Expected Fail: 0
|
---|
| 269 | Fail: 0
|
---|
| 270 | Unexpected Pass: 0
|
---|
| 271 | Skipped: 0
|
---|
| 272 | Timeout: 0
|
---|
| 273 | -->
|
---|
[ef936e4] | 274 |
|
---|
[eb425b4] | 275 | <para>
|
---|
| 276 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 277 | </para>
|
---|
[ff55539b] | 278 |
|
---|
[b3f053c5] | 279 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
[a07e9eb] | 280 |
|
---|
[eb425b4] | 281 | <para>
|
---|
[a07e9eb] | 282 | If desired, install the optional documentation by running
|
---|
| 283 | the following commands as the
|
---|
[eb425b4] | 284 | <systemitem class="username">root</systemitem> user:
|
---|
| 285 | </para>
|
---|
[91859cf] | 286 |
|
---|
[3713bc71] | 287 | <screen role="root"
|
---|
| 288 | remap="doc"><userinput>install -v -dm755 /usr/share/doc/mesa-&mesa-version; &&
|
---|
[b3f053c5] | 289 | cp -rfv ../docs/* /usr/share/doc/mesa-&mesa-version;</userinput></screen>
|
---|
[5a883bc4] | 290 |
|
---|
[868c7c2] | 291 | </sect2>
|
---|
| 292 |
|
---|
[a07e9eb] | 293 | <sect2 role="commands">
|
---|
| 294 | <title>Command Explanations</title>
|
---|
[d2f50ba] | 295 |
|
---|
[95e8211] | 296 | <para>
|
---|
[3918112a] | 297 | <parameter>--buildtype=release</parameter>: This switch ensures a
|
---|
[d2f50ba] | 298 | fully-optimized build, and disables debug assertions which will
|
---|
[ec77633] | 299 | severely slow down the libraries in certain use-cases. Without this
|
---|
| 300 | switch, build sizes can span into the 2GB range.
|
---|
[95e8211] | 301 | </para>
|
---|
[869bf46b] | 302 |
|
---|
[d2f50ba] | 303 | <para>
|
---|
| 304 | <parameter>-Dgallium-drivers="..."</parameter>: This parameter
|
---|
| 305 | controls which Gallium3D drivers should be built.
|
---|
| 306 | </para>
|
---|
[d3ad4c0f] | 307 | <!--
|
---|
[d2f50ba] | 308 | <para>
|
---|
[d3ad4c0f] | 309 | <parameter>-Dosmesa=true</parameter>: This switch enables building
|
---|
[d2f50ba] | 310 | the <filename class="libraryfile">libOSMesa</filename> library and
|
---|
[018c4c52] | 311 | provides Gallium3D support in it. It requires the swrast gallium driver.
|
---|
[b642036d] | 312 | </para>
|
---|
[d3ad4c0f] | 313 | -->
|
---|
[bee072a] | 314 |
|
---|
[eb425b4] | 315 | <para>
|
---|
[d2f50ba] | 316 | <parameter>-Dplatforms="..."</parameter>: This parameter
|
---|
[bee072a] | 317 | controls which windowing systems will be supported. Available
|
---|
| 318 | linux platforms are x11 and wayland.
|
---|
[eb425b4] | 319 | </para>
|
---|
[bee072a] | 320 |
|
---|
| 321 | <para>
|
---|
[869bf46b] | 322 | <parameter>-Dvulkan-drivers=""</parameter>: This switch allows choosing
|
---|
| 323 | which Vulkan drivers are built. The default is auto, but this requires
|
---|
| 324 | the optional dependency <filename>glslang</filename>. So it is better
|
---|
| 325 | to pass an empty list, in order to remove the need for that
|
---|
| 326 | dependency. Nothing in BLFS uses Vulkan anyway.
|
---|
[bee072a] | 327 | </para>
|
---|
| 328 |
|
---|
[2993b2f] | 329 | <para>
|
---|
[d7fcae6] | 330 | <parameter>-Dvalgrind=disabled</parameter>: This parameter disables
|
---|
[d2f50ba] | 331 | the usage of Valgrind during the build process. Remove this parameter
|
---|
| 332 | if you have Valgrind installed, and wish to check for memory leaks.
|
---|
[2993b2f] | 333 | </para>
|
---|
| 334 |
|
---|
[42117d4e] | 335 | <para>
|
---|
[d7fcae6] | 336 | <parameter>-Dlibunwind=disabled</parameter>: This parameter disables
|
---|
[42117d4e] | 337 | the usage of libunwind.
|
---|
| 338 | </para>
|
---|
| 339 |
|
---|
[a07e9eb] | 340 | <para>
|
---|
[6a83533] | 341 | <option>-Dbuild-tests=true</option>: This switch will cause the test code
|
---|
[1fe05eb] | 342 | to be enabled.
|
---|
[b4d0b5a] | 343 | </para>
|
---|
| 344 |
|
---|
[3713bc71] | 345 | <para>
|
---|
[869bf46b] | 346 | <option>-Degl-native-platform="..."</option>: This parameter
|
---|
| 347 | controls which Embedded Graphics Library support will be built. Available
|
---|
| 348 | linux options are auto (default), x11, wayland, surfaceless, and drm.
|
---|
[3713bc71] | 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 | libXvMCnouveau.so,
|
---|
| 372 | libXvMCr600.so,
|
---|
| 373 | libgbm.so,
|
---|
[7b9b069] | 374 | libglapi.so, and
|
---|
| 375 | libxatracker.so
|
---|
[42117d4e] | 376 | </seg>
|
---|
[eb425b4] | 377 | <seg>
|
---|
[3713bc71] | 378 | <!-- Begin gallium DRI drivers : this is the full set -->
|
---|
[7e40901] | 379 | <!-- d3dadapter9.so (optional), For Windows games. This is DirectX's
|
---|
[42117d4e] | 380 | Direct3D -->
|
---|
[ef936e4] | 381 | crocus_dri.so,
|
---|
[b3f053c5] | 382 | i915_dri.so,
|
---|
[db480be] | 383 | iris_dri.so,
|
---|
[b3f053c5] | 384 | kms_swrast_dri.so,
|
---|
| 385 | nouveau_dri.so,
|
---|
[d2f50ba] | 386 | nouveau_drv_video.so,
|
---|
[bee072a] | 387 | r300_dri.so,
|
---|
[d2f50ba] | 388 | r600_dri.so,
|
---|
| 389 | r600_drv_video.so,
|
---|
[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,
|
---|
[1fe05eb] | 398 | libvdpau_r300.so
|
---|
[d2f50ba] | 399 | libvdpau_r600.so, and
|
---|
[b3f053c5] | 400 | libvdpau_radeonsi.so
|
---|
[e4fbb24] | 401 | <!-- End VDPAU drivers -->
|
---|
[ef936e4] | 402 | (Many of these drivers are hard-linked).
|
---|
[eb425b4] | 403 | </seg>
|
---|
| 404 | <seg>
|
---|
[869bf46b] | 405 | <!-- $XORG_PREFIX/include/GL is installed by xorg-protos -->
|
---|
| 406 | $XORG_PREFIX/{include/{EGL,GLES,GLES2,GLES3,KHR},
|
---|
[bee072a] | 407 | $XORG_PREFIX/lib/{dri,vdpau}},
|
---|
[d2f50ba] | 408 | $XORG_PREFIX/share/drirc.d (contains workarounds for various applications,
|
---|
[f72bfbe1] | 409 | particularly browsers and games),
|
---|
[7b9b069] | 410 | and /usr/share/doc/mesa-&mesa-version;
|
---|
[eb425b4] | 411 | </seg>
|
---|
[868c7c2] | 412 | </seglistitem>
|
---|
| 413 | </segmentedlist>
|
---|
[d3ef1e4] | 414 |
|
---|
[4437f63] | 415 | <variablelist>
|
---|
| 416 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 417 | <?dbfo list-presentation="list"?>
|
---|
| 418 | <?dbhtml list-presentation="table"?>
|
---|
| 419 |
|
---|
| 420 | <varlistentry id="glxgears">
|
---|
[eb50ddde] | 421 | <term><command>glxgears</command></term>
|
---|
[4437f63] | 422 | <listitem>
|
---|
[eb425b4] | 423 | <para>
|
---|
| 424 | is a GL demo useful for troubleshooting graphics
|
---|
[4c24eb0a] | 425 | problems
|
---|
[eb425b4] | 426 | </para>
|
---|
[7a395d1] | 427 | <indexterm zone="mesa glxgears">
|
---|
[4437f63] | 428 | <primary sortas="b-glxgears">glxgears</primary>
|
---|
| 429 | </indexterm>
|
---|
| 430 | </listitem>
|
---|
| 431 | </varlistentry>
|
---|
| 432 |
|
---|
| 433 | <varlistentry id="glxinfo">
|
---|
[eb50ddde] | 434 | <term><command>glxinfo</command></term>
|
---|
[4437f63] | 435 | <listitem>
|
---|
[eb425b4] | 436 | <para>
|
---|
| 437 | is a diagnostic program that displays information about the
|
---|
[4c24eb0a] | 438 | graphics hardware and installed GL libraries
|
---|
[eb425b4] | 439 | </para>
|
---|
[7a395d1] | 440 | <indexterm zone="mesa glxinfo">
|
---|
[4437f63] | 441 | <primary sortas="b-glxinfo">glxinfo</primary>
|
---|
| 442 | </indexterm>
|
---|
| 443 | </listitem>
|
---|
| 444 | </varlistentry>
|
---|
| 445 |
|
---|
[25f6d94] | 446 | <varlistentry id="libEGL">
|
---|
[a07e9eb] | 447 | <term><filename class="libraryfile">libEGL.so</filename></term>
|
---|
[25f6d94] | 448 | <listitem>
|
---|
[eb425b4] | 449 | <para>
|
---|
[a07e9eb] | 450 | provides a native platform graphics interface as
|
---|
[4c24eb0a] | 451 | defined by the EGL-1.4 specification
|
---|
[eb425b4] | 452 | </para>
|
---|
[7a395d1] | 453 | <indexterm zone="mesa libEGL">
|
---|
[25f6d94] | 454 | <primary sortas="c-libGL">libEGL.so</primary>
|
---|
| 455 | </indexterm>
|
---|
| 456 | </listitem>
|
---|
| 457 | </varlistentry>
|
---|
| 458 |
|
---|
[a07e9eb] | 459 | <varlistentry id="libgbm">
|
---|
| 460 | <term><filename class="libraryfile">libgbm.so</filename></term>
|
---|
| 461 | <listitem>
|
---|
| 462 | <para>
|
---|
| 463 | is the <application>Mesa</application> Graphics Buffer
|
---|
[4c24eb0a] | 464 | Manager library
|
---|
[a07e9eb] | 465 | </para>
|
---|
[7a395d1] | 466 | <indexterm zone="mesa libgbm">
|
---|
[a07e9eb] | 467 | <primary sortas="c-libgbm">libgbm.so</primary>
|
---|
| 468 | </indexterm>
|
---|
| 469 | </listitem>
|
---|
| 470 | </varlistentry>
|
---|
| 471 |
|
---|
| 472 | <varlistentry id="libGLESv1_CM">
|
---|
| 473 | <term><filename class="libraryfile">libGLESv1_CM.so</filename></term>
|
---|
| 474 | <listitem>
|
---|
| 475 | <para>
|
---|
[4c24eb0a] | 476 | is the <application>Mesa</application> OpenGL ES 1.1 library
|
---|
[a07e9eb] | 477 | </para>
|
---|
[7a395d1] | 478 | <indexterm zone="mesa libGLESv1_CM">
|
---|
[a07e9eb] | 479 | <primary sortas="c-libGLESv1_CM">libGLESv1_CM.so</primary>
|
---|
| 480 | </indexterm>
|
---|
| 481 | </listitem>
|
---|
| 482 | </varlistentry>
|
---|
| 483 |
|
---|
| 484 | <varlistentry id="libGLES2">
|
---|
| 485 | <term><filename class="libraryfile">libGLES2.so</filename></term>
|
---|
| 486 | <listitem>
|
---|
| 487 | <para>
|
---|
[4c24eb0a] | 488 | is the <application>Mesa</application> OpenGL ES 2.0 library
|
---|
[a07e9eb] | 489 | </para>
|
---|
[7a395d1] | 490 | <indexterm zone="mesa libGLES2">
|
---|
[a07e9eb] | 491 | <primary sortas="c-libGLES2">libGLES2.so</primary>
|
---|
| 492 | </indexterm>
|
---|
| 493 | </listitem>
|
---|
| 494 | </varlistentry>
|
---|
| 495 |
|
---|
[ba2ac60] | 496 | <varlistentry id="libGL">
|
---|
[a07e9eb] | 497 | <term><filename class="libraryfile">libGL.so</filename></term>
|
---|
[ba2ac60] | 498 | <listitem>
|
---|
[eb425b4] | 499 | <para>
|
---|
[4c24eb0a] | 500 | is the main <application>Mesa</application> OpenGL library
|
---|
[eb425b4] | 501 | </para>
|
---|
[7a395d1] | 502 | <indexterm zone="mesa libGL">
|
---|
[ba2ac60] | 503 | <primary sortas="c-libGL">libGL.so</primary>
|
---|
| 504 | </indexterm>
|
---|
| 505 | </listitem>
|
---|
| 506 | </varlistentry>
|
---|
[bee072a] | 507 |
|
---|
[4437f63] | 508 | </variablelist>
|
---|
| 509 |
|
---|
[868c7c2] | 510 | </sect2>
|
---|
[d3ef1e4] | 511 |
|
---|
[868c7c2] | 512 | </sect1>
|
---|