Intel Graphics: Difference between revisions

drop 24.05 compat
Abowen (talk | contribs)
m Added example configuration of modern Intel CPU
Line 1: Line 1:
Example configuration with Hardware Acceleration & Quick Sync Video enabled on a modern Intel CPU<syntaxhighlight lang="nix">
  services.xserver.videoDrivers = [ "modesetting" ];
  hardware.graphics = {
    enable = true;
    extraPackages = with pkgs; [
      # For modern Intel CPU's
      intel-media-driver # Enable Hardware Acceleration
      vpl-gpu-rt # Enable QSV
    ];
  };
  environment.sessionVariables = { LIBVA_DRIVER_NAME = "iHD"; };
</syntaxhighlight>
== Driver ==
== Driver ==
Refer to the [https://nixos.org/manual/nixos/stable/#sec-x11--graphics-cards-intel Intel Graphics drivers] section of the NixOS manual.
Refer to the [https://nixos.org/manual/nixos/stable/#sec-x11--graphics-cards-intel Intel Graphics drivers] section of the NixOS manual.