Intel Graphics: Difference between revisions
→Driver: New brief section |
imported from old wiki |
||
Line 5: | Line 5: | ||
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]]). | ||
== Quick Sync Video == | |||
Intel Quick Sync Video (QSV) is a hardware accelerated media conversion framework for Intel GPUs. | |||
Applications that can be accelerated using QSV include OBS Studio and ffmpeg. | |||
QSV support can be used through either [https://github.com/Intel-Media-SDK/MediaSDK Intel Media SDK] or [https://github.com/intel/libvpl Intel VPL]. Intel VPL supersedes the now deprecated Media SDK. | |||
Both libraries dispatch to a backing implementation that is different depending on the GPU generation at runtime. You need to add either <code>intel-media-sdk</code> or <code>vpl-gpu-rt</code> (previously <code>onevpl-intel-gpu</code>) to <code>hardware.opengl.extraPackages</code>. You can check the [https://github.com/intel/libvpl?tab=readme-ov-file#dispatcher-behavior-when-targeting-intel-gpus this] table to decide whether you need the Media SDK or VPL GPU runtime. | |||
Sample configuration: | |||
<syntaxHighlight lang=nix> | |||
hardware.opengl = { | |||
enable = true; | |||
extraPackages = with pkgs; [ | |||
... # your Open GL, Vulkan and VAAPI drivers | |||
vpl-gpu-rt # or intel-media-sdk for QSV | |||
]; | |||
}; | |||
</syntaxHighlight> | |||
== 12th Gen (Alder Lake) == | == 12th Gen (Alder Lake) == |