Changeset bee072a for x/installing
- Timestamp:
- 05/31/2022 05:38:37 AM (2 years ago)
- Branches:
- 11.2, 11.3, 12.0, 12.1, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, xry111/llvm18, xry111/soup3, xry111/xf86-video-removal
- Children:
- 9dc1c31
- Parents:
- 5a7d1382
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
x/installing/mesa.xml
r5a7d1382 rbee072a 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 " 689d32b071b10520a54d78267a2edcf7">10 <!ENTITY mesa-size "1 6MB">11 <!ENTITY mesa-buildsize " 674 MB (with docs, add 380MB for tests)">12 <!ENTITY mesa-time " 3.5SBU (Using parallelism=4; with docs, add 0.5 SBU for tests)">9 <!ENTITY mesa-md5sum "d0342bd53a6c04dddd953f0a9cfa92cc"> 10 <!ENTITY mesa-size "15 MB"> 11 <!ENTITY mesa-buildsize "419 MB (with docs, add 375 MB for tests)"> 12 <!ENTITY mesa-time "2.8 SBU (Using parallelism=4; with docs, add 0.5 SBU for tests)"> 13 13 ]> 14 14 … … 88 88 </para> 89 89 </listitem> 90 <listitem>91 <para>92 Required patch (for systems with NVIDIA GPUs):93 <ulink url="&patch-root;/mesa-&mesa-version;-nouveau_fixes-1.patch"/>94 </para>95 </listitem>96 90 </itemizedlist> 97 91 … … 112 106 build <application>libva</application> first without EGL and GLX support, 113 107 install this package, and rebuild <application>libva</application>), 108 114 109 <xref linkend="libvdpau"/> (to build VDPAU drivers), 115 <xref linkend="llvm"/> (required for Gallium3D, nouveau, r300, and radeonsi 110 111 <xref linkend="llvm"/> (required for Gallium3D, nouveau, and radeonsi 116 112 drivers and for swrast, the software rasterizer which is sometimes referred 117 113 to as llvmpipe. See <ulink role="nodep" 118 114 url="https://docs.mesa3d.org/systems.html"/> for more information), and 115 119 116 <xref linkend="wayland-protocols"/> (required for 120 117 <xref role="nodep" linkend='plasma5-build'/>, 121 <!-- <xref role="nodep" linkend='lxqt'/>, --> 122 GNOME, and recommended for <xref role="nodep" linkend='gtk3'/>) 118 GNOME, and recommended for <xref role="nodep" linkend='gtk3'/>) 123 119 </para> 124 120 … … 138 134 <ulink url="https://github.com/tizonia/tizonia-openmax-il/wiki/Tizonia-OpenMAX-IL/"> 139 135 libtizonia</ulink>, and 140 <ulink url="https://www.vulkan.org/">libvulkan</ulink> (for the zink driver)141 </para> 142 136 <ulink url="https://www.vulkan.org/">libvulkan</ulink> 137 </para> 138 <!-- 143 139 <note> 144 140 <para> … … 151 147 </para> 152 148 </note> 153 149 --> 154 150 <para condition="html" role="usernotes">User Notes: 155 151 <ulink url="&blfs-wiki;/mesalib"/> … … 173 169 freedreno is for qualcom hardware, libdrm will build for it on suitable 174 170 systems. VC4 is for the Broadcom VC4 used in the raspberry pi - ken --> 175 171 <!-- 176 172 <note> 177 173 <para> … … 193 189 (you will need a freedesktop.org account to get to that page, you can 194 190 download the 0.9.1 release without an account from 195 <ulink url="https://gitlab.freedesktop.org/virgl/virglrenderer/-/archive/0.9.1/virglrenderer-0.9.1.tar.bz2">virglrenderer-0.9.1</ulink>). 191 <ulink url="https://gitlab.freedesktop.org/virgl/virglrenderer/-/archive/0.9.1/virglrenderer-0.9.1.tar.bz2">virglrenderer-0.9.1</ulink>).--> 192 196 193 <!-- If you wish to build all available gallium drivers, 197 194 use 'auto'. FIXME : does not build crocus in 21.2.1 --> 198 195 199 196 <!-- crocus was added to the default x86/x86_64 drivers for meson in the 200 master branch on 2021-08-31, at some point it will appear in a stable release --> 201 </para> 202 197 master branch on 2021-08-31, at some point it will appear in a stable release 198 </para> 199 --> 200 <!-- 203 201 <para> 204 202 The (non-gallium) DRI drivers available in X86 are auto, <emphasis>or … … 210 208 <para> 211 209 The platforms ("window systems") available for X86 linux are x11, wayland, 212 <!--drm,-->and surfaceless. By not specifying anything, the meson210 drm, and surfaceless. By not specifying anything, the meson 213 211 build-system will build for all these platforms if you have the 214 212 dependencies, identical to if you had specified '-Dplatforms=auto'. … … 219 217 below will cover most modern video cards and virtual machines. For help in 220 218 selecting drivers see <ulink url="https://docs.mesa3d.org/systems.html"/>. 219 --> 221 220 <!-- these two don't seem to be mentioned in that mesa link --> 221 <!-- 222 222 For intel drivers, specify crocus for i965 gen 4 through to haswell, iris 223 223 for broadwell and later. … … 233 233 <screen><userinput>GALLIUM_DRV="crocus,i915,iris,nouveau,r600,radeonsi,svga,swrast,virgl" 234 234 DRI_DRIVERS="i965,nouveau"</userinput></screen> 235 236 <note> 237 <para> 238 If you are using a NVIDIA GPU in your system, a special patch has been 239 created that allows for proper multi-threading in the Mesa driver. This 240 fixes issues with multi-threaded Qt applications, as well as with 241 starting some GNOME Applications. This patch is also essential if you 242 plan to use KDE Plasma. 243 244 Apply the patch using the following command: 245 </para> 246 247 <screen><userinput remap="pre">patch -Np1 -i ../mesa-&mesa-version;-nouveau_fixes-1.patch</userinput></screen> 248 </note> 235 --> 249 236 250 237 <para> … … 256 243 cd build && 257 244 258 meson --prefix=$XORG_PREFIX \ 259 --buildtype=release \ 260 -Ddri-drivers=$DRI_DRIVERS \ 261 -Dgallium-drivers=$GALLIUM_DRV \ 262 -Dgallium-nine=false \ 263 -Dglx=dri \ 264 -Dvalgrind=disabled \ 265 -Dlibunwind=disabled \ 266 .. && 267 268 unset GALLIUM_DRV DRI_DRIVERS && 245 meson --prefix=$XORG_PREFIX \ 246 --buildtype=release \ 247 -Dplatforms=x11,wayland \ 248 -Dgallium-drivers=auto \ 249 -Dglx=dri \ 250 -Dvalgrind=disabled \ 251 -Dlibunwind=disabled \ 252 .. && 269 253 270 254 ninja</userinput></screen> … … 272 256 <para> 273 257 If you built the tests (see 'Command Explanations'), to run them issue: 274 <command>ninja test</command>. One test,275 <application>mesa: intel/anv_state_pool</application>, is known to fail.258 <command>ninja test</command>. 259 </para> 276 260 <!-- All tests passed for me for 21.2.4 [pierre] 277 All 33 subtests tests in the mesa:compiler+glsl / glsl compiler warnings 278 suite are known to fail.--> 279 </para> 261 All 33 subtests tests in the mesa:compiler+glsl / glsl compiler warnings 262 suite are known to fail. 263 264 For 22.1.0: 265 Ok: 74 266 Expected Fail: 0 267 Fail: 0 268 Unexpected Pass: 0 269 Skipped: 0 270 Timeout: 0 271 --> 280 272 281 273 <para> … … 306 298 switch, build sizes can span into the 2GB range. 307 299 </para> 308 300 <!-- 309 301 <para> 310 302 <parameter>-Ddri-drivers="..."</parameter>: This parameter 311 303 controls which (non-gallium) dri drivers should be built. 312 304 </para> 313 305 --> 314 306 <para> 315 307 <parameter>-Dgallium-drivers="..."</parameter>: This parameter … … 317 309 </para> 318 310 319 <para>320 <parameter>-Dgallium-nine=false</parameter>: Prevents building321 support for (MS Windows) games designed for DX9. Set it to true if322 this support is desired.323 </para>324 311 <!-- 325 312 <para> … … 329 316 </para> 330 317 --> 331 <!-- 318 332 319 <para> 333 320 <parameter>-Dplatforms="..."</parameter>: This parameter 334 controls which platforms EGL will be built for. Available 335 linux X86 platforms are drm, x11, wayland, and surfaceless. 336 </para> 337 --> 321 controls which windowing systems will be supported. Available 322 linux platforms are x11 and wayland. 323 </para> 324 325 <para> 326 <parameter>-Degl-native-platform="..."</parameter>: This parameter 327 controls which Embedded Graphics Library support will be built. Available 328 linux options are auto (default), x11, wayland, surfaceless, and drm. 329 </para> 330 338 331 <para> 339 332 <parameter>-Dvalgrind=disabled</parameter>: This parameter disables … … 347 340 </para> 348 341 349 <!--350 <para>351 <parameter>- -enable-xa</parameter>: This switch enables building the352 XA X Acceleration API (Required for VMware 3D Driver).353 </para>354 355 <para>356 <parameter>- -enable-gbm</parameter>: This switch enables building the357 <application>Mesa</application> Graphics Buffer Manager library.358 </para>359 These two seem to be automatic in 19.0 - ken360 361 <para>362 <parameter>- -enable-glx-tls</parameter>: This switch enables TLS (Thread Local363 Storage) support in GLX.364 </para>365 -->366 342 <para> 367 343 <option>-Dbuild-tests=true</option>: This option will cause the test code 368 to be enabled. To run the tests, issue: <command>ninja test</command>.344 to be enabled. 369 345 </para> 370 346 371 347 <para> 372 348 <option>-Dvulkan-drivers=...</option>: This option allows choosing which 373 Vulkan drivers are built. Since those drivers depend on the374 corresponding Gallium3D drivers, do not enable drivers that are not375 enabled in Gallium3D drivers. Furthermore, since BLFS does not use376 Vulkan, it is safe to leave the list of Vulkan drivers empty.349 Vulkan drivers are built. 350 Since BLFS does not use 351 Vulkan, it is safe to leave the list of Vulkan drivers empty. The default 352 is auto. 377 353 </para> 378 354 … … 397 373 libGLESv1_CM.so, 398 374 libGLESv2.so, 399 <!-- libOSMesa.so,-->400 375 libXvMCnouveau.so, 401 376 libXvMCr600.so, … … 416 391 <!-- i830_dri.so,--> 417 392 i915_dri.so, 418 i965_dri.so,419 393 iris_dri.so, 420 394 kms_swrast_dri.so, 421 395 nouveau_dri.so, 422 396 nouveau_drv_video.so, 423 nouveau_vieux_dri.so, 424 r200_dri.so (optional), 425 r300_dri.so (optional), 397 r300_dri.so, 426 398 r600_dri.so, 427 399 r600_drv_video.so, 428 radeon_dri.so (optional),400 radeon_dri.so, 429 401 radeonsi_dri.so, 430 402 radeonsi_drv_video.so, … … 442 414 </seg> 443 415 <seg> 444 $XORG_PREFIX/{include/{EGL,GL,GLES,GLES2,GLES3,KHR},lib/{dri,vdpau}}, 416 $XORG_PREFIX/{include/{EGL,GL,GLES,GLES2,GLES3,KHR}, 417 $XORG_PREFIX/lib/{dri,vdpau}}, 445 418 $XORG_PREFIX/include/d3adapter (optional), 446 419 $XORG_PREFIX/lib/d3d (optional), … … 449 422 $XORG_PREFIX/share/vulkan, 450 423 and 451 /usr/share/doc/mesa-&mesa-version; (optional)424 /usr/share/doc/mesa-&mesa-version; 452 425 </seg> 453 426 </seglistitem> … … 546 519 </listitem> 547 520 </varlistentry> 548 <!-- 549 <varlistentry id="libOSMesa"> 550 <term><filename class="libraryfile">libOSMesa.so</filename></term> 551 <listitem> 552 <para> 553 is the <application>Mesa</application> Off-screen Rendering library 554 </para> 555 <indexterm zone="mesa libOSMesa"> 556 <primary sortas="c-libOSMesa">libOSMesa.so</primary> 557 </indexterm> 558 </listitem> 559 </varlistentry> 560 --> 521 561 522 </variablelist> 562 523
Note:
See TracChangeset
for help on using the changeset viewer.