summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHilton Chain <hako@ultrarare.space>2026-04-09 15:44:41 +0800
committerHilton Chain <hako@ultrarare.space>2026-04-12 23:56:03 +0800
commitf17e415fdfb092f4f89abfac13c403dec98ea926 (patch)
tree68564bc22f4b93ee695f059fc78c06e2f1fc0738
parent58558a5e733e02cb03be1864a91d6ac9caa2215c (diff)
transformations: nvidia: Add #:dynamic-boost? argument.
* nonguix/transformations.scm (nonguix-transformation-nvidia): Add #:dynamic-boost? argument. * README.org (Configure operating system for NVIDIA proprietary driver): Update docstring. * NEWS (NVIDIA: New #:dynamic-boost? option in nonguix-transformation-nvidia): New entry.
-rw-r--r--NEWS5
-rw-r--r--README.org3
-rw-r--r--nonguix/transformations.scm11
3 files changed, 14 insertions, 5 deletions
diff --git a/NEWS b/NEWS
index 11f2b4d..037e426 100644
--- a/NEWS
+++ b/NEWS
@@ -6,6 +6,11 @@
#+TITLE: NEWS about user visible changes of nonguix
* 2026-04
+*** NVIDIA: New #:dynamic-boost? argument for nonguix-transformation-nvidia
+The feature is supported on laptops since Ampere. For detailed introduction and
+hardware requirements, see
+<https://download.nvidia.com/XFree86/Linux-x86_64/580.142/README/dynamicboost.html>.
+
*** NVIDIA: open source kernel modules now built from git
From testing, their compatibility with kernels is different from the ones we
packaged before. Please refer to our documentation for currently supported
diff --git a/README.org b/README.org
index 8c9240b..bff334d 100644
--- a/README.org
+++ b/README.org
@@ -288,6 +288,7 @@ System setup is implemented via =nonguix-transformation-nvidia=:
[#:open-source-kernel-module? #false]
[#:kernel-mode-setting? #true]
[#:configure-xorg? #false]
+ [#:dynamic-boost? #false]
[#:remove-nvenc-restriction? #false]
Return a procedure that transforms an operating system, setting up DRIVER
@@ -302,6 +303,8 @@ System setup is implemented via =nonguix-transformation-nvidia=:
CONFIGURE-XORG? (default: #f) is required for Xorg display managers. It accepts
a display manager service type, or #t when using '%desktop-services'.
+ DYNAMIC-BOOST? (default: #f) is supported on laptops since Ampere.
+
REMOVE-NVENC-RESTRICTION? (default: #f) applies patches from
<https://github.com/keylase/nvidia-patch>.
#+end_example
diff --git a/nonguix/transformations.scm b/nonguix/transformations.scm
index ba05ccb..c0470ac 100644
--- a/nonguix/transformations.scm
+++ b/nonguix/transformations.scm
@@ -107,6 +107,7 @@ and INITRD (default: microcode-initrd)."
(open-source-kernel-module? #f)
(kernel-mode-setting? #t)
(configure-xorg? #f)
+ (dynamic-boost? #f)
(remove-nvenc-restriction? #f)
;; Deprecated.
(s0ix-power-management? #f))
@@ -122,6 +123,8 @@ support.
CONFIGURE-XORG? (default: #f) is required for Xorg display managers. It accepts
a display manager service type, or #t when using '%desktop-services'.
+DYNAMIC-BOOST? (default: #f) is supported on laptops since Ampere.
+
REMOVE-NVENC-RESTRICTION? (default: #f) applies patches from
<https://github.com/keylase/nvidia-patch>."
@@ -256,11 +259,9 @@ REMOVE-NVENC-RESTRICTION? (default: #f) applies patches from
driver)))
(define %dynamic-boost?
- (not (assoc-ref
- ;; Unsupported in these series.
- `((,nvda-470 . #t)
- (,nvda-390 . #t))
- driver)))
+ (and dynamic-boost?
+ ;; Unsupported in these series.
+ (not (member driver (list nvda-470 nvda-390)))))
(define %xorg-extension
(and=> configure-xorg?