Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Treewide: Add Nvidia Architecture #1107

Merged
merged 26 commits into from
Sep 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
bf95efc
lenovo-ideapad-15ach6: Add nvidia architecture
Lyndeno Sep 4, 2024
b890093
lenovo-ideapad-15arh05: Add nvidia architecture
Lyndeno Sep 4, 2024
d4c8e7f
lenovo-ideapad-16ach6: Add nvidia architecture
Lyndeno Sep 4, 2024
feb83f6
lenovo-legion-15ach6: Add nvidia architecture
Lyndeno Sep 4, 2024
ec5e8f2
lenovo-legion-15ach6h: Add nvidia architecture
Lyndeno Sep 4, 2024
0635515
lenovo-legion-15ich: Add nvidia architecture
Lyndeno Sep 4, 2024
ab4beae
lenovo-legion-16irx8h: Add nvidia architecture
Lyndeno Sep 4, 2024
3cb0b3a
lenovo-legion-16ithg6: Add nvidia architecture
Lyndeno Sep 4, 2024
efc4789
lenovo-legion-t526amr5: Use nvidia open
Lyndeno Sep 4, 2024
80598d9
lenovo-thinkpad-e470: Add nvidia architecture
Lyndeno Sep 4, 2024
3ffa6a4
lenovo-thinkpad-p14s-intel-gen3: Add nvidia architecture
Lyndeno Sep 4, 2024
595a4a8
lenovo-thinkpad-p50: Add nvidia architecture
Lyndeno Sep 4, 2024
2fc1e10
lenovo-thinkpad-p51: Add nvidia architecture
Lyndeno Sep 4, 2024
ab6053d
lenovo-thinkpad-p52: Add nvidia architecture
Lyndeno Sep 4, 2024
5fdecbf
lenovo-yoga-7-14ARH7: Add nvidia architecture
Lyndeno Sep 4, 2024
7ea5daa
common-gpu-nvidia: Add kepler
Lyndeno Sep 4, 2024
2aa46f0
apple-imac-14-2: Add nvidia architecture
Lyndeno Sep 4, 2024
561fe84
apple-macbook-pro-10-1: Add nvidia architecture
Lyndeno Sep 4, 2024
ded3bda
focus-m2-gen1: Add nvidia architecture
Lyndeno Sep 4, 2024
4588e11
msi-gl62: Add nvidia architecture
Lyndeno Sep 4, 2024
a683904
omen-14-fb0798ng: Add nvidia architecture
Lyndeno Sep 4, 2024
2a638da
omen-15-en0002np: Add nvidia architecture
Lyndeno Sep 4, 2024
b00ea30
omen-15-en0010ca: Add nvidia architecture
Lyndeno Sep 4, 2024
d6e07be
omen-15-en1007sa: Add nvidia architecture
Lyndeno Sep 4, 2024
75ac096
omen-16-n0280nd: Add nvidia architecture
Lyndeno Sep 4, 2024
c50dd00
system76-gaze18: Add nvidia architecture
Lyndeno Sep 4, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions apple/imac/14-2/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
../.
../../../common/gpu/intel
../../../common/gpu/nvidia
../../../common/gpu/nvidia/kepler
../../../common/hidpi.nix
];

Expand Down
1 change: 1 addition & 0 deletions apple/macbook-pro/10-1/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
../.
../../../common/pc/laptop/ssd
../../../common/gpu/24.05-compat.nix
../../../common/gpu/nvidia/kepler
];

