diff options
| author | Hilton Chain <hako@ultrarare.space> | 2026-04-09 15:44:41 +0800 |
|---|---|---|
| committer | Hilton Chain <hako@ultrarare.space> | 2026-04-12 23:56:03 +0800 |
| commit | f17e415fdfb092f4f89abfac13c403dec98ea926 (patch) | |
| tree | 68564bc22f4b93ee695f059fc78c06e2f1fc0738 | |
| parent | 58558a5e733e02cb03be1864a91d6ac9caa2215c (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-- | NEWS | 5 | ||||
| -rw-r--r-- | README.org | 3 | ||||
| -rw-r--r-- | nonguix/transformations.scm | 11 |
3 files changed, 14 insertions, 5 deletions
@@ -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 @@ -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? |
