Mesa: Difference between revisions

Explain how to override the Mesa package.
amend the Intel Xe note for Mesa >25.1.0
 
(One intermediate revision by one other user not shown)
Line 79: Line 79:
   else throw "Unsupported platform: this derivation only supports Linux/Darwin"
   else throw "Unsupported platform: this derivation only supports Linux/Darwin"
</syntaxhighlight>
</syntaxhighlight>
== Intel Xe Driver Warning Spam ==
If you're using the Intel Xe driver you may end up getting a lot of <code>MESA: warning: Support for this platform is experimental with Xe KMD, bug reports may be ignored.</code> messages spam in your console when running various tools. You can disable this spam by setting the [https://docs.mesa3d.org/envvars.html MESA_LOG_FILE] environment variable to some file location (like <code>/dev/null</code>). To make the change permanent you could add it to your <code>environment.variables</code> attribute set in your nix config. The downside to this approach is that you won't see legitimate Mesa warnings or errors on your console afterwards.
Starting with [https://docs.mesa3d.org/relnotes/25.1.0.html Mesa 25.1.0], you can suppress the warning with <code>INTEL_XE_IGNORE_EXPERIMENTAL_WARNING=1</code>.


[[Category: Video]]
[[Category: Video]]