Changeset 68df8455
- Timestamp:
- 06/14/2024 10:48:08 AM (4 months ago)
- Branches:
- 12.2, gimp3, lazarus, trunk, xry111/for-12.3, xry111/spidermonkey128
- Children:
- c9b65a3d, ebffd4b
- Parents:
- c7bab5e
- git-author:
- Xi Ruoyao <xry111@…> (06/14/2024 10:40:28 AM)
- git-committer:
- Xi Ruoyao <xry111@…> (06/14/2024 10:48:08 AM)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
x/installing/mesa.xml
rc7bab5e r68df8455 137 137 <listitem> 138 138 <para> 139 <xref linkend="libclc"/> and <xref linkend="ply"/> (required for 140 the Intel drivers) 139 <xref linkend="libclc"/> (required for the Intel iris 140 gallium driver) 141 </para> 142 </listitem> 143 <listitem> 144 <para> 145 <xref linkend="ply"/> (required for the Intel vulkan driver) 141 146 </para> 142 147 </listitem> … … 144 149 <para> 145 150 <xref linkend="cbindgen"/> and <xref linkend="rust-bindgen"/> 146 (required for the swrast Vulkan driver and the Nouveaudriver)151 (required for the Nouveau Vulkan driver) 147 152 </para> 148 153 </listitem> … … 165 170 have. In some cases it is built into the CPU. In others is is a 166 171 separate PCI card. In either case you can tell what video hardware you 167 have by running: 168 </para> 169 170 <para> 171 <command>lspci | grep VGA</command> 172 </para> 172 have by installing <xref linkend='pciutils'/> and running: 173 </para> 174 175 <screen role='nodump'><userinput>lspci | grep VGA</userinput></screen> 173 176 174 177 <para> 175 178 The video device is most likely one of three families: AMD, Intel, or 176 Nvidia. See the Command Explanations for 'gallium-drivers' below to 179 Nvidia. See the Command Explanations for 180 <parameter>-D gallium-drivers=auto</parameter> below to 177 181 see what options are available for your specific video hardware (or 178 182 emulated video hardware). You should probably add the swrast option as … … 193 197 OpenGL for rendering video on the GPU. If you do not want to do this 194 198 you may or may not want to install them. 199 See the Command Explanations for 200 <parameter>-D vulkan-drivers=auto</parameter> below to 201 see what options are available for your specific video hardware (or 202 emulated video hardware). You should probably add the swrast option 203 as a backup driver unless you don't need Vulkan at all. 195 204 </para> 196 205 </note> … … 381 390 <para> 382 391 To test the results, issue: 383 <command>meson configure -D build-tests=true && ninja test</command>.392 <command>meson configure -D build-tests=true && ninja test</command>. 384 393 </para> 385 394 <!-- All 88 tests passed for me for 22.3.3 [pierre] … … 418 427 <para> 419 428 <anchor id='mesa-gallium-drivers' xreflabel='Mesa Gallium3D Drivers'/> 420 <parameter>-D gallium-drivers=auto</parameter>: This parameter429 <parameter>-D gallium-drivers=auto</parameter>: This parameter 421 430 controls which Gallium3D drivers should be built: 422 431 … … 425 434 <para> 426 435 <literal>auto</literal> selects all Gallium3D drivers available 427 for x86. With a comma-separated list, only a subset of these 436 for x86. With a comma-separated list, only a subset of these 428 437 drivers will be built. If you precisely know which drivers you 429 need, you can build. for example.430 <option>-D gallium-drivers=radeonsi,iris,swrast</option>.438 need, you can select them explicitly. for example. 439 <option>-D gallium-drivers=radeonsi,iris,swrast</option>. 431 440 </para> 432 441 </listitem> … … 479 488 <para> 480 489 <literal>iris</literal> (for Intel GPUs shipped with Broadwell 481 or newer CPUs )490 or newer CPUs, or as a dedicated PCIe card) 482 491 </para> 483 492 </listitem> … … 495 504 </para> 496 505 </listitem> 506 <listitem> 507 <para> 508 <literal>zink</literal> (using Vulkan to implement OpenGL, 509 it's not very useful on x86 as at now but it may replace other 510 drivers for modern GPU models in the future) 511 </para> 512 </listitem> 497 513 </itemizedlist> 498 514 </para> 499 515 500 516 <para> 501 <parameter>-Dplatforms=...</parameter>: This parameter 517 <parameter>-D vulkan-drivers=auto</parameter>: This parameter 518 controls which Gallium3D drivers should be built: 519 520 <itemizedlist spacing="compact"> 521 <listitem> 522 <para> 523 <literal>auto</literal> selects all Vulkan drivers available 524 for x86. With a comma-separated list, only a subset of these 525 drivers will be built. If you precisely know which drivers you 526 need, you can select them explicitly. for example. 527 <option>-D gallium-drivers=amd,nouveau,swrast</option>. 528 </para> 529 </listitem> 530 531 <listitem> 532 <para> 533 <literal>amd</literal> (for AMD Radeon HD 7730 or newer AMD GPUs) 534 </para> 535 </listitem> 536 537 <listitem> 538 <para> 539 <literal>intel</literal> (for Intel GPUs shipped with Skylake 540 or newer CPUs, or as a dedicated PCIe card) 541 </para> 542 </listitem> 543 544 <listitem> 545 <para> 546 <literal>intel_hasvk</literal> (for Intel GPUs shipped with 547 Ivy Bridge, Haswell, or Broadwell CPUs) 548 </para> 549 </listitem> 550 551 <listitem> 552 <para> 553 <literal>nouveau</literal> (for GTX 16XX, RTX 20XX, or 554 newer NVIDIA GPUs) 555 </para> 556 </listitem> 557 558 <listitem> 559 <para> 560 <literal>swrast</literal> (using CPU for 3D rasterisation. 561 Note that it's much slower than using a modern 3D-capable GPU, 562 so it should be only used if the GPU is not supported by other 563 drivers) 564 </para> 565 </listitem> 566 </itemizedlist> 567 </para> 568 569 <para> 570 <parameter>-D platforms=...</parameter>: This parameter 502 571 controls which windowing systems will be supported. Available 503 572 linux platforms are x11 and wayland. … … 505 574 506 575 <para> 507 <parameter>-D vulkan-drivers=auto</parameter>: This switch enables support576 <parameter>-D vulkan-drivers=auto</parameter>: This switch enables support 508 577 for the Vulkan graphics API. It automatically builds all graphics drivers 509 578 that are available for Vulkan. If you wish to build specific drivers, … … 514 583 515 584 <para> 516 <parameter>-D valgrind=disabled</parameter>: This parameter disables585 <parameter>-D valgrind=disabled</parameter>: This parameter disables 517 586 the usage of Valgrind during the build process. Remove this parameter 518 587 if you have Valgrind installed, and wish to check for memory leaks. … … 520 589 521 590 <para> 522 <parameter>-D libunwind=disabled</parameter>: This parameter disables591 <parameter>-D libunwind=disabled</parameter>: This parameter disables 523 592 the usage of libunwind. 524 593 </para> 525 594 526 595 <para> 527 <command>meson configure -D build-tests=true</command>: This command will528 reconfigure the build to set <option>-D build-tests=true</option>, but596 <command>meson configure -D build-tests=true</command>: This command will 597 reconfigure the build to set <option>-D build-tests=true</option>, but 529 598 keep the other options specified in the <command>meson setup</command> 530 599 command unchanged. It allows <command>ninja test</command> to build and … … 533 602 534 603 <para> 535 <option>-D egl-native-platform="..."</option>: This parameter604 <option>-D egl-native-platform="..."</option>: This parameter 536 605 controls which Embedded Graphics Library support will be built. Available 537 606 linux options are auto (default), x11, wayland, surfaceless, and drm.
Note:
See TracChangeset
for help on using the changeset viewer.