Intel Graphics: Difference between revisions
imported>Colemickens mNo edit summary |
imported>Colemickens No edit summary |
||
| Line 6: | Line 6: | ||
hardware.opengl.package = | hardware.opengl.package = | ||
(pkgs.mesa.override { | (pkgs.mesa.override { | ||
galliumDrivers = [ | galliumDrivers = [ "nouveau" "virgl" "swrast" "iris" ]; | ||
}); | }); | ||
</syntaxHighlight> | </syntaxHighlight> | ||
| Line 15: | Line 12: | ||
Note that you might want additional entries in <code>extraPackages</code>, for example, to enable [[Accelerated_Video_Playback|"accelerated video playback"]]. | Note that you might want additional entries in <code>extraPackages</code>, for example, to enable [[Accelerated_Video_Playback|"accelerated video playback"]]. | ||
(See [https://github.com/NixOS/nixpkgs/pull/65017 this GitHub thread] for context and explanation.) | (See [https://github.com/NixOS/nixpkgs/pull/65017 this GitHub thread] for context and explanation. <code>nouveau</code> is included to trigger the gallium-xa build, which is currently required because the nix derivation expects to copy the gallium-xa pkg-config files into place. Without <code>swrast</code> and/or <code>virgl</code>, it complains about needing softpipe/llvmpipe to build the <code>nine state tracker</code>.) | ||