nixpkgs/nixos/doc/manual/release-notes
Edward Tjörnhammar 9b95f21cdb nvidia,nixos/nvidia: add datacenter drivers compatible with default cudaPkgs
For NVLink topology systems we need fabricmanager. Fabricmanager itself is
dependent on the datacenter driver set and not the regular x11 ones, it is also
tightly tied to the driver version. Furhtermore the current cudaPackages
defaults to version 11.8, which corresponds to the 520 datacenter drivers.

Future improvement should be to switch the main nvidia datacenter driver version
on the `config.cudaVersion` since these are well known from:

> https://docs.nvidia.com/deploy/cuda-compatibility/index.html#use-the-right-compat-package

This adds nixos configuration options `hardware.nvidia.datacenter.enable` and
`hardware.nvidia.datacenter.settings` (the settings configure fabricmanager)

Other interesting external links related to this commit are:

* Fabricmanager download site:
    - https://developer.download.nvidia.com/compute/cuda/redist/fabricmanager/linux-x86_64/
* Data Center drivers:
    - https://www.nvidia.com/Download/driverResults.aspx/193711/en-us/

Implementation specific details:

* Fabricmanager is added as a passthru package, similar to settings and
  presistenced.
* Adds `use{Settings,Persistenced,Fabricmanager}` with defaults to preserve x11
  expressions.
* Utilizes mkMerge to split the `hardware.nvidia` module into three comment
  delimited sections:
    1. Common
    2. X11/xorg
    3. Data Center
* Uses asserts to make the configurations mutualy exclusive.

Notes:

* Data Center Drivers are `x86_64` only.
* Reuses the `nvidia_x11` attribute in nixpkgs on enable, e.g. doesn't change it
  to `nvidia_driver` and sets that to either `nvidia_x11` or `nvidia_dc`.
* Should have a helper function which is switched on `config.cudaVersion` like
  `selectHighestVersion` but rather `selectCudaCompatibleVersion`.
2023-09-12 07:17:33 +02:00
..
release-notes.md 23.11 is Tapir 2023-05-22 21:16:04 +02:00
rl-1310.section.md
rl-1404.section.md
rl-1412.section.md
rl-1509.section.md doc,nixos/doc: unescape double quotes 2022-12-27 17:13:49 +01:00
rl-1603.section.md doc,nixos/doc: unescape double quotes 2022-12-27 17:13:49 +01:00
rl-1609.section.md nixos: fix typos 2023-05-19 22:31:04 -04:00
rl-1703.section.md doc,nixos/doc: unescape apostrophes 2022-12-27 17:13:47 +01:00
rl-1709.section.md nixos: fix typos 2023-05-19 22:31:04 -04:00
rl-1803.section.md nixos: fix typos 2023-05-19 22:31:04 -04:00
rl-1809.section.md doc,nixos/doc: unescape apostrophes 2022-12-27 17:13:47 +01:00
rl-1903.section.md nixos: fix typos 2023-05-19 22:31:04 -04:00
rl-1909.section.md nixos: fix typos 2023-05-19 22:31:04 -04:00
rl-2003.section.md doc,nixos/doc: unescape apostrophes 2022-12-27 17:13:47 +01:00
rl-2009.section.md nixos: fix typos 2023-05-19 22:31:04 -04:00
rl-2105.section.md nixos: fix typos 2023-05-19 22:31:04 -04:00
rl-2111.section.md redis: use system jemalloc (#243398) 2023-07-15 13:02:13 -05:00
rl-2205.section.md nixos: fix typos 2023-05-19 22:31:04 -04:00
rl-2211.section.md nixos: fix typos 2023-05-19 22:31:04 -04:00
rl-2305.section.md nixos/evdevremapkeys: init 2023-07-19 23:06:31 -04:00
rl-2311.section.md nvidia,nixos/nvidia: add datacenter drivers compatible with default cudaPkgs 2023-09-12 07:17:33 +02:00