Tweak the performance of the GPU
This commit is contained in:
parent
18a57605ac
commit
984b9d1d51
|
@ -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 = {
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
|
|
|
@ -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
|
||||
'';
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue