[ab4fdfc] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
[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">
|
---|
[e1e58be] | 8 | <!ENTITY mesa-download-ftp " ">
|
---|
[e19bde42] | 9 | <!ENTITY mesa-md5sum "e7720e220513317526dbdc1511198f03">
|
---|
[b8b314f5] | 10 | <!ENTITY mesa-size "28 MB">
|
---|
[e19bde42] | 11 | <!ENTITY mesa-buildsize "916 MB (with docs, add 539 MB for tests)">
|
---|
[f12dbf77] | 12 | <!ENTITY mesa-time "3.0 SBU (with docs; add 1.0 SBU for tests; both with parallelism=4)">
|
---|
[868c7c2] | 13 | ]>
|
---|
| 14 |
|
---|
[7a395d1] | 15 | <sect1 id="mesa" xreflabel="Mesa-&mesa-version;">
|
---|
| 16 | <?dbhtml filename="mesa.html"?>
|
---|
[868c7c2] | 17 |
|
---|
[7a395d1] | 18 | <title>Mesa-&mesa-version;</title>
|
---|
[868c7c2] | 19 |
|
---|
[7a395d1] | 20 | <indexterm zone="mesa">
|
---|
| 21 | <primary sortas="a-Mesa">Mesa</primary>
|
---|
[868c7c2] | 22 | </indexterm>
|
---|
| 23 |
|
---|
| 24 | <sect2 role="package">
|
---|
[7a395d1] | 25 | <title>Introduction to Mesa</title>
|
---|
[868c7c2] | 26 |
|
---|
[eb425b4] | 27 | <para>
|
---|
| 28 | <application>Mesa</application> is an OpenGL compatible 3D graphics
|
---|
| 29 | library.
|
---|
| 30 | </para>
|
---|
[868c7c2] | 31 |
|
---|
[fdcf97c7] | 32 | <note>
|
---|
| 33 | <para>
|
---|
| 34 | <application>Mesa</application> is updated relatively often. You may
|
---|
| 35 | want to use the latest available &mesa-major-minor;.x mesa version.
|
---|
| 36 | </para>
|
---|
| 37 | </note>
|
---|
| 38 |
|
---|
[d4dc5bae] | 39 | &lfs122_checked;
|
---|
[ca0c29cc] | 40 |
|
---|
[868c7c2] | 41 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 42 | <itemizedlist spacing="compact">
|
---|
| 43 | <listitem>
|
---|
[de938a4e] | 44 | <para>
|
---|
[7a395d1] | 45 | Download (HTTP): <ulink url="&mesa-download-http;"/>
|
---|
[de938a4e] | 46 | </para>
|
---|
[868c7c2] | 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
[de938a4e] | 49 | <para>
|
---|
[7a395d1] | 50 | Download (FTP): <ulink url="&mesa-download-ftp;"/>
|
---|
[de938a4e] | 51 | </para>
|
---|
[868c7c2] | 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
[de938a4e] | 54 | <para>
|
---|
[7a395d1] | 55 | Download MD5 sum: &mesa-md5sum;
|
---|
[de938a4e] | 56 | </para>
|
---|
[868c7c2] | 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
[de938a4e] | 59 | <para>
|
---|
[7a395d1] | 60 | Download size: &mesa-size;
|
---|
[de938a4e] | 61 | </para>
|
---|
[868c7c2] | 62 | </listitem>
|
---|
| 63 | <listitem>
|
---|
[de938a4e] | 64 | <para>
|
---|
[7a395d1] | 65 | Estimated disk space required: &mesa-buildsize;
|
---|
[de938a4e] | 66 | </para>
|
---|
[868c7c2] | 67 | </listitem>
|
---|
| 68 | <listitem>
|
---|
[de938a4e] | 69 | <para>
|
---|
[7a395d1] | 70 | Estimated build time: &mesa-time;
|
---|
[de938a4e] | 71 | </para>
|
---|
[868c7c2] | 72 | </listitem>
|
---|
| 73 | </itemizedlist>
|
---|
[1334c9a] | 74 |
|
---|
[625079b6] | 75 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
[a07e9eb] | 76 | <itemizedlist spacing="compact">
|
---|
[ab75b52] | 77 | <!-- 9 Apr 23. Change to unversioned patch since it never changes. -->
|
---|
[a07e9eb] | 78 | <listitem>
|
---|
[eb425b4] | 79 | <para>
|
---|
| 80 | Recommended patch:
|
---|
[899751e] | 81 | <ulink url="&patch-root;/mesa-add_xdemos-3.patch"/>
|
---|
[7a395d1] | 82 | (installs 2 demo programs for testing Mesa - not needed if you
|
---|
[713981db] | 83 | install the <ulink url="https://archive.mesa3d.org/demos/">
|
---|
[39dd48b] | 84 | mesa-demos</ulink> package)
|
---|
[ace536a] | 85 | </para>
|
---|
[eeb29511] | 86 | </listitem>
|
---|
| 87 | </itemizedlist>
|
---|
[1334c9a] | 88 |
|
---|
[7a395d1] | 89 | <bridgehead renderas="sect3">Mesa Dependencies</bridgehead>
|
---|
[868c7c2] | 90 |
|
---|
| 91 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[7b74537e] | 92 | <para role="required">
|
---|
[df343952] | 93 | <xref linkend="xorg7-lib"/>,
|
---|
[f12dbf77] | 94 | <xref linkend="libdrm"/>,
|
---|
| 95 | <xref linkend="Mako"/>, and
|
---|
| 96 | <xref linkend="PyYAML"/>
|
---|
[eb425b4] | 97 | </para>
|
---|
[868c7c2] | 98 |
|
---|
[606dfd4] | 99 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
[eb425b4] | 100 | <para role="recommended">
|
---|
[d2f50ba] | 101 |
|
---|
[c833c06] | 102 | <itemizedlist spacing="compact">
|
---|
| 103 | <listitem>
|
---|
| 104 | <para>
|
---|
[6749017] | 105 | <xref linkend="glslang"/> (required for Vulkan support)
|
---|
[c833c06] | 106 | </para>
|
---|
| 107 | </listitem>
|
---|
| 108 | <listitem>
|
---|
| 109 | <para>
|
---|
| 110 | <xref linkend="libva"/> (to provide VA-API support for some
|
---|
| 111 | gallium drivers. Note that there is a circular dependency.
|
---|
| 112 | You must build <application>libva</application> first without
|
---|
| 113 | mesa's EGL and GLX support, install this package, and rebuild
|
---|
| 114 | <application>libva</application>)
|
---|
| 115 | </para>
|
---|
| 116 | </listitem>
|
---|
| 117 | <listitem>
|
---|
| 118 | <para>
|
---|
| 119 | <xref linkend="libvdpau"/> (to build VDPAU drivers)
|
---|
| 120 | </para>
|
---|
| 121 | </listitem>
|
---|
| 122 | <listitem>
|
---|
| 123 | <para>
|
---|
[8b5b257a] | 124 | <xref linkend="llvm"/> (required for the llvmpipe, r300, r600,
|
---|
| 125 | and radeonsi drivers)
|
---|
[c833c06] | 126 | </para>
|
---|
| 127 | </listitem>
|
---|
| 128 | <listitem>
|
---|
| 129 | <para>
|
---|
| 130 | <xref linkend="wayland-protocols"/> (required for
|
---|
| 131 | <xref role="nodep" linkend='plasma-build'/>,
|
---|
| 132 | GNOME, and recommended for
|
---|
| 133 | <xref role="nodep" linkend='gtk3'/>)
|
---|
| 134 | </para>
|
---|
| 135 | </listitem>
|
---|
[b8b314f5] | 136 | <listitem>
|
---|
| 137 | <para>
|
---|
[68df8455] | 138 | <xref linkend="libclc"/> (required for the Intel iris
|
---|
| 139 | gallium driver)
|
---|
| 140 | </para>
|
---|
| 141 | </listitem>
|
---|
[6749017] | 142 | <listitem>
|
---|
| 143 | <para>
|
---|
| 144 | <xref linkend="vulkan-loader"/> (required for the Zink
|
---|
| 145 | gallium driver)
|
---|
| 146 | </para>
|
---|
| 147 | </listitem>
|
---|
[68df8455] | 148 | <listitem>
|
---|
| 149 | <para>
|
---|
| 150 | <xref linkend="ply"/> (required for the Intel vulkan driver)
|
---|
[b8b314f5] | 151 | </para>
|
---|
| 152 | </listitem>
|
---|
| 153 | <listitem>
|
---|
| 154 | <para>
|
---|
| 155 | <xref linkend="cbindgen"/> and <xref linkend="rust-bindgen"/>
|
---|
[68df8455] | 156 | (required for the Nouveau Vulkan driver)
|
---|
[b8b314f5] | 157 | </para>
|
---|
| 158 | </listitem>
|
---|
[c833c06] | 159 | </itemizedlist>
|
---|
[606dfd4] | 160 | </para>
|
---|
[60bcf481] | 161 |
|
---|
[87a677a] | 162 | <note>
|
---|
| 163 | <para>
|
---|
| 164 | <emphasis role="bold">Choosing Mesa Drivers</emphasis>
|
---|
| 165 | </para>
|
---|
| 166 |
|
---|
| 167 | <para>
|
---|
| 168 | In the instructions below, all the available drivers are built. That
|
---|
| 169 | will almost always work. However, it is not efficient. Depending on
|
---|
| 170 | your video hardware, you probably need only specific drivers.
|
---|
| 171 | </para>
|
---|
| 172 |
|
---|
| 173 | <para>
|
---|
| 174 | The first thing you need to know is which type of video device you
|
---|
[de36458] | 175 | have. In some cases it is built into the CPU. In others it is a
|
---|
[87a677a] | 176 | separate PCI card. In either case you can tell what video hardware you
|
---|
[68df8455] | 177 | have by installing <xref linkend='pciutils'/> and running:
|
---|
[87a677a] | 178 | </para>
|
---|
| 179 |
|
---|
[68df8455] | 180 | <screen role='nodump'><userinput>lspci | grep VGA</userinput></screen>
|
---|
[87a677a] | 181 |
|
---|
| 182 | <para>
|
---|
| 183 | The video device is most likely one of three families: AMD, Intel, or
|
---|
[68df8455] | 184 | Nvidia. See the Command Explanations for
|
---|
| 185 | <parameter>-D gallium-drivers=auto</parameter> below to
|
---|
[87a677a] | 186 | see what options are available for your specific video hardware (or
|
---|
[8b5b257a] | 187 | emulated video hardware). You should probably add the softpipe or
|
---|
| 188 | llvmpipe option as a backup driver.
|
---|
[87a677a] | 189 | </para>
|
---|
| 190 |
|
---|
| 191 | <para>
|
---|
| 192 | For 'platforms' you can select x11 and/or wayland. Note that in BLFS
|
---|
| 193 | currently only Gnome and KDE can use wayland. If you are not going to
|
---|
| 194 | use one of those desktop environments then you probably only want x11.
|
---|
| 195 | </para>
|
---|
| 196 |
|
---|
| 197 | <para>
|
---|
| 198 | For 'vulkan-drivers' you may want to limit the selection to your
|
---|
| 199 | current hardware. These drivers are used by some specific applications.
|
---|
| 200 |
|
---|
| 201 | For example, ffmpeg (including ffplay) will use Vulkan instead of
|
---|
| 202 | OpenGL for rendering video on the GPU. If you do not want to do this
|
---|
| 203 | you may or may not want to install them.
|
---|
[68df8455] | 204 | See the Command Explanations for
|
---|
| 205 | <parameter>-D vulkan-drivers=auto</parameter> below to
|
---|
| 206 | see what options are available for your specific video hardware (or
|
---|
| 207 | emulated video hardware). You should probably add the swrast option
|
---|
| 208 | as a backup driver unless you don't need Vulkan at all.
|
---|
[87a677a] | 209 | </para>
|
---|
| 210 | </note>
|
---|
| 211 |
|
---|
[07584d8] | 212 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 213 | <para role="optional">
|
---|
[57bcce9] | 214 | <xref linkend="libgcrypt"/>,
|
---|
[751dd1e] | 215 | <xref linkend="libunwind"/>,
|
---|
[b4d0b5a] | 216 | <xref linkend="lm_sensors"/> <!-- for libsensors according to Meson -->,
|
---|
[57bcce9] | 217 | <xref linkend="nettle"/>,
|
---|
[b4d0b5a] | 218 | <xref linkend="valgrind"/>,
|
---|
[9dc1c31] | 219 | <ulink url="https://archive.mesa3d.org/demos/">mesa-demos</ulink>
|
---|
[1cdb1f7] | 220 | (provides more than 300 extra demos to test
|
---|
[973dabe9] | 221 | <application>Mesa</application>; this includes the same programs added by
|
---|
[b4d0b5a] | 222 | the patch above),
|
---|
[17aa21c] | 223 | <ulink url="https://omxil.sourceforge.net/">Bellagio OpenMAX Integration
|
---|
[e929885e] | 224 | Layer</ulink> (for mobile platforms), and
|
---|
| 225 | <!--<ulink url="https://github.com/KhronosGroup/glslang">glslang</ulink>
|
---|
| 226 | (for vulkan drivers),-->
|
---|
[b4d0b5a] | 227 | <ulink url="https://github.com/tizonia/tizonia-openmax-il/wiki/Tizonia-OpenMAX-IL/">
|
---|
[e929885e] | 228 | libtizonia</ulink>,
|
---|
| 229 | <!-- <ulink url="https://github.com/KhronosGroup/Vulkan-Loader">Vulkan-Loader</ulink> -->
|
---|
[07584d8] | 230 | </para>
|
---|
[bee072a] | 231 | <!--
|
---|
[9065a56b] | 232 | <note>
|
---|
[fd2f9a2] | 233 | <para>
|
---|
[e4fbb24] | 234 | The instructions below assume that
|
---|
[d2f50ba] | 235 | <application>LLVM</application> with the r600/amdgpu and host backends
|
---|
| 236 | and run-time type information (RTTI - needed for nouveau) are installed.
|
---|
| 237 | You will need to modify the instructions if you
|
---|
| 238 | choose not to install all of these. For an explanation of Gallium3D see
|
---|
[e83a3bb] | 239 | <ulink url="https://en.wikipedia.org/wiki/Gallium3D"/>.
|
---|
[fd2f9a2] | 240 | </para>
|
---|
[9065a56b] | 241 | </note>
|
---|
[bee072a] | 242 | -->
|
---|
[0f256d6] | 243 |
|
---|
| 244 | &build-use-internet;
|
---|
| 245 |
|
---|
[868c7c2] | 246 | </sect2>
|
---|
| 247 |
|
---|
[797182d] | 248 | <sect2 role="kernel" id="mesa-kernel"
|
---|
| 249 | xreflabel='Mesa Kernel Configuration'>
|
---|
[2c92dada] | 250 | <title>Kernel Configuration</title>
|
---|
| 251 |
|
---|
| 252 | <para>
|
---|
| 253 | Enable the following options in the kernel configuration and
|
---|
| 254 | recompile the kernel if necessary:
|
---|
| 255 | </para>
|
---|
| 256 |
|
---|
[5ca8d70] | 257 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 258 | href="mesa-kernel.xml"/>
|
---|
[2c92dada] | 259 |
|
---|
| 260 | <note>
|
---|
| 261 | <para>
|
---|
| 262 | The corresponding Mesa Gallium3D driver name is provided as the
|
---|
| 263 | comment for the configuration entries. If you don't know the name
|
---|
| 264 | of the Mesa Gallium3D driver for your GPU, see <xref
|
---|
| 265 | linkend="mesa-gallium-drivers"/> below.
|
---|
| 266 | </para>
|
---|
| 267 |
|
---|
| 268 | <para>
|
---|
| 269 | <option>CONFIG_DRM_RADEON</option>,
|
---|
| 270 | <option>CONFIG_DRM_AMDGPU</option>,
|
---|
| 271 | <option>CONFIG_DRM_NOUVEAU</option>, and
|
---|
[d4102ce] | 272 | <option>CONFIG_DRM_I915</option> may require firmware.
|
---|
| 273 | See <xref linkend='postlfs-firmware'/> for details.
|
---|
[2c92dada] | 274 | </para>
|
---|
| 275 |
|
---|
| 276 | <para>
|
---|
[d4102ce] | 277 | Selecting <option>CONFIG_DRM_RADEON</option> or
|
---|
| 278 | <option>CONFIG_DRM_AMDGPU</option> as
|
---|
| 279 | <quote><literal>y</literal></quote> is not recommended. If it is, any
|
---|
| 280 | required firmware must be built as a part of the kernel image or the
|
---|
| 281 | initramfs for the driver to function correctly.
|
---|
[2c92dada] | 282 | </para>
|
---|
| 283 |
|
---|
| 284 | <para>
|
---|
| 285 | The sub-entries under <option>CONFIG_DRM_AMDGPU</option> are used
|
---|
[d4102ce] | 286 | to ensure the AMDGPU kernel driver supports all GPUs using the
|
---|
[2c92dada] | 287 | <literal>radeonsi</literal> driver. They are not needed if you
|
---|
[d4102ce] | 288 | won't need <option>CONFIG_DRM_AMDGPU</option> itself. They
|
---|
[2c92dada] | 289 | may be unneeded for some GPU models.
|
---|
| 290 | </para>
|
---|
| 291 |
|
---|
| 292 | <para>
|
---|
[51a34f9] | 293 | For <literal>llvmpipe</literal> or <literal>softpipe</literal>,
|
---|
| 294 | <option>CONFIG_DRM_VGEM</option> is required or X clients may fail
|
---|
| 295 | to start with a cryptic message <computeroutput>Error: couldn't get
|
---|
| 296 | an RGB, Double-buffered visual</computeroutput>. Strictly speaking,
|
---|
| 297 | it can be compiled as a module. But the module will not be loaded
|
---|
| 298 | automatically, so it's more convenient to build it as a part of the
|
---|
| 299 | kernel image.
|
---|
[2c92dada] | 300 | </para>
|
---|
| 301 | </note>
|
---|
[117b4e9] | 302 | <indexterm zone="mesa mesa-kernel">
|
---|
| 303 | <primary sortas="d-mesa">mesa</primary>
|
---|
| 304 | </indexterm>
|
---|
[2c92dada] | 305 | </sect2>
|
---|
| 306 |
|
---|
[868c7c2] | 307 | <sect2 role="installation">
|
---|
[7a395d1] | 308 | <title>Installation of Mesa</title>
|
---|
[a07e9eb] | 309 | <para>
|
---|
[51c08f3] | 310 | If you have downloaded the xdemos patch (needed if testing the Xorg
|
---|
| 311 | installation per BLFS instructions), apply it by running the following
|
---|
| 312 | command:
|
---|
[a07e9eb] | 313 | </para>
|
---|
| 314 |
|
---|
[ab75b52] | 315 | <!--<screen><userinput>patch -Np1 -i ../mesa-&mesa-version;-add_xdemos-1.patch</userinput></screen>-->
|
---|
[899751e] | 316 | <screen><userinput>patch -Np1 -i ../mesa-add_xdemos-3.patch</userinput></screen>
|
---|
[1334c9a] | 317 |
|
---|
[054e926] | 318 | <!-- Note that freedreno, vc4, and virgl all need special support from
|
---|
[d2f50ba] | 319 | libdrm - renodr
|
---|
| 320 | For me, libdrm does not mention virgl, but mesa accepts it. AFAICS
|
---|
| 321 | freedreno is for qualcom hardware, libdrm will build for it on suitable
|
---|
| 322 | systems. VC4 is for the Broadcom VC4 used in the raspberry pi - ken -->
|
---|
[bee072a] | 323 | <!--
|
---|
[d2f50ba] | 324 | <note>
|
---|
| 325 | <para>
|
---|
| 326 | The measurements above, and the Contents below, are for a full build.
|
---|
| 327 | Many people will not wish to install drivers they cannot use, so the
|
---|
| 328 | following paragraphs explain how to limit the drivers, and give an
|
---|
| 329 | example which can be be reduced or amended as necessary.
|
---|
| 330 | </para>
|
---|
| 331 | </note>
|
---|
| 332 |
|
---|
[bee072a] | 333 | -->
|
---|
| 334 | <!--
|
---|
[d2f50ba] | 335 | <para>
|
---|
| 336 | The (non-gallium) DRI drivers available in X86 are auto, <emphasis>or
|
---|
| 337 | alternatively a choice from</emphasis> i915, i965, nouveau, r100, r200,
|
---|
| 338 | and swrast. Use 'auto' to build all available DRI drivers, or use an
|
---|
| 339 | empty string (DRI_DRIVERS="") if you wish to only build gallium drivers.
|
---|
| 340 | </para>
|
---|
| 341 |
|
---|
| 342 | <para>
|
---|
| 343 | The platforms ("window systems") available for X86 linux are x11, wayland,
|
---|
[bee072a] | 344 | drm, and surfaceless. By not specifying anything, the meson
|
---|
[17ae4374] | 345 | build-system will build for all these platforms if you have the
|
---|
| 346 | dependencies, identical to if you had specified '-Dplatforms=auto'.
|
---|
[d2f50ba] | 347 | </para>
|
---|
| 348 |
|
---|
| 349 | <para>
|
---|
| 350 | Modify the commands below for your desired drivers. The drivers listed
|
---|
| 351 | below will cover most modern video cards and virtual machines. For help in
|
---|
[c6cb93b] | 352 | selecting drivers see <ulink url="https://docs.mesa3d.org/systems.html"/>.
|
---|
[bee072a] | 353 | -->
|
---|
[ef936e4] | 354 | <!-- these two don't seem to be mentioned in that mesa link -->
|
---|
[bee072a] | 355 | <!--
|
---|
[ef936e4] | 356 | For intel drivers, specify crocus for i965 gen 4 through to haswell, iris
|
---|
| 357 | for broadwell and later.
|
---|
[d2f50ba] | 358 | </para>
|
---|
| 359 |
|
---|
| 360 | <note>
|
---|
| 361 | <para>
|
---|
| 362 | Although the nouveau drivers can be built for both gallium and dri, the
|
---|
| 363 | i915 driver can only be built for one or the other.
|
---|
| 364 | </para>
|
---|
| 365 | </note>
|
---|
| 366 |
|
---|
[ef936e4] | 367 | <screen><userinput>GALLIUM_DRV="crocus,i915,iris,nouveau,r600,radeonsi,svga,swrast,virgl"
|
---|
[d2f50ba] | 368 | DRI_DRIVERS="i965,nouveau"</userinput></screen>
|
---|
[bee072a] | 369 | -->
|
---|
[43149b8] | 370 |
|
---|
[b565745d] | 371 | <!-- https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22021 -->
|
---|
[92202f73] | 372 | <!-- No longer needed
|
---|
[b565745d] | 373 | <para>
|
---|
| 374 | Remove two unneeded references to LLVM headers to avoid a build
|
---|
| 375 | failure with LLVM 17 or later:
|
---|
| 376 | </para>
|
---|
| 377 |
|
---|
| 378 | <screen><userinput>sed '/Scalar.h/d;/Utils.h/d' \
|
---|
| 379 | -i src/gallium/auxiliary/gallivm/lp_bld_init.c</userinput></screen>
|
---|
[92202f73] | 380 | -->
|
---|
[eb425b4] | 381 | <para>
|
---|
[7a395d1] | 382 | Install <application>Mesa</application> by running the following
|
---|
[eb425b4] | 383 | commands:
|
---|
| 384 | </para>
|
---|
[868c7c2] | 385 |
|
---|
[b565745d] | 386 | <screen><userinput>mkdir build &&
|
---|
[b3f053c5] | 387 | cd build &&
|
---|
[a85e5ce] | 388 |
|
---|
[c833c06] | 389 | meson setup .. \
|
---|
| 390 | --prefix=$XORG_PREFIX \
|
---|
| 391 | --buildtype=release \
|
---|
| 392 | -D platforms=x11,wayland \
|
---|
| 393 | -D gallium-drivers=auto \
|
---|
| 394 | -D vulkan-drivers=auto \
|
---|
| 395 | -D valgrind=disabled \
|
---|
[1edfc914] | 396 | -D video-codecs=all \
|
---|
[c833c06] | 397 | -D libunwind=disabled &&
|
---|
[f7bc172] | 398 |
|
---|
[b3f053c5] | 399 | ninja</userinput></screen>
|
---|
[868c7c2] | 400 |
|
---|
[1edfc914] | 401 | <warning>
|
---|
| 402 | <para>
|
---|
| 403 | Please ask your lawyer or remove the
|
---|
| 404 | <parameter>-D video-codecs=all</parameter> option if you will
|
---|
| 405 | distribute the compiled Mesa libraries and drivers to others.
|
---|
| 406 | </para>
|
---|
| 407 | </warning>
|
---|
| 408 |
|
---|
[b3f053c5] | 409 | <para>
|
---|
[5ba1d98e] | 410 | To test the results, issue:
|
---|
[68df8455] | 411 | <command>meson configure -D build-tests=true && ninja test</command>.
|
---|
[b3f053c5] | 412 | </para>
|
---|
[f7bc172] | 413 | <!-- All 88 tests passed for me for 22.3.3 [pierre]
|
---|
[28818fd3] | 414 | All 90 tests passed for me for 23.1.0 [bdubbs]
|
---|
[b968722] | 415 | 89 Tests passed for me, 1 timeout on 23.1.8 [rahul]
|
---|
[92202f73] | 416 | All 98 tests passed for me for 23.3.1 [bdubbs]
|
---|
[bee072a] | 417 | -->
|
---|
[ef936e4] | 418 |
|
---|
[eb425b4] | 419 | <para>
|
---|
| 420 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 421 | </para>
|
---|
[ff55539b] | 422 |
|
---|
[b3f053c5] | 423 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
[a07e9eb] | 424 |
|
---|
[eb425b4] | 425 | <para>
|
---|
[a07e9eb] | 426 | If desired, install the optional documentation by running
|
---|
| 427 | the following commands as the
|
---|
[eb425b4] | 428 | <systemitem class="username">root</systemitem> user:
|
---|
| 429 | </para>
|
---|
[91859cf] | 430 |
|
---|
[3713bc71] | 431 | <screen role="root"
|
---|
[8c25fe7] | 432 | remap="doc"><userinput>cp -rv ../docs -T /usr/share/doc/mesa-&mesa-version;</userinput></screen>
|
---|
[5a883bc4] | 433 |
|
---|
[868c7c2] | 434 | </sect2>
|
---|
| 435 |
|
---|
[a07e9eb] | 436 | <sect2 role="commands">
|
---|
| 437 | <title>Command Explanations</title>
|
---|
[d2f50ba] | 438 |
|
---|
[95e8211] | 439 | <para>
|
---|
[3918112a] | 440 | <parameter>--buildtype=release</parameter>: This switch ensures a
|
---|
[d2f50ba] | 441 | fully-optimized build, and disables debug assertions which will
|
---|
[ec77633] | 442 | severely slow down the libraries in certain use-cases. Without this
|
---|
[3d516cf] | 443 | switch, build sizes can span into the 2 GB range.
|
---|
[95e8211] | 444 | </para>
|
---|
[869bf46b] | 445 |
|
---|
[d2f50ba] | 446 | <para>
|
---|
[2c92dada] | 447 | <anchor id='mesa-gallium-drivers' xreflabel='Mesa Gallium3D Drivers'/>
|
---|
[68df8455] | 448 | <parameter>-D gallium-drivers=auto</parameter>: This parameter
|
---|
[c833c06] | 449 | controls which Gallium3D drivers should be built:
|
---|
| 450 |
|
---|
| 451 | <itemizedlist spacing="compact">
|
---|
| 452 | <listitem>
|
---|
| 453 | <para>
|
---|
| 454 | <literal>auto</literal> selects all Gallium3D drivers available
|
---|
[68df8455] | 455 | for x86. With a comma-separated list, only a subset of these
|
---|
[c833c06] | 456 | drivers will be built. If you precisely know which drivers you
|
---|
[ac1f23de] | 457 | need, you can select them explicitly. For example,
|
---|
[8b5b257a] | 458 | <option>-D gallium-drivers=radeonsi,iris,llvmpipe</option>.
|
---|
[c833c06] | 459 | </para>
|
---|
| 460 | </listitem>
|
---|
| 461 | <listitem>
|
---|
| 462 | <para>
|
---|
| 463 | <literal>r300</literal> (for ATI Radeon 9000 or Radeon X series)
|
---|
| 464 | </para>
|
---|
| 465 | </listitem>
|
---|
| 466 | <listitem>
|
---|
| 467 | <para>
|
---|
| 468 | <literal>r600</literal> (for AMD/ATI Radeon HD 2000-6000 series)
|
---|
| 469 | </para>
|
---|
| 470 | </listitem>
|
---|
| 471 | <listitem>
|
---|
| 472 | <para>
|
---|
| 473 | <literal>radeonsi</literal> (for AMD Radeon HD 7000 or newer AMD GPU models)
|
---|
| 474 | </para>
|
---|
| 475 | </listitem>
|
---|
| 476 | <listitem>
|
---|
| 477 | <para>
|
---|
[0538ffc] | 478 | <literal>nouveau</literal> (for supported NVIDIA GPUs, they are
|
---|
[c833c06] | 479 | listed as all <quote>3D features</quote> either <quote>DONE</quote> or
|
---|
| 480 | <quote>N/A</quote> in
|
---|
| 481 | <ulink url='https://nouveau.freedesktop.org/FeatureMatrix.html'>the Nouveau
|
---|
| 482 | status page</ulink>)
|
---|
| 483 | </para>
|
---|
| 484 | </listitem>
|
---|
| 485 | <listitem>
|
---|
| 486 | <para>
|
---|
| 487 | <literal>virgl</literal> (for a QEMU virtual GPU
|
---|
| 488 | with <application>virglrender</application> support; note that BLFS
|
---|
| 489 | <xref linkend='qemu'/> is not built with
|
---|
| 490 | <application>virglrender</application>)
|
---|
| 491 | </para>
|
---|
| 492 | </listitem>
|
---|
| 493 | <listitem>
|
---|
| 494 | <para>
|
---|
| 495 | <literal>svga</literal> (for a VMWare virtual GPU)
|
---|
| 496 | </para>
|
---|
| 497 | </listitem>
|
---|
| 498 | <listitem>
|
---|
| 499 | <para>
|
---|
[8b5b257a] | 500 | <literal>llvmpipe</literal> (using CPU for 3D
|
---|
[ac1f23de] | 501 | rasterization. Note that it's much slower than using a modern
|
---|
[c833c06] | 502 | 3D-capable GPU, so it should be only used if the GPU is not supported
|
---|
[8b5b257a] | 503 | by other drivers)
|
---|
| 504 | </para>
|
---|
| 505 | </listitem>
|
---|
| 506 | <listitem>
|
---|
| 507 | <para>
|
---|
| 508 | <literal>softpipe</literal> (also using CPU for 3D
|
---|
[58005947] | 509 | rasterization, but slower than llvmpipe. There is not much reason
|
---|
[8b5b257a] | 510 | to use it unless LLVM is not available)
|
---|
[c833c06] | 511 | </para>
|
---|
| 512 | </listitem>
|
---|
| 513 | <listitem>
|
---|
| 514 | <para>
|
---|
| 515 | <literal>iris</literal> (for Intel GPUs shipped with Broadwell
|
---|
[68df8455] | 516 | or newer CPUs, or as a dedicated PCIe card)
|
---|
[c833c06] | 517 | </para>
|
---|
| 518 | </listitem>
|
---|
| 519 | <listitem>
|
---|
| 520 | <para>
|
---|
| 521 | <literal>crocus</literal> (for Intel GMA 3000, X3000 series,
|
---|
| 522 | 4000 series, or X4000 series GPUs shipped with chipsets,
|
---|
| 523 | or Intel HD GPUs shipped with pre-Broadwell CPUs)
|
---|
| 524 | </para>
|
---|
| 525 | </listitem>
|
---|
| 526 | <listitem>
|
---|
| 527 | <para>
|
---|
| 528 | <literal>i915</literal> (for Intel GMA 900, 950, 3100, or 3150 GPUs
|
---|
| 529 | shipped with chipsets or Atom D/N 4xx/5xx CPUs)
|
---|
| 530 | </para>
|
---|
| 531 | </listitem>
|
---|
[68df8455] | 532 | <listitem>
|
---|
| 533 | <para>
|
---|
| 534 | <literal>zink</literal> (using Vulkan to implement OpenGL,
|
---|
| 535 | it's not very useful on x86 as at now but it may replace other
|
---|
| 536 | drivers for modern GPU models in the future)
|
---|
| 537 | </para>
|
---|
| 538 | </listitem>
|
---|
| 539 | </itemizedlist>
|
---|
| 540 | </para>
|
---|
| 541 |
|
---|
| 542 | <para>
|
---|
| 543 | <parameter>-D vulkan-drivers=auto</parameter>: This parameter
|
---|
[5844abce] | 544 | controls which Vulkan drivers should be built:
|
---|
[68df8455] | 545 |
|
---|
| 546 | <itemizedlist spacing="compact">
|
---|
| 547 | <listitem>
|
---|
| 548 | <para>
|
---|
| 549 | <literal>auto</literal> selects all Vulkan drivers available
|
---|
| 550 | for x86. With a comma-separated list, only a subset of these
|
---|
| 551 | drivers will be built. If you precisely know which drivers you
|
---|
[ac1f23de] | 552 | need, you can select them explicitly. For example,
|
---|
[3038a588] | 553 | <option>-D vulkan-drivers=amd,nouveau,swrast</option>.
|
---|
[68df8455] | 554 | </para>
|
---|
| 555 | </listitem>
|
---|
| 556 |
|
---|
| 557 | <listitem>
|
---|
| 558 | <para>
|
---|
| 559 | <literal>amd</literal> (for AMD Radeon HD 7730 or newer AMD GPUs)
|
---|
| 560 | </para>
|
---|
| 561 | </listitem>
|
---|
| 562 |
|
---|
| 563 | <listitem>
|
---|
| 564 | <para>
|
---|
| 565 | <literal>intel</literal> (for Intel GPUs shipped with Skylake
|
---|
| 566 | or newer CPUs, or as a dedicated PCIe card)
|
---|
| 567 | </para>
|
---|
| 568 | </listitem>
|
---|
| 569 |
|
---|
| 570 | <listitem>
|
---|
| 571 | <para>
|
---|
| 572 | <literal>intel_hasvk</literal> (for Intel GPUs shipped with
|
---|
| 573 | Ivy Bridge, Haswell, or Broadwell CPUs)
|
---|
| 574 | </para>
|
---|
| 575 | </listitem>
|
---|
| 576 |
|
---|
| 577 | <listitem>
|
---|
| 578 | <para>
|
---|
| 579 | <literal>nouveau</literal> (for GTX 16XX, RTX 20XX, or
|
---|
| 580 | newer NVIDIA GPUs)
|
---|
| 581 | </para>
|
---|
| 582 | </listitem>
|
---|
| 583 |
|
---|
| 584 | <listitem>
|
---|
| 585 | <para>
|
---|
[ac1f23de] | 586 | <literal>swrast</literal> (for using the CPU for 3D rasterization)
|
---|
[68df8455] | 587 | Note that it's much slower than using a modern 3D-capable GPU,
|
---|
| 588 | so it should be only used if the GPU is not supported by other
|
---|
[ac1f23de] | 589 | drivers.
|
---|
[68df8455] | 590 | </para>
|
---|
| 591 | </listitem>
|
---|
[5844abce] | 592 |
|
---|
| 593 | <listitem>
|
---|
| 594 | <para>
|
---|
| 595 | <literal>""</literal> (empty list, use
|
---|
[0538ffc] | 596 | <option>-D vulkan-drivers=""</option> if you've not installed and
|
---|
[5844abce] | 597 | you don't plan to install <xref linkend='vulkan-loader'/>)
|
---|
| 598 | </para>
|
---|
| 599 | </listitem>
|
---|
[c833c06] | 600 | </itemizedlist>
|
---|
[d2f50ba] | 601 | </para>
|
---|
[bee072a] | 602 |
|
---|
[eb425b4] | 603 | <para>
|
---|
[68df8455] | 604 | <parameter>-D platforms=...</parameter>: This parameter
|
---|
[bee072a] | 605 | controls which windowing systems will be supported. Available
|
---|
| 606 | linux platforms are x11 and wayland.
|
---|
[eb425b4] | 607 | </para>
|
---|
[bee072a] | 608 |
|
---|
[2993b2f] | 609 | <para>
|
---|
[68df8455] | 610 | <parameter>-D valgrind=disabled</parameter>: This parameter disables
|
---|
[d2f50ba] | 611 | the usage of Valgrind during the build process. Remove this parameter
|
---|
| 612 | if you have Valgrind installed, and wish to check for memory leaks.
|
---|
[2993b2f] | 613 | </para>
|
---|
| 614 |
|
---|
[1edfc914] | 615 | <para>
|
---|
| 616 | <parameter>-D video-codecs=all</parameter>: This parameter enables
|
---|
| 617 | building codecs for video formats covered by third-party patents.
|
---|
| 618 | </para>
|
---|
| 619 |
|
---|
[42117d4e] | 620 | <para>
|
---|
[68df8455] | 621 | <parameter>-D libunwind=disabled</parameter>: This parameter disables
|
---|
[42117d4e] | 622 | the usage of libunwind.
|
---|
| 623 | </para>
|
---|
| 624 |
|
---|
[a07e9eb] | 625 | <para>
|
---|
[68df8455] | 626 | <command>meson configure -D build-tests=true</command>: This command will
|
---|
| 627 | reconfigure the build to set <option>-D build-tests=true</option>, but
|
---|
[adcccac] | 628 | keep the other options specified in the <command>meson setup</command>
|
---|
| 629 | command unchanged. It allows <command>ninja test</command> to build and
|
---|
| 630 | run unit tests.
|
---|
[b4d0b5a] | 631 | </para>
|
---|
| 632 |
|
---|
[3713bc71] | 633 | <para>
|
---|
[68df8455] | 634 | <option>-D egl-native-platform="..."</option>: This parameter
|
---|
[869bf46b] | 635 | controls which Embedded Graphics Library support will be built. Available
|
---|
| 636 | linux options are auto (default), x11, wayland, surfaceless, and drm.
|
---|
[3713bc71] | 637 | </para>
|
---|
| 638 |
|
---|
[371ff30] | 639 | </sect2>
|
---|
| 640 |
|
---|
[868c7c2] | 641 | <sect2 role="content">
|
---|
| 642 | <title>Contents</title>
|
---|
| 643 |
|
---|
| 644 | <segmentedlist>
|
---|
[1263ab1e] | 645 | <segtitle>Installed Programs</segtitle>
|
---|
[42117d4e] | 646 | <segtitle>Installed Libraries</segtitle><!-- in /usr/lib -->
|
---|
[8b5b257a] | 647 | <segtitle>Installed DRI Driver Stubs</segtitle><!-- in /usr/lib/dri -->
|
---|
| 648 | <segtitle>Installed VA-API Drivers</segtitle><!-- in /usr/lib/dri -->
|
---|
[e929885e] | 649 | <segtitle>Installed VDPAU Drivers</segtitle><!-- in /usr/lib/vdpau -->
|
---|
| 650 | <segtitle>Installed Vulkan Drivers</segtitle><!-- in /usr/lib -->
|
---|
[ba2ac60] | 651 | <segtitle>Installed Directories</segtitle>
|
---|
[868c7c2] | 652 |
|
---|
| 653 | <seglistitem>
|
---|
[eb425b4] | 654 | <seg>
|
---|
[b8b314f5] | 655 | glxgears,
|
---|
| 656 | glxinfo,
|
---|
| 657 | mme_fermi_sim_hw_test, and
|
---|
| 658 | mme_tu104_sim_hw_test
|
---|
[eb425b4] | 659 | </seg>
|
---|
[42117d4e] | 660 | <seg>
|
---|
| 661 | libEGL.so,
|
---|
| 662 | libGL.so,
|
---|
| 663 | libGLESv1_CM.so,
|
---|
| 664 | libGLESv2.so,
|
---|
| 665 | libgbm.so,
|
---|
[8b5b257a] | 666 | libglapi.so,
|
---|
| 667 | libgallium-&mesa-version;.so, and
|
---|
[7b9b069] | 668 | libxatracker.so
|
---|
[42117d4e] | 669 | </seg>
|
---|
[eb425b4] | 670 | <seg>
|
---|
[8b5b257a] | 671 | <!-- Begin DRI driver stubs -->
|
---|
| 672 | libdril_dri.so and symlinks to it:
|
---|
[ef936e4] | 673 | crocus_dri.so,
|
---|
[b3f053c5] | 674 | i915_dri.so,
|
---|
[db480be] | 675 | iris_dri.so,
|
---|
[b3f053c5] | 676 | kms_swrast_dri.so,
|
---|
| 677 | nouveau_dri.so,
|
---|
[bee072a] | 678 | r300_dri.so,
|
---|
[d2f50ba] | 679 | r600_dri.so,
|
---|
| 680 | r600_drv_video.so,
|
---|
[b3f053c5] | 681 | radeonsi_dri.so,
|
---|
| 682 | swrast_dri.so,
|
---|
[d2f50ba] | 683 | virtio_gpu_dri.so,
|
---|
[b8b314f5] | 684 | vmwgfx_dri.so, and
|
---|
| 685 | zink_dri.so
|
---|
[8b5b257a] | 686 | <!-- End DRI driver stubs -->
|
---|
| 687 | </seg>
|
---|
| 688 | <seg>
|
---|
| 689 | <!-- Begin VA-API drivers -->
|
---|
| 690 | nouveau_drv_video.so,
|
---|
[9a15f7b1] | 691 | radeonsi_drv_video.so, and
|
---|
[8b5b257a] | 692 | virtio_gpu_drv_video.so,
|
---|
| 693 | <!-- End VA-API drivers -->
|
---|
[e929885e] | 694 | </seg>
|
---|
| 695 | <seg>
|
---|
[e4fbb24] | 696 | <!-- Begin VDPAU drivers -->
|
---|
[d2f50ba] | 697 | libvdpau_nouveau.so,
|
---|
[9a15f7b1] | 698 | libvdpau_r600.so,
|
---|
| 699 | libvdpau_radeonsi.so, and
|
---|
[f7bc172] | 700 | libvdpau_virtio_gpu.so
|
---|
[e4fbb24] | 701 | <!-- End VDPAU drivers -->
|
---|
[ef936e4] | 702 | (Many of these drivers are hard-linked).
|
---|
[eb425b4] | 703 | </seg>
|
---|
[e929885e] | 704 | <seg>
|
---|
| 705 | libvulkan_intel_hasvk.so,
|
---|
| 706 | libvulkan_intel.so,
|
---|
[b8b314f5] | 707 | libvulkan_lvp.so,
|
---|
| 708 | libvulkan_nouveau.so, and
|
---|
[e929885e] | 709 | libvulkan_radeon.so
|
---|
| 710 | </seg>
|
---|
[eb425b4] | 711 | <seg>
|
---|
[869bf46b] | 712 | <!-- $XORG_PREFIX/include/GL is installed by xorg-protos -->
|
---|
| 713 | $XORG_PREFIX/{include/{EGL,GLES,GLES2,GLES3,KHR},
|
---|
[bee072a] | 714 | $XORG_PREFIX/lib/{dri,vdpau}},
|
---|
[d2f50ba] | 715 | $XORG_PREFIX/share/drirc.d (contains workarounds for various applications,
|
---|
[f72bfbe1] | 716 | particularly browsers and games),
|
---|
[e929885e] | 717 | $XORG_PREFIX/share/vulkan,
|
---|
[7b9b069] | 718 | and /usr/share/doc/mesa-&mesa-version;
|
---|
[eb425b4] | 719 | </seg>
|
---|
[868c7c2] | 720 | </seglistitem>
|
---|
| 721 | </segmentedlist>
|
---|
[d3ef1e4] | 722 |
|
---|
[4437f63] | 723 | <variablelist>
|
---|
| 724 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 725 | <?dbfo list-presentation="list"?>
|
---|
| 726 | <?dbhtml list-presentation="table"?>
|
---|
| 727 |
|
---|
| 728 | <varlistentry id="glxgears">
|
---|
[eb50ddde] | 729 | <term><command>glxgears</command></term>
|
---|
[4437f63] | 730 | <listitem>
|
---|
[eb425b4] | 731 | <para>
|
---|
| 732 | is a GL demo useful for troubleshooting graphics
|
---|
[4c24eb0a] | 733 | problems
|
---|
[eb425b4] | 734 | </para>
|
---|
[7a395d1] | 735 | <indexterm zone="mesa glxgears">
|
---|
[4437f63] | 736 | <primary sortas="b-glxgears">glxgears</primary>
|
---|
| 737 | </indexterm>
|
---|
| 738 | </listitem>
|
---|
| 739 | </varlistentry>
|
---|
| 740 |
|
---|
| 741 | <varlistentry id="glxinfo">
|
---|
[eb50ddde] | 742 | <term><command>glxinfo</command></term>
|
---|
[4437f63] | 743 | <listitem>
|
---|
[eb425b4] | 744 | <para>
|
---|
| 745 | is a diagnostic program that displays information about the
|
---|
[4c24eb0a] | 746 | graphics hardware and installed GL libraries
|
---|
[eb425b4] | 747 | </para>
|
---|
[7a395d1] | 748 | <indexterm zone="mesa glxinfo">
|
---|
[4437f63] | 749 | <primary sortas="b-glxinfo">glxinfo</primary>
|
---|
| 750 | </indexterm>
|
---|
| 751 | </listitem>
|
---|
| 752 | </varlistentry>
|
---|
| 753 |
|
---|
[8b5b257a] | 754 | <varlistentry id="libdril_dri">
|
---|
| 755 | <term><filename class='libraryfile'>libdril_dri.so</filename></term>
|
---|
| 756 | <listitem>
|
---|
| 757 | <para>
|
---|
| 758 | is a stub allowing Xorg server to co-operate with the Gallium3D
|
---|
| 759 | drivers
|
---|
| 760 | </para>
|
---|
| 761 | </listitem>
|
---|
| 762 | </varlistentry>
|
---|
| 763 |
|
---|
[25f6d94] | 764 | <varlistentry id="libEGL">
|
---|
[a07e9eb] | 765 | <term><filename class="libraryfile">libEGL.so</filename></term>
|
---|
[25f6d94] | 766 | <listitem>
|
---|
[eb425b4] | 767 | <para>
|
---|
[a07e9eb] | 768 | provides a native platform graphics interface as
|
---|
[4c24eb0a] | 769 | defined by the EGL-1.4 specification
|
---|
[eb425b4] | 770 | </para>
|
---|
[7a395d1] | 771 | <indexterm zone="mesa libEGL">
|
---|
[25f6d94] | 772 | <primary sortas="c-libGL">libEGL.so</primary>
|
---|
| 773 | </indexterm>
|
---|
| 774 | </listitem>
|
---|
| 775 | </varlistentry>
|
---|
| 776 |
|
---|
[a07e9eb] | 777 | <varlistentry id="libgbm">
|
---|
| 778 | <term><filename class="libraryfile">libgbm.so</filename></term>
|
---|
| 779 | <listitem>
|
---|
| 780 | <para>
|
---|
| 781 | is the <application>Mesa</application> Graphics Buffer
|
---|
[4c24eb0a] | 782 | Manager library
|
---|
[a07e9eb] | 783 | </para>
|
---|
[7a395d1] | 784 | <indexterm zone="mesa libgbm">
|
---|
[a07e9eb] | 785 | <primary sortas="c-libgbm">libgbm.so</primary>
|
---|
| 786 | </indexterm>
|
---|
| 787 | </listitem>
|
---|
| 788 | </varlistentry>
|
---|
| 789 |
|
---|
| 790 | <varlistentry id="libGLESv1_CM">
|
---|
| 791 | <term><filename class="libraryfile">libGLESv1_CM.so</filename></term>
|
---|
| 792 | <listitem>
|
---|
| 793 | <para>
|
---|
[4c24eb0a] | 794 | is the <application>Mesa</application> OpenGL ES 1.1 library
|
---|
[a07e9eb] | 795 | </para>
|
---|
[7a395d1] | 796 | <indexterm zone="mesa libGLESv1_CM">
|
---|
[a07e9eb] | 797 | <primary sortas="c-libGLESv1_CM">libGLESv1_CM.so</primary>
|
---|
| 798 | </indexterm>
|
---|
| 799 | </listitem>
|
---|
| 800 | </varlistentry>
|
---|
| 801 |
|
---|
| 802 | <varlistentry id="libGLES2">
|
---|
| 803 | <term><filename class="libraryfile">libGLES2.so</filename></term>
|
---|
| 804 | <listitem>
|
---|
| 805 | <para>
|
---|
[4c24eb0a] | 806 | is the <application>Mesa</application> OpenGL ES 2.0 library
|
---|
[a07e9eb] | 807 | </para>
|
---|
[7a395d1] | 808 | <indexterm zone="mesa libGLES2">
|
---|
[a07e9eb] | 809 | <primary sortas="c-libGLES2">libGLES2.so</primary>
|
---|
| 810 | </indexterm>
|
---|
| 811 | </listitem>
|
---|
| 812 | </varlistentry>
|
---|
| 813 |
|
---|
[ba2ac60] | 814 | <varlistentry id="libGL">
|
---|
[a07e9eb] | 815 | <term><filename class="libraryfile">libGL.so</filename></term>
|
---|
[ba2ac60] | 816 | <listitem>
|
---|
[eb425b4] | 817 | <para>
|
---|
[4c24eb0a] | 818 | is the main <application>Mesa</application> OpenGL library
|
---|
[eb425b4] | 819 | </para>
|
---|
[7a395d1] | 820 | <indexterm zone="mesa libGL">
|
---|
[ba2ac60] | 821 | <primary sortas="c-libGL">libGL.so</primary>
|
---|
| 822 | </indexterm>
|
---|
| 823 | </listitem>
|
---|
| 824 | </varlistentry>
|
---|
[bee072a] | 825 |
|
---|
[8b5b257a] | 826 | <varlistentry id="libgallium">
|
---|
| 827 | <term><filename class='libraryfile'>libgallium-&mesa-version;.so</filename></term>
|
---|
| 828 | <listitem>
|
---|
| 829 | <para>
|
---|
| 830 | contains all the Gallium3D drivers
|
---|
| 831 | </para>
|
---|
| 832 | </listitem>
|
---|
| 833 | </varlistentry>
|
---|
| 834 |
|
---|
[4437f63] | 835 | </variablelist>
|
---|
| 836 |
|
---|
[868c7c2] | 837 | </sect2>
|
---|
[d3ef1e4] | 838 |
|
---|
[868c7c2] | 839 | </sect1>
|
---|