Commit graph

42 commits

Author SHA1 Message Date
Petr Hodina
0942612f0f
nongnu: Add gpustat.
* nongnu/packages/nvidia.scm (gpustat): New variable.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2023-02-04 12:21:35 +01:00
Petr Hodina
f59c9ad665
nongnu: Add python-nvidia-ml-py.
* nongnu/packages/nvidia.scm (python-nvidia-ml-py): New variable.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2023-02-04 12:21:31 +01:00
Jonathan Brielmaier
62a5df4222
*.scm: Use SPDX license identifiers.
Fixes https://gitlab.com/nonguix/nonguix/-/issues/224

* *.scm: Use SPDX license identifier and remove obsolete license
statement.
2022-12-19 17:17:39 +01:00
Hilton Chain
7d4c49eace
nongnu: nversion: Remove variable.
* nongnu/packages/nvidia.scm (nversion): Remove variable.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2022-12-18 14:44:08 +01:00
Hilton Chain
618c7e26eb
nongnu: nvidia-module-open: Use nvidia-module as base.
* nongnu/packages/nvidia.scm (nvidia-module-open): Use nvidia-module as base.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2022-12-18 14:39:58 +01:00
Hilton Chain
8a4fef778c
nongnu: nvidia-source: Update to 515.76.
* nongnu/packages/nvidia.scm (nvidia-version, nvidia-driver,nvidia-settings): Update to 515.76
[arguments]<#:phases>: Install GBM EGL external platform library.
[inputs]: Add libdrm and mesa.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2022-12-18 14:32:11 +01:00
Hilton Chain
12104c6ed1
nongnu: nvidia-libs: Remove package.
* nongnu/packages/nvidia.scm (nvidia-libs): Remove package definition and deprecate the variable.

Co-authored-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2022-12-18 14:19:59 +01:00
Hilton Chain
4ce327023f
nongnu: nvda: Use nvidia-driver as base.
* nongnu/packages/nvidia.scm (nvda): Use nvidia-driver as base.
[inputs]: Adjusted accordingly.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2022-12-18 14:13:43 +01:00
Hilton Chain
fb5a3d0e97
nongnu: nvda: Avoid hardcoding inputs.
* nongnu/packages/nvidia.scm (nvda)[arguments]: Avoid hardcoding inputs and
locate them via relative paths instead.
[description]: Adjust style.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2022-12-18 14:12:42 +01:00
Hilton Chain
6874c66ddc
nongnu: Add nvidia-service-type.
* nongnu/services/nvidia.scm: New file.
(<nvidia-configuration>): New data type.
(nvidia-shepherd-service,nvidia-service-type): New variables.
* nongnu/packages/nvidia.scm (nvidia-driver)[description]: Adjust accordingly.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2022-12-18 14:10:33 +01:00
Hilton Chain
cbb9b59c11
nongnu: Add nvidia-firmware.
* nongnu/packages/nvidia.scm (nvidia-firmware): New variable.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2022-12-18 14:05:44 +01:00
Hilton Chain
09b37c490e
nongnu: nvidia-driver: Split post-install phase.
* nongnu/packages/nvidia.scm (nvidia-driver)[arguments]<#:phases>: Split
post-install phase into patch-elf and create-short-name-symlinks phases.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2022-12-18 14:04:32 +01:00
Hilton Chain
3c0e54efbf
nongnu: nvidia-driver: Remove unused dirname variables in post-install phase.
* nongnu/packages/nvidia.scm (nvidia-driver)[arguments]<#:phases>: Remove
dirname variables.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2022-12-18 14:03:41 +01:00
Hilton Chain
61c61bd8c2
nongnu: nvidia-driver: Use copy-build-system.
* nongnu/packages/nvidia.scm (nvidia-driver)[build-system]: Change to
copy-build-system.
[arguments]<#:phases>: Add create-misc-files phase.
Remove build phase.
Rename install-copy phase to post-install.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2022-12-18 14:01:32 +01:00
Hilton Chain
53f1b621d9
nongnu: Add nvidia-module.
This is the proprietary Nvidia kernel module.

* nongnu/packages/nvidia.scm (nvidia-module): New variable.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2022-12-18 13:44:39 +01:00
Hilton Chain
43a742bc1a
nongnu: nvidia-module: Rename to nvidia-module-open.
* nongnu/packages/nvidia.scm (nvidia-module): Rename to nvidia-module-open.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2022-12-18 13:42:31 +01:00
Hilton Chain
402f53c096
nongnu: Add procedure (make-nvidia-source).
* nongnu/packages/nvidia.scm (computed-origin-method,make-nvidia-source)
(nvidia-source): New variables.
(nvidia-driver)[source]: Use nvidia-source instead.
[arguments]<#:phases>: Remove unpack phase.
[native-inputs]: Remove perl, python-2, which and xz.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2022-12-18 13:39:47 +01:00
Hilton Chain
115b9ed40b
nongnu: nvidia-driver: Move (use-modules) out of #:phases.
* nongnu/packages/nvidia.scm (nvidia-driver)[arguments]<#:modules>: Moved out
from <#:phases>.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2022-12-18 13:38:37 +01:00
Hilton Chain
df03530aed
nongnu: nvidia-driver: Rewrite logic for creating short name symbolic links.
* nongnu/packages/nvidia.scm (nvidia-driver)[arguments]<#:phases>: Rewrite
logic for creating short name symbolic links, utilizing patchelf.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2022-12-18 13:29:24 +01:00
Hilton Chain
fe9813a3ee
nongnu: nvidia-driver: Simplify udev rules creation.
* nongnu/packages/nvidia.scm (nvidia-driver)[arguments]<#:phases>: Simplify udev rules creation.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2022-12-18 13:25:37 +01:00
Hilton Chain
9f4e8e82f1
nongnu: nvidia-driver: Don't hardcode inputs.
* nongnu/packages/nvidia.scm (nvidia-driver)[arguments]<#:phases>: Use
G-expression and don't hardcode inputs when possible.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2022-12-18 13:24:17 +01:00
Hilton Chain
1544351697
nongnu: nvidia-driver: Fix indentation.
* nongnu/packages/nvidia.scm (nvidia-driver): Fix indentation.
[inputs,native-inputs]: Sort alphabetically.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2022-12-18 13:22:24 +01:00
John Kehayias
cbc4c651ad
nongnu: nvidia-module: Update to 515.76.
This fixes the build with linux@6.0.

* nongnu/packages/nvidia.scm (nvidia-module, nversion): Update to 515.76.
2022-11-04 18:56:35 -04:00
Alexey Abramov
2a368a20cc
nongnu: Add nvidia-nvml.
* nongnu/packages/nvidia.scm (nvidia-nvml): New variable.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2022-10-20 17:44:07 +02:00
Petr Hodina
d738f3c7fd
nongnu: Add nvidia-exec.
* nongnu/packages/nvidia.scm (nvidia-exec): New variable.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2022-09-10 20:28:36 +02:00
Petr Hodina
c87afddd63
nongnu: nversion: update to 515.57.
* nongnu/packages/nvidia.scm (nversion): Update to 515.57.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2022-08-14 11:24:53 +02:00
Jonathan Brielmaier
2fd265817f
nongnu: nvidia-libs: Use correct input names.
This reverts parts of 668fda08 which where accidentialy commited.

