Commit Graph

305 Commits

Author SHA1 Message Date
Kiskae
67bf9e4e99 linuxPackages.nvidia_x11_legacy470: kernel 6.6 support 2023-09-17 22:35:09 +02:00
Kiskae
762ad8efb4 linuxPackages.nvidia_x11_legacy340: fix up to kernel 6.6 2023-09-17 22:33:36 +02:00
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
Kiskae
7f6a9fcfc4 linuxPackages.nvidia_x11_vulkan_beta: 535.43.08 -> 535.43.09 2023-09-02 16:27:21 +02:00
Nick Cao
d75758279f
linuxPackages.nvidiaPackages.production: 535.98 -> 535.104.05
Release note: https://www.nvidia.com/download/driverResults.aspx/210649/en-us/
2023-08-26 14:08:13 +08:00
Kiskae
5a96e2dc17 linuxPackages.nvidia_x11_vulkan_beta: 525.47.35 -> 535.43.08 2023-08-18 09:32:25 +02:00
Kiskae
72b87054dd
linuxPackages.nvidia_x11_production: 535.86.05-> 535.98 2023-08-08 21:19:52 +02:00
Kiskae
19a2f8dfb8 linuxPackages.nvidia_x11_vulkan_beta: 525.47.34 -> 525.47.35 2023-07-28 23:08:20 +02:00
Kiskae
5f5090b3f1 linuxPackages.nvidia_x11_vulkan_beta: 525.47.31 -> 525.47.34 2023-07-24 20:44:06 +02:00
Nick Cao
e9eec44d58
Merge pull request #240075 from Kiskae/patch-1
linuxPackages.nvidiaPackages.mkDriver: init
2023-07-19 19:06:21 -06:00
Nick Cao
37c6252cd1
Merge pull request #244170 from Kiskae/nvidia/470.199.02
linuxPackages.nvidia_x11_legacy470: 470.182.03 -> 470.199.02
2023-07-18 16:48:38 -06:00
Kiskae
ac9115761e linuxPackages.nvidia_x11_production: 535.54.03 -> 535.86.05 2023-07-18 20:31:31 +02:00
Kiskae
062d053148 linuxPackages.nvidia_x11_legacy470: 470.182.03 -> 470.199.02
Also add tentative patch for linux 6.5
2023-07-18 16:42:13 +02:00
Kiskae
704a02e155 linuxPackages.nvidia_x11_vulkan_beta: 525.47.27 -> 525.47.31 2023-07-11 21:05:50 +02:00
Kiskae
8ef3c5b70e
linuxPackages.nvidiaPackages.mkDriver: init 2023-06-27 10:24:50 +02:00
Nick Cao
048c23915b
Merge pull request #237961 from Kiskae/nvidia/525.47.27
linuxPackages.nvidia_x11_vulkan_beta: 525.47.26 -> 525.47.27
2023-06-15 19:53:34 -06:00
Kiskae
b497970a8e linuxPackages.nvidia_x11_vulkan_beta: 525.47.26 -> 525.47.27 2023-06-15 20:33:04 +02:00
Kiskae
b518881d73
linuxPackages.nvidia_x11_production: 525.116.04 -> 535.54.03 2023-06-14 22:05:12 +02:00
Kiskae
e111d64bdf linuxPackages.nvidia_x11_beta: 530.41.03 -> 535.43.02 2023-05-30 19:42:18 +02:00
Kiskae
6728806fe8
linuxPackages.nvidia_x11_vulkan_beta: 525.47.24 -> 525.47.26 2023-05-20 11:49:13 +02:00
Kiskae
7974082b58 linuxPackages.nvidia_x11_vulkan_beta: 525.47.22 -> 525.47.24
Also update settings/persistenced to latest production version.
2023-05-16 22:30:24 +02:00
Kiskae
89f389dd94 nvidia_x11: replace pre/postPatch with patchFlags 2023-05-13 20:16:00 +02:00
Kiskae
0b14e79f1c linuxPackages.nvidia_x11_legacy390: mark broken on linux 6.2 2023-05-13 16:59:41 +02:00
Kiskae
af114e543f linuxPackages.nvidia_x11_legacy370: fix up to kernel 6.3 2023-05-13 16:43:06 +02:00
Kiskae
f6ad55ab2f linuxPackages.nvidia_x11: kernel 6.4 support 2023-05-13 16:41:37 +02:00
Kiskae
101f4b5afd linuxPackages.nvidia_x11_legacy470: kernel 6.4 support 2023-05-13 16:41:20 +02:00
Kiskae
1e1b8c5a8d linuxPackages.nvidia_x11_production: 525.116.03 -> 525.116.04 2023-05-09 21:19:16 +02:00
Kiskae
fd48d7c336 linuxPackages.nvidia_x11_vulkan_beta: 525.47.18 -> 525.47.22 2023-04-28 00:00:16 +02:00
Nick Cao
21c7a6c42a
Merge pull request #228199 from Kiskae/patch-1
linuxPackages.nvidia_x11_production: 525.105.17 -> 525.116.03
2023-04-26 19:27:21 +08:00
Kiskae
3f8fc9c28b linuxPackages.nvidia_x11_legacy470: 470.161.03 -> 470.182.03 2023-04-26 00:51:46 +02:00
Kiskae
144e1ae7d5 linuxPackages.nvidia_x11_production: 525.105.17 -> 525.116.03 2023-04-25 23:17:41 +02:00
Mika Tammi
2a6b15d371
linuxPackages.nvidia_x11: aarch64-linux support
* Add aarch64-linux binary packages
* add cross-compilation support to open-package

