Revert "Enable pertinent Intel drivers for HW acceleration"

This reverts commit 2c0034fc82.
This commit is contained in:
coolneng 2022-10-18 00:18:59 +02:00
parent 121d26c956
commit 5b0dbeb0b5
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 2 additions and 7 deletions

View File

@ -2,16 +2,13 @@
with pkgs; with pkgs;
let hybrid-codec-vaapiIntel = vaapiIntel.override { enableHybridCodec = true; }; {
in {
# Kernel configuration # Kernel configuration
boot = { boot = {
kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages; kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages;
kernelParams = [ kernelParams = [
"zfs.zfs_arc_max=1073741824" "zfs.zfs_arc_max=1073741824"
"zfs.zfs_arc_meta_limit_percent=90" "zfs.zfs_arc_meta_limit_percent=90"
"i915.i915_enable_fbc=1"
"workqueue.power_efficient=y" "workqueue.power_efficient=y"
"nohibernate" "nohibernate"
"ipv6.disable=1" "ipv6.disable=1"
@ -31,9 +28,7 @@ in {
lib.mkDefault config.hardware.enableRedistributableFirmware; lib.mkDefault config.hardware.enableRedistributableFirmware;
services.fwupd.enable = true; services.fwupd.enable = true;
# GPU Hardware acceleration hardware.opengl.extraPackages = [ vaapiIntel vaapiVdpau libvdpau-va-gl ];
hardware.opengl.extraPackages =
[ intel-media-driver hybrid-codec-vaapiIntel vaapiVdpau libvdpau-va-gl ];
# Bootloader configuration # Bootloader configuration
boot.loader = { boot.loader = {