added QSV
This commit is contained in:
parent
1d883c5dc1
commit
92ae584fdc
2 changed files with 11 additions and 14 deletions
|
@ -152,21 +152,10 @@
|
||||||
dosbox
|
dosbox
|
||||||
|
|
||||||
#gpu tools
|
#gpu tools
|
||||||
intel_gpu_tools
|
intel-gpu-tools
|
||||||
nvtop
|
#nvtopPackages.full not working right now
|
||||||
];
|
];
|
||||||
|
|
||||||
# NOT WORKING, FIX LATER
|
|
||||||
# hardware.graphics = {
|
|
||||||
# enable = true;
|
|
||||||
# extraPackages = with pkgs; [
|
|
||||||
# intel-media-driver # LIBVA_DRIVER_NAME=iHD
|
|
||||||
# intel-vaapi-driver # LIBVA_DRIVER_NAME=i965 (older but works better for Firefox/Chromium)
|
|
||||||
# libvdpau-va-gl
|
|
||||||
# ];
|
|
||||||
# };
|
|
||||||
# environment.sessionVariables = { LIBVA_DRIVER_NAME = "iHD"; }; # Force intel-media-driver
|
|
||||||
|
|
||||||
# Services
|
# Services
|
||||||
# =========================
|
# =========================
|
||||||
|
|
||||||
|
|
|
@ -7,8 +7,16 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
extraPackages = with pkgs; [
|
extraPackages = with pkgs; [
|
||||||
intel-media-driver # For Broadwell (2014) or newer processors. LIBVA_DRIVER_NAME=iHD
|
intel-media-driver # For Broadwell (2014) or newer processors. LIBVA_DRIVER_NAME=iHD
|
||||||
#intel-vaapi-driver # For older processors. LIBVA_DRIVER_NAME=i965
|
intel-vaapi-driver # For older processors. LIBVA_DRIVER_NAME=i965, works better for firefox/chromium?
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
environment.sessionVariables = { LIBVA_DRIVER_NAME = "iHD"; }; # Optionally, set the environment variable
|
environment.sessionVariables = { LIBVA_DRIVER_NAME = "iHD"; }; # Optionally, set the environment variable
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# for Quick Sync Video
|
||||||
|
hardware.graphics = {
|
||||||
|
enable = true;
|
||||||
|
extraPackages = with pkgs; [
|
||||||
|
vpl-gpu-rt # or intel-media-sdk for QSV
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue