Graphics: Difference between revisions
m →OpenGL |
m style fixes |
||
| Line 18: | Line 18: | ||
The kernel module can also be added to the initrd itself ("early KMS") by adding the kernel module for your hardware to <code>boot.initrd.kernelModules</code>. Early KMS is especially desirable when using something like Plymouth for flicker-free fancy graphics during boot. If you don't use Plymouth, early KMS might actually make the boot sequence worse, because the flicker might heppen during encryption password entry. | The kernel module can also be added to the initrd itself ("early KMS") by adding the kernel module for your hardware to <code>boot.initrd.kernelModules</code>. Early KMS is especially desirable when using something like Plymouth for flicker-free fancy graphics during boot. If you don't use Plymouth, early KMS might actually make the boot sequence worse, because the flicker might heppen during encryption password entry. | ||
== OpenGL == | == OpenGL == | ||
| Line 31: | Line 30: | ||
To verify which Mesa driver is used: <code>nix shell nixpkgs#mesa-demos -c glxinfo</code> | To verify which Mesa driver is used: <code>nix shell nixpkgs#mesa-demos -c glxinfo</code> | ||
== Vulkan == | == Vulkan == | ||
| Line 38: | Line 36: | ||
For the installed Vulkan drivers, see <code>/run/opengl-driver/share/vulkan/icd.d/</code>. To verify which driver is used: <code>nix shell nixpkgs#vulkan-tools -c vulkaninfo</code> | For the installed Vulkan drivers, see <code>/run/opengl-driver/share/vulkan/icd.d/</code>. To verify which driver is used: <code>nix shell nixpkgs#vulkan-tools -c vulkaninfo</code> | ||
== OpenCL == | == OpenCL == | ||
| Line 45: | Line 42: | ||
To verify OpenCL support: <code>nix shell nixpkgs#clinfo -c clinfo</code> | To verify OpenCL support: <code>nix shell nixpkgs#clinfo -c clinfo</code> | ||
== Hardware Video Acceleration == | == Hardware Video Acceleration == | ||