From 260855dc5e36a418193a286392655f50a4be1ad5 Mon Sep 17 00:00:00 2001 From: Hilton Chain Date: Sat, 9 Mar 2024 20:40:07 +0800 Subject: nongnu: nvidia-module-open: Update synopsis and description. * nongnu/packages/nvidia.scm (nvidia-module-open): Don't use package/inherit. [synopsis,description]: Update. Signed-off-by: John Kehayias --- nongnu/packages/nvidia.scm | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/nongnu/packages/nvidia.scm b/nongnu/packages/nvidia.scm index 46a136a..54ce330 100644 --- a/nongnu/packages/nvidia.scm +++ b/nongnu/packages/nvidia.scm @@ -540,7 +540,8 @@ add @code{nvidia_drm.modeset=1} to @code{kernel-arguments} as well.") (define-public nvidia-module-open (let ((base nvidia-module)) - (package/inherit base + (package + (inherit base) (name "nvidia-module-open") (arguments (substitute-keyword-arguments (package-arguments base) @@ -550,12 +551,20 @@ add @code{nvidia_drm.modeset=1} to @code{kernel-arguments} as well.") ;; ((#:source-directory _) "kernel-open"))) (home-page "https://github.com/NVIDIA/open-gpu-kernel-modules") - (synopsis "NVIDIA kernel module") + (synopsis "Open source NVIDIA kernel modules") (description - "This package provides NVIDIA open-gpu-kernel-modules. However, they -are only for the latest GPU architectures Turing and Ampere. Also they still -require firmware file @code{gsp.bin} to be loaded as well as closed source -userspace tools from the corresponding driver release.") + "This package provides open source NVIDIA kernel modules, however +proprietary firmware and libraries are still necessary, and these modules +require GPU System Processor to be present (Turing or later architectures) and +enabled (see also the description of @code{nvidia-firmware} package). + +Module setup can be done with @code{nvidia-service-type} (with @code{module} +field of @code{nvidia-configuration} set to @code{nvidia-module-open}), to +actually use these modules, also add @code{modprobe.blacklist=nouveau} to +@code{kernel-arguments} field of the @code{operating-system} configuration. + +If the NVIDIA card is not used for displaying, or on a Wayland environment, +add @code{nvidia_drm.modeset=1} to @code{kernel-arguments} as well.") (license license-gnu:gpl2)))) -- cgit v1.2.3