[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">
|
---|
[ab75b52] | 9 | <!ENTITY mesa-md5sum "ffea65f5dd7f1be1e4f941ad990a3ae7">
|
---|
[2c596e3f] | 10 | <!ENTITY mesa-size "17 MB">
|
---|
[ab75b52] | 11 | <!ENTITY mesa-buildsize "440 MB (with docs, add 205 MB for tests)">
|
---|
| 12 | <!ENTITY mesa-time "2.2 SBU (Using parallelism=4; with docs, add 0.7 SBU for tests)">
|
---|
[868c7c2] | 13 | ]>
|
---|
| 14 |
|
---|
[7a395d1] | 15 | <sect1 id="mesa" xreflabel="Mesa-&mesa-version;">
|
---|
| 16 | <?dbhtml filename="mesa.html"?>
|
---|
[868c7c2] | 17 |
|
---|
| 18 |
|
---|
[7a395d1] | 19 | <title>Mesa-&mesa-version;</title>
|
---|
[868c7c2] | 20 |
|
---|
[7a395d1] | 21 | <indexterm zone="mesa">
|
---|
| 22 | <primary sortas="a-Mesa">Mesa</primary>
|
---|
[868c7c2] | 23 | </indexterm>
|
---|
| 24 |
|
---|
| 25 | <sect2 role="package">
|
---|
[7a395d1] | 26 | <title>Introduction to Mesa</title>
|
---|
[868c7c2] | 27 |
|
---|
[eb425b4] | 28 | <para>
|
---|
| 29 | <application>Mesa</application> is an OpenGL compatible 3D graphics
|
---|
| 30 | library.
|
---|
| 31 | </para>
|
---|
[868c7c2] | 32 |
|
---|
[fdcf97c7] | 33 | <note>
|
---|
| 34 | <para>
|
---|
| 35 | <application>Mesa</application> is updated relatively often. You may
|
---|
| 36 | want to use the latest available &mesa-major-minor;.x mesa version.
|
---|
| 37 | </para>
|
---|
| 38 | </note>
|
---|
| 39 |
|
---|
[18aa9339] | 40 | &lfs113_checked;
|
---|
[ca0c29cc] | 41 |
|
---|
[868c7c2] | 42 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 43 | <itemizedlist spacing="compact">
|
---|
| 44 | <listitem>
|
---|
[de938a4e] | 45 | <para>
|
---|
[7a395d1] | 46 | Download (HTTP): <ulink url="&mesa-download-http;"/>
|
---|
[de938a4e] | 47 | </para>
|
---|
[868c7c2] | 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
[de938a4e] | 50 | <para>
|
---|
[7a395d1] | 51 | Download (FTP): <ulink url="&mesa-download-ftp;"/>
|
---|
[de938a4e] | 52 | </para>
|
---|
[868c7c2] | 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
[de938a4e] | 55 | <para>
|
---|
[7a395d1] | 56 | Download MD5 sum: &mesa-md5sum;
|
---|
[de938a4e] | 57 | </para>
|
---|
[868c7c2] | 58 | </listitem>
|
---|
| 59 | <listitem>
|
---|
[de938a4e] | 60 | <para>
|
---|
[7a395d1] | 61 | Download size: &mesa-size;
|
---|
[de938a4e] | 62 | </para>
|
---|
[868c7c2] | 63 | </listitem>
|
---|
| 64 | <listitem>
|
---|
[de938a4e] | 65 | <para>
|
---|
[7a395d1] | 66 | Estimated disk space required: &mesa-buildsize;
|
---|
[de938a4e] | 67 | </para>
|
---|
[868c7c2] | 68 | </listitem>
|
---|
| 69 | <listitem>
|
---|
[de938a4e] | 70 | <para>
|
---|
[7a395d1] | 71 | Estimated build time: &mesa-time;
|
---|
[de938a4e] | 72 | </para>
|
---|
[868c7c2] | 73 | </listitem>
|
---|
| 74 | </itemizedlist>
|
---|
[1334c9a] | 75 |
|
---|
[625079b6] | 76 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
[a07e9eb] | 77 | <itemizedlist spacing="compact">
|
---|
[ab75b52] | 78 | <!-- 9 Apr 23. Change to unversioned patch since it never changes. -->
|
---|
[a07e9eb] | 79 | <listitem>
|
---|
[eb425b4] | 80 | <para>
|
---|
| 81 | Recommended patch:
|
---|
[3edc406] | 82 | <ulink url="&patch-root;/mesa-add_xdemos-2.patch"/>
|
---|
[7a395d1] | 83 | (installs 2 demo programs for testing Mesa - not needed if you
|
---|
[713981db] | 84 | install the <ulink url="https://archive.mesa3d.org/demos/">
|
---|
[39dd48b] | 85 | mesa-demos</ulink> package)
|
---|
[ace536a] | 86 | </para>
|
---|
[eeb29511] | 87 | </listitem>
|
---|
| 88 | </itemizedlist>
|
---|
[1334c9a] | 89 |
|
---|
[7a395d1] | 90 | <bridgehead renderas="sect3">Mesa Dependencies</bridgehead>
|
---|
[868c7c2] | 91 |
|
---|
| 92 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[7b74537e] | 93 | <para role="required">
|
---|
[df343952] | 94 | <xref linkend="xorg7-lib"/>,
|
---|
[e2aae21f] | 95 | <xref linkend="libdrm"/>, and
|
---|
| 96 | <xref linkend="Mako"/>
|
---|
[eb425b4] | 97 | </para>
|
---|
[868c7c2] | 98 |
|
---|
[606dfd4] | 99 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
[eb425b4] | 100 | <para role="recommended">
|
---|
[d2f50ba] | 101 |
|
---|
[cc405844] | 102 | <xref role="first" linkend="libva"/> (to provide VA-API support for some
|
---|
| 103 | gallium drivers, note that there is a circular dependency. You must
|
---|
[df343952] | 104 | build <application>libva</application> first without EGL and GLX support,
|
---|
[cc405844] | 105 | install this package, and rebuild <application>libva</application>),
|
---|
[1fe05eb] | 106 |
|
---|
[9065a56b] | 107 | <xref linkend="libvdpau"/> (to build VDPAU drivers),
|
---|
[1fe05eb] | 108 |
|
---|
[bee072a] | 109 | <xref linkend="llvm"/> (required for Gallium3D, nouveau, and radeonsi
|
---|
[d2f50ba] | 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
|
---|
[1fe05eb] | 113 |
|
---|
[8558044] | 114 | <xref linkend="wayland-protocols"/> (required for
|
---|
[8e17e54] | 115 | <xref role="nodep" linkend='plasma5-build'/>,
|
---|
[bee072a] | 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"/>,
|
---|
[751dd1e] | 122 | <xref linkend="libunwind"/>,
|
---|
[b4d0b5a] | 123 | <xref linkend="lm_sensors"/> <!-- for libsensors according to Meson -->,
|
---|
[57bcce9] | 124 | <xref linkend="nettle"/>,
|
---|
[b4d0b5a] | 125 | <xref linkend="valgrind"/>,
|
---|
[9dc1c31] | 126 | <ulink url="https://archive.mesa3d.org/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),
|
---|
[17aa21c] | 130 | <ulink url="https://omxil.sourceforge.net/">Bellagio OpenMAX Integration
|
---|
[8558044] | 131 | Layer</ulink> (for mobile platforms),
|
---|
[6b5ea12] | 132 | <ulink url="https://github.com/KhronosGroup/glslang">glslang</ulink>
|
---|
[f4b4c81] | 133 | (for vulkan drivers),
|
---|
[b4d0b5a] | 134 | <ulink url="https://github.com/tizonia/tizonia-openmax-il/wiki/Tizonia-OpenMAX-IL/">
|
---|
[ef936e4] | 135 | libtizonia</ulink>, and
|
---|
[bee072a] | 136 | <ulink url="https://www.vulkan.org/">libvulkan</ulink>
|
---|
[07584d8] | 137 | </para>
|
---|
[bee072a] | 138 | <!--
|
---|
[9065a56b] | 139 | <note>
|
---|
[fd2f9a2] | 140 | <para>
|
---|
[e4fbb24] | 141 | The instructions below assume that
|
---|
[d2f50ba] | 142 | <application>LLVM</application> with the r600/amdgpu and host backends
|
---|
| 143 | and run-time type information (RTTI - needed for nouveau) are installed.
|
---|
| 144 | You will need to modify the instructions if you
|
---|
| 145 | choose not to install all of these. For an explanation of Gallium3D see
|
---|
[e83a3bb] | 146 | <ulink url="https://en.wikipedia.org/wiki/Gallium3D"/>.
|
---|
[fd2f9a2] | 147 | </para>
|
---|
[9065a56b] | 148 | </note>
|
---|
[bee072a] | 149 | -->
|
---|
[c5c2654] | 150 | <para condition="html" role="usernotes">User Notes:
|
---|
[6ff79cf5] | 151 | <ulink url="&blfs-wiki;/mesalib"/>
|
---|
[2993b2f] | 152 | </para>
|
---|
[868c7c2] | 153 | </sect2>
|
---|
| 154 |
|
---|
| 155 | <sect2 role="installation">
|
---|
[7a395d1] | 156 | <title>Installation of Mesa</title>
|
---|
[1334c9a] | 157 |
|
---|
[a07e9eb] | 158 | <para>
|
---|
[51c08f3] | 159 | If you have downloaded the xdemos patch (needed if testing the Xorg
|
---|
| 160 | installation per BLFS instructions), apply it by running the following
|
---|
| 161 | command:
|
---|
[a07e9eb] | 162 | </para>
|
---|
| 163 |
|
---|
[ab75b52] | 164 | <!--<screen><userinput>patch -Np1 -i ../mesa-&mesa-version;-add_xdemos-1.patch</userinput></screen>-->
|
---|
[3edc406] | 165 | <screen><userinput>patch -Np1 -i ../mesa-add_xdemos-2.patch</userinput></screen>
|
---|
[1334c9a] | 166 |
|
---|
[054e926] | 167 | <!-- Note that freedreno, vc4, and virgl all need special support from
|
---|
[d2f50ba] | 168 | libdrm - renodr
|
---|
| 169 | For me, libdrm does not mention virgl, but mesa accepts it. AFAICS
|
---|
| 170 | freedreno is for qualcom hardware, libdrm will build for it on suitable
|
---|
| 171 | systems. VC4 is for the Broadcom VC4 used in the raspberry pi - ken -->
|
---|
[bee072a] | 172 | <!--
|
---|
[d2f50ba] | 173 | <note>
|
---|
| 174 | <para>
|
---|
| 175 | The measurements above, and the Contents below, are for a full build.
|
---|
| 176 | Many people will not wish to install drivers they cannot use, so the
|
---|
| 177 | following paragraphs explain how to limit the drivers, and give an
|
---|
| 178 | example which can be be reduced or amended as necessary.
|
---|
| 179 | </para>
|
---|
| 180 | </note>
|
---|
| 181 |
|
---|
| 182 | <para>
|
---|
| 183 | Now, select the drivers you wish to install. For the X86 architecture, the
|
---|
[ef936e4] | 184 | available gallium drivers are auto (<emphasis>in 21.2.1 this does not select
|
---|
| 185 | crocus </emphasis>), <emphasis>or alternatively a choice from</emphasis>
|
---|
[9f777e1] | 186 | crocus, i915, iris, nouveau, r300, r600, radeonsi, svga, swrast, and virgl.
|
---|
| 187 | The latter can provide acceleration in <xref linkend="qemu"/> if that has
|
---|
| 188 | been linked against
|
---|
| 189 | <ulink url="https://gitlab.freedesktop.org/virgl/virglrenderer/~/releases/">virglrenderer</ulink>
|
---|
| 190 | (you will need a freedesktop.org account to get to that page, you can
|
---|
| 191 | download the 0.9.1 release without an account from
|
---|
[bee072a] | 192 | <ulink url="https://gitlab.freedesktop.org/virgl/virglrenderer/-/archive/0.9.1/virglrenderer-0.9.1.tar.bz2">virglrenderer-0.9.1</ulink>).-->
|
---|
| 193 |
|
---|
[9f777e1] | 194 | <!-- If you wish to build all available gallium drivers,
|
---|
[ef936e4] | 195 | use 'auto'. FIXME : does not build crocus in 21.2.1 -->
|
---|
[6ff79cf5] | 196 |
|
---|
| 197 | <!-- crocus was added to the default x86/x86_64 drivers for meson in the
|
---|
[1fe05eb] | 198 | master branch on 2021-08-31, at some point it will appear in a stable release
|
---|
[d2f50ba] | 199 | </para>
|
---|
[bee072a] | 200 | -->
|
---|
| 201 | <!--
|
---|
[d2f50ba] | 202 | <para>
|
---|
| 203 | The (non-gallium) DRI drivers available in X86 are auto, <emphasis>or
|
---|
| 204 | alternatively a choice from</emphasis> i915, i965, nouveau, r100, r200,
|
---|
| 205 | and swrast. Use 'auto' to build all available DRI drivers, or use an
|
---|
| 206 | empty string (DRI_DRIVERS="") if you wish to only build gallium drivers.
|
---|
| 207 | </para>
|
---|
| 208 |
|
---|
| 209 | <para>
|
---|
| 210 | The platforms ("window systems") available for X86 linux are x11, wayland,
|
---|
[bee072a] | 211 | drm, and surfaceless. By not specifying anything, the meson
|
---|
[17ae4374] | 212 | build-system will build for all these platforms if you have the
|
---|
| 213 | dependencies, identical to if you had specified '-Dplatforms=auto'.
|
---|
[d2f50ba] | 214 | </para>
|
---|
| 215 |
|
---|
| 216 | <para>
|
---|
| 217 | Modify the commands below for your desired drivers. The drivers listed
|
---|
| 218 | below will cover most modern video cards and virtual machines. For help in
|
---|
[c6cb93b] | 219 | selecting drivers see <ulink url="https://docs.mesa3d.org/systems.html"/>.
|
---|
[bee072a] | 220 | -->
|
---|
[ef936e4] | 221 | <!-- these two don't seem to be mentioned in that mesa link -->
|
---|
[bee072a] | 222 | <!--
|
---|
[ef936e4] | 223 | For intel drivers, specify crocus for i965 gen 4 through to haswell, iris
|
---|
| 224 | for broadwell and later.
|
---|
[d2f50ba] | 225 | </para>
|
---|
| 226 |
|
---|
| 227 | <note>
|
---|
| 228 | <para>
|
---|
| 229 | Although the nouveau drivers can be built for both gallium and dri, the
|
---|
| 230 | i915 driver can only be built for one or the other.
|
---|
| 231 | </para>
|
---|
| 232 | </note>
|
---|
| 233 |
|
---|
[ef936e4] | 234 | <screen><userinput>GALLIUM_DRV="crocus,i915,iris,nouveau,r600,radeonsi,svga,swrast,virgl"
|
---|
[d2f50ba] | 235 | DRI_DRIVERS="i965,nouveau"</userinput></screen>
|
---|
[bee072a] | 236 | -->
|
---|
[43149b8] | 237 |
|
---|
[eb425b4] | 238 | <para>
|
---|
[7a395d1] | 239 | Install <application>Mesa</application> by running the following
|
---|
[eb425b4] | 240 | commands:
|
---|
| 241 | </para>
|
---|
[868c7c2] | 242 |
|
---|
[b3f053c5] | 243 | <screen><userinput>mkdir build &&
|
---|
| 244 | cd build &&
|
---|
[a85e5ce] | 245 |
|
---|
[f7bc172] | 246 | meson setup \
|
---|
| 247 | --prefix=$XORG_PREFIX \
|
---|
[bee072a] | 248 | --buildtype=release \
|
---|
| 249 | -Dplatforms=x11,wayland \
|
---|
| 250 | -Dgallium-drivers=auto \
|
---|
[f4b4c81] | 251 | -Dvulkan-drivers="" \
|
---|
[bee072a] | 252 | -Dvalgrind=disabled \
|
---|
| 253 | -Dlibunwind=disabled \
|
---|
| 254 | .. &&
|
---|
[f7bc172] | 255 |
|
---|
[b3f053c5] | 256 | ninja</userinput></screen>
|
---|
[868c7c2] | 257 |
|
---|
[b3f053c5] | 258 | <para>
|
---|
[5ba1d98e] | 259 | To test the results, issue:
|
---|
[adcccac] | 260 | <command>meson configure -Dbuild-tests=true && ninja test</command>.
|
---|
[b3f053c5] | 261 | </para>
|
---|
[f7bc172] | 262 | <!-- All 88 tests passed for me for 22.3.3 [pierre]
|
---|
[bee072a] | 263 | -->
|
---|
[ef936e4] | 264 |
|
---|
[eb425b4] | 265 | <para>
|
---|
| 266 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 267 | </para>
|
---|
[ff55539b] | 268 |
|
---|
[b3f053c5] | 269 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
[a07e9eb] | 270 |
|
---|
[eb425b4] | 271 | <para>
|
---|
[a07e9eb] | 272 | If desired, install the optional documentation by running
|
---|
| 273 | the following commands as the
|
---|
[eb425b4] | 274 | <systemitem class="username">root</systemitem> user:
|
---|
| 275 | </para>
|
---|
[91859cf] | 276 |
|
---|
[3713bc71] | 277 | <screen role="root"
|
---|
| 278 | remap="doc"><userinput>install -v -dm755 /usr/share/doc/mesa-&mesa-version; &&
|
---|
[b3f053c5] | 279 | cp -rfv ../docs/* /usr/share/doc/mesa-&mesa-version;</userinput></screen>
|
---|
[5a883bc4] | 280 |
|
---|
[868c7c2] | 281 | </sect2>
|
---|
| 282 |
|
---|
[a07e9eb] | 283 | <sect2 role="commands">
|
---|
| 284 | <title>Command Explanations</title>
|
---|
[d2f50ba] | 285 |
|
---|
[95e8211] | 286 | <para>
|
---|
[3918112a] | 287 | <parameter>--buildtype=release</parameter>: This switch ensures a
|
---|
[d2f50ba] | 288 | fully-optimized build, and disables debug assertions which will
|
---|
[ec77633] | 289 | severely slow down the libraries in certain use-cases. Without this
|
---|
| 290 | switch, build sizes can span into the 2GB range.
|
---|
[95e8211] | 291 | </para>
|
---|
[869bf46b] | 292 |
|
---|
[d2f50ba] | 293 | <para>
|
---|
| 294 | <parameter>-Dgallium-drivers="..."</parameter>: This parameter
|
---|
| 295 | controls which Gallium3D drivers should be built.
|
---|
| 296 | </para>
|
---|
[d3ad4c0f] | 297 | <!--
|
---|
[d2f50ba] | 298 | <para>
|
---|
[d3ad4c0f] | 299 | <parameter>-Dosmesa=true</parameter>: This switch enables building
|
---|
[d2f50ba] | 300 | the <filename class="libraryfile">libOSMesa</filename> library and
|
---|
[018c4c52] | 301 | provides Gallium3D support in it. It requires the swrast gallium driver.
|
---|
[b642036d] | 302 | </para>
|
---|
[d3ad4c0f] | 303 | -->
|
---|
[bee072a] | 304 |
|
---|
[eb425b4] | 305 | <para>
|
---|
[d2f50ba] | 306 | <parameter>-Dplatforms="..."</parameter>: This parameter
|
---|
[bee072a] | 307 | controls which windowing systems will be supported. Available
|
---|
| 308 | linux platforms are x11 and wayland.
|
---|
[eb425b4] | 309 | </para>
|
---|
[bee072a] | 310 |
|
---|
| 311 | <para>
|
---|
[869bf46b] | 312 | <parameter>-Dvulkan-drivers=""</parameter>: This switch allows choosing
|
---|
| 313 | which Vulkan drivers are built. The default is auto, but this requires
|
---|
| 314 | the optional dependency <filename>glslang</filename>. So it is better
|
---|
| 315 | to pass an empty list, in order to remove the need for that
|
---|
| 316 | dependency. Nothing in BLFS uses Vulkan anyway.
|
---|
[bee072a] | 317 | </para>
|
---|
| 318 |
|
---|
[2993b2f] | 319 | <para>
|
---|
[d7fcae6] | 320 | <parameter>-Dvalgrind=disabled</parameter>: This parameter disables
|
---|
[d2f50ba] | 321 | the usage of Valgrind during the build process. Remove this parameter
|
---|
| 322 | if you have Valgrind installed, and wish to check for memory leaks.
|
---|
[2993b2f] | 323 | </para>
|
---|
| 324 |
|
---|
[42117d4e] | 325 | <para>
|
---|
[d7fcae6] | 326 | <parameter>-Dlibunwind=disabled</parameter>: This parameter disables
|
---|
[42117d4e] | 327 | the usage of libunwind.
|
---|
| 328 | </para>
|
---|
| 329 |
|
---|
[a07e9eb] | 330 | <para>
|
---|
[adcccac] | 331 | <command>meson configure -Dbuild-tests=true</command>: This command will
|
---|
| 332 | reconfigure the build to set <option>-Dbuild-tests=true</option>, but
|
---|
| 333 | keep the other options specified in the <command>meson setup</command>
|
---|
| 334 | command unchanged. It allows <command>ninja test</command> to build and
|
---|
| 335 | run unit tests.
|
---|
[b4d0b5a] | 336 | </para>
|
---|
| 337 |
|
---|
[3713bc71] | 338 | <para>
|
---|
[869bf46b] | 339 | <option>-Degl-native-platform="..."</option>: This parameter
|
---|
| 340 | controls which Embedded Graphics Library support will be built. Available
|
---|
| 341 | linux options are auto (default), x11, wayland, surfaceless, and drm.
|
---|
[3713bc71] | 342 | </para>
|
---|
| 343 |
|
---|
[371ff30] | 344 | </sect2>
|
---|
| 345 |
|
---|
[868c7c2] | 346 | <sect2 role="content">
|
---|
| 347 | <title>Contents</title>
|
---|
| 348 |
|
---|
| 349 | <segmentedlist>
|
---|
[1263ab1e] | 350 | <segtitle>Installed Programs</segtitle>
|
---|
[42117d4e] | 351 | <segtitle>Installed Libraries</segtitle><!-- in /usr/lib -->
|
---|
| 352 | <segtitle>Installed Drivers</segtitle><!-- in /usr/lib/<subdir> -->
|
---|
[ba2ac60] | 353 | <segtitle>Installed Directories</segtitle>
|
---|
[868c7c2] | 354 |
|
---|
| 355 | <seglistitem>
|
---|
[eb425b4] | 356 | <seg>
|
---|
| 357 | glxgears and glxinfo
|
---|
| 358 | </seg>
|
---|
[42117d4e] | 359 | <seg>
|
---|
| 360 | libEGL.so,
|
---|
| 361 | libGL.so,
|
---|
| 362 | libGLESv1_CM.so,
|
---|
| 363 | libGLESv2.so,
|
---|
| 364 | libgbm.so,
|
---|
[7b9b069] | 365 | libglapi.so, and
|
---|
| 366 | libxatracker.so
|
---|
[42117d4e] | 367 | </seg>
|
---|
[eb425b4] | 368 | <seg>
|
---|
[3713bc71] | 369 | <!-- Begin gallium DRI drivers : this is the full set -->
|
---|
[7e40901] | 370 | <!-- d3dadapter9.so (optional), For Windows games. This is DirectX's
|
---|
[42117d4e] | 371 | Direct3D -->
|
---|
[ef936e4] | 372 | crocus_dri.so,
|
---|
[b3f053c5] | 373 | i915_dri.so,
|
---|
[db480be] | 374 | iris_dri.so,
|
---|
[b3f053c5] | 375 | kms_swrast_dri.so,
|
---|
| 376 | nouveau_dri.so,
|
---|
[d2f50ba] | 377 | nouveau_drv_video.so,
|
---|
[bee072a] | 378 | r300_dri.so,
|
---|
[d2f50ba] | 379 | r600_dri.so,
|
---|
| 380 | r600_drv_video.so,
|
---|
[b3f053c5] | 381 | radeonsi_dri.so,
|
---|
| 382 | radeonsi_drv_video.so,
|
---|
| 383 | swrast_dri.so,
|
---|
[d2f50ba] | 384 | virtio_gpu_dri.so,
|
---|
[f7bc172] | 385 | virtio_gpu_drv_video.so,
|
---|
[696735e] | 386 | vmwgfx_dri.so,
|
---|
[e4fbb24] | 387 | <!-- End DRI Drivers -->
|
---|
| 388 | <!-- Begin VDPAU drivers -->
|
---|
[d2f50ba] | 389 | libvdpau_nouveau.so,
|
---|
[1fe05eb] | 390 | libvdpau_r300.so
|
---|
[d2f50ba] | 391 | libvdpau_r600.so, and
|
---|
[b3f053c5] | 392 | libvdpau_radeonsi.so
|
---|
[f7bc172] | 393 | libvdpau_virtio_gpu.so
|
---|
[e4fbb24] | 394 | <!-- End VDPAU drivers -->
|
---|
[ef936e4] | 395 | (Many of these drivers are hard-linked).
|
---|
[eb425b4] | 396 | </seg>
|
---|
| 397 | <seg>
|
---|
[869bf46b] | 398 | <!-- $XORG_PREFIX/include/GL is installed by xorg-protos -->
|
---|
| 399 | $XORG_PREFIX/{include/{EGL,GLES,GLES2,GLES3,KHR},
|
---|
[bee072a] | 400 | $XORG_PREFIX/lib/{dri,vdpau}},
|
---|
[d2f50ba] | 401 | $XORG_PREFIX/share/drirc.d (contains workarounds for various applications,
|
---|
[f72bfbe1] | 402 | particularly browsers and games),
|
---|
[7b9b069] | 403 | and /usr/share/doc/mesa-&mesa-version;
|
---|
[eb425b4] | 404 | </seg>
|
---|
[868c7c2] | 405 | </seglistitem>
|
---|
| 406 | </segmentedlist>
|
---|
[d3ef1e4] | 407 |
|
---|
[4437f63] | 408 | <variablelist>
|
---|
| 409 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 410 | <?dbfo list-presentation="list"?>
|
---|
| 411 | <?dbhtml list-presentation="table"?>
|
---|
| 412 |
|
---|
| 413 | <varlistentry id="glxgears">
|
---|
[eb50ddde] | 414 | <term><command>glxgears</command></term>
|
---|
[4437f63] | 415 | <listitem>
|
---|
[eb425b4] | 416 | <para>
|
---|
| 417 | is a GL demo useful for troubleshooting graphics
|
---|
[4c24eb0a] | 418 | problems
|
---|
[eb425b4] | 419 | </para>
|
---|
[7a395d1] | 420 | <indexterm zone="mesa glxgears">
|
---|
[4437f63] | 421 | <primary sortas="b-glxgears">glxgears</primary>
|
---|
| 422 | </indexterm>
|
---|
| 423 | </listitem>
|
---|
| 424 | </varlistentry>
|
---|
| 425 |
|
---|
| 426 | <varlistentry id="glxinfo">
|
---|
[eb50ddde] | 427 | <term><command>glxinfo</command></term>
|
---|
[4437f63] | 428 | <listitem>
|
---|
[eb425b4] | 429 | <para>
|
---|
| 430 | is a diagnostic program that displays information about the
|
---|
[4c24eb0a] | 431 | graphics hardware and installed GL libraries
|
---|
[eb425b4] | 432 | </para>
|
---|
[7a395d1] | 433 | <indexterm zone="mesa glxinfo">
|
---|
[4437f63] | 434 | <primary sortas="b-glxinfo">glxinfo</primary>
|
---|
| 435 | </indexterm>
|
---|
| 436 | </listitem>
|
---|
| 437 | </varlistentry>
|
---|
| 438 |
|
---|
[25f6d94] | 439 | <varlistentry id="libEGL">
|
---|
[a07e9eb] | 440 | <term><filename class="libraryfile">libEGL.so</filename></term>
|
---|
[25f6d94] | 441 | <listitem>
|
---|
[eb425b4] | 442 | <para>
|
---|
[a07e9eb] | 443 | provides a native platform graphics interface as
|
---|
[4c24eb0a] | 444 | defined by the EGL-1.4 specification
|
---|
[eb425b4] | 445 | </para>
|
---|
[7a395d1] | 446 | <indexterm zone="mesa libEGL">
|
---|
[25f6d94] | 447 | <primary sortas="c-libGL">libEGL.so</primary>
|
---|
| 448 | </indexterm>
|
---|
| 449 | </listitem>
|
---|
| 450 | </varlistentry>
|
---|
| 451 |
|
---|
[a07e9eb] | 452 | <varlistentry id="libgbm">
|
---|
| 453 | <term><filename class="libraryfile">libgbm.so</filename></term>
|
---|
| 454 | <listitem>
|
---|
| 455 | <para>
|
---|
| 456 | is the <application>Mesa</application> Graphics Buffer
|
---|
[4c24eb0a] | 457 | Manager library
|
---|
[a07e9eb] | 458 | </para>
|
---|
[7a395d1] | 459 | <indexterm zone="mesa libgbm">
|
---|
[a07e9eb] | 460 | <primary sortas="c-libgbm">libgbm.so</primary>
|
---|
| 461 | </indexterm>
|
---|
| 462 | </listitem>
|
---|
| 463 | </varlistentry>
|
---|
| 464 |
|
---|
| 465 | <varlistentry id="libGLESv1_CM">
|
---|
| 466 | <term><filename class="libraryfile">libGLESv1_CM.so</filename></term>
|
---|
| 467 | <listitem>
|
---|
| 468 | <para>
|
---|
[4c24eb0a] | 469 | is the <application>Mesa</application> OpenGL ES 1.1 library
|
---|
[a07e9eb] | 470 | </para>
|
---|
[7a395d1] | 471 | <indexterm zone="mesa libGLESv1_CM">
|
---|
[a07e9eb] | 472 | <primary sortas="c-libGLESv1_CM">libGLESv1_CM.so</primary>
|
---|
| 473 | </indexterm>
|
---|
| 474 | </listitem>
|
---|
| 475 | </varlistentry>
|
---|
| 476 |
|
---|
| 477 | <varlistentry id="libGLES2">
|
---|
| 478 | <term><filename class="libraryfile">libGLES2.so</filename></term>
|
---|
| 479 | <listitem>
|
---|
| 480 | <para>
|
---|
[4c24eb0a] | 481 | is the <application>Mesa</application> OpenGL ES 2.0 library
|
---|
[a07e9eb] | 482 | </para>
|
---|
[7a395d1] | 483 | <indexterm zone="mesa libGLES2">
|
---|
[a07e9eb] | 484 | <primary sortas="c-libGLES2">libGLES2.so</primary>
|
---|
| 485 | </indexterm>
|
---|
| 486 | </listitem>
|
---|
| 487 | </varlistentry>
|
---|
| 488 |
|
---|
[ba2ac60] | 489 | <varlistentry id="libGL">
|
---|
[a07e9eb] | 490 | <term><filename class="libraryfile">libGL.so</filename></term>
|
---|
[ba2ac60] | 491 | <listitem>
|
---|
[eb425b4] | 492 | <para>
|
---|
[4c24eb0a] | 493 | is the main <application>Mesa</application> OpenGL library
|
---|
[eb425b4] | 494 | </para>
|
---|
[7a395d1] | 495 | <indexterm zone="mesa libGL">
|
---|
[ba2ac60] | 496 | <primary sortas="c-libGL">libGL.so</primary>
|
---|
| 497 | </indexterm>
|
---|
| 498 | </listitem>
|
---|
| 499 | </varlistentry>
|
---|
[bee072a] | 500 |
|
---|
[4437f63] | 501 | </variablelist>
|
---|
| 502 |
|
---|
[868c7c2] | 503 | </sect2>
|
---|
[d3ef1e4] | 504 |
|
---|
[868c7c2] | 505 | </sect1>
|
---|