Signed-off-by: Mika Tammi <mika.tammi@unikie.com>
2023-04-14 17:36:16 +03:00
Thiago Kenji Okada
dff3892008
Merge pull request #220708 from Kiskae/patch-5
linuxPackages.nvidia_x11_vulkan_beta: 525.47.11 -> 525.47.18
2023-04-11 15:18:30 +01:00
Kiskae
ea126529eb nixos/nvidia: allow package to override IBT support 2023-04-01 14:44:43 +02:00
Kiskae
1b911d1fe2 linuxPackages.nvidia_x11_production: 525.89.02 -> 525.105.17 2023-04-01 13:38:30 +02:00
Kiskae
7c0d0c1aaa linuxPackages.nvidia_x11_vulkan_beta: 525.47.11 -> 525.47.18 2023-03-31 18:20:09 +02:00
Nick Cao
ca7c52c4f5
Merge pull request #222762 from Kiskae/nvidia/530.41.03
linuxPackages.nvidia_x11: 525.89.02 -> 530.41.03
2023-03-28 08:23:48 +08:00
Zhaofeng Li
7159363f51
linuxPackages.nvidia_x11_legacy340: Fix build on 6.1
This uses the patchset of a popular AUR package.
2023-03-27 18:53:00 +02:00
Kiskae
90c44c9598 linuxPackages.nvidia_x11: 525.89.02 -> 530.41.03 2023-03-24 11:39:03 +01:00
Kiskae
070c3a155f linuxPackages.nvidia_x11_beta: 525.89.02 -> 530.30.02 2023-03-24 11:38:42 +01:00
superherointj
2006fd9410
Merge pull request #220003 from Kiskae/nvidia-470-6.2-fix
linuxPackages_6_2.nvidia_x11_legacy470: add patch
2023-03-14 17:56:36 -03:00
Kiskae
1e33804975 linuxPackages_6_2.nvidia_x11_legacy470: add patch
fixes #219907
2023-03-14 21:08:05 +01:00
Kiskae
3a6f8a5871
linuxPackages.nvidia_x11_vulkan_beta: 515.47.06 -> 525.47.11 2023-02-27 22:40:02 +01:00
Kiskae
89db9de377
linuxPackages.nvidia_x11_production: 525.85.05 -> 525.89.02 2023-02-08 20:21:58 +01:00
guangtao
b7ac519c9e linuxPackages.nvidia_x11_vulkan_beta: 515.47.04 -> 525.47.06 2023-01-27 01:46:31 -08:00
Kiskae
1557cc4160
linuxPackages.nvidia_x11_production: 525.78.01 -> 525.85.05 2023-01-19 20:21:12 +01:00
Kiskae
d4b1e793bf linuxPackages.nvidia_x11_vulkan_beta: 515.49.25 -> 525.47.04 2023-01-07 19:12:22 +01:00
Nick Cao
b7a1f8484c
linuxPackages.nvidia_x11_production: 525.60.11 -> 525.78.01 2023-01-06 11:06:12 +08:00
Nick Cao
e29dd5e157
nvidia-x11: remove unused binding to kernelModVersion 2023-01-06 10:26:41 +08:00
Kiskae
79426ce445 linuxPackages.nvidia_x11_production: 515.86.01 -> 525.60.11 2022-11-28 23:05:02 +01:00