Mesa: Difference between revisions

Explain how to override the Mesa package.
Add note about disabling Intel Xe warning spam when running command-line tools
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 `environment.variables` 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.


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