* nongnu/packages/nvidia.scm (nvidia-libs)[arguments]: Replace gcc by
gcc:lib and make gtk+ and gtk2 correct strings again in rpath list.
2022-06-26 12:52:51 +02:00
Petr Hodina
668fda0855
nongnu: nvidia-driver: Simplify inputs.
* nongnu/packages/nvidia.scm (nvidia-driver): Simplify inputs.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2022-06-26 12:36:23 +02:00
Petr Hodina
387d13492f
nongnu: nvidia-driver: Use gexp.
* nongnu/packages/nvidia.scm (nvidia-driver): Use gexp.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2022-06-26 12:33:43 +02:00
Petr Hodina
32c687865d
nongnu: nvda: Use gexp.
* nongnu/packages/nvidia.scm (nvda): Use gexp.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2022-06-26 12:15:00 +02:00
Petr Hodina
96292fee38
nongnu: nvidia-settings: Use gexp.
* nognu/packages/nvidia.scm (nvidia-settings): Use gexp.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2022-06-26 12:03:52 +02:00
Petr Hodina
056c01b10c
nongnu: Add nvidia-module.
* nongnu/packages/nvidia.scm (nvidia-module, nversion): New variables.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2022-06-26 11:59:42 +02:00
Petr Hodina
c664de6a55
nongnu: Use nvidia-version to define version for multiple packages.
* nongnu/packages/nvidia.scm (nvidia-driver, nvidia-libs, nvidia-settings):
[version] Use nvidia-version variable instead of hardcoded-string.
(nvidia-version): New variable.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2022-03-22 18:42:34 +01:00
Petr Hodina
edc96d3477
nongnu: Add nvidia-settings.
* nongnu/packages/nvidia.scm (nvidia-settings): New variable.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2022-03-22 18:42:08 +01:00
Jonathan Brielmaier
76ed1a0a9e
nongnu: nvidia-driver: Supports only x86_64-linux.
The 4xx branch and newer dropped i686 support, see:
https://www.nvidia.com/en-us/drivers/unix/

* nongnu/packages/nvidia.scm (nvidia-driver)[supported-systems]: Set to x86_64-linux.
2022-02-10 22:05:43 +01:00
irfus
604184d9ad
nongnu: nvidia: Update to 470.86.
* nongnu/packages/nvidia.scm (nvidia-driver): Update to 470.86.
[arguments]: Change short name of symbolic links.
(nvidia-libs): Dito.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2022-02-08 16:23:23 +01:00
Jean-Baptiste Volatier
22cb4bb981
nongnu: nvidia: update to 465.27.
* nongnu/packages/nvidia.scm (nvidia): update to 465.27.
[inputs]: replace linux-5.4 with linux-lts.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2021-05-19 21:59:56 +02:00
Pierre Langlois
c82a492fe1
nongnu: nvidia-libs: Fix non-x86 builds.
* nongnu/packages/nvidia.scm (nvidia-libs)[arguments]: Add catch-all for match
install-plan, to fix guix pull.
[supported-systems]: Declare.
2021-04-18 00:20:00 +02:00
Jean-Baptiste Volatier
34a5130517
nongnu: nvidia: Add nvidia-smi to nvidia-driver.
nvidia-smi is a binary that provides hardware information.

* nongnu/packages/nvidia.scm (nvidia-driver)[arguments]: Add nvidia-smi to
nvidia-driver.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2021-04-14 18:32:13 +02:00
Jean-Baptiste Volatier
29498efd16
nongnu: nvidia: Add nvidia-libs, nvda and mesa libs.
* nongnu/packages/nvidia.scm (nvidia-libs, nvda, mesa/fake,
* replace-mesa): New variables.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2021-04-14 18:31:44 +02:00
Jean-Baptiste Volatier
52028f63ed
nongnu: nvidia: Downgrade nvidia-driver to 455.38.
This version is the newest one still working.

* nongnu/packages/nvidia.scm (nvidia-driver): Downgrade to version 455.38.
[arguments]: Use `version` variable for library path names.
[inputs]: Require linux-5.4 as input.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2021-04-14 18:20:50 +02:00
Jean-Baptiste Volatier
11c1d90c61
nongnu: Add nvidia-driver.
* nongnu/packages/nvidia.scm: New file.
(nvidia-driver): New variable.

Co-authored-by: Hebi Li <hebi@lihebi.com>
Co-authored-by: Malte Frank Gerdes <malte.f.gerdes@gmail.com>
Co-authored-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2020-12-22 14:01:09 +01:00