many performance optimizations
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
nixpkgs.config.rocmSupport = true;
|
||||
hardware = {
|
||||
amdgpu = {
|
||||
overdrive.enable = true;
|
||||
opencl.enable = true;
|
||||
initrd.enable = true;
|
||||
zluda.enable = true;
|
||||
|
||||
@@ -2,20 +2,24 @@
|
||||
{
|
||||
boot.kernelParams = [ "i915.enable_guc=3" ];
|
||||
# Graphics
|
||||
hardware.enableRedistributableFirmware = true;
|
||||
hardware.graphics = {
|
||||
enable = true;
|
||||
enable32Bit = true;
|
||||
extraPackages = with pkgs; [
|
||||
# Required for modern Intel GPUs (Xe iGPU and ARC)
|
||||
intel-media-driver # VA-API (iHD) userspace
|
||||
vpl-gpu-rt # oneVPL (QSV) runtime
|
||||
hardware = {
|
||||
enableRedistributableFirmware = true;
|
||||
intel-gpu-tools.enable = true;
|
||||
graphics = {
|
||||
enable = true;
|
||||
enable32Bit = true;
|
||||
extraPackages = with pkgs; [
|
||||
# Required for modern Intel GPUs (Xe iGPU and ARC)
|
||||
intel-media-driver # VA-API (iHD) userspace
|
||||
vpl-gpu-rt # oneVPL (QSV) runtime
|
||||
|
||||
# Optional (compute / tooling):
|
||||
intel-compute-runtime # OpenCL (NEO) + Level Zero for Arc/Xe
|
||||
# NOTE: 'intel-ocl' also exists as a legacy package; not recommended for Arc/Xe.
|
||||
libvdpau-va-gl # Only if you must run VDPAU-only apps
|
||||
vkbasalt
|
||||
];
|
||||
# Optional (compute / tooling):
|
||||
intel-compute-runtime # OpenCL (NEO) + Level Zero for Arc/Xe
|
||||
# NOTE: 'intel-ocl' also exists as a legacy package; not recommended for Arc/Xe.
|
||||
libvdpau-va-gl # Only if you must run VDPAU-only apps
|
||||
vkbasalt
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
virtualisation.kvmgt.enable = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user