Jump to content

Nvidia: Difference between revisions

m
add legacy_470 and link full list of options
imported>Onny
(Add note on disable Nvidia dGPU)
imported>Haemeah
m (add legacy_470 and link full list of options)
Line 16: Line 16:
hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.production  # (installs 535)
hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.production  # (installs 535)
hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.vulkan_beta
hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.vulkan_beta
hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.legacy_470
hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.legacy_390
hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.legacy_390
hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.legacy_340
hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.legacy_340
</syntaxhighlight>
</syntaxhighlight>


Out of the above, `stable` and `beta` will work for the latest RTX cards and some lower cards so long as they're not considered "legacy" by Nvidia. For "legacy" cards, you can consult the [https://www.nvidia.com/en-us/drivers/unix/legacy-gpu/ Nvidia official legacy driver list] and check whether your device is supported by the 390 or 340 branches. If so, you can use the corresponding <code>legacy_390</code> or <code>legacy_340</code> driver.
Out of the above, `stable` and `beta` will work for the latest RTX cards and some lower cards so long as they're not considered "legacy" by Nvidia. For "legacy" cards, you can consult the [https://www.nvidia.com/en-us/drivers/unix/legacy-gpu/ Nvidia official legacy driver list] and check whether your device is supported by the 470, 390 or 340 branches. If so, you can use the corresponding <code>legacy_470</code>, <code>legacy_390</code> or <code>legacy_340</code> driver. For a full list of options, consult [https://github.com/NixOS/nixpkgs/blob/nixos-unstable/pkgs/os-specific/linux/nvidia-x11/default.nix].


Once you've determined the correct driver version, note it down; you'll need it in the next step.
Once you've determined the correct driver version, note it down; you'll need it in the next step.
Anonymous user