mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-11-13 12:13:36 +01:00
hardware.amdgpu.opencl.enable also adds clr, whose OpenCL 2.2 libOpenCL.so.1 lands in /run/opengl-driver/lib, first in OpenVINO's RUNPATH, and shadows the ocl-icd loader the GPU plugin links. With clr.icd alone the plugin finds ocl-icd, so the wrapper and WA-038 go. Assisted-by: Claude Code (claude-opus-5-5)
18 lines
620 B
Nix
18 lines
620 B
Nix
{
|
|
pkgs,
|
|
...
|
|
}:
|
|
|
|
# ===============================================================================================
|
|
# Intel Arrow Lake-S iGPU (i915). The R9700s are reserved for model inference, so the iGPU takes
|
|
# video work and small OpenVINO jobs: iHD backs VA-API, oneVPL/QSV is Intel's video API, and
|
|
# intel-compute-runtime provides the OpenCL/Level Zero devices OpenVINO's GPU plugin needs.
|
|
# ===============================================================================================
|
|
{
|
|
hardware.graphics.extraPackages = with pkgs; [
|
|
intel-media-driver
|
|
vpl-gpu-rt
|
|
intel-compute-runtime
|
|
];
|
|
}
|