Tweak the performance of the GPU

This commit is contained in:
coolneng 2023-09-01 23:46:00 +02:00
parent 18a57605ac
commit 984b9d1d51
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
3 changed files with 6 additions and 6 deletions

View File

@ -25,13 +25,12 @@ with pkgs;
};
# Intel CPU tweaks
hardware = {
enableRedistributableFirmware = true;
cpu.intel.updateMicrocode = true;
};
hardware.enableRedistributableFirmware = true;
services.fwupd.enable = true;
hardware.opengl.extraPackages = [ vaapiIntel vaapiVdpau libvdpau-va-gl ];
# Hardware video acceleration
hardware.opengl.extraPackages =
[ intel-media-driver vaapiIntel vaapiVdpau libvdpau-va-gl ];
# Bootloader configuration
boot.loader = {

View File

@ -48,6 +48,7 @@ with pkgs;
export NVIM_LISTEN_ADDRESS=/tmp/nvimsocket
export GIT_CONFIG_NOSYSTEM=true
export SYSTEMD_LESS=FRSMK
export LIBVA_DRIVER_NAME=iHD
'';
wrapperFeatures.gtk = true;
};

View File

@ -58,7 +58,7 @@
options mac80211 beacon_loss_count=500
options iwlwifi power_save=1
options iwlmvm power_scheme=3
options i915 enable_dc=4 enable_fbc=1 enable_psr=1 enable_psr2_sel_fetch=1 disable_power_well=1
options i915 enable_guc=2
'';
}