Skip to content

Commit

Permalink
fix: set nvidia driver version to 555.58.02 so it builds with Linux 6.10
Browse files Browse the repository at this point in the history
  • Loading branch information
flexiondotorg committed Aug 11, 2024
1 parent 9f4de88 commit bfb6f2c
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
13 changes: 13 additions & 0 deletions nixos/phasma/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
config,
inputs,
lib,
pkgs,
Expand Down Expand Up @@ -54,6 +55,18 @@
hardware = {
mwProCapture.enable = true;
nvidia = {
# NVIDIA driver FTBFS with Linux 6.10
# https://github.com/NixOS/nixpkgs/issues/332350
# https://github.com/NVIDIA/open-gpu-kernel-modules/issues/642
# https://discourse.nixos.org/t/builder-for-nvidia-x11-550-78-6-10-drv-failed-with-exit-code-2/49360
package = config.boot.kernelPackages.nvidiaPackages.mkDriver {
version = "555.58.02";
sha256_64bit = "sha256-xctt4TPRlOJ6r5S54h5W6PT6/3Zy2R4ASNFPu8TSHKM=";
sha256_aarch64 = "sha256-wb20isMrRg8PeQBU96lWJzBMkjfySAUaqt4EgZnhyF8=";
openSha256 = "sha256-8hyRiGB+m2hL3c9MDA/Pon+Xl6E788MZ50WrrAGUVuY=";
settingsSha256 = "sha256-ZpuVZybW6CFN/gz9rx+UJvQ715FZnAOYfHn5jt5Z2C8=";
persistencedSha256 = "sha256-a1D7ZZmcKFWfPjjH1REqPM5j/YLWKnbkP9qfRyIyxAw=";
};
prime = {
amdgpuBusId = "PCI:34:0:0";
nvidiaBusId = "PCI:31:0:0";
Expand Down
13 changes: 13 additions & 0 deletions nixos/vader/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
config,
inputs,
lib,
pkgs,
Expand Down Expand Up @@ -55,6 +56,18 @@
hardware = {
mwProCapture.enable = true;
nvidia = {
# NVIDIA driver FTBFS with Linux 6.10
# https://github.com/NixOS/nixpkgs/issues/332350
# https://github.com/NVIDIA/open-gpu-kernel-modules/issues/642
# https://discourse.nixos.org/t/builder-for-nvidia-x11-550-78-6-10-drv-failed-with-exit-code-2/49360
package = config.boot.kernelPackages.nvidiaPackages.mkDriver {
version = "555.58.02";
sha256_64bit = "sha256-xctt4TPRlOJ6r5S54h5W6PT6/3Zy2R4ASNFPu8TSHKM=";
sha256_aarch64 = "sha256-wb20isMrRg8PeQBU96lWJzBMkjfySAUaqt4EgZnhyF8=";
openSha256 = "sha256-8hyRiGB+m2hL3c9MDA/Pon+Xl6E788MZ50WrrAGUVuY=";
settingsSha256 = "sha256-ZpuVZybW6CFN/gz9rx+UJvQ715FZnAOYfHn5jt5Z2C8=";
persistencedSha256 = "sha256-a1D7ZZmcKFWfPjjH1REqPM5j/YLWKnbkP9qfRyIyxAw=";
};
prime = {
amdgpuBusId = "PCI:33:0:0";
nvidiaBusId = "PCI:30:0:0";
Expand Down

0 comments on commit bfb6f2c

Please sign in to comment.