Intel Graphics: Difference between revisions

From NixOS Wiki
imported>Primeos
Remove the Iris section (used by default in the imminent 20.09 release)
imported>Kindrobot
add troubleshooting for Alder Lake cores
Line 2: Line 2:


To enable hardware (GPU) accelerated video decoding and encoding you need to add additional entries in <code>hardware.opengl.extraPackages</code> (see [[Accelerated_Video_Playback|"accelerated video playback"]]).
To enable hardware (GPU) accelerated video decoding and encoding you need to add additional entries in <code>hardware.opengl.extraPackages</code> (see [[Accelerated_Video_Playback|"accelerated video playback"]]).
== 12th Gen (Alder Lake) ==
X Server may fail to start with the newer 12th generation, Alder Lake, iRISxe integrated graphics chips. If this is the case, you can give the kernel a hint as to what driver to use. First confirm the graphic chip's device ID by running in a terminal:
<pre>
$ nix-shell -p pciutils --run "lspci | grep VGA"<br/>
00:02.0 VGA compatible controller: Intel Corporation Device 46a6 (rev 0c)
</pre>
In this example, "46a6" is the device ID. You can then add this to your configuration and reboot:
<pre>boot.kernelParams = [ "i915.force_probe=46a6" ];</pre>

Revision as of 14:51, 14 October 2022

Video acceleration

To enable hardware (GPU) accelerated video decoding and encoding you need to add additional entries in hardware.opengl.extraPackages (see "accelerated video playback").

12th Gen (Alder Lake)

X Server may fail to start with the newer 12th generation, Alder Lake, iRISxe integrated graphics chips. If this is the case, you can give the kernel a hint as to what driver to use. First confirm the graphic chip's device ID by running in a terminal:

$ nix-shell -p pciutils --run "lspci | grep VGA"<br/>
00:02.0 VGA compatible controller: Intel Corporation Device 46a6 (rev 0c)

In this example, "46a6" is the device ID. You can then add this to your configuration and reboot:

boot.kernelParams = [ "i915.force_probe=46a6" ];