Skip to content

Commit

Permalink
yui: Update nvidia
Browse files Browse the repository at this point in the history
  • Loading branch information
TLATER committed Mar 3, 2024
1 parent 799f588 commit 8639bcc
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion nixos-config/yui/nvidia/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
pkgs,
config,
lib,
...
Expand All @@ -8,10 +9,19 @@
];

hardware.nvidia = {
package = config.boot.kernelPackages.nvidiaPackages.mkDriver {
version = "550.54.14";
sha256_64bit = "sha256-jEl/8c/HwxD7h1FJvDD6pP0m0iN7LLps0uiweAFXz+M=";
sha256_aarch64 = "sha256-sProBhYziFwk9rDAR2SbRiSaO7RMrf+/ZYryj4BkLB0=";
openSha256 = "sha256-F+9MWtpIQTF18F2CftCJxQ6WwpA8BVmRGEq3FhHLuYw=";
settingsSha256 = "sha256-m2rNASJp0i0Ez2OuqL+JpgEF0Yd8sYVCyrOoo/ln2a4=";
persistencedSha256 = "sha256-XaPN8jVTjdag9frLPgBtqvO/goB5zxeGzaTU0CdL6C4=";
};

# The current stable nvidia driver is utterly broken. Use
# production for now to work around stuff like this:
# https://forums.developer.nvidia.com/t/535-86-05-low-framerate-vulkan-apps-stutter-under-wayland-xwayland/26147
package = config.boot.kernelPackages.nvidiaPackages.production;
# package = config.boot.kernelPackages.nvidiaPackages.production;
modesetting.enable = true;
# Power management is required to get nvidia GPUs to behave on
# suspend, due to firmware bugs. Aren't nvidia great?
Expand Down

0 comments on commit 8639bcc

Please sign in to comment.