Skip to content

Commit

Permalink
feat(nvidia): Update driver settings
Browse files Browse the repository at this point in the history
New GPU supports PCIe gen 4, and resizeable BAR is set by default as
long as the motherboard supports it.
  • Loading branch information
TLATER committed Sep 7, 2024
1 parent 71bf225 commit 00810bf
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions nixos-config/hosts/yui/nvidia/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -48,16 +48,12 @@
# nvidia assume that by default your CPU does not support PAT,
# but this is effectively never the case in 2023
"NVreg_UsePageAttributeTable=1"
# This may be a noop, but it's somewhat uncertain
"NVreg_EnablePCIeGen3=1"
# This is sometimes needed for ddc/ci support, see
# https://www.ddcutil.com/nvidia/
#
# Current monitor does not support it, but this is useful for
# the future
"NVreg_RegistryDwords=RMUseSwI2c=0x01;RMI2cSpeed=100"
# When (if!) I get another nvidia GPU, check for resizeable bar
# settings
];
};

Expand Down

0 comments on commit 00810bf

Please sign in to comment.