# TODO: reverse compat
Expand Down
7 changes: 7 additions & 0 deletions common/gpu/nvidia/kepler/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{lib, ...}:
{
imports = [ ../. ];

# The open source driver does not support Kepler GPUs.
hardware.nvidia.open = false;
}
1 change: 1 addition & 0 deletions focus/m2/gen1/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
imports = [
../../../common/cpu/intel
../../../common/gpu/nvidia/prime.nix
../../../common/gpu/nvidia/turing
../../../common/pc/laptop
../../../common/pc/laptop/acpi_call.nix
../../../common/pc/laptop/ssd
Expand Down
1 change: 1 addition & 0 deletions lenovo/ideapad/15ach6/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
../../../common/cpu/amd/pstate.nix
../../../common/gpu/amd
../../../common/gpu/nvidia/prime.nix
../../../common/gpu/nvidia/turing
../../../common/pc/laptop
../../../common/pc/laptop/ssd
];
Expand Down
1 change: 1 addition & 0 deletions lenovo/ideapad/15arh05/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
imports = [
../../../common/cpu/amd
../../../common/gpu/nvidia/prime.nix
../../../common/gpu/nvidia/turing
../../../common/pc/laptop
../../../common/pc/laptop/acpi_call.nix
../../../common/pc/laptop/ssd
Expand Down
1 change: 1 addition & 0 deletions lenovo/ideapad/16ach6/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
../../../common/cpu/amd/pstate.nix
../../../common/gpu/amd
../../../common/gpu/nvidia/prime.nix
../../../common/gpu/nvidia/turing
../../../common/pc/laptop
../../../common/pc/laptop/ssd
];
Expand Down
1 change: 1 addition & 0 deletions lenovo/legion/15ach6/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
../../../common/cpu/amd
../../../common/gpu/amd
../../../common/gpu/nvidia/prime.nix
../../../common/gpu/nvidia/ampere
../../../common/hidpi.nix
../../../common/pc/laptop
../../../common/pc/laptop/ssd
Expand Down
1 change: 1 addition & 0 deletions lenovo/legion/15ach6h/hybrid/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
../../../../common/cpu/amd/pstate.nix
../../../../common/gpu/amd
../../../../common/gpu/nvidia/prime.nix
../../../../common/gpu/nvidia/ampere
../../../../common/pc/laptop
../../../../common/pc/laptop/ssd
];
Expand Down
1 change: 1 addition & 0 deletions lenovo/legion/15ich/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
imports = [
../../../common/cpu/intel
../../../common/gpu/nvidia/prime.nix
../../../common/gpu/nvidia/pascal
../../../common/pc/laptop
../../../common/pc/laptop/ssd
../../../common/pc/laptop/hdd
Expand Down
1 change: 1 addition & 0 deletions lenovo/legion/16irx8h/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
imports = [
../../../common/cpu/intel
../../../common/gpu/nvidia/prime.nix
../../../common/gpu/nvidia/ada-lovelace
../../../common/pc/laptop
../../../common/pc/laptop/ssd
../../../common/hidpi.nix
Expand Down
1 change: 1 addition & 0 deletions lenovo/legion/16ithg6/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
imports = [
../../../common/cpu/intel
../../../common/gpu/nvidia/prime.nix
../../../common/gpu/nvidia/ampere
../../../common/pc/laptop
../../../common/pc/laptop/ssd
../../../common/hidpi.nix
Expand Down
3 changes: 3 additions & 0 deletions lenovo/legion/t526amr5/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,7 @@

# TPM2 module
security.tpm2.enable = true;

# Device could have multiple architectures, but they all support open
hardware.nvidia.open = true;
}
1 change: 1 addition & 0 deletions lenovo/thinkpad/e470/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
../.
../../../common/gpu/intel/kaby-lake
../../../common/gpu/nvidia/prime.nix
../../../common/gpu/nvidia/maxwell
];

hardware.nvidia.prime = {
Expand Down
1 change: 1 addition & 0 deletions lenovo/thinkpad/p14s/intel/gen3/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
imports = [
../.
../../../../../common/gpu/nvidia/prime.nix
../../../../../common/gpu/nvidia/turing
];

hardware = {
Expand Down
1 change: 1 addition & 0 deletions lenovo/thinkpad/p50/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{ lib, config, ... }: {
imports = [
../../../common/gpu/nvidia/prime.nix
../../../common/gpu/nvidia/maxwell
../../../common/cpu/intel
../../../common/pc/laptop/acpi_call.nix
../.
Expand Down
1 change: 1 addition & 0 deletions lenovo/thinkpad/p51/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
imports = [
../../../common/gpu/24.05-compat.nix
../../../common/gpu/nvidia/prime.nix
../../../common/gpu/nvidia/maxwell
../../../common/cpu/intel
../../../common/gpu/intel/kaby-lake
../../../common/pc/laptop/acpi_call.nix
Expand Down
1 change: 1 addition & 0 deletions lenovo/thinkpad/p52/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
imports = [
../../../common/gpu/24.05-compat.nix
../../../common/gpu/nvidia/prime.nix
../../../common/gpu/nvidia/pascal
../../../common/cpu/intel
../../../common/pc/laptop/acpi_call.nix
../.
Expand Down
1 change: 1 addition & 0 deletions lenovo/yoga/7/14ARH7/nvidia/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ in {
## "prime.nix" loads this, aleady:
# ../../../../common/gpu/nvidia
../../../../../common/gpu/nvidia/prime.nix
../../../../../common/gpu/nvidia/ampere
];

# NVIDIA GeForce RTX 3050 Mobile (Ampere)
Expand Down
1 change: 1 addition & 0 deletions msi/gl62/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
../../common/pc/laptop/ssd
../../common/cpu/intel
../../common/gpu/nvidia/prime.nix
../../common/gpu/nvidia/pascal
../../common/pc/laptop
];

Expand Down
1 change: 1 addition & 0 deletions omen/14-fb0798ng/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
imports = [
../../common/cpu/intel
../../common/gpu/nvidia/prime.nix
../../common/gpu/nvidia/ada-lovelace
../../common/pc/laptop
../../common/pc/ssd
];
Expand Down
1 change: 1 addition & 0 deletions omen/15-en0002np/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
../../common/cpu/amd
../../common/cpu/amd/pstate.nix
../../common/gpu/nvidia/prime.nix
../../common/gpu/nvidia/turing
../../common/pc/laptop
../../common/pc/ssd
];
Expand Down
1 change: 1 addition & 0 deletions omen/15-en0010ca/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
../../common/cpu/amd/pstate.nix
../../common/gpu/amd
../../common/gpu/nvidia/prime.nix
../../common/gpu/nvidia/turing
../../common/pc/laptop
../../common/pc/ssd
];
Expand Down
1 change: 1 addition & 0 deletions omen/15-en1007sa/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
../../common/cpu/amd
../../common/cpu/amd/pstate.nix
../../common/gpu/nvidia/prime.nix
../../common/gpu/nvidia/ampere
../../common/pc/laptop
../../common/pc/ssd
];
Expand Down
1 change: 1 addition & 0 deletions omen/16-n0280nd/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
../../common/cpu/amd
../../common/cpu/amd/pstate.nix
../../common/gpu/nvidia/prime.nix
../../common/gpu/nvidia/ampere
../../common/pc/laptop
../../common/pc/ssd
];
Expand Down
1 change: 1 addition & 0 deletions system76/gaze18/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
imports = [
../.
../../common/gpu/nvidia/prime.nix
../../common/gpu/nvidia/ampere
];

boot.initrd.kernelModules = [ "nvidia" ];
Expand Down