Changes in x/installing/mesa.xml [d628802:959291f]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
x/installing/mesa.xml
rd628802 r959291f 7 7 <!ENTITY mesa-download-http "https://mesa.freedesktop.org/archive/mesa-&mesa-version;.tar.xz"> 8 8 <!ENTITY mesa-download-ftp "ftp://ftp.freedesktop.org/pub/mesa/mesa-&mesa-version;.tar.xz"> 9 <!ENTITY mesa-md5sum " d6efe1ecc0680cd1adb942f05600d884">9 <!ENTITY mesa-md5sum "f299f32fc3f48db392b12cdfd83fa4fd"> 10 10 <!ENTITY mesa-size "16 MB"> 11 <!ENTITY mesa-buildsize " 588 MB (with docs, add 389MB for tests)">12 <!ENTITY mesa-time " 3.4 SBU (Using parallelism=4; with docs, add 0.6SBU for tests)">11 <!ENTITY mesa-buildsize "372 MB (with docs, add 284 MB for tests)"> 12 <!ENTITY mesa-time "2.2 SBU (Using parallelism=4; with docs, add 0.5 SBU for tests)"> 13 13 ]> 14 14 … … 16 16 <?dbhtml filename="mesa.html"?> 17 17 18 <sect1info>19 <date>$Date$</date>20 </sect1info>21 18 22 19 <title>Mesa-&mesa-version;</title> … … 41 38 </note> 42 39 43 &lfs11 0a_checked;40 &lfs112_checked; 44 41 45 42 <bridgehead renderas="sect3">Package Information</bridgehead> … … 84 81 <ulink url="&patch-root;/mesa-&mesa-version;-add_xdemos-1.patch"/> 85 82 (installs 2 demo programs for testing Mesa - not needed if you 86 install the <ulink url=" ftp://ftp.freedesktop.org/pub/mesa/demos/">83 install the <ulink url="https://archive.mesa3d.org/demos/"> 87 84 mesa-demos</ulink> package) 88 85 </para> … … 106 103 build <application>libva</application> first without EGL and GLX support, 107 104 install this package, and rebuild <application>libva</application>), 105 108 106 <xref linkend="libvdpau"/> (to build VDPAU drivers), 109 <xref linkend="llvm"/> (required for Gallium3D, nouveau, r300, and radeonsi 107 108 <xref linkend="llvm"/> (required for Gallium3D, nouveau, and radeonsi 110 109 drivers and for swrast, the software rasterizer which is sometimes referred 111 110 to as llvmpipe. See <ulink role="nodep" 112 111 url="https://docs.mesa3d.org/systems.html"/> for more information), and 112 113 113 <xref linkend="wayland-protocols"/> (required for 114 114 <xref role="nodep" linkend='plasma5-build'/>, 115 <!-- <xref role="nodep" linkend='lxqt'/>, --> 116 GNOME, and recommended for <xref role="nodep" linkend='gtk3'/>) 115 GNOME, and recommended for <xref role="nodep" linkend='gtk3'/>) 117 116 </para> 118 117 … … 120 119 <para role="optional"> 121 120 <xref linkend="libgcrypt"/>, 121 <xref linkend="libunwind"/>, 122 122 <xref linkend="lm_sensors"/> <!-- for libsensors according to Meson -->, 123 123 <xref linkend="nettle"/>, 124 124 <xref linkend="valgrind"/>, 125 <ulink url=" ftp://ftp.freedesktop.org/pub/mesa/demos/">mesa-demos</ulink>125 <ulink url="https://archive.mesa3d.org/demos/">mesa-demos</ulink> 126 126 (provides more than 300 extra demos to test 127 127 <application>Mesa</application>; this includes the same programs added by … … 129 129 <ulink url="http://omxil.sourceforge.net/">Bellagio OpenMAX Integration 130 130 Layer</ulink> (for mobile platforms), 131 <ulink url="http://www.nongnu.org/libunwind/">libunwind</ulink>, 131 <ulink url="https://github.com/KhronosGroup/glslang">glslang</ulink> 132 (for vulkan drivers), 132 133 <ulink url="https://github.com/tizonia/tizonia-openmax-il/wiki/Tizonia-OpenMAX-IL/"> 133 134 libtizonia</ulink>, and 134 <ulink url="https://www.vulkan.org/">libvulkan</ulink> (for the zink driver)135 </para> 136 135 <ulink url="https://www.vulkan.org/">libvulkan</ulink> 136 </para> 137 <!-- 137 138 <note> 138 139 <para> … … 145 146 </para> 146 147 </note> 147 148 --> 148 149 <para condition="html" role="usernotes">User Notes: 149 150 <ulink url="&blfs-wiki;/mesalib"/> … … 167 168 freedreno is for qualcom hardware, libdrm will build for it on suitable 168 169 systems. VC4 is for the Broadcom VC4 used in the raspberry pi - ken --> 169 170 <!-- 170 171 <note> 171 172 <para> … … 187 188 (you will need a freedesktop.org account to get to that page, you can 188 189 download the 0.9.1 release without an account from 189 <ulink url="https://gitlab.freedesktop.org/virgl/virglrenderer/-/archive/0.9.1/virglrenderer-0.9.1.tar.bz2">virglrenderer-0.9.1</ulink>). 190 <ulink url="https://gitlab.freedesktop.org/virgl/virglrenderer/-/archive/0.9.1/virglrenderer-0.9.1.tar.bz2">virglrenderer-0.9.1</ulink>).--> 191 190 192 <!-- If you wish to build all available gallium drivers, 191 193 use 'auto'. FIXME : does not build crocus in 21.2.1 --> 192 194 193 195 <!-- crocus was added to the default x86/x86_64 drivers for meson in the 194 master branch on 2021-08-31, at some point it will appear in a stable release --> 195 </para> 196 196 master branch on 2021-08-31, at some point it will appear in a stable release 197 </para> 198 --> 199 <!-- 197 200 <para> 198 201 The (non-gallium) DRI drivers available in X86 are auto, <emphasis>or … … 204 207 <para> 205 208 The platforms ("window systems") available for X86 linux are x11, wayland, 206 <!--drm,-->and surfaceless. By not specifying anything, the meson209 drm, and surfaceless. By not specifying anything, the meson 207 210 build-system will build for all these platforms if you have the 208 211 dependencies, identical to if you had specified '-Dplatforms=auto'. … … 213 216 below will cover most modern video cards and virtual machines. For help in 214 217 selecting drivers see <ulink url="https://docs.mesa3d.org/systems.html"/>. 218 --> 215 219 <!-- these two don't seem to be mentioned in that mesa link --> 220 <!-- 216 221 For intel drivers, specify crocus for i965 gen 4 through to haswell, iris 217 222 for broadwell and later. … … 227 232 <screen><userinput>GALLIUM_DRV="crocus,i915,iris,nouveau,r600,radeonsi,svga,swrast,virgl" 228 233 DRI_DRIVERS="i965,nouveau"</userinput></screen> 234 --> 229 235 230 236 <para> … … 236 242 cd build && 237 243 238 meson --prefix=$XORG_PREFIX \ 239 --buildtype=release \ 240 -Ddri-drivers=$DRI_DRIVERS \ 241 -Dgallium-drivers=$GALLIUM_DRV \ 242 -Dgallium-nine=false \ 243 -Dglx=dri \ 244 -Dvalgrind=disabled \ 245 -Dlibunwind=disabled \ 246 .. && 247 248 unset GALLIUM_DRV DRI_DRIVERS && 249 244 meson --prefix=$XORG_PREFIX \ 245 --buildtype=release \ 246 -Dplatforms=x11,wayland \ 247 -Dgallium-drivers=auto \ 248 -Dvulkan-drivers="" \ 249 -Dvalgrind=disabled \ 250 -Dlibunwind=disabled \ 251 .. && 252 <!-- Removed for 22.2.1: seems to be the default -Dglx=dri \ --> 250 253 ninja</userinput></screen> 251 254 … … 253 256 If you built the tests (see 'Command Explanations'), to run them issue: 254 257 <command>ninja test</command>. 258 </para> 255 259 <!-- All tests passed for me for 21.2.4 [pierre] 256 All 33 subtests tests in the mesa:compiler+glsl / glsl compiler warnings 257 suite are known to fail.--> 258 </para> 260 All 33 subtests tests in the mesa:compiler+glsl / glsl compiler warnings 261 suite are known to fail. 262 263 For 22.1.0: 264 Ok: 74 265 Expected Fail: 0 266 Fail: 0 267 Unexpected Pass: 0 268 Skipped: 0 269 Timeout: 0 270 --> 259 271 260 272 <para> … … 287 299 288 300 <para> 289 <parameter>-Ddri-drivers="..."</parameter>: This parameter290 controls which (non-gallium) dri drivers should be built.291 </para>292 293 <para>294 301 <parameter>-Dgallium-drivers="..."</parameter>: This parameter 295 302 controls which Gallium3D drivers should be built. 296 </para>297 298 <para>299 <parameter>-Dgallium-nine=false</parameter>: Prevents building300 support for (MS Windows) games designed for DX9. Set it to true if301 this support is desired.302 303 </para> 303 304 <!-- … … 308 309 </para> 309 310 --> 310 <!-- 311 311 312 <para> 312 313 <parameter>-Dplatforms="..."</parameter>: This parameter 313 controls which platforms EGL will be built for. Available 314 linux X86 platforms are drm, x11, wayland, and surfaceless. 315 </para> 316 --> 314 controls which windowing systems will be supported. Available 315 linux platforms are x11 and wayland. 316 </para> 317 318 <para> 319 <parameter>-Dvulkan-drivers=""</parameter>: This switch allows choosing 320 which Vulkan drivers are built. The default is auto, but this requires 321 the optional dependency <filename>glslang</filename>. So it is better 322 to pass an empty list, in order to remove the need for that 323 dependency. Nothing in BLFS uses Vulkan anyway. 324 </para> 325 317 326 <para> 318 327 <parameter>-Dvalgrind=disabled</parameter>: This parameter disables … … 326 335 </para> 327 336 328 <!-- 329 <para> 330 <parameter>- -enable-xa</parameter>: This switch enables building the 331 XA X Acceleration API (Required for VMware 3D Driver). 332 </para> 333 334 <para> 335 <parameter>- -enable-gbm</parameter>: This switch enables building the 336 <application>Mesa</application> Graphics Buffer Manager library. 337 </para> 338 These two seem to be automatic in 19.0 - ken 339 340 <para> 341 <parameter>- -enable-glx-tls</parameter>: This switch enables TLS (Thread Local 342 Storage) support in GLX. 343 </para> 344 --> 345 <para> 346 <option>-Dbuild-tests=true</option>: This option will cause the test code 347 to be enabled. To run the tests, issue: <command>ninja test</command>. 348 </para> 349 350 <para> 351 <option>-Dvulkan-drivers=...</option>: This option allows choosing which 352 Vulkan drivers are built. Since those drivers depend on the 353 corresponding Gallium3D drivers, do not enable drivers that are not 354 enabled in Gallium3D drivers. Furthermore, since BLFS does not use 355 Vulkan, it is safe to leave the list of Vulkan drivers empty. 337 <para> 338 <option>-Dbuild-tests=true</option>: This switch will cause the test code 339 to be enabled. 340 </para> 341 342 <para> 343 <option>-Degl-native-platform="..."</option>: This parameter 344 controls which Embedded Graphics Library support will be built. Available 345 linux options are auto (default), x11, wayland, surfaceless, and drm. 356 346 </para> 357 347 … … 376 366 libGLESv1_CM.so, 377 367 libGLESv2.so, 378 <!-- libOSMesa.so,-->379 368 libXvMCnouveau.so, 380 369 libXvMCr600.so, 381 370 libgbm.so, 382 libglapi.so, 383 <!-- Begin Vulkan drivers --> 384 libvulkan_intel.so, 385 libvulkan_lvp.so, 386 libvulkan_radeon.so, and 387 <!-- End Vulkan drivers --> 388 libxatracker.so, 371 libglapi.so, and 372 libxatracker.so 389 373 </seg> 390 374 <seg> 391 375 <!-- Begin gallium DRI drivers : this is the full set --> 392 d3dadapter9.so (optional), <!--For Windows games. This is DirectX's376 <!-- d3dadapter9.so (optional), For Windows games. This is DirectX's 393 377 Direct3D --> 394 378 crocus_dri.so, 395 <!-- i830_dri.so,-->396 379 i915_dri.so, 397 i965_dri.so,398 380 iris_dri.so, 399 381 kms_swrast_dri.so, 400 382 nouveau_dri.so, 401 383 nouveau_drv_video.so, 402 nouveau_vieux_dri.so, 403 r200_dri.so (optional), 404 r300_dri.so (optional), 384 r300_dri.so, 405 385 r600_dri.so, 406 386 r600_drv_video.so, 407 radeon_dri.so (optional),408 387 radeonsi_dri.so, 409 388 radeonsi_drv_video.so, … … 414 393 <!-- Begin VDPAU drivers --> 415 394 libvdpau_nouveau.so, 416 libvdpau_r300.so (optional),395 libvdpau_r300.so 417 396 libvdpau_r600.so, and 418 397 libvdpau_radeonsi.so … … 421 400 </seg> 422 401 <seg> 423 $XORG_PREFIX/{include/{EGL,GL,GLES,GLES2,GLES3,KHR},lib/{dri,vdpau}},424 $XORG_PREFIX/ include/d3adapter (optional),425 $XORG_PREFIX/lib/ d3d (optional),402 <!-- $XORG_PREFIX/include/GL is installed by xorg-protos --> 403 $XORG_PREFIX/{include/{EGL,GLES,GLES2,GLES3,KHR}, 404 $XORG_PREFIX/lib/{dri,vdpau}}, 426 405 $XORG_PREFIX/share/drirc.d (contains workarounds for various applications, 427 406 particularly browsers and games), 428 $XORG_PREFIX/share/vulkan/icd.d, 429 and 430 /usr/share/doc/mesa-&mesa-version; (optional) 407 and /usr/share/doc/mesa-&mesa-version; 431 408 </seg> 432 409 </seglistitem> … … 525 502 </listitem> 526 503 </varlistentry> 527 <!-- 528 <varlistentry id="libOSMesa"> 529 <term><filename class="libraryfile">libOSMesa.so</filename></term> 530 <listitem> 531 <para> 532 is the <application>Mesa</application> Off-screen Rendering library 533 </para> 534 <indexterm zone="mesa libOSMesa"> 535 <primary sortas="c-libOSMesa">libOSMesa.so</primary> 536 </indexterm> 537 </listitem> 538 </varlistentry> 539 --> 504 540 505 </variablelist> 541 506
Note:
See TracChangeset
for help on using the changeset viewer.