Intel Graphics: Difference between revisions

From NixOS Wiki
imported>Colemickens
Created page with "== Iris == To use the new Gallium <code>iris</code> driver, you can use the following in your system configuration: <syntaxHighlight lang=nix> hardware.opengl.package = (p..."
 
imported>Colemickens
mNo edit summary
Line 15: Line 15:
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 this GitHub thread for context and explanation.)
(See [https://github.com/NixOS/nixpkgs/pull/65017 this GitHub thread] for context and explanation.)

Revision as of 21:45, 18 July 2019

Iris

To use the new Gallium iris driver, you can use the following in your system configuration:

hardware.opengl.package =
  (pkgs.mesa.override {
    galliumDrivers = [
      "r300" "r600" "radeonsi" "nouveau" "virgl" "svga" "swrast"
      "iris"
    ];
  });

Note that you might want additional entries in extraPackages, for example, to enable "accelerated video playback".

(See this GitHub thread for context and explanation.)