* [PR PATCH] New package: nvidia-open-dkms-570.124.04
@ 2025-03-05 22:49 JkktBkkt
2025-03-06 8:46 ` [PR PATCH] [Updated] " JkktBkkt
` (113 more replies)
0 siblings, 114 replies; 115+ messages in thread
From: JkktBkkt @ 2025-03-05 22:49 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1165 bytes --]
There is a new pull request by JkktBkkt against master on the void-packages repository
https://github.com/JkktBkkt/void-packages patch-1
https://github.com/void-linux/void-packages/pull/54593
New package: nvidia-open-dkms-570.124.04
#### Testing the changes
- I tested the changes in this PR: **YES**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
-->
#### Local build testing
- I built this PR locally for my native architecture, x86_64-glibc
**Comments**
Built and tested on 6.12.16 as soon as the #50458 landed
No longer WIP since this release is out of [beta](https://us.download.nvidia.com/XFree86/Linux-x86_64/570.124.04/README/kernel_open.html) and is now the recommended driver for supported devices, which are Turing and newer, so 16-series and newer of the GeForce lineup.
Closes #51384
Perhaps package info should mention which GPUs are supported
Thanks to mike7d7 for original template and PR #51538
A patch file from https://github.com/void-linux/void-packages/pull/54593.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-patch-1-54593.patch --]
[-- Type: text/x-diff, Size: 4738 bytes --]
From f8251ae2493036c616f6e7ff54ad6a5f43534068 Mon Sep 17 00:00:00 2001
From: Miguel <migue07mx@protonmail.com>
Date: Mon, 29 Jul 2024 22:37:14 -0600
Subject: [PATCH 1/2] New package: nvidia-open-dkms-550.107.02
---
srcpkgs/nvidia-open-dkms/files/dkms.conf | 26 +++++++++++++++++
srcpkgs/nvidia-open-dkms/template | 37 ++++++++++++++++++++++++
2 files changed, 63 insertions(+)
create mode 100644 srcpkgs/nvidia-open-dkms/files/dkms.conf
create mode 100644 srcpkgs/nvidia-open-dkms/template
diff --git a/srcpkgs/nvidia-open-dkms/files/dkms.conf b/srcpkgs/nvidia-open-dkms/files/dkms.conf
new file mode 100644
index 00000000000000..62866c7b2f04bd
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/files/dkms.conf
@@ -0,0 +1,26 @@
+PACKAGE_NAME="nvidia"
+PACKAGE_VERSION="__VERSION_STRING"
+AUTOINSTALL="yes"
+
+# By default, DKMS will add KERNELRELEASE to the make command line; however,
+# this will cause the kernel module build to infer that it was invoked via
+# Kbuild directly instead of DKMS. The dkms(8) manual page recommends quoting
+# the 'make' command name to suppress this behavior.
+MAKE[0]="'make' -j`nproc` NV_EXCLUDE_BUILD_MODULES='' KERNEL_UNAME=${kernelver} modules"
+
+# The list of kernel modules will be generated by nvidia-installer at runtime.
+BUILT_MODULE_NAME[0]="nvidia"
+BUILT_MODULE_LOCATION[0]="kernel-open"
+DEST_MODULE_LOCATION[0]="/kernel/drivers/video"
+BUILT_MODULE_NAME[1]="nvidia-uvm"
+BUILT_MODULE_LOCATION[1]="kernel-open"
+DEST_MODULE_LOCATION[1]="/kernel/drivers/video"
+BUILT_MODULE_NAME[2]="nvidia-modeset"
+BUILT_MODULE_LOCATION[2]="kernel-open"
+DEST_MODULE_LOCATION[2]="/kernel/drivers/video"
+BUILT_MODULE_NAME[3]="nvidia-drm"
+BUILT_MODULE_LOCATION[3]="kernel-open"
+DEST_MODULE_LOCATION[3]="/kernel/drivers/video"
+BUILT_MODULE_NAME[4]="nvidia-peermem"
+BUILT_MODULE_LOCATION[4]="kernel-open"
+DEST_MODULE_LOCATION[4]="/kernel/drivers/video"
diff --git a/srcpkgs/nvidia-open-dkms/template b/srcpkgs/nvidia-open-dkms/template
new file mode 100644
index 00000000000000..600d72975e702b
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/template
@@ -0,0 +1,37 @@
+# Template file for 'nvidia-open-dkms'
+pkgname=nvidia-open-dkms
+version=550.107.02
+revision=1
+archs="x86_64"
+depends="dkms nvidia"
+short_desc="NVIDIA Linux open GPU kernel module source"
+maintainer="mike7d7 <mike7d7@proton.me>"
+license="GPL-2.0-only, MIT"
+homepage="https://github.com/NVIDIA/open-gpu-kernel-modules"
+changelog="https://github.com/NVIDIA/open-gpu-kernel-modules/blob/main/CHANGELOG.md"
+distfiles="https://github.com/NVIDIA/open-gpu-kernel-modules/archive/refs/tags/${version}.tar.gz"
+checksum=b96ed0ab2c9d03f76ff85098d08523d4aaa041c580565a7905fe6add69ba2569
+replaces="nvidia-dkms>=0"
+dkms_modules="nvidia-open-dkms ${version}"
+triggers="dkms initramfs-regenerate"
+
+
+do_install() {
+ vmkdir usr/src/nvidia-open-dkms-${version}
+ vcopy "*" usr/src/nvidia-open-dkms-${version}
+ cp ${FILESDIR}/dkms.conf ${DESTDIR}/usr/src/nvidia-open-dkms-${version}/dkms.conf
+ vsed -e "s/__VERSION_STRING/${version}/" -i ${DESTDIR}/usr/src/nvidia-open-dkms-${version}/dkms.conf
+
+ vmkdir usr/lib/modprobe.d
+ echo "blacklist nouveau" > ${DESTDIR}/usr/lib/modprobe.d/nvidia.conf
+ echo "options nvidia NVreg_OpenRmEnableUnsupportedGpus=1" >> ${DESTDIR}/usr/lib/modprobe.d/nvidia.conf
+ chmod 644 ${DESTDIR}/usr/lib/modprobe.d/nvidia.conf
+
+ vdoc README.md
+ vlicense COPYING
+
+ pkg_install() {
+ vmove usr/src
+ vmove usr/lib/modprobe.d
+ }
+}
From 4ea5cd458383e49b7cc241ee79f26401cc15d135 Mon Sep 17 00:00:00 2001
From: JkktBkkt <101349225+JkktBkkt@users.noreply.github.com>
Date: Thu, 6 Mar 2025 01:26:40 +0300
Subject: [PATCH 2/2] Update nvidia-open-dkms to 570.124.04
---
srcpkgs/nvidia-open-dkms/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/nvidia-open-dkms/template b/srcpkgs/nvidia-open-dkms/template
index 600d72975e702b..928ddfc2678119 100644
--- a/srcpkgs/nvidia-open-dkms/template
+++ b/srcpkgs/nvidia-open-dkms/template
@@ -1,6 +1,6 @@
# Template file for 'nvidia-open-dkms'
pkgname=nvidia-open-dkms
-version=550.107.02
+version=550.124.04
revision=1
archs="x86_64"
depends="dkms nvidia"
@@ -10,7 +10,7 @@ license="GPL-2.0-only, MIT"
homepage="https://github.com/NVIDIA/open-gpu-kernel-modules"
changelog="https://github.com/NVIDIA/open-gpu-kernel-modules/blob/main/CHANGELOG.md"
distfiles="https://github.com/NVIDIA/open-gpu-kernel-modules/archive/refs/tags/${version}.tar.gz"
-checksum=b96ed0ab2c9d03f76ff85098d08523d4aaa041c580565a7905fe6add69ba2569
+checksum=ebd4e41c7548e63d06d129e4ba3bbbcad49afde358b0ad119117c7b66a224c38
replaces="nvidia-dkms>=0"
dkms_modules="nvidia-open-dkms ${version}"
triggers="dkms initramfs-regenerate"
^ permalink raw reply related [flat|nested] 115+ messages in thread
* Re: [PR PATCH] [Updated] New package: nvidia-open-dkms-570.124.04
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
@ 2025-03-06 8:46 ` JkktBkkt
2025-03-06 10:24 ` JkktBkkt
` (112 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: JkktBkkt @ 2025-03-06 8:46 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1170 bytes --]
There is an updated pull request by JkktBkkt against master on the void-packages repository
https://github.com/JkktBkkt/void-packages patch-1
https://github.com/void-linux/void-packages/pull/54593
New package: nvidia-open-dkms-570.124.04
#### Testing the changes
- I tested the changes in this PR: **YES**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
-->
#### Local build testing
- I built this PR locally for my native architecture, x86_64-glibc
**Comments**
Built and tested on 6.12.16 as soon as the #50458 landed
No longer WIP since this release is out of [beta](https://us.download.nvidia.com/XFree86/Linux-x86_64/570.124.04/README/kernel_open.html) and is now the recommended driver for supported devices, which are Turing and newer, so 16-series and newer of the GeForce lineup.
Closes #51384
Perhaps package info should mention which GPUs are supported
Thanks to mike7d7 for original template and PR #51538
A patch file from https://github.com/void-linux/void-packages/pull/54593.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-patch-1-54593.patch --]
[-- Type: text/x-diff, Size: 5506 bytes --]
From f8251ae2493036c616f6e7ff54ad6a5f43534068 Mon Sep 17 00:00:00 2001
From: Miguel <migue07mx@protonmail.com>
Date: Mon, 29 Jul 2024 22:37:14 -0600
Subject: [PATCH 1/3] New package: nvidia-open-dkms-550.107.02
---
srcpkgs/nvidia-open-dkms/files/dkms.conf | 26 +++++++++++++++++
srcpkgs/nvidia-open-dkms/template | 37 ++++++++++++++++++++++++
2 files changed, 63 insertions(+)
create mode 100644 srcpkgs/nvidia-open-dkms/files/dkms.conf
create mode 100644 srcpkgs/nvidia-open-dkms/template
diff --git a/srcpkgs/nvidia-open-dkms/files/dkms.conf b/srcpkgs/nvidia-open-dkms/files/dkms.conf
new file mode 100644
index 00000000000000..62866c7b2f04bd
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/files/dkms.conf
@@ -0,0 +1,26 @@
+PACKAGE_NAME="nvidia"
+PACKAGE_VERSION="__VERSION_STRING"
+AUTOINSTALL="yes"
+
+# By default, DKMS will add KERNELRELEASE to the make command line; however,
+# this will cause the kernel module build to infer that it was invoked via
+# Kbuild directly instead of DKMS. The dkms(8) manual page recommends quoting
+# the 'make' command name to suppress this behavior.
+MAKE[0]="'make' -j`nproc` NV_EXCLUDE_BUILD_MODULES='' KERNEL_UNAME=${kernelver} modules"
+
+# The list of kernel modules will be generated by nvidia-installer at runtime.
+BUILT_MODULE_NAME[0]="nvidia"
+BUILT_MODULE_LOCATION[0]="kernel-open"
+DEST_MODULE_LOCATION[0]="/kernel/drivers/video"
+BUILT_MODULE_NAME[1]="nvidia-uvm"
+BUILT_MODULE_LOCATION[1]="kernel-open"
+DEST_MODULE_LOCATION[1]="/kernel/drivers/video"
+BUILT_MODULE_NAME[2]="nvidia-modeset"
+BUILT_MODULE_LOCATION[2]="kernel-open"
+DEST_MODULE_LOCATION[2]="/kernel/drivers/video"
+BUILT_MODULE_NAME[3]="nvidia-drm"
+BUILT_MODULE_LOCATION[3]="kernel-open"
+DEST_MODULE_LOCATION[3]="/kernel/drivers/video"
+BUILT_MODULE_NAME[4]="nvidia-peermem"
+BUILT_MODULE_LOCATION[4]="kernel-open"
+DEST_MODULE_LOCATION[4]="/kernel/drivers/video"
diff --git a/srcpkgs/nvidia-open-dkms/template b/srcpkgs/nvidia-open-dkms/template
new file mode 100644
index 00000000000000..600d72975e702b
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/template
@@ -0,0 +1,37 @@
+# Template file for 'nvidia-open-dkms'
+pkgname=nvidia-open-dkms
+version=550.107.02
+revision=1
+archs="x86_64"
+depends="dkms nvidia"
+short_desc="NVIDIA Linux open GPU kernel module source"
+maintainer="mike7d7 <mike7d7@proton.me>"
+license="GPL-2.0-only, MIT"
+homepage="https://github.com/NVIDIA/open-gpu-kernel-modules"
+changelog="https://github.com/NVIDIA/open-gpu-kernel-modules/blob/main/CHANGELOG.md"
+distfiles="https://github.com/NVIDIA/open-gpu-kernel-modules/archive/refs/tags/${version}.tar.gz"
+checksum=b96ed0ab2c9d03f76ff85098d08523d4aaa041c580565a7905fe6add69ba2569
+replaces="nvidia-dkms>=0"
+dkms_modules="nvidia-open-dkms ${version}"
+triggers="dkms initramfs-regenerate"
+
+
+do_install() {
+ vmkdir usr/src/nvidia-open-dkms-${version}
+ vcopy "*" usr/src/nvidia-open-dkms-${version}
+ cp ${FILESDIR}/dkms.conf ${DESTDIR}/usr/src/nvidia-open-dkms-${version}/dkms.conf
+ vsed -e "s/__VERSION_STRING/${version}/" -i ${DESTDIR}/usr/src/nvidia-open-dkms-${version}/dkms.conf
+
+ vmkdir usr/lib/modprobe.d
+ echo "blacklist nouveau" > ${DESTDIR}/usr/lib/modprobe.d/nvidia.conf
+ echo "options nvidia NVreg_OpenRmEnableUnsupportedGpus=1" >> ${DESTDIR}/usr/lib/modprobe.d/nvidia.conf
+ chmod 644 ${DESTDIR}/usr/lib/modprobe.d/nvidia.conf
+
+ vdoc README.md
+ vlicense COPYING
+
+ pkg_install() {
+ vmove usr/src
+ vmove usr/lib/modprobe.d
+ }
+}
From 4ea5cd458383e49b7cc241ee79f26401cc15d135 Mon Sep 17 00:00:00 2001
From: JkktBkkt <101349225+JkktBkkt@users.noreply.github.com>
Date: Thu, 6 Mar 2025 01:26:40 +0300
Subject: [PATCH 2/3] Update nvidia-open-dkms to 570.124.04
---
srcpkgs/nvidia-open-dkms/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/nvidia-open-dkms/template b/srcpkgs/nvidia-open-dkms/template
index 600d72975e702b..928ddfc2678119 100644
--- a/srcpkgs/nvidia-open-dkms/template
+++ b/srcpkgs/nvidia-open-dkms/template
@@ -1,6 +1,6 @@
# Template file for 'nvidia-open-dkms'
pkgname=nvidia-open-dkms
-version=550.107.02
+version=550.124.04
revision=1
archs="x86_64"
depends="dkms nvidia"
@@ -10,7 +10,7 @@ license="GPL-2.0-only, MIT"
homepage="https://github.com/NVIDIA/open-gpu-kernel-modules"
changelog="https://github.com/NVIDIA/open-gpu-kernel-modules/blob/main/CHANGELOG.md"
distfiles="https://github.com/NVIDIA/open-gpu-kernel-modules/archive/refs/tags/${version}.tar.gz"
-checksum=b96ed0ab2c9d03f76ff85098d08523d4aaa041c580565a7905fe6add69ba2569
+checksum=ebd4e41c7548e63d06d129e4ba3bbbcad49afde358b0ad119117c7b66a224c38
replaces="nvidia-dkms>=0"
dkms_modules="nvidia-open-dkms ${version}"
triggers="dkms initramfs-regenerate"
From 777b0837596ebd5be4b7727d5e417bbb4ddab48d Mon Sep 17 00:00:00 2001
From: JkktBkkt <101349225+JkktBkkt@users.noreply.github.com>
Date: Thu, 6 Mar 2025 11:46:46 +0300
Subject: [PATCH 3/3] typo in version -> 570
No excuse, should've just copied instead of typing it out like everywhere else
---
srcpkgs/nvidia-open-dkms/template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/nvidia-open-dkms/template b/srcpkgs/nvidia-open-dkms/template
index 928ddfc2678119..a403ad7e125680 100644
--- a/srcpkgs/nvidia-open-dkms/template
+++ b/srcpkgs/nvidia-open-dkms/template
@@ -1,6 +1,6 @@
# Template file for 'nvidia-open-dkms'
pkgname=nvidia-open-dkms
-version=550.124.04
+version=570.124.04
revision=1
archs="x86_64"
depends="dkms nvidia"
^ permalink raw reply related [flat|nested] 115+ messages in thread
* Re: New package: nvidia-open-dkms-570.124.04
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
2025-03-06 8:46 ` [PR PATCH] [Updated] " JkktBkkt
@ 2025-03-06 10:24 ` JkktBkkt
2025-03-06 10:25 ` JkktBkkt
` (111 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: JkktBkkt @ 2025-03-06 10:24 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1474 bytes --]
New comment by JkktBkkt on void-packages repository
https://github.com/void-linux/void-packages/pull/54593#issuecomment-2703428905
Comment:
Being not really comfortable with git cli I tried to preserve mike's contribution (and failed miserably as can be seen below)
Just double-checked by cloning the pr as described in contributing.md and re-ran per-stage `./xbps-src {stage} -f -K nvidia-open-dkms` to verify no issues preset.
Understanding that this smells of blind editing with no testing done, here's my `xbps-query nvidia-open-dkms`
```
architecture: x86_64
changelog: https://github.com/NVIDIA/open-gpu-kernel-modules/blob/main/CHANGELOG.md
filename-sha256: 8380e0918aa0db31a732331d378116859938b07afa1f8fecfe32662e313ff607
filename-size: 14MB
homepage: https://github.com/NVIDIA/open-gpu-kernel-modules
install-date: 2025-03-02 21:18 MSK
install-script: 950B
installed_size: 100MB
license: GPL-2.0-only, MIT
maintainer: mike7d7 <mike7d7@proton.me>
metafile-sha256: f57e061a8bdbdda880176a90028ef935820d92799c29377065e3f5017c17b046
pkgname: nvidia-open-dkms
pkgver: nvidia-open-dkms-570.124.04_1
remove-script: 947B
replaces:
nvidia-dkms>=0
repository: /home/jkkt/Projects/void-packages/hostdir/binpkgs/nvidia-open
run_depends:
dkms>=0
nvidia>=0
short_desc: NVIDIA Linux open GPU kernel module source
state: installed
```
And dkms make log:
[make.log](https://github.com/user-attachments/files/19106361/make.log)
^ permalink raw reply [flat|nested] 115+ messages in thread
* Re: New package: nvidia-open-dkms-570.124.04
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
2025-03-06 8:46 ` [PR PATCH] [Updated] " JkktBkkt
2025-03-06 10:24 ` JkktBkkt
@ 2025-03-06 10:25 ` JkktBkkt
2025-03-06 19:46 ` JkktBkkt
` (110 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: JkktBkkt @ 2025-03-06 10:25 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1474 bytes --]
New comment by JkktBkkt on void-packages repository
https://github.com/void-linux/void-packages/pull/54593#issuecomment-2703428905
Comment:
Being not really comfortable with git cli I tried to preserve mike's contribution (and failed miserably as can be seen above)
Just double-checked by cloning the pr as described in contributing.md and re-ran per-stage `./xbps-src {stage} -f -K nvidia-open-dkms` to verify no issues preset.
Understanding that this smells of blind editing with no testing done, here's my `xbps-query nvidia-open-dkms`
```
architecture: x86_64
changelog: https://github.com/NVIDIA/open-gpu-kernel-modules/blob/main/CHANGELOG.md
filename-sha256: 8380e0918aa0db31a732331d378116859938b07afa1f8fecfe32662e313ff607
filename-size: 14MB
homepage: https://github.com/NVIDIA/open-gpu-kernel-modules
install-date: 2025-03-02 21:18 MSK
install-script: 950B
installed_size: 100MB
license: GPL-2.0-only, MIT
maintainer: mike7d7 <mike7d7@proton.me>
metafile-sha256: f57e061a8bdbdda880176a90028ef935820d92799c29377065e3f5017c17b046
pkgname: nvidia-open-dkms
pkgver: nvidia-open-dkms-570.124.04_1
remove-script: 947B
replaces:
nvidia-dkms>=0
repository: /home/jkkt/Projects/void-packages/hostdir/binpkgs/nvidia-open
run_depends:
dkms>=0
nvidia>=0
short_desc: NVIDIA Linux open GPU kernel module source
state: installed
```
And dkms make log:
[make.log](https://github.com/user-attachments/files/19106361/make.log)
^ permalink raw reply [flat|nested] 115+ messages in thread
* Re: New package: nvidia-open-dkms-570.124.04
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (2 preceding siblings ...)
2025-03-06 10:25 ` JkktBkkt
@ 2025-03-06 19:46 ` JkktBkkt
2025-03-11 8:59 ` JkktBkkt
` (109 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: JkktBkkt @ 2025-03-06 19:46 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 403 bytes --]
New comment by JkktBkkt on void-packages repository
https://github.com/void-linux/void-packages/pull/54593#issuecomment-2704791411
Comment:
Oh, and also this makes `nvidia` package (in current state) report not satisfied dependency in form of nvidia-dkms, as that's replaced by this driver. So far I'm not up to speed with xbps-src and templates enough to understand how exactly that should be fixed.
^ permalink raw reply [flat|nested] 115+ messages in thread
* Re: New package: nvidia-open-dkms-570.124.04
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (3 preceding siblings ...)
2025-03-06 19:46 ` JkktBkkt
@ 2025-03-11 8:59 ` JkktBkkt
2025-03-11 14:18 ` JkktBkkt
` (108 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: JkktBkkt @ 2025-03-11 8:59 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 182 bytes --]
New comment by JkktBkkt on void-packages repository
https://github.com/void-linux/void-packages/pull/54593#issuecomment-2713221264
Comment:
@classabbyamp can re-build be approved?
^ permalink raw reply [flat|nested] 115+ messages in thread
* Re: New package: nvidia-open-dkms-570.124.04
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (4 preceding siblings ...)
2025-03-11 8:59 ` JkktBkkt
@ 2025-03-11 14:18 ` JkktBkkt
2025-03-11 14:19 ` JkktBkkt
` (107 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: JkktBkkt @ 2025-03-11 14:18 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 760 bytes --]
New comment by JkktBkkt on void-packages repository
https://github.com/void-linux/void-packages/pull/54593#issuecomment-2714486834
Comment:
@abenson If I may bother you, since you're the maintainer of the proprietary driver package, what would be the appropriate way for dealing with this conflicting files issue? Especially considering that not all cards supporting 570.124.04 can run the open-source version of it.
Would adding `conflicts="nvidia470-dkms>=0 nvidia390-dkms>=0"` be enough?
Would, perhaps, transferring this into the main package while defaulting to open for newer versions and leaving the proprietary version symlinked (like 390/470 versions are) be preferred? (Although then the question of these having different licenses arises too)
^ permalink raw reply [flat|nested] 115+ messages in thread
* Re: New package: nvidia-open-dkms-570.124.04
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (5 preceding siblings ...)
2025-03-11 14:18 ` JkktBkkt
@ 2025-03-11 14:19 ` JkktBkkt
2025-03-22 23:29 ` [PR PATCH] [Updated] " JkktBkkt
` (106 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: JkktBkkt @ 2025-03-11 14:19 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 856 bytes --]
New comment by JkktBkkt on void-packages repository
https://github.com/void-linux/void-packages/pull/54593#issuecomment-2714486834
Comment:
@abenson If I may bother you, since you're the maintainer of the proprietary driver package, what would be the appropriate way for dealing with this conflicting files issue? Especially considering that not all cards supporting 570.124.04 can run the open-source version of it.
Would adding `conflicts="nvidia470-dkms>=0 nvidia390-dkms>=0"` be enough?
Would, perhaps, transferring this into the main package while defaulting to open for newer versions and leaving the proprietary version symlinked (like 390/470 versions are) be preferred? (Although then the question of these having different licenses arises too)
While at it, anything else you may be able to suggest or would require for this to go through?
^ permalink raw reply [flat|nested] 115+ messages in thread
* Re: [PR PATCH] [Updated] New package: nvidia-open-dkms-570.124.04
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (6 preceding siblings ...)
2025-03-11 14:19 ` JkktBkkt
@ 2025-03-22 23:29 ` JkktBkkt
2025-03-24 23:10 ` New package: nvidia-open-dkms-570.133.07 fvalasiad
` (105 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: JkktBkkt @ 2025-03-22 23:29 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1170 bytes --]
There is an updated pull request by JkktBkkt against master on the void-packages repository
https://github.com/JkktBkkt/void-packages patch-1
https://github.com/void-linux/void-packages/pull/54593
New package: nvidia-open-dkms-570.124.04
#### Testing the changes
- I tested the changes in this PR: **YES**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
-->
#### Local build testing
- I built this PR locally for my native architecture, x86_64-glibc
**Comments**
Built and tested on 6.12.16 as soon as the #50458 landed
No longer WIP since this release is out of [beta](https://us.download.nvidia.com/XFree86/Linux-x86_64/570.124.04/README/kernel_open.html) and is now the recommended driver for supported devices, which are Turing and newer, so 16-series and newer of the GeForce lineup.
Closes #51384
Perhaps package info should mention which GPUs are supported
Thanks to mike7d7 for original template and PR #51538
A patch file from https://github.com/void-linux/void-packages/pull/54593.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-patch-1-54593.patch --]
[-- Type: text/x-diff, Size: 8770 bytes --]
From f8251ae2493036c616f6e7ff54ad6a5f43534068 Mon Sep 17 00:00:00 2001
From: Miguel <migue07mx@protonmail.com>
Date: Mon, 29 Jul 2024 22:37:14 -0600
Subject: [PATCH 1/4] New package: nvidia-open-dkms-550.107.02
---
srcpkgs/nvidia-open-dkms/files/dkms.conf | 26 +++++++++++++++++
srcpkgs/nvidia-open-dkms/template | 37 ++++++++++++++++++++++++
2 files changed, 63 insertions(+)
create mode 100644 srcpkgs/nvidia-open-dkms/files/dkms.conf
create mode 100644 srcpkgs/nvidia-open-dkms/template
diff --git a/srcpkgs/nvidia-open-dkms/files/dkms.conf b/srcpkgs/nvidia-open-dkms/files/dkms.conf
new file mode 100644
index 00000000000000..62866c7b2f04bd
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/files/dkms.conf
@@ -0,0 +1,26 @@
+PACKAGE_NAME="nvidia"
+PACKAGE_VERSION="__VERSION_STRING"
+AUTOINSTALL="yes"
+
+# By default, DKMS will add KERNELRELEASE to the make command line; however,
+# this will cause the kernel module build to infer that it was invoked via
+# Kbuild directly instead of DKMS. The dkms(8) manual page recommends quoting
+# the 'make' command name to suppress this behavior.
+MAKE[0]="'make' -j`nproc` NV_EXCLUDE_BUILD_MODULES='' KERNEL_UNAME=${kernelver} modules"
+
+# The list of kernel modules will be generated by nvidia-installer at runtime.
+BUILT_MODULE_NAME[0]="nvidia"
+BUILT_MODULE_LOCATION[0]="kernel-open"
+DEST_MODULE_LOCATION[0]="/kernel/drivers/video"
+BUILT_MODULE_NAME[1]="nvidia-uvm"
+BUILT_MODULE_LOCATION[1]="kernel-open"
+DEST_MODULE_LOCATION[1]="/kernel/drivers/video"
+BUILT_MODULE_NAME[2]="nvidia-modeset"
+BUILT_MODULE_LOCATION[2]="kernel-open"
+DEST_MODULE_LOCATION[2]="/kernel/drivers/video"
+BUILT_MODULE_NAME[3]="nvidia-drm"
+BUILT_MODULE_LOCATION[3]="kernel-open"
+DEST_MODULE_LOCATION[3]="/kernel/drivers/video"
+BUILT_MODULE_NAME[4]="nvidia-peermem"
+BUILT_MODULE_LOCATION[4]="kernel-open"
+DEST_MODULE_LOCATION[4]="/kernel/drivers/video"
diff --git a/srcpkgs/nvidia-open-dkms/template b/srcpkgs/nvidia-open-dkms/template
new file mode 100644
index 00000000000000..600d72975e702b
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/template
@@ -0,0 +1,37 @@
+# Template file for 'nvidia-open-dkms'
+pkgname=nvidia-open-dkms
+version=550.107.02
+revision=1
+archs="x86_64"
+depends="dkms nvidia"
+short_desc="NVIDIA Linux open GPU kernel module source"
+maintainer="mike7d7 <mike7d7@proton.me>"
+license="GPL-2.0-only, MIT"
+homepage="https://github.com/NVIDIA/open-gpu-kernel-modules"
+changelog="https://github.com/NVIDIA/open-gpu-kernel-modules/blob/main/CHANGELOG.md"
+distfiles="https://github.com/NVIDIA/open-gpu-kernel-modules/archive/refs/tags/${version}.tar.gz"
+checksum=b96ed0ab2c9d03f76ff85098d08523d4aaa041c580565a7905fe6add69ba2569
+replaces="nvidia-dkms>=0"
+dkms_modules="nvidia-open-dkms ${version}"
+triggers="dkms initramfs-regenerate"
+
+
+do_install() {
+ vmkdir usr/src/nvidia-open-dkms-${version}
+ vcopy "*" usr/src/nvidia-open-dkms-${version}
+ cp ${FILESDIR}/dkms.conf ${DESTDIR}/usr/src/nvidia-open-dkms-${version}/dkms.conf
+ vsed -e "s/__VERSION_STRING/${version}/" -i ${DESTDIR}/usr/src/nvidia-open-dkms-${version}/dkms.conf
+
+ vmkdir usr/lib/modprobe.d
+ echo "blacklist nouveau" > ${DESTDIR}/usr/lib/modprobe.d/nvidia.conf
+ echo "options nvidia NVreg_OpenRmEnableUnsupportedGpus=1" >> ${DESTDIR}/usr/lib/modprobe.d/nvidia.conf
+ chmod 644 ${DESTDIR}/usr/lib/modprobe.d/nvidia.conf
+
+ vdoc README.md
+ vlicense COPYING
+
+ pkg_install() {
+ vmove usr/src
+ vmove usr/lib/modprobe.d
+ }
+}
From 4ea5cd458383e49b7cc241ee79f26401cc15d135 Mon Sep 17 00:00:00 2001
From: JkktBkkt <101349225+JkktBkkt@users.noreply.github.com>
Date: Thu, 6 Mar 2025 01:26:40 +0300
Subject: [PATCH 2/4] Update nvidia-open-dkms to 570.124.04
---
srcpkgs/nvidia-open-dkms/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/nvidia-open-dkms/template b/srcpkgs/nvidia-open-dkms/template
index 600d72975e702b..928ddfc2678119 100644
--- a/srcpkgs/nvidia-open-dkms/template
+++ b/srcpkgs/nvidia-open-dkms/template
@@ -1,6 +1,6 @@
# Template file for 'nvidia-open-dkms'
pkgname=nvidia-open-dkms
-version=550.107.02
+version=550.124.04
revision=1
archs="x86_64"
depends="dkms nvidia"
@@ -10,7 +10,7 @@ license="GPL-2.0-only, MIT"
homepage="https://github.com/NVIDIA/open-gpu-kernel-modules"
changelog="https://github.com/NVIDIA/open-gpu-kernel-modules/blob/main/CHANGELOG.md"
distfiles="https://github.com/NVIDIA/open-gpu-kernel-modules/archive/refs/tags/${version}.tar.gz"
-checksum=b96ed0ab2c9d03f76ff85098d08523d4aaa041c580565a7905fe6add69ba2569
+checksum=ebd4e41c7548e63d06d129e4ba3bbbcad49afde358b0ad119117c7b66a224c38
replaces="nvidia-dkms>=0"
dkms_modules="nvidia-open-dkms ${version}"
triggers="dkms initramfs-regenerate"
From 777b0837596ebd5be4b7727d5e417bbb4ddab48d Mon Sep 17 00:00:00 2001
From: JkktBkkt <101349225+JkktBkkt@users.noreply.github.com>
Date: Thu, 6 Mar 2025 11:46:46 +0300
Subject: [PATCH 3/4] typo in version -> 570
No excuse, should've just copied instead of typing it out like everywhere else
---
srcpkgs/nvidia-open-dkms/template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/nvidia-open-dkms/template b/srcpkgs/nvidia-open-dkms/template
index 928ddfc2678119..a403ad7e125680 100644
--- a/srcpkgs/nvidia-open-dkms/template
+++ b/srcpkgs/nvidia-open-dkms/template
@@ -1,6 +1,6 @@
# Template file for 'nvidia-open-dkms'
pkgname=nvidia-open-dkms
-version=550.124.04
+version=570.124.04
revision=1
archs="x86_64"
depends="dkms nvidia"
From 16d7ea835378f0aedcdb5d136ad12ebfc173de7d Mon Sep 17 00:00:00 2001
From: JkktBkkt <apkabikov@gmail.com>
Date: Sun, 23 Mar 2025 02:08:14 +0300
Subject: [PATCH 4/4] nvidia-open-dkms: update to 570.133.07. Takeover as
maintainer, added update instructions
---
srcpkgs/nvidia-open-dkms/template | 40 ++++++++++++++++++-------------
1 file changed, 23 insertions(+), 17 deletions(-)
diff --git a/srcpkgs/nvidia-open-dkms/template b/srcpkgs/nvidia-open-dkms/template
index a403ad7e125680..63529102493b1f 100644
--- a/srcpkgs/nvidia-open-dkms/template
+++ b/srcpkgs/nvidia-open-dkms/template
@@ -1,37 +1,43 @@
# Template file for 'nvidia-open-dkms'
+# In the current state, for first install you can install nvidia from repos and then installing nvidia-open-dkms via xbps-src
+# Updating requires rebasing/locally merging PR onto master
+# (unless you just manually recreate the files to not mess with git) and either:
+# A) adjusting the nvidia template to no longer require nvidia-dkms package and building both locally
+# B) temporarily switching to the proprietary dkms module, building nvidia-open-dkms and installing it afterwards
+
pkgname=nvidia-open-dkms
-version=570.124.04
+version=570.133.07
revision=1
archs="x86_64"
depends="dkms nvidia"
short_desc="NVIDIA Linux open GPU kernel module source"
-maintainer="mike7d7 <mike7d7@proton.me>"
+maintainer="JkktBkkt <apkabikov@gmail.com>"
license="GPL-2.0-only, MIT"
homepage="https://github.com/NVIDIA/open-gpu-kernel-modules"
changelog="https://github.com/NVIDIA/open-gpu-kernel-modules/blob/main/CHANGELOG.md"
distfiles="https://github.com/NVIDIA/open-gpu-kernel-modules/archive/refs/tags/${version}.tar.gz"
-checksum=ebd4e41c7548e63d06d129e4ba3bbbcad49afde358b0ad119117c7b66a224c38
+checksum=9b5682c6bbef09272dc689965920111198b27feac172049fff217837b10e9882
replaces="nvidia-dkms>=0"
dkms_modules="nvidia-open-dkms ${version}"
triggers="dkms initramfs-regenerate"
do_install() {
- vmkdir usr/src/nvidia-open-dkms-${version}
- vcopy "*" usr/src/nvidia-open-dkms-${version}
- cp ${FILESDIR}/dkms.conf ${DESTDIR}/usr/src/nvidia-open-dkms-${version}/dkms.conf
- vsed -e "s/__VERSION_STRING/${version}/" -i ${DESTDIR}/usr/src/nvidia-open-dkms-${version}/dkms.conf
+ vmkdir usr/src/nvidia-open-dkms-${version}
+ vcopy "*" usr/src/nvidia-open-dkms-${version}
+ cp ${FILESDIR}/dkms.conf ${DESTDIR}/usr/src/nvidia-open-dkms-${version}/dkms.conf
+ vsed -e "s/__VERSION_STRING/${version}/" -i ${DESTDIR}/usr/src/nvidia-open-dkms-${version}/dkms.conf
- vmkdir usr/lib/modprobe.d
- echo "blacklist nouveau" > ${DESTDIR}/usr/lib/modprobe.d/nvidia.conf
- echo "options nvidia NVreg_OpenRmEnableUnsupportedGpus=1" >> ${DESTDIR}/usr/lib/modprobe.d/nvidia.conf
- chmod 644 ${DESTDIR}/usr/lib/modprobe.d/nvidia.conf
+ vmkdir usr/lib/modprobe.d
+ echo "blacklist nouveau" > ${DESTDIR}/usr/lib/modprobe.d/nvidia.conf
+ echo "options nvidia NVreg_OpenRmEnableUnsupportedGpus=1" >> ${DESTDIR}/usr/lib/modprobe.d/nvidia.conf
+ chmod 644 ${DESTDIR}/usr/lib/modprobe.d/nvidia.conf
- vdoc README.md
- vlicense COPYING
+ vdoc README.md
+ vlicense COPYING
- pkg_install() {
- vmove usr/src
- vmove usr/lib/modprobe.d
- }
+ pkg_install() {
+ vmove usr/src
+ vmove usr/lib/modprobe.d
+ }
}
^ permalink raw reply related [flat|nested] 115+ messages in thread
* Re: New package: nvidia-open-dkms-570.133.07
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (7 preceding siblings ...)
2025-03-22 23:29 ` [PR PATCH] [Updated] " JkktBkkt
@ 2025-03-24 23:10 ` fvalasiad
2025-03-25 6:44 ` JkktBkkt
` (104 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: fvalasiad @ 2025-03-24 23:10 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1005 bytes --]
New comment by fvalasiad on void-packages repository
https://github.com/void-linux/void-packages/pull/54593#issuecomment-2749597655
Comment:
Hello,
While I do not have anything more to add as of now, I'd like to answer your question about the `conflicts` situation.
No, it would not be enough, the nvidia470 & nvidia390 respectively support older nvidia cards, but there exist newer nvidia cards that are still not supported by the open driver, for example the GTX 10 series.
about how that could go down well, personally I'd look into having an equivalent proprietary package(if there ain't one already) and have them conflict each other, with the open one picked as a default while adding an appropriate section in the void handbook for those cards in between, but that's me so take everything with a spoonful of salt.
Definitely ain't a simple change though, so practice patience, and just keep bumping those versions, eventually attention will be brought to this topic out of necessity.
^ permalink raw reply [flat|nested] 115+ messages in thread
* Re: New package: nvidia-open-dkms-570.133.07
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (8 preceding siblings ...)
2025-03-24 23:10 ` New package: nvidia-open-dkms-570.133.07 fvalasiad
@ 2025-03-25 6:44 ` JkktBkkt
2025-03-25 10:20 ` fvalasiad
` (103 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: JkktBkkt @ 2025-03-25 6:44 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1734 bytes --]
New comment by JkktBkkt on void-packages repository
https://github.com/void-linux/void-packages/pull/54593#issuecomment-2750243563
Comment:
Hi, thanks for your reply.
Regarding the similar proprietary package that would conflict this one — to my knowledge, that's partially how "replaces" here operates, and is about as much as I can do without messing with abenson's `nvidia` template.
Adding this template into conflicts section for `nvidia390-dkms`, `nvidia470-dkms` and `nvidia-dkms` subpackages would be possible but I'm unsure if that's the correct way to implement this.
I'm also unsure how to implement the dependency:
Currently `nvidia-open-dkms` lists `nvidia` as a dependency, while `nvidia-dkms` does not, as that's a subpackage, thus I'm unsure what happens if one tries to install `nvidia-dkms` without `nvidia` already installed and whether it'd behave the same way with an external template with circular dependency.
As I mentioned above, I am also unsure whether it'd be better to add the open dkms module as a subpackage, and what do do with the license being set to nvidia proprietary in that package. Another thing that bugs me about the licenses is that it theoretically puts this template into the main repo while the nvidia one is in nonfree one.
Making people manually choose the module could be a possibility, I suppose, but it'd be inconvenient as heck. We could probably automate it to some degree via querying which device id are enabled unless explicitly called for (for now the readme provided by the upstream lists the pci device ids of supported devices) — though that's me fantasizing the possibilities, I have little to no idea whether xbps is capable of operating on that level.
^ permalink raw reply [flat|nested] 115+ messages in thread
* Re: New package: nvidia-open-dkms-570.133.07
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (9 preceding siblings ...)
2025-03-25 6:44 ` JkktBkkt
@ 2025-03-25 10:20 ` fvalasiad
2025-03-26 10:30 ` JkktBkkt
` (102 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: fvalasiad @ 2025-03-25 10:20 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 2425 bytes --]
New comment by fvalasiad on void-packages repository
https://github.com/void-linux/void-packages/pull/54593#issuecomment-2750774645
Comment:
The idea is that if you install `nvidia` you get all of its dependencies including `nvidia-dkms` which you rightfully pointed that it's the proprietary counterpart of this package.
I also understood that currently the script replaces nvidia-dkms.
### What I would want to achieve:
installing nvidia -> installs the open kernel driver.
Users that want/need the proprietary driver because of CUDA support or because their card is not supported by the open one -> instructed by the handbook to install the proprietary dkms package before installing nvidia or provide a secondary nvidia template that achieves the same but uses the closed kernel driver.
How I'd achieve that, here is what I found in the manual:
```
As a special case, virtual dependencies may be specified as runtime dependencies in the depends template
variable. Several different packages can provide common functionality by declaring a virtual name and version
in the provides template variable (e.g. provides="vpkg-0.1_1"). Packages that rely on the common functionality
without concern for the specific provider can declare a dependency on the virtual package name with the prefix
virtual? (e.g., depends="virtual?vpkg-0.1_1"). When a package is built by xbps-src, providers for any virtual
packages will be confirmed to exist and will be built if necessary. A map from virtual packages to their default
providers is defined in etc/defaults.virtual. Individual mappings can be overridden by local preferences in
etc/virtual. Comments in etc/defaults.virtual provide more information on this map.
```
Thus, I would have both the current proprietary dkms `provide` the dependency for nvidia, with the open one used by default, and users could instead opt into using the proprietary one. As far as whether this decision could be automated cleanly eh, I am gonna assume not cause otherwise they wouldn't have the two older nvidia packages and they'd implement the logic to pick a driver into the `nvidia` package itself. Probably amounts to too much effort and spaghetti to make it worth.
### Why?
The nvidia open kernel driver is now the default supported by the respective newer cards, (20 series+), we are going against the default by supplying the proprietary one out of the box.
^ permalink raw reply [flat|nested] 115+ messages in thread
* Re: New package: nvidia-open-dkms-570.133.07
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (10 preceding siblings ...)
2025-03-25 10:20 ` fvalasiad
@ 2025-03-26 10:30 ` JkktBkkt
2025-03-26 10:30 ` JkktBkkt
` (101 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: JkktBkkt @ 2025-03-26 10:30 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 964 bytes --]
New comment by JkktBkkt on void-packages repository
https://github.com/void-linux/void-packages/pull/54593#issuecomment-2753931148
Comment:
I must have overlooked that section, thanks for pointing it out to me
Made this [patch](https://pastebin.com/t6EPs1AW) (to be applied when both nvidia-open-dkms and nvidia are up-to-date, i.e. this PR locally merged)
Renamed nvidia-dkms dependency into nvidia-proprietary-dkms, which provides new virtual dependency:
nvidia-meta-dkms, also provided by nvidia-open-dkms (default)
Removed "replaces=" section from nvidia-open-dkms in favor of "provides=" and "conflicts="
The installation order and specifically [dkms pkg](https://github.com/void-linux/void-packages/blob/73bb93844902d2266243b9768538c663985a97d0/srcpkgs/nvidia/template#L255) section in nvidia template are not adjusted here, I am wondering if messing with that order by installing the nvidia-open-dkms contents way later may break anything.
^ permalink raw reply [flat|nested] 115+ messages in thread
* Re: New package: nvidia-open-dkms-570.133.07
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (11 preceding siblings ...)
2025-03-26 10:30 ` JkktBkkt
@ 2025-03-26 10:30 ` JkktBkkt
2025-04-23 12:47 ` JkktBkkt
` (100 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: JkktBkkt @ 2025-03-26 10:30 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 974 bytes --]
New comment by JkktBkkt on void-packages repository
https://github.com/void-linux/void-packages/pull/54593#issuecomment-2753931148
Comment:
I must have overlooked that section, thanks for pointing it out to me
Made this [patch](https://pastebin.com/t6EPs1AW) (to be applied when both nvidia-open-dkms and nvidia templates are up-to-date, i.e. this PR locally merged)
Renamed nvidia-dkms dependency into nvidia-proprietary-dkms, which provides new virtual dependency:
nvidia-meta-dkms, also provided by nvidia-open-dkms (default)
Removed "replaces=" section from nvidia-open-dkms in favor of "provides=" and "conflicts="
The installation order and specifically [dkms pkg](https://github.com/void-linux/void-packages/blob/73bb93844902d2266243b9768538c663985a97d0/srcpkgs/nvidia/template#L255) section in nvidia template are not adjusted here, I am wondering if messing with that order by installing the nvidia-open-dkms contents way later may break anything.
^ permalink raw reply [flat|nested] 115+ messages in thread
* Re: New package: nvidia-open-dkms-570.133.07
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (12 preceding siblings ...)
2025-03-26 10:30 ` JkktBkkt
@ 2025-04-23 12:47 ` JkktBkkt
2025-04-23 12:59 ` fvalasiad
` (99 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: JkktBkkt @ 2025-04-23 12:47 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 307 bytes --]
New comment by JkktBkkt on void-packages repository
https://github.com/void-linux/void-packages/pull/54593#issuecomment-2824187033
Comment:
Am testing 570.144 locally since we haven't merged the proprietary version yet.
Had to change the distfiles url to nvidia's site because release is still N/A on gh
^ permalink raw reply [flat|nested] 115+ messages in thread
* Re: New package: nvidia-open-dkms-570.133.07
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (13 preceding siblings ...)
2025-04-23 12:47 ` JkktBkkt
@ 2025-04-23 12:59 ` fvalasiad
2025-04-28 2:54 ` [PR PATCH] [Closed]: " JkktBkkt
` (98 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: fvalasiad @ 2025-04-23 12:59 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 408 bytes --]
New comment by fvalasiad on void-packages repository
https://github.com/void-linux/void-packages/pull/54593#issuecomment-2824220449
Comment:
> Am testing 570.144 locally since we haven't merged the proprietary version yet.
> Had to change the distfiles url to nvidia's site because release is still N/A on gh
I've an open PR for 575 which I'll keep updating till the next production release, just saying.
^ permalink raw reply [flat|nested] 115+ messages in thread
* Re: [PR PATCH] [Closed]: New package: nvidia-open-dkms-570.133.07
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (14 preceding siblings ...)
2025-04-23 12:59 ` fvalasiad
@ 2025-04-28 2:54 ` JkktBkkt
2025-04-28 3:22 ` JkktBkkt
` (97 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: JkktBkkt @ 2025-04-28 2:54 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1012 bytes --]
There's a closed pull request on the void-packages repository
New package: nvidia-open-dkms-570.133.07
https://github.com/void-linux/void-packages/pull/54593
Description:
#### Testing the changes
- I tested the changes in this PR: **YES**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
-->
#### Local build testing
- I built this PR locally for my native architecture, x86_64-glibc
**Comments**
Built and tested on 6.12.16 as soon as the #50458 landed
No longer WIP since this release is out of [beta](https://us.download.nvidia.com/XFree86/Linux-x86_64/570.124.04/README/kernel_open.html) and is now the recommended driver for supported devices, which are Turing and newer, so 16-series and newer of the GeForce lineup.
Closes #51384
Perhaps package info should mention which GPUs are supported
Thanks to mike7d7 for original template and PR #51538
^ permalink raw reply [flat|nested] 115+ messages in thread
* Re: New package: nvidia-open-dkms-570.133.07
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (15 preceding siblings ...)
2025-04-28 2:54 ` [PR PATCH] [Closed]: " JkktBkkt
@ 2025-04-28 3:22 ` JkktBkkt
2025-04-28 3:22 ` [PR PATCH] [Updated] " JkktBkkt
` (96 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: JkktBkkt @ 2025-04-28 3:22 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 343 bytes --]
New comment by JkktBkkt on void-packages repository
https://github.com/void-linux/void-packages/pull/54593#issuecomment-2833883248
Comment:
Tried to rename the branch, that closed the PR, then restored, local git refused to push into it, so I tried to recreate the branch, but then couldn't re-open due to force-pushing. Sorry for the spam.
^ permalink raw reply [flat|nested] 115+ messages in thread
* Re: [PR PATCH] [Updated] New package: nvidia-open-dkms-570.133.07
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (16 preceding siblings ...)
2025-04-28 3:22 ` JkktBkkt
@ 2025-04-28 3:22 ` JkktBkkt
2025-04-28 3:39 ` New package: nvidia-open-dkms-570.144 JkktBkkt
` (95 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: JkktBkkt @ 2025-04-28 3:22 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1170 bytes --]
There is an updated pull request by JkktBkkt against master on the void-packages repository
https://github.com/JkktBkkt/void-packages patch-1
https://github.com/void-linux/void-packages/pull/54593
New package: nvidia-open-dkms-570.133.07
#### Testing the changes
- I tested the changes in this PR: **YES**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
-->
#### Local build testing
- I built this PR locally for my native architecture, x86_64-glibc
**Comments**
Built and tested on 6.12.16 as soon as the #50458 landed
No longer WIP since this release is out of [beta](https://us.download.nvidia.com/XFree86/Linux-x86_64/570.124.04/README/kernel_open.html) and is now the recommended driver for supported devices, which are Turing and newer, so 16-series and newer of the GeForce lineup.
Closes #51384
Perhaps package info should mention which GPUs are supported
Thanks to mike7d7 for original template and PR #51538
A patch file from https://github.com/void-linux/void-packages/pull/54593.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-patch-1-54593.patch --]
[-- Type: text/x-diff, Size: 7394 bytes --]
From 36bc8e1cbbee4ef3de8ea1e620518b2e5b83537c Mon Sep 17 00:00:00 2001
From: JkktBkkt <apkabikov@gmail.com>
Date: Mon, 28 Apr 2025 06:01:24 +0300
Subject: [PATCH] New package: nvidia-open-dkms-570.144
Added patches, condensed into one commit, rebase
---
srcpkgs/nvidia-open-dkms/files/dkms.conf | 26 ++++++++++++
...atomic-kernel-modesetting-by-default.patch | 42 +++++++++++++++++++
.../patches/0003-Add-IBT-support.patch | 25 +++++++++++
srcpkgs/nvidia-open-dkms/template | 42 +++++++++++++++++++
4 files changed, 135 insertions(+)
create mode 100644 srcpkgs/nvidia-open-dkms/files/dkms.conf
create mode 100644 srcpkgs/nvidia-open-dkms/patches/0001-Enable-atomic-kernel-modesetting-by-default.patch
create mode 100644 srcpkgs/nvidia-open-dkms/patches/0003-Add-IBT-support.patch
create mode 100644 srcpkgs/nvidia-open-dkms/template
diff --git a/srcpkgs/nvidia-open-dkms/files/dkms.conf b/srcpkgs/nvidia-open-dkms/files/dkms.conf
new file mode 100644
index 00000000000000..62866c7b2f04bd
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/files/dkms.conf
@@ -0,0 +1,26 @@
+PACKAGE_NAME="nvidia"
+PACKAGE_VERSION="__VERSION_STRING"
+AUTOINSTALL="yes"
+
+# By default, DKMS will add KERNELRELEASE to the make command line; however,
+# this will cause the kernel module build to infer that it was invoked via
+# Kbuild directly instead of DKMS. The dkms(8) manual page recommends quoting
+# the 'make' command name to suppress this behavior.
+MAKE[0]="'make' -j`nproc` NV_EXCLUDE_BUILD_MODULES='' KERNEL_UNAME=${kernelver} modules"
+
+# The list of kernel modules will be generated by nvidia-installer at runtime.
+BUILT_MODULE_NAME[0]="nvidia"
+BUILT_MODULE_LOCATION[0]="kernel-open"
+DEST_MODULE_LOCATION[0]="/kernel/drivers/video"
+BUILT_MODULE_NAME[1]="nvidia-uvm"
+BUILT_MODULE_LOCATION[1]="kernel-open"
+DEST_MODULE_LOCATION[1]="/kernel/drivers/video"
+BUILT_MODULE_NAME[2]="nvidia-modeset"
+BUILT_MODULE_LOCATION[2]="kernel-open"
+DEST_MODULE_LOCATION[2]="/kernel/drivers/video"
+BUILT_MODULE_NAME[3]="nvidia-drm"
+BUILT_MODULE_LOCATION[3]="kernel-open"
+DEST_MODULE_LOCATION[3]="/kernel/drivers/video"
+BUILT_MODULE_NAME[4]="nvidia-peermem"
+BUILT_MODULE_LOCATION[4]="kernel-open"
+DEST_MODULE_LOCATION[4]="/kernel/drivers/video"
diff --git a/srcpkgs/nvidia-open-dkms/patches/0001-Enable-atomic-kernel-modesetting-by-default.patch b/srcpkgs/nvidia-open-dkms/patches/0001-Enable-atomic-kernel-modesetting-by-default.patch
new file mode 100644
index 00000000000000..0548693a56cb6e
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/patches/0001-Enable-atomic-kernel-modesetting-by-default.patch
@@ -0,0 +1,42 @@
+From 69769b8ebaaeca84a5188330f80c460dcc0fa747 Mon Sep 17 00:00:00 2001
+From: Eric Naim <dnaim@cachyos.org>
+Date: Fri, 24 Jan 2025 19:34:24 +0700
+Subject: [PATCH] Enable atomic kernel modesetting by default
+
+This is required for proper functionality under Wayland. fbdev has been default enabled since 570 so that
+hunk can be removed from this patch.
+
+Signed-off-by: Eric Naim <dnaim@cachyos.org>
+---
+ nvidia-drm/nvidia-drm-linux.c | 2 +-
+ nvidia-drm/nvidia-drm-os-interface.c | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/nvidia-drm/nvidia-drm-linux.c b/nvidia-drm/nvidia-drm-linux.c
+index 0007cbf..bd0b9eb 100644
+--- a/kernel-open/nvidia-drm/nvidia-drm-linux.c
++++ b/kernel-open/nvidia-drm/nvidia-drm-linux.c
+@@ -31,7 +31,7 @@
+
+ MODULE_PARM_DESC(
+ modeset,
+- "Enable atomic kernel modesetting (1 = enable, 0 = disable (default))");
++ "Enable atomic kernel modesetting (1 = enable (default), 0 = disable)");
+ module_param_named(modeset, nv_drm_modeset_module_param, bool, 0400);
+
+ #if defined(NV_DRM_FBDEV_AVAILABLE)
+diff --git a/nvidia-drm/nvidia-drm-os-interface.c b/nvidia-drm/nvidia-drm-os-interface.c
+index 7617476..f22afd7 100644
+--- a/kernel-open/nvidia-drm/nvidia-drm-os-interface.c
++++ b/kernel-open/nvidia-drm/nvidia-drm-os-interface.c
+@@ -41,7 +41,7 @@
+ #include <drm/drmP.h>
+ #endif
+
+-bool nv_drm_modeset_module_param = false;
++bool nv_drm_modeset_module_param = true;
+ bool nv_drm_fbdev_module_param = true;
+
+ void *nv_drm_calloc(size_t nmemb, size_t size)
+--
+2.48.1
diff --git a/srcpkgs/nvidia-open-dkms/patches/0003-Add-IBT-support.patch b/srcpkgs/nvidia-open-dkms/patches/0003-Add-IBT-support.patch
new file mode 100644
index 00000000000000..caad6d70099faa
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/patches/0003-Add-IBT-support.patch
@@ -0,0 +1,25 @@
+From 1484c9ee0a60468dfd88954011fae0e28c0f73de Mon Sep 17 00:00:00 2001
+From: Peter Jung <admin@ptr1337.dev>
+Date: Fri, 18 Oct 2024 22:40:58 +0200
+Subject: [PATCH 3/6] Add IBT support
+
+Signed-off-by: Peter Jung <admin@ptr1337.dev>
+---
+ src/nvidia-modeset/Makefile | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/nvidia-modeset/Makefile b/src/nvidia-modeset/Makefile
+index 2b96f3fa..ed934014 100644
+--- a/src/nvidia-modeset/Makefile
++++ b/src/nvidia-modeset/Makefile
+@@ -151,6 +151,7 @@ ifeq ($(TARGET_ARCH),x86_64)
+ CONDITIONAL_CFLAGS += $(call TEST_CC_ARG, -fno-jump-tables)
+ CONDITIONAL_CFLAGS += $(call TEST_CC_ARG, -mindirect-branch=thunk-extern)
+ CONDITIONAL_CFLAGS += $(call TEST_CC_ARG, -mindirect-branch-register)
++ CONDITIONAL_CFLAGS += $(call TEST_CC_ARG, -mharden-sls=all)
+ endif
+
+ CFLAGS += $(CONDITIONAL_CFLAGS)
+--
+2.47.0
+
diff --git a/srcpkgs/nvidia-open-dkms/template b/srcpkgs/nvidia-open-dkms/template
new file mode 100644
index 00000000000000..d4c1ff8cd008d7
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/template
@@ -0,0 +1,42 @@
+# Template file for 'nvidia-open-dkms'
+# In the current state, for first install you can install nvidia from repos and then installing nvidia-open-dkms via xbps-src
+# Updating requires rebasing/locally merging PR onto master
+# (unless you just manually recreate the files to not mess with git) and either:
+# A) adjusting the nvidia template to no longer require nvidia-dkms package and building both locally
+# B) temporarily switching to the proprietary dkms module, building nvidia-open-dkms and installing it afterwards
+
+pkgname=nvidia-open-dkms
+version=570.144
+revision=1
+archs="x86_64"
+depends="dkms nvidia"
+short_desc="NVIDIA Linux open GPU kernel module source"
+maintainer="JkktBkkt <apkabikov@gmail.com>"
+license="GPL-2.0-only, MIT"
+homepage="https://github.com/NVIDIA/open-gpu-kernel-modules"
+distfiles="https://download.nvidia.com/XFree86/NVIDIA-kernel-module-source/NVIDIA-kernel-module-source-${version}.tar.xz"
+checksum=d0e741683b7b1f07c7482ab8297c95ac3675b748a0ef3a870eab1848a05aab1f
+replaces="nvidia-dkms>=0"
+dkms_modules="nvidia-open-dkms ${version}"
+triggers="dkms initramfs-regenerate"
+
+
+do_install() {
+ vmkdir usr/src/nvidia-open-dkms-${version}
+ vcopy "*" usr/src/nvidia-open-dkms-${version}
+ cp ${FILESDIR}/dkms.conf ${DESTDIR}/usr/src/nvidia-open-dkms-${version}/dkms.conf
+ vsed -e "s/__VERSION_STRING/${version}/" -i ${DESTDIR}/usr/src/nvidia-open-dkms-${version}/dkms.conf
+
+ vmkdir usr/lib/modprobe.d
+ echo "blacklist nouveau" > ${DESTDIR}/usr/lib/modprobe.d/nvidia.conf
+ echo "options nvidia NVreg_OpenRmEnableUnsupportedGpus=1" >> ${DESTDIR}/usr/lib/modprobe.d/nvidia.conf
+ chmod 644 ${DESTDIR}/usr/lib/modprobe.d/nvidia.conf
+
+ vdoc README.md
+ vlicense COPYING
+
+ pkg_install() {
+ vmove usr/src
+ vmove usr/lib/modprobe.d
+ }
+}
^ permalink raw reply related [flat|nested] 115+ messages in thread
* Re: New package: nvidia-open-dkms-570.144
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (17 preceding siblings ...)
2025-04-28 3:22 ` [PR PATCH] [Updated] " JkktBkkt
@ 2025-04-28 3:39 ` JkktBkkt
2025-05-08 8:37 ` kartikynwa
` (94 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: JkktBkkt @ 2025-04-28 3:39 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 693 bytes --]
New comment by JkktBkkt on void-packages repository
https://github.com/void-linux/void-packages/pull/54593#issuecomment-2833883248
Comment:
Tried to rename the branch, that closed the PR, then restored, local git refused to push into it, so I tried to recreate the branch, but then couldn't re-open due to force-pushing. Sorry for the spam.
470 and 390 dkms builds are still conflicting with this as I haven't changed the "replaces" into "conflicts" due to how update process ends up running, instead keeping the easier-to-test version.
Added patches sourced from arch, although I haven't found the necessity of them in my own testing, both seem to not break things and be used commonly
^ permalink raw reply [flat|nested] 115+ messages in thread
* Re: New package: nvidia-open-dkms-570.144
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (18 preceding siblings ...)
2025-04-28 3:39 ` New package: nvidia-open-dkms-570.144 JkktBkkt
@ 2025-05-08 8:37 ` kartikynwa
2025-05-08 8:42 ` kartikynwa
` (93 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: kartikynwa @ 2025-05-08 8:37 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 338 bytes --]
New comment by kartikynwa on void-packages repository
https://github.com/void-linux/void-packages/pull/54593#issuecomment-2862232272
Comment:
Hi. I am interested in testing this. How do I switch from the proprietary drivers to these ones? I already now how to build the package, so instructions after that would be appreciated. Thanks.
^ permalink raw reply [flat|nested] 115+ messages in thread
* Re: New package: nvidia-open-dkms-570.144
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (19 preceding siblings ...)
2025-05-08 8:37 ` kartikynwa
@ 2025-05-08 8:42 ` kartikynwa
2025-05-09 18:13 ` Tyfuzzle
` (92 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: kartikynwa @ 2025-05-08 8:42 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 381 bytes --]
New comment by kartikynwa on void-packages repository
https://github.com/void-linux/void-packages/pull/54593#issuecomment-2862232272
Comment:
Hi. I am interested in testing this. How do I switch from the proprietary drivers to these ones? I already now how to build the package, so instructions after that would be appreciated. Thanks.
Edit: Instructions are in the template.
^ permalink raw reply [flat|nested] 115+ messages in thread
* Re: New package: nvidia-open-dkms-570.144
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (20 preceding siblings ...)
2025-05-08 8:42 ` kartikynwa
@ 2025-05-09 18:13 ` Tyfuzzle
2025-05-09 19:07 ` JkktBkkt
` (91 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: Tyfuzzle @ 2025-05-09 18:13 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 187 bytes --]
New comment by Tyfuzzle on void-packages repository
https://github.com/void-linux/void-packages/pull/54593#issuecomment-2867525311
Comment:
Hi, any ideas when this might get merged in?
^ permalink raw reply [flat|nested] 115+ messages in thread
* Re: New package: nvidia-open-dkms-570.144
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (21 preceding siblings ...)
2025-05-09 18:13 ` Tyfuzzle
@ 2025-05-09 19:07 ` JkktBkkt
2025-05-09 19:15 ` fvalasiad
` (90 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: JkktBkkt @ 2025-05-09 19:07 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 720 bytes --]
New comment by JkktBkkt on void-packages repository
https://github.com/void-linux/void-packages/pull/54593#issuecomment-2867647571
Comment:
> Hi, any ideas when this might get merged in?
Unfortunately this isn't ready for merging.
I'm essentially bumping versions, running daily with this (it installs and runs fine but upgrading is a bit of a nuisance, check the template file for instructions) and am waiting for feedback/guidance from maintainers.
At the very least, there is still an open question on how to handle the versions and the choice between open kernel modules vs proprietary ones (open support the newest cards but don't support older ones. proprietary supports older cards but not the newest).
^ permalink raw reply [flat|nested] 115+ messages in thread
* Re: New package: nvidia-open-dkms-570.144
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (22 preceding siblings ...)
2025-05-09 19:07 ` JkktBkkt
@ 2025-05-09 19:15 ` fvalasiad
2025-05-21 18:56 ` Tyfuzzle
` (89 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: fvalasiad @ 2025-05-09 19:15 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 423 bytes --]
New comment by fvalasiad on void-packages repository
https://github.com/void-linux/void-packages/pull/54593#issuecomment-2867662532
Comment:
^
But I'd suspect the answer is soon this will get attention. Nvidia themselves will now treat the open kernel modules as the default, it's only natural to expect distros to transition, and that doesn't exclude void.
Use this build if you want it now, otherwise be patient.
^ permalink raw reply [flat|nested] 115+ messages in thread
* Re: New package: nvidia-open-dkms-570.144
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (23 preceding siblings ...)
2025-05-09 19:15 ` fvalasiad
@ 2025-05-21 18:56 ` Tyfuzzle
2025-05-28 22:19 ` [PR PATCH] [Updated] " JkktBkkt
` (88 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: Tyfuzzle @ 2025-05-21 18:56 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 264 bytes --]
New comment by Tyfuzzle on void-packages repository
https://github.com/void-linux/void-packages/pull/54593#issuecomment-2898929269
Comment:
I went ahead and installed it about 5 days ago. Kinda needed it as I upgraded to a 5080. Haven't had any problems so far.
^ permalink raw reply [flat|nested] 115+ messages in thread
* Re: [PR PATCH] [Updated] New package: nvidia-open-dkms-570.144
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (24 preceding siblings ...)
2025-05-21 18:56 ` Tyfuzzle
@ 2025-05-28 22:19 ` JkktBkkt
2025-05-28 22:21 ` JkktBkkt
` (87 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: JkktBkkt @ 2025-05-28 22:19 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1167 bytes --]
There is an updated pull request by JkktBkkt against master on the void-packages repository
https://github.com/JkktBkkt/void-packages patch-1
https://github.com/void-linux/void-packages/pull/54593
New package: nvidia-open-dkms-570.144
#### Testing the changes
- I tested the changes in this PR: **YES**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
-->
#### Local build testing
- I built this PR locally for my native architecture, x86_64-glibc
**Comments**
Built and tested on 6.12.16 as soon as the #50458 landed
No longer WIP since this release is out of [beta](https://us.download.nvidia.com/XFree86/Linux-x86_64/570.124.04/README/kernel_open.html) and is now the recommended driver for supported devices, which are Turing and newer, so 16-series and newer of the GeForce lineup.
Closes #51384
Perhaps package info should mention which GPUs are supported
Thanks to mike7d7 for original template and PR #51538
A patch file from https://github.com/void-linux/void-packages/pull/54593.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-patch-1-54593.patch --]
[-- Type: text/x-diff, Size: 7471 bytes --]
From 753b956231255475ee7dcfd5e411604664a9b9c2 Mon Sep 17 00:00:00 2001
From: Miguel <migue07mx@protonmail.com>
Date: Mon, 29 Jul 2024 22:37:14 -0600
Subject: [PATCH] New package: nvidia-open-dkms-570.153.02.
Co-authored-by: Miguel <migue07mx@protonmail.com>
---
srcpkgs/nvidia-open-dkms/files/dkms.conf | 26 ++++++++++++
...atomic-kernel-modesetting-by-default.patch | 42 +++++++++++++++++++
.../patches/0003-Add-IBT-support.patch | 25 +++++++++++
srcpkgs/nvidia-open-dkms/template | 42 +++++++++++++++++++
4 files changed, 135 insertions(+)
create mode 100644 srcpkgs/nvidia-open-dkms/files/dkms.conf
create mode 100644 srcpkgs/nvidia-open-dkms/patches/0001-Enable-atomic-kernel-modesetting-by-default.patch
create mode 100644 srcpkgs/nvidia-open-dkms/patches/0003-Add-IBT-support.patch
create mode 100644 srcpkgs/nvidia-open-dkms/template
diff --git a/srcpkgs/nvidia-open-dkms/files/dkms.conf b/srcpkgs/nvidia-open-dkms/files/dkms.conf
new file mode 100644
index 00000000000000..62866c7b2f04bd
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/files/dkms.conf
@@ -0,0 +1,26 @@
+PACKAGE_NAME="nvidia"
+PACKAGE_VERSION="__VERSION_STRING"
+AUTOINSTALL="yes"
+
+# By default, DKMS will add KERNELRELEASE to the make command line; however,
+# this will cause the kernel module build to infer that it was invoked via
+# Kbuild directly instead of DKMS. The dkms(8) manual page recommends quoting
+# the 'make' command name to suppress this behavior.
+MAKE[0]="'make' -j`nproc` NV_EXCLUDE_BUILD_MODULES='' KERNEL_UNAME=${kernelver} modules"
+
+# The list of kernel modules will be generated by nvidia-installer at runtime.
+BUILT_MODULE_NAME[0]="nvidia"
+BUILT_MODULE_LOCATION[0]="kernel-open"
+DEST_MODULE_LOCATION[0]="/kernel/drivers/video"
+BUILT_MODULE_NAME[1]="nvidia-uvm"
+BUILT_MODULE_LOCATION[1]="kernel-open"
+DEST_MODULE_LOCATION[1]="/kernel/drivers/video"
+BUILT_MODULE_NAME[2]="nvidia-modeset"
+BUILT_MODULE_LOCATION[2]="kernel-open"
+DEST_MODULE_LOCATION[2]="/kernel/drivers/video"
+BUILT_MODULE_NAME[3]="nvidia-drm"
+BUILT_MODULE_LOCATION[3]="kernel-open"
+DEST_MODULE_LOCATION[3]="/kernel/drivers/video"
+BUILT_MODULE_NAME[4]="nvidia-peermem"
+BUILT_MODULE_LOCATION[4]="kernel-open"
+DEST_MODULE_LOCATION[4]="/kernel/drivers/video"
diff --git a/srcpkgs/nvidia-open-dkms/patches/0001-Enable-atomic-kernel-modesetting-by-default.patch b/srcpkgs/nvidia-open-dkms/patches/0001-Enable-atomic-kernel-modesetting-by-default.patch
new file mode 100644
index 00000000000000..0548693a56cb6e
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/patches/0001-Enable-atomic-kernel-modesetting-by-default.patch
@@ -0,0 +1,42 @@
+From 69769b8ebaaeca84a5188330f80c460dcc0fa747 Mon Sep 17 00:00:00 2001
+From: Eric Naim <dnaim@cachyos.org>
+Date: Fri, 24 Jan 2025 19:34:24 +0700
+Subject: [PATCH] Enable atomic kernel modesetting by default
+
+This is required for proper functionality under Wayland. fbdev has been default enabled since 570 so that
+hunk can be removed from this patch.
+
+Signed-off-by: Eric Naim <dnaim@cachyos.org>
+---
+ nvidia-drm/nvidia-drm-linux.c | 2 +-
+ nvidia-drm/nvidia-drm-os-interface.c | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/nvidia-drm/nvidia-drm-linux.c b/nvidia-drm/nvidia-drm-linux.c
+index 0007cbf..bd0b9eb 100644
+--- a/kernel-open/nvidia-drm/nvidia-drm-linux.c
++++ b/kernel-open/nvidia-drm/nvidia-drm-linux.c
+@@ -31,7 +31,7 @@
+
+ MODULE_PARM_DESC(
+ modeset,
+- "Enable atomic kernel modesetting (1 = enable, 0 = disable (default))");
++ "Enable atomic kernel modesetting (1 = enable (default), 0 = disable)");
+ module_param_named(modeset, nv_drm_modeset_module_param, bool, 0400);
+
+ #if defined(NV_DRM_FBDEV_AVAILABLE)
+diff --git a/nvidia-drm/nvidia-drm-os-interface.c b/nvidia-drm/nvidia-drm-os-interface.c
+index 7617476..f22afd7 100644
+--- a/kernel-open/nvidia-drm/nvidia-drm-os-interface.c
++++ b/kernel-open/nvidia-drm/nvidia-drm-os-interface.c
+@@ -41,7 +41,7 @@
+ #include <drm/drmP.h>
+ #endif
+
+-bool nv_drm_modeset_module_param = false;
++bool nv_drm_modeset_module_param = true;
+ bool nv_drm_fbdev_module_param = true;
+
+ void *nv_drm_calloc(size_t nmemb, size_t size)
+--
+2.48.1
diff --git a/srcpkgs/nvidia-open-dkms/patches/0003-Add-IBT-support.patch b/srcpkgs/nvidia-open-dkms/patches/0003-Add-IBT-support.patch
new file mode 100644
index 00000000000000..caad6d70099faa
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/patches/0003-Add-IBT-support.patch
@@ -0,0 +1,25 @@
+From 1484c9ee0a60468dfd88954011fae0e28c0f73de Mon Sep 17 00:00:00 2001
+From: Peter Jung <admin@ptr1337.dev>
+Date: Fri, 18 Oct 2024 22:40:58 +0200
+Subject: [PATCH 3/6] Add IBT support
+
+Signed-off-by: Peter Jung <admin@ptr1337.dev>
+---
+ src/nvidia-modeset/Makefile | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/nvidia-modeset/Makefile b/src/nvidia-modeset/Makefile
+index 2b96f3fa..ed934014 100644
+--- a/src/nvidia-modeset/Makefile
++++ b/src/nvidia-modeset/Makefile
+@@ -151,6 +151,7 @@ ifeq ($(TARGET_ARCH),x86_64)
+ CONDITIONAL_CFLAGS += $(call TEST_CC_ARG, -fno-jump-tables)
+ CONDITIONAL_CFLAGS += $(call TEST_CC_ARG, -mindirect-branch=thunk-extern)
+ CONDITIONAL_CFLAGS += $(call TEST_CC_ARG, -mindirect-branch-register)
++ CONDITIONAL_CFLAGS += $(call TEST_CC_ARG, -mharden-sls=all)
+ endif
+
+ CFLAGS += $(CONDITIONAL_CFLAGS)
+--
+2.47.0
+
diff --git a/srcpkgs/nvidia-open-dkms/template b/srcpkgs/nvidia-open-dkms/template
new file mode 100644
index 00000000000000..7c324712183480
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/template
@@ -0,0 +1,42 @@
+# Template file for 'nvidia-open-dkms'
+# In the current state, for first install you can install nvidia from repos and then installing nvidia-open-dkms via xbps-src
+# Updating requires rebasing your local fork or locally merging PR onto master
+# (unless you just manually recreate the files to not mess with git) and either:
+# A) adjusting the nvidia template to no longer require nvidia-dkms package and building both locally
+# B) temporarily switching to the proprietary dkms module, building nvidia-open-dkms and installing it afterwards
+
+pkgname=nvidia-open-dkms
+version=570.153.02
+revision=1
+archs="x86_64"
+depends="dkms nvidia"
+short_desc="NVIDIA Linux open GPU kernel module source"
+maintainer="JkktBkkt <apkabikov@gmail.com>"
+license="GPL-2.0-only, MIT"
+homepage="https://github.com/NVIDIA/open-gpu-kernel-modules"
+distfiles="https://download.nvidia.com/XFree86/NVIDIA-kernel-module-source/NVIDIA-kernel-module-source-${version}.tar.xz"
+checksum=9489672240a49268412925680785f42845ff0b5c16d3e01ccc34a2b3d85b5623
+replaces="nvidia-dkms>=0"
+conflicts="nvidia390-dkms>=0 nvidia470-dkms>=0"
+dkms_modules="nvidia-open-dkms ${version}"
+triggers="dkms initramfs-regenerate"
+
+do_install() {
+ vmkdir usr/src/nvidia-open-dkms-${version}
+ vcopy "*" usr/src/nvidia-open-dkms-${version}
+ cp ${FILESDIR}/dkms.conf ${DESTDIR}/usr/src/nvidia-open-dkms-${version}/dkms.conf
+ vsed -e "s/__VERSION_STRING/${version}/" -i ${DESTDIR}/usr/src/nvidia-open-dkms-${version}/dkms.conf
+
+ vmkdir usr/lib/modprobe.d
+ echo "blacklist nouveau" > ${DESTDIR}/usr/lib/modprobe.d/nvidia.conf
+ echo "options nvidia NVreg_OpenRmEnableUnsupportedGpus=1" >> ${DESTDIR}/usr/lib/modprobe.d/nvidia.conf
+ chmod 644 ${DESTDIR}/usr/lib/modprobe.d/nvidia.conf
+
+ vdoc README.md
+ vlicense COPYING
+
+ pkg_install() {
+ vmove usr/src
+ vmove usr/lib/modprobe.d
+ }
+}
^ permalink raw reply related [flat|nested] 115+ messages in thread
* Re: New package: nvidia-open-dkms-570.144
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (25 preceding siblings ...)
2025-05-28 22:19 ` [PR PATCH] [Updated] " JkktBkkt
@ 2025-05-28 22:21 ` JkktBkkt
2025-06-23 12:38 ` [PR PATCH] [Updated] " JkktBkkt
` (86 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: JkktBkkt @ 2025-05-28 22:21 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 231 bytes --]
New comment by JkktBkkt on void-packages repository
https://github.com/void-linux/void-packages/pull/54593#issuecomment-2917746276
Comment:
Added the "conflicts" field, but "replaces" is kept for ease of installation for testing
^ permalink raw reply [flat|nested] 115+ messages in thread
* Re: [PR PATCH] [Updated] New package: nvidia-open-dkms-570.144
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (26 preceding siblings ...)
2025-05-28 22:21 ` JkktBkkt
@ 2025-06-23 12:38 ` JkktBkkt
2025-07-20 22:13 ` New package: nvidia-open-dkms-570.169 vikigenius
` (85 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: JkktBkkt @ 2025-06-23 12:38 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1167 bytes --]
There is an updated pull request by JkktBkkt against master on the void-packages repository
https://github.com/JkktBkkt/void-packages patch-1
https://github.com/void-linux/void-packages/pull/54593
New package: nvidia-open-dkms-570.144
#### Testing the changes
- I tested the changes in this PR: **YES**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
-->
#### Local build testing
- I built this PR locally for my native architecture, x86_64-glibc
**Comments**
Built and tested on 6.12.16 as soon as the #50458 landed
No longer WIP since this release is out of [beta](https://us.download.nvidia.com/XFree86/Linux-x86_64/570.124.04/README/kernel_open.html) and is now the recommended driver for supported devices, which are Turing and newer, so 16-series and newer of the GeForce lineup.
Closes #51384
Perhaps package info should mention which GPUs are supported
Thanks to mike7d7 for original template and PR #51538
A patch file from https://github.com/void-linux/void-packages/pull/54593.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-patch-1-54593.patch --]
[-- Type: text/x-diff, Size: 7465 bytes --]
From 564847b11d0b8ab88b99e81e49d7d6a0d654235f Mon Sep 17 00:00:00 2001
From: Miguel <migue07mx@protonmail.com>
Date: Mon, 29 Jul 2024 22:37:14 -0600
Subject: [PATCH] New package: nvidia-open-dkms-570.169.
Co-authored-by: Miguel <migue07mx@protonmail.com>
---
srcpkgs/nvidia-open-dkms/files/dkms.conf | 26 ++++++++++++
...atomic-kernel-modesetting-by-default.patch | 42 +++++++++++++++++++
.../patches/0003-Add-IBT-support.patch | 25 +++++++++++
srcpkgs/nvidia-open-dkms/template | 42 +++++++++++++++++++
4 files changed, 135 insertions(+)
create mode 100644 srcpkgs/nvidia-open-dkms/files/dkms.conf
create mode 100644 srcpkgs/nvidia-open-dkms/patches/0001-Enable-atomic-kernel-modesetting-by-default.patch
create mode 100644 srcpkgs/nvidia-open-dkms/patches/0003-Add-IBT-support.patch
create mode 100644 srcpkgs/nvidia-open-dkms/template
diff --git a/srcpkgs/nvidia-open-dkms/files/dkms.conf b/srcpkgs/nvidia-open-dkms/files/dkms.conf
new file mode 100644
index 00000000000000..62866c7b2f04bd
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/files/dkms.conf
@@ -0,0 +1,26 @@
+PACKAGE_NAME="nvidia"
+PACKAGE_VERSION="__VERSION_STRING"
+AUTOINSTALL="yes"
+
+# By default, DKMS will add KERNELRELEASE to the make command line; however,
+# this will cause the kernel module build to infer that it was invoked via
+# Kbuild directly instead of DKMS. The dkms(8) manual page recommends quoting
+# the 'make' command name to suppress this behavior.
+MAKE[0]="'make' -j`nproc` NV_EXCLUDE_BUILD_MODULES='' KERNEL_UNAME=${kernelver} modules"
+
+# The list of kernel modules will be generated by nvidia-installer at runtime.
+BUILT_MODULE_NAME[0]="nvidia"
+BUILT_MODULE_LOCATION[0]="kernel-open"
+DEST_MODULE_LOCATION[0]="/kernel/drivers/video"
+BUILT_MODULE_NAME[1]="nvidia-uvm"
+BUILT_MODULE_LOCATION[1]="kernel-open"
+DEST_MODULE_LOCATION[1]="/kernel/drivers/video"
+BUILT_MODULE_NAME[2]="nvidia-modeset"
+BUILT_MODULE_LOCATION[2]="kernel-open"
+DEST_MODULE_LOCATION[2]="/kernel/drivers/video"
+BUILT_MODULE_NAME[3]="nvidia-drm"
+BUILT_MODULE_LOCATION[3]="kernel-open"
+DEST_MODULE_LOCATION[3]="/kernel/drivers/video"
+BUILT_MODULE_NAME[4]="nvidia-peermem"
+BUILT_MODULE_LOCATION[4]="kernel-open"
+DEST_MODULE_LOCATION[4]="/kernel/drivers/video"
diff --git a/srcpkgs/nvidia-open-dkms/patches/0001-Enable-atomic-kernel-modesetting-by-default.patch b/srcpkgs/nvidia-open-dkms/patches/0001-Enable-atomic-kernel-modesetting-by-default.patch
new file mode 100644
index 00000000000000..0548693a56cb6e
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/patches/0001-Enable-atomic-kernel-modesetting-by-default.patch
@@ -0,0 +1,42 @@
+From 69769b8ebaaeca84a5188330f80c460dcc0fa747 Mon Sep 17 00:00:00 2001
+From: Eric Naim <dnaim@cachyos.org>
+Date: Fri, 24 Jan 2025 19:34:24 +0700
+Subject: [PATCH] Enable atomic kernel modesetting by default
+
+This is required for proper functionality under Wayland. fbdev has been default enabled since 570 so that
+hunk can be removed from this patch.
+
+Signed-off-by: Eric Naim <dnaim@cachyos.org>
+---
+ nvidia-drm/nvidia-drm-linux.c | 2 +-
+ nvidia-drm/nvidia-drm-os-interface.c | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/nvidia-drm/nvidia-drm-linux.c b/nvidia-drm/nvidia-drm-linux.c
+index 0007cbf..bd0b9eb 100644
+--- a/kernel-open/nvidia-drm/nvidia-drm-linux.c
++++ b/kernel-open/nvidia-drm/nvidia-drm-linux.c
+@@ -31,7 +31,7 @@
+
+ MODULE_PARM_DESC(
+ modeset,
+- "Enable atomic kernel modesetting (1 = enable, 0 = disable (default))");
++ "Enable atomic kernel modesetting (1 = enable (default), 0 = disable)");
+ module_param_named(modeset, nv_drm_modeset_module_param, bool, 0400);
+
+ #if defined(NV_DRM_FBDEV_AVAILABLE)
+diff --git a/nvidia-drm/nvidia-drm-os-interface.c b/nvidia-drm/nvidia-drm-os-interface.c
+index 7617476..f22afd7 100644
+--- a/kernel-open/nvidia-drm/nvidia-drm-os-interface.c
++++ b/kernel-open/nvidia-drm/nvidia-drm-os-interface.c
+@@ -41,7 +41,7 @@
+ #include <drm/drmP.h>
+ #endif
+
+-bool nv_drm_modeset_module_param = false;
++bool nv_drm_modeset_module_param = true;
+ bool nv_drm_fbdev_module_param = true;
+
+ void *nv_drm_calloc(size_t nmemb, size_t size)
+--
+2.48.1
diff --git a/srcpkgs/nvidia-open-dkms/patches/0003-Add-IBT-support.patch b/srcpkgs/nvidia-open-dkms/patches/0003-Add-IBT-support.patch
new file mode 100644
index 00000000000000..caad6d70099faa
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/patches/0003-Add-IBT-support.patch
@@ -0,0 +1,25 @@
+From 1484c9ee0a60468dfd88954011fae0e28c0f73de Mon Sep 17 00:00:00 2001
+From: Peter Jung <admin@ptr1337.dev>
+Date: Fri, 18 Oct 2024 22:40:58 +0200
+Subject: [PATCH 3/6] Add IBT support
+
+Signed-off-by: Peter Jung <admin@ptr1337.dev>
+---
+ src/nvidia-modeset/Makefile | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/nvidia-modeset/Makefile b/src/nvidia-modeset/Makefile
+index 2b96f3fa..ed934014 100644
+--- a/src/nvidia-modeset/Makefile
++++ b/src/nvidia-modeset/Makefile
+@@ -151,6 +151,7 @@ ifeq ($(TARGET_ARCH),x86_64)
+ CONDITIONAL_CFLAGS += $(call TEST_CC_ARG, -fno-jump-tables)
+ CONDITIONAL_CFLAGS += $(call TEST_CC_ARG, -mindirect-branch=thunk-extern)
+ CONDITIONAL_CFLAGS += $(call TEST_CC_ARG, -mindirect-branch-register)
++ CONDITIONAL_CFLAGS += $(call TEST_CC_ARG, -mharden-sls=all)
+ endif
+
+ CFLAGS += $(CONDITIONAL_CFLAGS)
+--
+2.47.0
+
diff --git a/srcpkgs/nvidia-open-dkms/template b/srcpkgs/nvidia-open-dkms/template
new file mode 100644
index 00000000000000..003c0c827d4d37
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/template
@@ -0,0 +1,42 @@
+# Template file for 'nvidia-open-dkms'
+# In the current state, for first install you can install nvidia from repos and then installing nvidia-open-dkms via xbps-src
+# Updating requires rebasing your local fork or locally merging PR onto master
+# (unless you just manually recreate the files to not mess with git) and either:
+# A) adjusting the nvidia template to no longer require nvidia-dkms package and building both locally
+# B) temporarily switching to the proprietary dkms module, building nvidia-open-dkms and installing it afterwards
+
+pkgname=nvidia-open-dkms
+version=570.169
+revision=1
+archs="x86_64"
+depends="dkms nvidia"
+short_desc="NVIDIA Linux open GPU kernel module source"
+maintainer="JkktBkkt <apkabikov@gmail.com>"
+license="GPL-2.0-only, MIT"
+homepage="https://github.com/NVIDIA/open-gpu-kernel-modules"
+distfiles="https://download.nvidia.com/XFree86/NVIDIA-kernel-module-source/NVIDIA-kernel-module-source-${version}.tar.xz"
+checksum=a7747e036440b13c3c2ec0ef376cac47fd2abeedc74584100f622d864b164444
+replaces="nvidia-dkms>=0"
+conflicts="nvidia390-dkms>=0 nvidia470-dkms>=0"
+dkms_modules="nvidia-open-dkms ${version}"
+triggers="dkms initramfs-regenerate"
+
+do_install() {
+ vmkdir usr/src/nvidia-open-dkms-${version}
+ vcopy "*" usr/src/nvidia-open-dkms-${version}
+ cp ${FILESDIR}/dkms.conf ${DESTDIR}/usr/src/nvidia-open-dkms-${version}/dkms.conf
+ vsed -e "s/__VERSION_STRING/${version}/" -i ${DESTDIR}/usr/src/nvidia-open-dkms-${version}/dkms.conf
+
+ vmkdir usr/lib/modprobe.d
+ echo "blacklist nouveau" > ${DESTDIR}/usr/lib/modprobe.d/nvidia.conf
+ echo "options nvidia NVreg_OpenRmEnableUnsupportedGpus=1" >> ${DESTDIR}/usr/lib/modprobe.d/nvidia.conf
+ chmod 644 ${DESTDIR}/usr/lib/modprobe.d/nvidia.conf
+
+ vdoc README.md
+ vlicense COPYING
+
+ pkg_install() {
+ vmove usr/src
+ vmove usr/lib/modprobe.d
+ }
+}
^ permalink raw reply related [flat|nested] 115+ messages in thread
* Re: New package: nvidia-open-dkms-570.169
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (27 preceding siblings ...)
2025-06-23 12:38 ` [PR PATCH] [Updated] " JkktBkkt
@ 2025-07-20 22:13 ` vikigenius
2025-07-20 22:16 ` vikigenius
` (84 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: vikigenius @ 2025-07-20 22:13 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 329 bytes --]
New comment by vikigenius on void-packages repository
https://github.com/void-linux/void-packages/pull/54593#issuecomment-3094824564
Comment:
@Tyfuzzle I am using 5070 TI and can't get the nvidia drivers to work properly. Is this necessary for newer cards? Do I need to set the nvidia-drm.modeset=1 in the kernel params still?
^ permalink raw reply [flat|nested] 115+ messages in thread
* Re: New package: nvidia-open-dkms-570.169
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (28 preceding siblings ...)
2025-07-20 22:13 ` New package: nvidia-open-dkms-570.169 vikigenius
@ 2025-07-20 22:16 ` vikigenius
2025-07-20 22:34 ` Tyfuzzle
` (83 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: vikigenius @ 2025-07-20 22:16 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 421 bytes --]
New comment by vikigenius on void-packages repository
https://github.com/void-linux/void-packages/pull/54593#issuecomment-3094824564
Comment:
@Tyfuzzle I am using 5070 TI and can't get the nvidia drivers to work properly. Is this necessary for newer cards? Do I need to set the nvidia-drm.modeset=1 in the kernel params still?
Would really appreciate it if you could give some instructions on how you got it to work
^ permalink raw reply [flat|nested] 115+ messages in thread
* Re: New package: nvidia-open-dkms-570.169
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (29 preceding siblings ...)
2025-07-20 22:16 ` vikigenius
@ 2025-07-20 22:34 ` Tyfuzzle
2025-07-21 1:34 ` vikigenius
` (82 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: Tyfuzzle @ 2025-07-20 22:34 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 481 bytes --]
New comment by Tyfuzzle on void-packages repository
https://github.com/void-linux/void-packages/pull/54593#issuecomment-3094834712
Comment:
@vikigenius I only followed the instructions on the template. Didn't need to do anything else. As far as I'm aware, the closed source DKMS module doesn't support newer cards. Haven't ever used any kernel parameters. If you're skeptical that it might be breaking something, remove the parameter. If it doesn't change anything, put it back.
^ permalink raw reply [flat|nested] 115+ messages in thread
* Re: New package: nvidia-open-dkms-570.169
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (30 preceding siblings ...)
2025-07-20 22:34 ` Tyfuzzle
@ 2025-07-21 1:34 ` vikigenius
2025-07-21 1:34 ` vikigenius
` (81 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: vikigenius @ 2025-07-21 1:34 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 533 bytes --]
New comment by vikigenius on void-packages repository
https://github.com/void-linux/void-packages/pull/54593#issuecomment-3095003014
Comment:
@Tyfuzzle thanks I installed this package but I am getting issues with running niri
> None of the following EGL extensions is supported by the underlying EGL implementation at least one is required EGL_EXT_device_query
I created an issue here https://github.com/YaLTeR/niri/issues/2095
But I am not sure, if the error could be because of this package? Do you use wayland or xorg?
^ permalink raw reply [flat|nested] 115+ messages in thread
* Re: New package: nvidia-open-dkms-570.169
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (31 preceding siblings ...)
2025-07-21 1:34 ` vikigenius
@ 2025-07-21 1:34 ` vikigenius
2025-07-21 9:32 ` JkktBkkt
` (80 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: vikigenius @ 2025-07-21 1:34 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 554 bytes --]
New comment by vikigenius on void-packages repository
https://github.com/void-linux/void-packages/pull/54593#issuecomment-3095003014
Comment:
@Tyfuzzle thanks I installed this package but I am getting issues with running niri a wayland compositor
> None of the following EGL extensions is supported by the underlying EGL implementation at least one is required EGL_EXT_device_query
I created an issue here https://github.com/YaLTeR/niri/issues/2095
But I am not sure, if the error could be because of this package? Do you use wayland or xorg?
^ permalink raw reply [flat|nested] 115+ messages in thread
* Re: New package: nvidia-open-dkms-570.169
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (32 preceding siblings ...)
2025-07-21 1:34 ` vikigenius
@ 2025-07-21 9:32 ` JkktBkkt
2025-08-05 17:10 ` vikigenius
` (79 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: JkktBkkt @ 2025-07-21 9:32 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 2188 bytes --]
New comment by JkktBkkt on void-packages repository
https://github.com/void-linux/void-packages/pull/54593#issuecomment-3095913155
Comment:
@vikigenius
> wayland
While not using a 50-series gpu, I'm using wayland with this in a daily system, and was able to install and launch niri (and exit from within it)
Regarding the drivers, even though Blackwell architecture (50-series) is not officially supported by the proprietary driver, you should still install the `nvidia` package which pulls in the proprietary kernel driver in form of `nvidia-dkms` dependency and then, automatically replacing only the `nvidia-dkms` package in the process, this one. This process is currently necessary to install the necessary libraries, firmware for some cards, and other misc. files, provided in the `nvidia` template, i.e. contents of `nvidia-opencl` and `nvidia-libs`.
The `nvidia` package, along with it's dependencies, is in `nonfree` repo, since the license for it isn't open. The repo can be added via installing the `void-repo-nonfree` package (unless you want to manually add it). If you plan on using 32-bit packages, i.e. default variant of wine, steam, etc., you'd also want `void-repo-multilib` and `void-repo-multilib-nonfree` (i.e. for 32-bit nvidia libraries)
To verify that the 'open' kernel driver installed, you can use `modinfo nvidia | grep license` and `cat /proc/driver/nvidia/version` commands. The first should report "Dual MIT/GPL" and the latter `NVRM version: NVIDIA UNIX Open Kernel Module for x86_64 570.169 Release Build ... `
To use this driver, you should also check that nouveau driver isn't loaded, perhaps a system restart would be the easiest way to make sure the blacklist got applied (it should as part of installing this package, you can check that file `/usr/lib/modprobe.d/nvidia.conf` reads `blacklist nouveau`)
You can check the EGL extensions availability with command `eglinfo` available in `mesa-demos` package and visually validate with, say, `glxgears` in the same package (would require a running X server, Xwayland would work too). The specific capability you listed, `EGL_EXT_device_query` should be at the top of the list.
^ permalink raw reply [flat|nested] 115+ messages in thread
* Re: New package: nvidia-open-dkms-570.169
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (33 preceding siblings ...)
2025-07-21 9:32 ` JkktBkkt
@ 2025-08-05 17:10 ` vikigenius
2025-08-05 17:14 ` vikigenius
` (78 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: vikigenius @ 2025-08-05 17:10 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 509 bytes --]
New comment by vikigenius on void-packages repository
https://github.com/void-linux/void-packages/pull/54593#issuecomment-3155951389
Comment:
@JkktBkkt thanks a lot I did manage to get it working reasonably well.
I do run into this issue intermittently https://bbs.archlinux.org/viewtopic.php?pid=2254844#p2254844
Random crashes for apparently no reason at all. The entire system freezes up, I can VT switch to a different TTY but the login there hangs there as well. It's as if the OS itself crashes
^ permalink raw reply [flat|nested] 115+ messages in thread
* Re: New package: nvidia-open-dkms-570.169
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (34 preceding siblings ...)
2025-08-05 17:10 ` vikigenius
@ 2025-08-05 17:14 ` vikigenius
2025-08-13 12:22 ` [PR PATCH] [Updated] " JkktBkkt
` (77 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: vikigenius @ 2025-08-05 17:14 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 665 bytes --]
New comment by vikigenius on void-packages repository
https://github.com/void-linux/void-packages/pull/54593#issuecomment-3155951389
Comment:
@JkktBkkt thanks a lot I did manage to get it working reasonably well.
I do run into this issue intermittently https://bbs.archlinux.org/viewtopic.php?pid=2254844#p2254844
Random crashes for apparently no reason at all. The entire system freezes up, I can VT switch to a different TTY but the login there hangs there as well. It's as if the OS itself crashes
After kernel upgrades am I supposed to rerun this somehow, that's the only thin I can think off since this seems to be happening more and more recently.
^ permalink raw reply [flat|nested] 115+ messages in thread
* Re: [PR PATCH] [Updated] New package: nvidia-open-dkms-570.169
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (35 preceding siblings ...)
2025-08-05 17:14 ` vikigenius
@ 2025-08-13 12:22 ` JkktBkkt
2025-08-13 12:34 ` JkktBkkt
` (76 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: JkktBkkt @ 2025-08-13 12:22 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1167 bytes --]
There is an updated pull request by JkktBkkt against master on the void-packages repository
https://github.com/JkktBkkt/void-packages patch-1
https://github.com/void-linux/void-packages/pull/54593
New package: nvidia-open-dkms-570.169
#### Testing the changes
- I tested the changes in this PR: **YES**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
-->
#### Local build testing
- I built this PR locally for my native architecture, x86_64-glibc
**Comments**
Built and tested on 6.12.16 as soon as the #50458 landed
No longer WIP since this release is out of [beta](https://us.download.nvidia.com/XFree86/Linux-x86_64/570.124.04/README/kernel_open.html) and is now the recommended driver for supported devices, which are Turing and newer, so 16-series and newer of the GeForce lineup.
Closes #51384
Perhaps package info should mention which GPUs are supported
Thanks to mike7d7 for original template and PR #51538
A patch file from https://github.com/void-linux/void-packages/pull/54593.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-patch-1-54593.patch --]
[-- Type: text/x-diff, Size: 7518 bytes --]
From a0d89b896976263309320dc5f9daf14a2f31da11 Mon Sep 17 00:00:00 2001
From: Miguel <migue07mx@protonmail.com>
Date: Mon, 29 Jul 2024 22:37:14 -0600
Subject: [PATCH] New package: nvidia-open-dkms-570.181.
Co-authored-by: Miguel <migue07mx@protonmail.com>
---
srcpkgs/nvidia-open-dkms/files/dkms.conf | 26 +++++++++++
...atomic-kernel-modesetting-by-default.patch | 42 ++++++++++++++++++
.../patches/0003-Add-IBT-support.patch | 25 +++++++++++
srcpkgs/nvidia-open-dkms/template | 43 +++++++++++++++++++
4 files changed, 136 insertions(+)
create mode 100644 srcpkgs/nvidia-open-dkms/files/dkms.conf
create mode 100644 srcpkgs/nvidia-open-dkms/patches/0001-Enable-atomic-kernel-modesetting-by-default.patch
create mode 100644 srcpkgs/nvidia-open-dkms/patches/0003-Add-IBT-support.patch
create mode 100644 srcpkgs/nvidia-open-dkms/template
diff --git a/srcpkgs/nvidia-open-dkms/files/dkms.conf b/srcpkgs/nvidia-open-dkms/files/dkms.conf
new file mode 100644
index 00000000000000..62866c7b2f04bd
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/files/dkms.conf
@@ -0,0 +1,26 @@
+PACKAGE_NAME="nvidia"
+PACKAGE_VERSION="__VERSION_STRING"
+AUTOINSTALL="yes"
+
+# By default, DKMS will add KERNELRELEASE to the make command line; however,
+# this will cause the kernel module build to infer that it was invoked via
+# Kbuild directly instead of DKMS. The dkms(8) manual page recommends quoting
+# the 'make' command name to suppress this behavior.
+MAKE[0]="'make' -j`nproc` NV_EXCLUDE_BUILD_MODULES='' KERNEL_UNAME=${kernelver} modules"
+
+# The list of kernel modules will be generated by nvidia-installer at runtime.
+BUILT_MODULE_NAME[0]="nvidia"
+BUILT_MODULE_LOCATION[0]="kernel-open"
+DEST_MODULE_LOCATION[0]="/kernel/drivers/video"
+BUILT_MODULE_NAME[1]="nvidia-uvm"
+BUILT_MODULE_LOCATION[1]="kernel-open"
+DEST_MODULE_LOCATION[1]="/kernel/drivers/video"
+BUILT_MODULE_NAME[2]="nvidia-modeset"
+BUILT_MODULE_LOCATION[2]="kernel-open"
+DEST_MODULE_LOCATION[2]="/kernel/drivers/video"
+BUILT_MODULE_NAME[3]="nvidia-drm"
+BUILT_MODULE_LOCATION[3]="kernel-open"
+DEST_MODULE_LOCATION[3]="/kernel/drivers/video"
+BUILT_MODULE_NAME[4]="nvidia-peermem"
+BUILT_MODULE_LOCATION[4]="kernel-open"
+DEST_MODULE_LOCATION[4]="/kernel/drivers/video"
diff --git a/srcpkgs/nvidia-open-dkms/patches/0001-Enable-atomic-kernel-modesetting-by-default.patch b/srcpkgs/nvidia-open-dkms/patches/0001-Enable-atomic-kernel-modesetting-by-default.patch
new file mode 100644
index 00000000000000..0548693a56cb6e
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/patches/0001-Enable-atomic-kernel-modesetting-by-default.patch
@@ -0,0 +1,42 @@
+From 69769b8ebaaeca84a5188330f80c460dcc0fa747 Mon Sep 17 00:00:00 2001
+From: Eric Naim <dnaim@cachyos.org>
+Date: Fri, 24 Jan 2025 19:34:24 +0700
+Subject: [PATCH] Enable atomic kernel modesetting by default
+
+This is required for proper functionality under Wayland. fbdev has been default enabled since 570 so that
+hunk can be removed from this patch.
+
+Signed-off-by: Eric Naim <dnaim@cachyos.org>
+---
+ nvidia-drm/nvidia-drm-linux.c | 2 +-
+ nvidia-drm/nvidia-drm-os-interface.c | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/nvidia-drm/nvidia-drm-linux.c b/nvidia-drm/nvidia-drm-linux.c
+index 0007cbf..bd0b9eb 100644
+--- a/kernel-open/nvidia-drm/nvidia-drm-linux.c
++++ b/kernel-open/nvidia-drm/nvidia-drm-linux.c
+@@ -31,7 +31,7 @@
+
+ MODULE_PARM_DESC(
+ modeset,
+- "Enable atomic kernel modesetting (1 = enable, 0 = disable (default))");
++ "Enable atomic kernel modesetting (1 = enable (default), 0 = disable)");
+ module_param_named(modeset, nv_drm_modeset_module_param, bool, 0400);
+
+ #if defined(NV_DRM_FBDEV_AVAILABLE)
+diff --git a/nvidia-drm/nvidia-drm-os-interface.c b/nvidia-drm/nvidia-drm-os-interface.c
+index 7617476..f22afd7 100644
+--- a/kernel-open/nvidia-drm/nvidia-drm-os-interface.c
++++ b/kernel-open/nvidia-drm/nvidia-drm-os-interface.c
+@@ -41,7 +41,7 @@
+ #include <drm/drmP.h>
+ #endif
+
+-bool nv_drm_modeset_module_param = false;
++bool nv_drm_modeset_module_param = true;
+ bool nv_drm_fbdev_module_param = true;
+
+ void *nv_drm_calloc(size_t nmemb, size_t size)
+--
+2.48.1
diff --git a/srcpkgs/nvidia-open-dkms/patches/0003-Add-IBT-support.patch b/srcpkgs/nvidia-open-dkms/patches/0003-Add-IBT-support.patch
new file mode 100644
index 00000000000000..caad6d70099faa
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/patches/0003-Add-IBT-support.patch
@@ -0,0 +1,25 @@
+From 1484c9ee0a60468dfd88954011fae0e28c0f73de Mon Sep 17 00:00:00 2001
+From: Peter Jung <admin@ptr1337.dev>
+Date: Fri, 18 Oct 2024 22:40:58 +0200
+Subject: [PATCH 3/6] Add IBT support
+
+Signed-off-by: Peter Jung <admin@ptr1337.dev>
+---
+ src/nvidia-modeset/Makefile | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/nvidia-modeset/Makefile b/src/nvidia-modeset/Makefile
+index 2b96f3fa..ed934014 100644
+--- a/src/nvidia-modeset/Makefile
++++ b/src/nvidia-modeset/Makefile
+@@ -151,6 +151,7 @@ ifeq ($(TARGET_ARCH),x86_64)
+ CONDITIONAL_CFLAGS += $(call TEST_CC_ARG, -fno-jump-tables)
+ CONDITIONAL_CFLAGS += $(call TEST_CC_ARG, -mindirect-branch=thunk-extern)
+ CONDITIONAL_CFLAGS += $(call TEST_CC_ARG, -mindirect-branch-register)
++ CONDITIONAL_CFLAGS += $(call TEST_CC_ARG, -mharden-sls=all)
+ endif
+
+ CFLAGS += $(CONDITIONAL_CFLAGS)
+--
+2.47.0
+
diff --git a/srcpkgs/nvidia-open-dkms/template b/srcpkgs/nvidia-open-dkms/template
new file mode 100644
index 00000000000000..1b846de9a9b5c8
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/template
@@ -0,0 +1,43 @@
+# Template file for 'nvidia-open-dkms'
+# In the current state, for first install you can install nvidia from repos and then installing nvidia-open-dkms via xbps-src
+# Kernel updates are handled automatically
+# Updating the driver requires rebasing your local fork or locally merging PR onto master
+# (unless you just manually recreate the files to not mess with git) and either:
+# A) adjusting the nvidia template to no longer require nvidia-dkms package and building both locally
+# B) temporarily switching to the proprietary dkms module, building nvidia-open-dkms and installing it afterwards
+
+pkgname=nvidia-open-dkms
+version=570.181
+revision=1
+archs="x86_64"
+depends="dkms nvidia"
+short_desc="NVIDIA Linux open GPU kernel module source"
+maintainer="JkktBkkt <apkabikov@gmail.com>"
+license="GPL-2.0-only, MIT"
+homepage="https://github.com/NVIDIA/open-gpu-kernel-modules"
+distfiles="https://download.nvidia.com/XFree86/NVIDIA-kernel-module-source/NVIDIA-kernel-module-source-${version}.tar.xz"
+checksum=aa05fcee59b0ed809c37cd41be70bc2c2c9b9f96f2372387032697ca6c4def40
+replaces="nvidia-dkms>=0"
+conflicts="nvidia390-dkms>=0 nvidia470-dkms>=0"
+dkms_modules="nvidia-open-dkms ${version}"
+triggers="dkms initramfs-regenerate"
+
+do_install() {
+ vmkdir usr/src/nvidia-open-dkms-${version}
+ vcopy "*" usr/src/nvidia-open-dkms-${version}
+ cp ${FILESDIR}/dkms.conf ${DESTDIR}/usr/src/nvidia-open-dkms-${version}/dkms.conf
+ vsed -e "s/__VERSION_STRING/${version}/" -i ${DESTDIR}/usr/src/nvidia-open-dkms-${version}/dkms.conf
+
+ vmkdir usr/lib/modprobe.d
+ echo "blacklist nouveau" > ${DESTDIR}/usr/lib/modprobe.d/nvidia.conf
+ echo "options nvidia NVreg_OpenRmEnableUnsupportedGpus=1" >> ${DESTDIR}/usr/lib/modprobe.d/nvidia.conf
+ chmod 644 ${DESTDIR}/usr/lib/modprobe.d/nvidia.conf
+
+ vdoc README.md
+ vlicense COPYING
+
+ pkg_install() {
+ vmove usr/src
+ vmove usr/lib/modprobe.d
+ }
+}
^ permalink raw reply related [flat|nested] 115+ messages in thread
* Re: New package: nvidia-open-dkms-570.169
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (36 preceding siblings ...)
2025-08-13 12:22 ` [PR PATCH] [Updated] " JkktBkkt
@ 2025-08-13 12:34 ` JkktBkkt
2025-08-14 21:48 ` Tyfuzzle
` (75 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: JkktBkkt @ 2025-08-13 12:34 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1454 bytes --]
New comment by JkktBkkt on void-packages repository
https://github.com/void-linux/void-packages/pull/54593#issuecomment-3183733673
Comment:
@vikigenius can't really say whether that is actually caused by the nvidia-open driver. There is some hope that the same fix that was applied in the 580 driver branch to fix the vkps/llama.cpp issue you've mentioned made it into the 570.181 release as well, but I haven't tested it.
The other user also mentioned disabling integrated graphics (in UEFI) in the thread you've linked, perhaps that would work?
Regarding updates:
- Minor kernel changes get handled automatically: when you install a new kernel version through xbps, hooks for kernels get run — building DKMS modules, meaning Dynamic Kernel Module Support (like this one), get rebuilt automatically, kernel can get signed, initramfs for it gets generated, etc. Similar processes exist for removing kernel versions, for clean-up.
- Major kernel versions can (but not necessarily will) introduce incompatibilities. The same hooks will still run but it can result in a module that doesn't build or builds and is misbehaving in one way or another. In that case you'd need to have a compatible version of the driver installed and/or roll back to kernel version that is compatible with the one available.
- Driver updates need to be handled manually in the current state. See the contents of the template for an outline of what needs to be done.
^ permalink raw reply [flat|nested] 115+ messages in thread
* Re: New package: nvidia-open-dkms-570.169
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (37 preceding siblings ...)
2025-08-13 12:34 ` JkktBkkt
@ 2025-08-14 21:48 ` Tyfuzzle
2025-08-14 21:52 ` Tyfuzzle
` (74 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: Tyfuzzle @ 2025-08-14 21:48 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 974 bytes --]
New comment by Tyfuzzle on void-packages repository
https://github.com/void-linux/void-packages/pull/54593#issuecomment-3189957846
Comment:
> @Tyfuzzle thanks I installed this package but I am getting issues with running niri a wayland compositor
>
> > None of the following EGL extensions is supported by the underlying EGL implementation at least one is required EGL_EXT_device_query
>
> I created an issue here [YaLTeR/niri#2095](https://github.com/YaLTeR/niri/issues/2095)
>
> But I am not sure, if the error could be because of this package? Do you use wayland or xorg?
Sorry for not responding sooner. Not that it matters because you mentioned youve got it working now. I'm using x11 at the moment.
I've ran into my own problem though now. The main nvidia package has upgraded to 580 but this PR is still on 570 so now I'm stuck in terminal with xinit crashing (or I assume I am because of incompatibility between the driver and kdms module version).
^ permalink raw reply [flat|nested] 115+ messages in thread
* Re: New package: nvidia-open-dkms-570.169
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (38 preceding siblings ...)
2025-08-14 21:48 ` Tyfuzzle
@ 2025-08-14 21:52 ` Tyfuzzle
2025-08-14 23:02 ` New package: nvidia-open-dkms-570.181 Tyfuzzle
` (73 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: Tyfuzzle @ 2025-08-14 21:52 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1121 bytes --]
New comment by Tyfuzzle on void-packages repository
https://github.com/void-linux/void-packages/pull/54593#issuecomment-3189957846
Comment:
> @Tyfuzzle thanks I installed this package but I am getting issues with running niri a wayland compositor
>
> > None of the following EGL extensions is supported by the underlying EGL implementation at least one is required EGL_EXT_device_query
>
> I created an issue here [YaLTeR/niri#2095](https://github.com/YaLTeR/niri/issues/2095)
>
> But I am not sure, if the error could be because of this package? Do you use wayland or xorg?
Sorry for not responding sooner. Not that it matters because you mentioned youve got it working now. I'm using x11 at the moment.
I've ran into my own problem though now. The main nvidia package has upgraded to 580 but this PR is still on 570 so now I'm stuck in terminal with xinit crashing (or I assume I am because of incompatibility between the driver and kdms module version).
Edit:
Output of /var/log/Xorg.0.log

^ permalink raw reply [flat|nested] 115+ messages in thread
* Re: New package: nvidia-open-dkms-570.181
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (39 preceding siblings ...)
2025-08-14 21:52 ` Tyfuzzle
@ 2025-08-14 23:02 ` Tyfuzzle
2025-08-14 23:22 ` JkktBkkt
` (72 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: Tyfuzzle @ 2025-08-14 23:02 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1464 bytes --]
New comment by Tyfuzzle on void-packages repository
https://github.com/void-linux/void-packages/pull/54593#issuecomment-3189957846
Comment:
> @Tyfuzzle thanks I installed this package but I am getting issues with running niri a wayland compositor
>
> > None of the following EGL extensions is supported by the underlying EGL implementation at least one is required EGL_EXT_device_query
>
> I created an issue here [YaLTeR/niri#2095](https://github.com/YaLTeR/niri/issues/2095)
>
> But I am not sure, if the error could be because of this package? Do you use wayland or xorg?
Sorry for not responding sooner. Not that it matters because you mentioned youve got it working now. I'm using x11 at the moment.
I've ran into my own problem though now. The main nvidia package has upgraded to 580 but this PR is still on 570 so now I'm stuck in terminal with xinit crashing (or I assume I am because of incompatibility between the driver and kdms module version).
Edit:
Output of /var/log/Xorg.0.log

Edit 2:
It took over an hour, but I managed to salvage it. For some reason, I had all nvidia 570.181_1 packages cached except nvidia-libs-32bit, so I managed to roll back everything but that. I ended up getting by checking out the commit for 570.181_1 for in void packages so I could build it myself. Bit of a pain, but Steam boots now.
^ permalink raw reply [flat|nested] 115+ messages in thread
* Re: New package: nvidia-open-dkms-570.181
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (40 preceding siblings ...)
2025-08-14 23:02 ` New package: nvidia-open-dkms-570.181 Tyfuzzle
@ 2025-08-14 23:22 ` JkktBkkt
2025-09-12 14:50 ` [PR PATCH] [Updated] " JkktBkkt
` (71 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: JkktBkkt @ 2025-08-14 23:22 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1511 bytes --]
New comment by JkktBkkt on void-packages repository
https://github.com/void-linux/void-packages/pull/54593#issuecomment-3190177124
Comment:
> upgraded to 580 but this PR is still on 570
@Tyfuzzle glad you figured this out.
For anyone else in a similar situation, here's the gist of it:
I've tested 580.76.05 open locally today and had an issue with all gtk4 applications that I've tested simply hanging (as mentioned in the accepted PR for 580)
Not sure if it only applies to the open kernel modules, but I think it's best to keep 570.181 for now.
You can use `xdowngrade` to downgrade the package and then hold it to prevent upgrading for the time being.
See here: https://docs.voidlinux.org/xbps/advanced-usage.html
In case you've removed the older versions from your local cache or didn't have them, the easiest would probably be to: check out this PR as-is to a branch, not rebasing it on top of master, then packaging `nvidia` locally, and then using the same xdowngrade command but pointing to your local repos:
`void-packages/hostdir/binpkgs/current-branch-name/nonfree/`
and `void-packages/hostdir/binpkgs/current-branch-name/multilib/nonfree` if you use 32bit libraries too
Install `nvidia-570.181.x86_64.xbps nvidia-dkms-570.181.x86_64.xbps nvidia-firmware-570.181.x86_64.xbps nvidia-gtklibs-570.181.x86_64.xbps nvidia-libs-570.181.x86_64.xbps nvidia-opencl-570.181.x86_64.xbps` (possibly nvidia-libs-32bit-570.181.x86_64.xbps)
And then reinstalling the nvidia-open-dkms package
^ permalink raw reply [flat|nested] 115+ messages in thread
* Re: [PR PATCH] [Updated] New package: nvidia-open-dkms-570.181
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (41 preceding siblings ...)
2025-08-14 23:22 ` JkktBkkt
@ 2025-09-12 14:50 ` JkktBkkt
2025-09-12 14:50 ` JkktBkkt
` (70 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: JkktBkkt @ 2025-09-12 14:50 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1167 bytes --]
There is an updated pull request by JkktBkkt against master on the void-packages repository
https://github.com/JkktBkkt/void-packages patch-1
https://github.com/void-linux/void-packages/pull/54593
New package: nvidia-open-dkms-570.181
#### Testing the changes
- I tested the changes in this PR: **YES**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
-->
#### Local build testing
- I built this PR locally for my native architecture, x86_64-glibc
**Comments**
Built and tested on 6.12.16 as soon as the #50458 landed
No longer WIP since this release is out of [beta](https://us.download.nvidia.com/XFree86/Linux-x86_64/570.124.04/README/kernel_open.html) and is now the recommended driver for supported devices, which are Turing and newer, so 16-series and newer of the GeForce lineup.
Closes #51384
Perhaps package info should mention which GPUs are supported
Thanks to mike7d7 for original template and PR #51538
A patch file from https://github.com/void-linux/void-packages/pull/54593.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-patch-1-54593.patch --]
[-- Type: text/x-diff, Size: 7520 bytes --]
From 45ffabaccb2bd312e28d908184a349bd4e682472 Mon Sep 17 00:00:00 2001
From: Miguel <migue07mx@protonmail.com>
Date: Mon, 29 Jul 2024 22:37:14 -0600
Subject: [PATCH] New package: nvidia-open-dkms-570.181.
Co-authored-by: Miguel <migue07mx@protonmail.com>
---
srcpkgs/nvidia-open-dkms/files/dkms.conf | 26 +++++++++++
...atomic-kernel-modesetting-by-default.patch | 42 ++++++++++++++++++
.../patches/0003-Add-IBT-support.patch | 25 +++++++++++
srcpkgs/nvidia-open-dkms/template | 43 +++++++++++++++++++
4 files changed, 136 insertions(+)
create mode 100644 srcpkgs/nvidia-open-dkms/files/dkms.conf
create mode 100644 srcpkgs/nvidia-open-dkms/patches/0001-Enable-atomic-kernel-modesetting-by-default.patch
create mode 100644 srcpkgs/nvidia-open-dkms/patches/0003-Add-IBT-support.patch
create mode 100644 srcpkgs/nvidia-open-dkms/template
diff --git a/srcpkgs/nvidia-open-dkms/files/dkms.conf b/srcpkgs/nvidia-open-dkms/files/dkms.conf
new file mode 100644
index 00000000000000..62866c7b2f04bd
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/files/dkms.conf
@@ -0,0 +1,26 @@
+PACKAGE_NAME="nvidia"
+PACKAGE_VERSION="__VERSION_STRING"
+AUTOINSTALL="yes"
+
+# By default, DKMS will add KERNELRELEASE to the make command line; however,
+# this will cause the kernel module build to infer that it was invoked via
+# Kbuild directly instead of DKMS. The dkms(8) manual page recommends quoting
+# the 'make' command name to suppress this behavior.
+MAKE[0]="'make' -j`nproc` NV_EXCLUDE_BUILD_MODULES='' KERNEL_UNAME=${kernelver} modules"
+
+# The list of kernel modules will be generated by nvidia-installer at runtime.
+BUILT_MODULE_NAME[0]="nvidia"
+BUILT_MODULE_LOCATION[0]="kernel-open"
+DEST_MODULE_LOCATION[0]="/kernel/drivers/video"
+BUILT_MODULE_NAME[1]="nvidia-uvm"
+BUILT_MODULE_LOCATION[1]="kernel-open"
+DEST_MODULE_LOCATION[1]="/kernel/drivers/video"
+BUILT_MODULE_NAME[2]="nvidia-modeset"
+BUILT_MODULE_LOCATION[2]="kernel-open"
+DEST_MODULE_LOCATION[2]="/kernel/drivers/video"
+BUILT_MODULE_NAME[3]="nvidia-drm"
+BUILT_MODULE_LOCATION[3]="kernel-open"
+DEST_MODULE_LOCATION[3]="/kernel/drivers/video"
+BUILT_MODULE_NAME[4]="nvidia-peermem"
+BUILT_MODULE_LOCATION[4]="kernel-open"
+DEST_MODULE_LOCATION[4]="/kernel/drivers/video"
diff --git a/srcpkgs/nvidia-open-dkms/patches/0001-Enable-atomic-kernel-modesetting-by-default.patch b/srcpkgs/nvidia-open-dkms/patches/0001-Enable-atomic-kernel-modesetting-by-default.patch
new file mode 100644
index 00000000000000..0548693a56cb6e
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/patches/0001-Enable-atomic-kernel-modesetting-by-default.patch
@@ -0,0 +1,42 @@
+From 69769b8ebaaeca84a5188330f80c460dcc0fa747 Mon Sep 17 00:00:00 2001
+From: Eric Naim <dnaim@cachyos.org>
+Date: Fri, 24 Jan 2025 19:34:24 +0700
+Subject: [PATCH] Enable atomic kernel modesetting by default
+
+This is required for proper functionality under Wayland. fbdev has been default enabled since 570 so that
+hunk can be removed from this patch.
+
+Signed-off-by: Eric Naim <dnaim@cachyos.org>
+---
+ nvidia-drm/nvidia-drm-linux.c | 2 +-
+ nvidia-drm/nvidia-drm-os-interface.c | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/nvidia-drm/nvidia-drm-linux.c b/nvidia-drm/nvidia-drm-linux.c
+index 0007cbf..bd0b9eb 100644
+--- a/kernel-open/nvidia-drm/nvidia-drm-linux.c
++++ b/kernel-open/nvidia-drm/nvidia-drm-linux.c
+@@ -31,7 +31,7 @@
+
+ MODULE_PARM_DESC(
+ modeset,
+- "Enable atomic kernel modesetting (1 = enable, 0 = disable (default))");
++ "Enable atomic kernel modesetting (1 = enable (default), 0 = disable)");
+ module_param_named(modeset, nv_drm_modeset_module_param, bool, 0400);
+
+ #if defined(NV_DRM_FBDEV_AVAILABLE)
+diff --git a/nvidia-drm/nvidia-drm-os-interface.c b/nvidia-drm/nvidia-drm-os-interface.c
+index 7617476..f22afd7 100644
+--- a/kernel-open/nvidia-drm/nvidia-drm-os-interface.c
++++ b/kernel-open/nvidia-drm/nvidia-drm-os-interface.c
+@@ -41,7 +41,7 @@
+ #include <drm/drmP.h>
+ #endif
+
+-bool nv_drm_modeset_module_param = false;
++bool nv_drm_modeset_module_param = true;
+ bool nv_drm_fbdev_module_param = true;
+
+ void *nv_drm_calloc(size_t nmemb, size_t size)
+--
+2.48.1
diff --git a/srcpkgs/nvidia-open-dkms/patches/0003-Add-IBT-support.patch b/srcpkgs/nvidia-open-dkms/patches/0003-Add-IBT-support.patch
new file mode 100644
index 00000000000000..caad6d70099faa
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/patches/0003-Add-IBT-support.patch
@@ -0,0 +1,25 @@
+From 1484c9ee0a60468dfd88954011fae0e28c0f73de Mon Sep 17 00:00:00 2001
+From: Peter Jung <admin@ptr1337.dev>
+Date: Fri, 18 Oct 2024 22:40:58 +0200
+Subject: [PATCH 3/6] Add IBT support
+
+Signed-off-by: Peter Jung <admin@ptr1337.dev>
+---
+ src/nvidia-modeset/Makefile | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/nvidia-modeset/Makefile b/src/nvidia-modeset/Makefile
+index 2b96f3fa..ed934014 100644
+--- a/src/nvidia-modeset/Makefile
++++ b/src/nvidia-modeset/Makefile
+@@ -151,6 +151,7 @@ ifeq ($(TARGET_ARCH),x86_64)
+ CONDITIONAL_CFLAGS += $(call TEST_CC_ARG, -fno-jump-tables)
+ CONDITIONAL_CFLAGS += $(call TEST_CC_ARG, -mindirect-branch=thunk-extern)
+ CONDITIONAL_CFLAGS += $(call TEST_CC_ARG, -mindirect-branch-register)
++ CONDITIONAL_CFLAGS += $(call TEST_CC_ARG, -mharden-sls=all)
+ endif
+
+ CFLAGS += $(CONDITIONAL_CFLAGS)
+--
+2.47.0
+
diff --git a/srcpkgs/nvidia-open-dkms/template b/srcpkgs/nvidia-open-dkms/template
new file mode 100644
index 00000000000000..87b7155bf6eeec
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/template
@@ -0,0 +1,43 @@
+# Template file for 'nvidia-open-dkms'
+# In the current state, for first install you can install nvidia from repos and then installing nvidia-open-dkms via xbps-src
+# Kernel updates are handled automatically
+# Updating the driver requires rebasing your local fork or locally merging PR onto master
+# (unless you just manually recreate the files to not mess with git) and either:
+# A) adjusting the nvidia template to no longer require nvidia-dkms package and building both locally
+# B) temporarily switching to the proprietary dkms module, building nvidia-open-dkms and installing it afterwards
+
+pkgname=nvidia-open-dkms
+version=580.82.09
+revision=1
+archs="x86_64"
+depends="dkms nvidia"
+short_desc="NVIDIA Linux open GPU kernel module source"
+maintainer="JkktBkkt <apkabikov@gmail.com>"
+license="GPL-2.0-only, MIT"
+homepage="https://github.com/NVIDIA/open-gpu-kernel-modules"
+distfiles="https://download.nvidia.com/XFree86/NVIDIA-kernel-module-source/NVIDIA-kernel-module-source-${version}.tar.xz"
+checksum=de99cdc46a7a1634ed9c8db14c07d9908f09a86c808c7d7cbe409195ceeca7be
+replaces="nvidia-dkms>=0"
+conflicts="nvidia390-dkms>=0 nvidia470-dkms>=0"
+dkms_modules="nvidia-open-dkms ${version}"
+triggers="dkms initramfs-regenerate"
+
+do_install() {
+ vmkdir usr/src/nvidia-open-dkms-${version}
+ vcopy "*" usr/src/nvidia-open-dkms-${version}
+ cp ${FILESDIR}/dkms.conf ${DESTDIR}/usr/src/nvidia-open-dkms-${version}/dkms.conf
+ vsed -e "s/__VERSION_STRING/${version}/" -i ${DESTDIR}/usr/src/nvidia-open-dkms-${version}/dkms.conf
+
+ vmkdir usr/lib/modprobe.d
+ echo "blacklist nouveau" > ${DESTDIR}/usr/lib/modprobe.d/nvidia.conf
+ echo "options nvidia NVreg_OpenRmEnableUnsupportedGpus=1" >> ${DESTDIR}/usr/lib/modprobe.d/nvidia.conf
+ chmod 644 ${DESTDIR}/usr/lib/modprobe.d/nvidia.conf
+
+ vdoc README.md
+ vlicense COPYING
+
+ pkg_install() {
+ vmove usr/src
+ vmove usr/lib/modprobe.d
+ }
+}
^ permalink raw reply related [flat|nested] 115+ messages in thread
* Re: [PR PATCH] [Updated] New package: nvidia-open-dkms-570.181
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (42 preceding siblings ...)
2025-09-12 14:50 ` [PR PATCH] [Updated] " JkktBkkt
@ 2025-09-12 14:50 ` JkktBkkt
2025-09-16 3:21 ` New package: nvidia-open-dkms-580.82.09 vikigenius
` (69 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: JkktBkkt @ 2025-09-12 14:50 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1167 bytes --]
There is an updated pull request by JkktBkkt against master on the void-packages repository
https://github.com/JkktBkkt/void-packages patch-1
https://github.com/void-linux/void-packages/pull/54593
New package: nvidia-open-dkms-570.181
#### Testing the changes
- I tested the changes in this PR: **YES**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
-->
#### Local build testing
- I built this PR locally for my native architecture, x86_64-glibc
**Comments**
Built and tested on 6.12.16 as soon as the #50458 landed
No longer WIP since this release is out of [beta](https://us.download.nvidia.com/XFree86/Linux-x86_64/570.124.04/README/kernel_open.html) and is now the recommended driver for supported devices, which are Turing and newer, so 16-series and newer of the GeForce lineup.
Closes #51384
Perhaps package info should mention which GPUs are supported
Thanks to mike7d7 for original template and PR #51538
A patch file from https://github.com/void-linux/void-packages/pull/54593.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-patch-1-54593.patch --]
[-- Type: text/x-diff, Size: 7522 bytes --]
From e22aaf2b8fd57532def6d9e6df9fbd1bd5d3e2e6 Mon Sep 17 00:00:00 2001
From: Miguel <migue07mx@protonmail.com>
Date: Mon, 29 Jul 2024 22:37:14 -0600
Subject: [PATCH] New package: nvidia-open-dkms-580.82.09.
Co-authored-by: Miguel <migue07mx@protonmail.com>
---
srcpkgs/nvidia-open-dkms/files/dkms.conf | 26 +++++++++++
...atomic-kernel-modesetting-by-default.patch | 42 ++++++++++++++++++
.../patches/0003-Add-IBT-support.patch | 25 +++++++++++
srcpkgs/nvidia-open-dkms/template | 43 +++++++++++++++++++
4 files changed, 136 insertions(+)
create mode 100644 srcpkgs/nvidia-open-dkms/files/dkms.conf
create mode 100644 srcpkgs/nvidia-open-dkms/patches/0001-Enable-atomic-kernel-modesetting-by-default.patch
create mode 100644 srcpkgs/nvidia-open-dkms/patches/0003-Add-IBT-support.patch
create mode 100644 srcpkgs/nvidia-open-dkms/template
diff --git a/srcpkgs/nvidia-open-dkms/files/dkms.conf b/srcpkgs/nvidia-open-dkms/files/dkms.conf
new file mode 100644
index 00000000000000..62866c7b2f04bd
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/files/dkms.conf
@@ -0,0 +1,26 @@
+PACKAGE_NAME="nvidia"
+PACKAGE_VERSION="__VERSION_STRING"
+AUTOINSTALL="yes"
+
+# By default, DKMS will add KERNELRELEASE to the make command line; however,
+# this will cause the kernel module build to infer that it was invoked via
+# Kbuild directly instead of DKMS. The dkms(8) manual page recommends quoting
+# the 'make' command name to suppress this behavior.
+MAKE[0]="'make' -j`nproc` NV_EXCLUDE_BUILD_MODULES='' KERNEL_UNAME=${kernelver} modules"
+
+# The list of kernel modules will be generated by nvidia-installer at runtime.
+BUILT_MODULE_NAME[0]="nvidia"
+BUILT_MODULE_LOCATION[0]="kernel-open"
+DEST_MODULE_LOCATION[0]="/kernel/drivers/video"
+BUILT_MODULE_NAME[1]="nvidia-uvm"
+BUILT_MODULE_LOCATION[1]="kernel-open"
+DEST_MODULE_LOCATION[1]="/kernel/drivers/video"
+BUILT_MODULE_NAME[2]="nvidia-modeset"
+BUILT_MODULE_LOCATION[2]="kernel-open"
+DEST_MODULE_LOCATION[2]="/kernel/drivers/video"
+BUILT_MODULE_NAME[3]="nvidia-drm"
+BUILT_MODULE_LOCATION[3]="kernel-open"
+DEST_MODULE_LOCATION[3]="/kernel/drivers/video"
+BUILT_MODULE_NAME[4]="nvidia-peermem"
+BUILT_MODULE_LOCATION[4]="kernel-open"
+DEST_MODULE_LOCATION[4]="/kernel/drivers/video"
diff --git a/srcpkgs/nvidia-open-dkms/patches/0001-Enable-atomic-kernel-modesetting-by-default.patch b/srcpkgs/nvidia-open-dkms/patches/0001-Enable-atomic-kernel-modesetting-by-default.patch
new file mode 100644
index 00000000000000..0548693a56cb6e
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/patches/0001-Enable-atomic-kernel-modesetting-by-default.patch
@@ -0,0 +1,42 @@
+From 69769b8ebaaeca84a5188330f80c460dcc0fa747 Mon Sep 17 00:00:00 2001
+From: Eric Naim <dnaim@cachyos.org>
+Date: Fri, 24 Jan 2025 19:34:24 +0700
+Subject: [PATCH] Enable atomic kernel modesetting by default
+
+This is required for proper functionality under Wayland. fbdev has been default enabled since 570 so that
+hunk can be removed from this patch.
+
+Signed-off-by: Eric Naim <dnaim@cachyos.org>
+---
+ nvidia-drm/nvidia-drm-linux.c | 2 +-
+ nvidia-drm/nvidia-drm-os-interface.c | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/nvidia-drm/nvidia-drm-linux.c b/nvidia-drm/nvidia-drm-linux.c
+index 0007cbf..bd0b9eb 100644
+--- a/kernel-open/nvidia-drm/nvidia-drm-linux.c
++++ b/kernel-open/nvidia-drm/nvidia-drm-linux.c
+@@ -31,7 +31,7 @@
+
+ MODULE_PARM_DESC(
+ modeset,
+- "Enable atomic kernel modesetting (1 = enable, 0 = disable (default))");
++ "Enable atomic kernel modesetting (1 = enable (default), 0 = disable)");
+ module_param_named(modeset, nv_drm_modeset_module_param, bool, 0400);
+
+ #if defined(NV_DRM_FBDEV_AVAILABLE)
+diff --git a/nvidia-drm/nvidia-drm-os-interface.c b/nvidia-drm/nvidia-drm-os-interface.c
+index 7617476..f22afd7 100644
+--- a/kernel-open/nvidia-drm/nvidia-drm-os-interface.c
++++ b/kernel-open/nvidia-drm/nvidia-drm-os-interface.c
+@@ -41,7 +41,7 @@
+ #include <drm/drmP.h>
+ #endif
+
+-bool nv_drm_modeset_module_param = false;
++bool nv_drm_modeset_module_param = true;
+ bool nv_drm_fbdev_module_param = true;
+
+ void *nv_drm_calloc(size_t nmemb, size_t size)
+--
+2.48.1
diff --git a/srcpkgs/nvidia-open-dkms/patches/0003-Add-IBT-support.patch b/srcpkgs/nvidia-open-dkms/patches/0003-Add-IBT-support.patch
new file mode 100644
index 00000000000000..caad6d70099faa
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/patches/0003-Add-IBT-support.patch
@@ -0,0 +1,25 @@
+From 1484c9ee0a60468dfd88954011fae0e28c0f73de Mon Sep 17 00:00:00 2001
+From: Peter Jung <admin@ptr1337.dev>
+Date: Fri, 18 Oct 2024 22:40:58 +0200
+Subject: [PATCH 3/6] Add IBT support
+
+Signed-off-by: Peter Jung <admin@ptr1337.dev>
+---
+ src/nvidia-modeset/Makefile | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/nvidia-modeset/Makefile b/src/nvidia-modeset/Makefile
+index 2b96f3fa..ed934014 100644
+--- a/src/nvidia-modeset/Makefile
++++ b/src/nvidia-modeset/Makefile
+@@ -151,6 +151,7 @@ ifeq ($(TARGET_ARCH),x86_64)
+ CONDITIONAL_CFLAGS += $(call TEST_CC_ARG, -fno-jump-tables)
+ CONDITIONAL_CFLAGS += $(call TEST_CC_ARG, -mindirect-branch=thunk-extern)
+ CONDITIONAL_CFLAGS += $(call TEST_CC_ARG, -mindirect-branch-register)
++ CONDITIONAL_CFLAGS += $(call TEST_CC_ARG, -mharden-sls=all)
+ endif
+
+ CFLAGS += $(CONDITIONAL_CFLAGS)
+--
+2.47.0
+
diff --git a/srcpkgs/nvidia-open-dkms/template b/srcpkgs/nvidia-open-dkms/template
new file mode 100644
index 00000000000000..87b7155bf6eeec
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/template
@@ -0,0 +1,43 @@
+# Template file for 'nvidia-open-dkms'
+# In the current state, for first install you can install nvidia from repos and then installing nvidia-open-dkms via xbps-src
+# Kernel updates are handled automatically
+# Updating the driver requires rebasing your local fork or locally merging PR onto master
+# (unless you just manually recreate the files to not mess with git) and either:
+# A) adjusting the nvidia template to no longer require nvidia-dkms package and building both locally
+# B) temporarily switching to the proprietary dkms module, building nvidia-open-dkms and installing it afterwards
+
+pkgname=nvidia-open-dkms
+version=580.82.09
+revision=1
+archs="x86_64"
+depends="dkms nvidia"
+short_desc="NVIDIA Linux open GPU kernel module source"
+maintainer="JkktBkkt <apkabikov@gmail.com>"
+license="GPL-2.0-only, MIT"
+homepage="https://github.com/NVIDIA/open-gpu-kernel-modules"
+distfiles="https://download.nvidia.com/XFree86/NVIDIA-kernel-module-source/NVIDIA-kernel-module-source-${version}.tar.xz"
+checksum=de99cdc46a7a1634ed9c8db14c07d9908f09a86c808c7d7cbe409195ceeca7be
+replaces="nvidia-dkms>=0"
+conflicts="nvidia390-dkms>=0 nvidia470-dkms>=0"
+dkms_modules="nvidia-open-dkms ${version}"
+triggers="dkms initramfs-regenerate"
+
+do_install() {
+ vmkdir usr/src/nvidia-open-dkms-${version}
+ vcopy "*" usr/src/nvidia-open-dkms-${version}
+ cp ${FILESDIR}/dkms.conf ${DESTDIR}/usr/src/nvidia-open-dkms-${version}/dkms.conf
+ vsed -e "s/__VERSION_STRING/${version}/" -i ${DESTDIR}/usr/src/nvidia-open-dkms-${version}/dkms.conf
+
+ vmkdir usr/lib/modprobe.d
+ echo "blacklist nouveau" > ${DESTDIR}/usr/lib/modprobe.d/nvidia.conf
+ echo "options nvidia NVreg_OpenRmEnableUnsupportedGpus=1" >> ${DESTDIR}/usr/lib/modprobe.d/nvidia.conf
+ chmod 644 ${DESTDIR}/usr/lib/modprobe.d/nvidia.conf
+
+ vdoc README.md
+ vlicense COPYING
+
+ pkg_install() {
+ vmove usr/src
+ vmove usr/lib/modprobe.d
+ }
+}
^ permalink raw reply related [flat|nested] 115+ messages in thread
* Re: New package: nvidia-open-dkms-580.82.09
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (43 preceding siblings ...)
2025-09-12 14:50 ` JkktBkkt
@ 2025-09-16 3:21 ` vikigenius
2025-09-16 6:38 ` [PR PATCH] [Updated] " JkktBkkt
` (68 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: vikigenius @ 2025-09-16 3:21 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 761 bytes --]
New comment by vikigenius on void-packages repository
https://github.com/void-linux/void-packages/pull/54593#issuecomment-3294709543
Comment:
@JkktBkkt I tried rebuilding after your forced push to 580.82.09 and I get build errors
```
/var/lib/dkms/nvidia-open-dkms/580.82.09/build/kernel-open/nvidia/nv-clk.c:30:10: fatal error: soc/tegra/bpmp-abi.h: No such file or directory
30 | #include <soc/tegra/bpmp-abi.h>
| ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
```
The process I followed was:
1. pull your branch rebase onto latest master.
2. Upgrade nvidia drivers.
3. Remove the nvidia-open-dkms
4. install nvidia-dkms
5. Build nvidia-open-dkms using xbps-src
6. Install nvidia-open-dkms
DId you notice this?
^ permalink raw reply [flat|nested] 115+ messages in thread
* Re: [PR PATCH] [Updated] New package: nvidia-open-dkms-580.82.09
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (44 preceding siblings ...)
2025-09-16 3:21 ` New package: nvidia-open-dkms-580.82.09 vikigenius
@ 2025-09-16 6:38 ` JkktBkkt
2025-09-16 6:39 ` JkktBkkt
` (67 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: JkktBkkt @ 2025-09-16 6:38 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1169 bytes --]
There is an updated pull request by JkktBkkt against master on the void-packages repository
https://github.com/JkktBkkt/void-packages patch-1
https://github.com/void-linux/void-packages/pull/54593
New package: nvidia-open-dkms-580.82.09
#### Testing the changes
- I tested the changes in this PR: **YES**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
-->
#### Local build testing
- I built this PR locally for my native architecture, x86_64-glibc
**Comments**
Built and tested on 6.12.16 as soon as the #50458 landed
No longer WIP since this release is out of [beta](https://us.download.nvidia.com/XFree86/Linux-x86_64/570.124.04/README/kernel_open.html) and is now the recommended driver for supported devices, which are Turing and newer, so 16-series and newer of the GeForce lineup.
Closes #51384
Perhaps package info should mention which GPUs are supported
Thanks to mike7d7 for original template and PR #51538
A patch file from https://github.com/void-linux/void-packages/pull/54593.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-patch-1-54593.patch --]
[-- Type: text/x-diff, Size: 8329 bytes --]
From eb8fbcfdf71ff7a56424e4d3320117ab30f66da5 Mon Sep 17 00:00:00 2001
From: Miguel <migue07mx@protonmail.com>
Date: Mon, 29 Jul 2024 22:37:14 -0600
Subject: [PATCH] New package: nvidia-open-dkms-580.82.09.
Co-authored-by: Miguel <migue07mx@protonmail.com>
---
srcpkgs/nvidia-open-dkms/files/dkms.conf | 26 +++++++++++
...atomic-kernel-modesetting-by-default.patch | 42 ++++++++++++++++++
.../patches/0003-Add-IBT-support.patch | 25 +++++++++++
.../patches/nvidia-tegra-bpmp.patch | 13 ++++++
srcpkgs/nvidia-open-dkms/template | 43 +++++++++++++++++++
5 files changed, 149 insertions(+)
create mode 100644 srcpkgs/nvidia-open-dkms/files/dkms.conf
create mode 100644 srcpkgs/nvidia-open-dkms/patches/0001-Enable-atomic-kernel-modesetting-by-default.patch
create mode 100644 srcpkgs/nvidia-open-dkms/patches/0003-Add-IBT-support.patch
create mode 100644 srcpkgs/nvidia-open-dkms/patches/nvidia-tegra-bpmp.patch
create mode 100644 srcpkgs/nvidia-open-dkms/template
diff --git a/srcpkgs/nvidia-open-dkms/files/dkms.conf b/srcpkgs/nvidia-open-dkms/files/dkms.conf
new file mode 100644
index 00000000000000..62866c7b2f04bd
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/files/dkms.conf
@@ -0,0 +1,26 @@
+PACKAGE_NAME="nvidia"
+PACKAGE_VERSION="__VERSION_STRING"
+AUTOINSTALL="yes"
+
+# By default, DKMS will add KERNELRELEASE to the make command line; however,
+# this will cause the kernel module build to infer that it was invoked via
+# Kbuild directly instead of DKMS. The dkms(8) manual page recommends quoting
+# the 'make' command name to suppress this behavior.
+MAKE[0]="'make' -j`nproc` NV_EXCLUDE_BUILD_MODULES='' KERNEL_UNAME=${kernelver} modules"
+
+# The list of kernel modules will be generated by nvidia-installer at runtime.
+BUILT_MODULE_NAME[0]="nvidia"
+BUILT_MODULE_LOCATION[0]="kernel-open"
+DEST_MODULE_LOCATION[0]="/kernel/drivers/video"
+BUILT_MODULE_NAME[1]="nvidia-uvm"
+BUILT_MODULE_LOCATION[1]="kernel-open"
+DEST_MODULE_LOCATION[1]="/kernel/drivers/video"
+BUILT_MODULE_NAME[2]="nvidia-modeset"
+BUILT_MODULE_LOCATION[2]="kernel-open"
+DEST_MODULE_LOCATION[2]="/kernel/drivers/video"
+BUILT_MODULE_NAME[3]="nvidia-drm"
+BUILT_MODULE_LOCATION[3]="kernel-open"
+DEST_MODULE_LOCATION[3]="/kernel/drivers/video"
+BUILT_MODULE_NAME[4]="nvidia-peermem"
+BUILT_MODULE_LOCATION[4]="kernel-open"
+DEST_MODULE_LOCATION[4]="/kernel/drivers/video"
diff --git a/srcpkgs/nvidia-open-dkms/patches/0001-Enable-atomic-kernel-modesetting-by-default.patch b/srcpkgs/nvidia-open-dkms/patches/0001-Enable-atomic-kernel-modesetting-by-default.patch
new file mode 100644
index 00000000000000..0548693a56cb6e
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/patches/0001-Enable-atomic-kernel-modesetting-by-default.patch
@@ -0,0 +1,42 @@
+From 69769b8ebaaeca84a5188330f80c460dcc0fa747 Mon Sep 17 00:00:00 2001
+From: Eric Naim <dnaim@cachyos.org>
+Date: Fri, 24 Jan 2025 19:34:24 +0700
+Subject: [PATCH] Enable atomic kernel modesetting by default
+
+This is required for proper functionality under Wayland. fbdev has been default enabled since 570 so that
+hunk can be removed from this patch.
+
+Signed-off-by: Eric Naim <dnaim@cachyos.org>
+---
+ nvidia-drm/nvidia-drm-linux.c | 2 +-
+ nvidia-drm/nvidia-drm-os-interface.c | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/nvidia-drm/nvidia-drm-linux.c b/nvidia-drm/nvidia-drm-linux.c
+index 0007cbf..bd0b9eb 100644
+--- a/kernel-open/nvidia-drm/nvidia-drm-linux.c
++++ b/kernel-open/nvidia-drm/nvidia-drm-linux.c
+@@ -31,7 +31,7 @@
+
+ MODULE_PARM_DESC(
+ modeset,
+- "Enable atomic kernel modesetting (1 = enable, 0 = disable (default))");
++ "Enable atomic kernel modesetting (1 = enable (default), 0 = disable)");
+ module_param_named(modeset, nv_drm_modeset_module_param, bool, 0400);
+
+ #if defined(NV_DRM_FBDEV_AVAILABLE)
+diff --git a/nvidia-drm/nvidia-drm-os-interface.c b/nvidia-drm/nvidia-drm-os-interface.c
+index 7617476..f22afd7 100644
+--- a/kernel-open/nvidia-drm/nvidia-drm-os-interface.c
++++ b/kernel-open/nvidia-drm/nvidia-drm-os-interface.c
+@@ -41,7 +41,7 @@
+ #include <drm/drmP.h>
+ #endif
+
+-bool nv_drm_modeset_module_param = false;
++bool nv_drm_modeset_module_param = true;
+ bool nv_drm_fbdev_module_param = true;
+
+ void *nv_drm_calloc(size_t nmemb, size_t size)
+--
+2.48.1
diff --git a/srcpkgs/nvidia-open-dkms/patches/0003-Add-IBT-support.patch b/srcpkgs/nvidia-open-dkms/patches/0003-Add-IBT-support.patch
new file mode 100644
index 00000000000000..caad6d70099faa
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/patches/0003-Add-IBT-support.patch
@@ -0,0 +1,25 @@
+From 1484c9ee0a60468dfd88954011fae0e28c0f73de Mon Sep 17 00:00:00 2001
+From: Peter Jung <admin@ptr1337.dev>
+Date: Fri, 18 Oct 2024 22:40:58 +0200
+Subject: [PATCH 3/6] Add IBT support
+
+Signed-off-by: Peter Jung <admin@ptr1337.dev>
+---
+ src/nvidia-modeset/Makefile | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/nvidia-modeset/Makefile b/src/nvidia-modeset/Makefile
+index 2b96f3fa..ed934014 100644
+--- a/src/nvidia-modeset/Makefile
++++ b/src/nvidia-modeset/Makefile
+@@ -151,6 +151,7 @@ ifeq ($(TARGET_ARCH),x86_64)
+ CONDITIONAL_CFLAGS += $(call TEST_CC_ARG, -fno-jump-tables)
+ CONDITIONAL_CFLAGS += $(call TEST_CC_ARG, -mindirect-branch=thunk-extern)
+ CONDITIONAL_CFLAGS += $(call TEST_CC_ARG, -mindirect-branch-register)
++ CONDITIONAL_CFLAGS += $(call TEST_CC_ARG, -mharden-sls=all)
+ endif
+
+ CFLAGS += $(CONDITIONAL_CFLAGS)
+--
+2.47.0
+
diff --git a/srcpkgs/nvidia-open-dkms/patches/nvidia-tegra-bpmp.patch b/srcpkgs/nvidia-open-dkms/patches/nvidia-tegra-bpmp.patch
new file mode 100644
index 00000000000000..75f016e9807fe6
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/patches/nvidia-tegra-bpmp.patch
@@ -0,0 +1,13 @@
+--- a/kernel-open/nvidia/nv-clk.c
++++ b/kernel-open/nvidia/nv-clk.c
+@@ -27,8 +27,10 @@
+ #include "nv-linux.h"
+ #include "nv-platform.h"
+
++#if IS_ENABLED(CONFIG_TEGRA_BPMP)
+ #include <soc/tegra/bpmp-abi.h>
+ #include <soc/tegra/bpmp.h>
++#endif // IS_ENABLED(CONFIG_TEGRA_BPMP)
+
+ // Use the CCF APIs if enabled in Kernel config and RM build
+ // has Dual license define enabled.
diff --git a/srcpkgs/nvidia-open-dkms/template b/srcpkgs/nvidia-open-dkms/template
new file mode 100644
index 00000000000000..87b7155bf6eeec
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/template
@@ -0,0 +1,43 @@
+# Template file for 'nvidia-open-dkms'
+# In the current state, for first install you can install nvidia from repos and then installing nvidia-open-dkms via xbps-src
+# Kernel updates are handled automatically
+# Updating the driver requires rebasing your local fork or locally merging PR onto master
+# (unless you just manually recreate the files to not mess with git) and either:
+# A) adjusting the nvidia template to no longer require nvidia-dkms package and building both locally
+# B) temporarily switching to the proprietary dkms module, building nvidia-open-dkms and installing it afterwards
+
+pkgname=nvidia-open-dkms
+version=580.82.09
+revision=1
+archs="x86_64"
+depends="dkms nvidia"
+short_desc="NVIDIA Linux open GPU kernel module source"
+maintainer="JkktBkkt <apkabikov@gmail.com>"
+license="GPL-2.0-only, MIT"
+homepage="https://github.com/NVIDIA/open-gpu-kernel-modules"
+distfiles="https://download.nvidia.com/XFree86/NVIDIA-kernel-module-source/NVIDIA-kernel-module-source-${version}.tar.xz"
+checksum=de99cdc46a7a1634ed9c8db14c07d9908f09a86c808c7d7cbe409195ceeca7be
+replaces="nvidia-dkms>=0"
+conflicts="nvidia390-dkms>=0 nvidia470-dkms>=0"
+dkms_modules="nvidia-open-dkms ${version}"
+triggers="dkms initramfs-regenerate"
+
+do_install() {
+ vmkdir usr/src/nvidia-open-dkms-${version}
+ vcopy "*" usr/src/nvidia-open-dkms-${version}
+ cp ${FILESDIR}/dkms.conf ${DESTDIR}/usr/src/nvidia-open-dkms-${version}/dkms.conf
+ vsed -e "s/__VERSION_STRING/${version}/" -i ${DESTDIR}/usr/src/nvidia-open-dkms-${version}/dkms.conf
+
+ vmkdir usr/lib/modprobe.d
+ echo "blacklist nouveau" > ${DESTDIR}/usr/lib/modprobe.d/nvidia.conf
+ echo "options nvidia NVreg_OpenRmEnableUnsupportedGpus=1" >> ${DESTDIR}/usr/lib/modprobe.d/nvidia.conf
+ chmod 644 ${DESTDIR}/usr/lib/modprobe.d/nvidia.conf
+
+ vdoc README.md
+ vlicense COPYING
+
+ pkg_install() {
+ vmove usr/src
+ vmove usr/lib/modprobe.d
+ }
+}
^ permalink raw reply related [flat|nested] 115+ messages in thread
* Re: New package: nvidia-open-dkms-580.82.09
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (45 preceding siblings ...)
2025-09-16 6:38 ` [PR PATCH] [Updated] " JkktBkkt
@ 2025-09-16 6:39 ` JkktBkkt
2025-10-14 21:40 ` [PR PATCH] [Updated] " JkktBkkt
` (66 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: JkktBkkt @ 2025-09-16 6:39 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 434 bytes --]
New comment by JkktBkkt on void-packages repository
https://github.com/void-linux/void-packages/pull/54593#issuecomment-3295880738
Comment:
> DId you notice this?
Sorry, I forgot to add a patch that fixes this into the commit (was present in local system), should work fine now.
On the process: I'd do 3 before 2, and 4 happens automatically when you upgrade `nvidia`, because `nvidia-dkms` is a direct dependency of `nvidia`
^ permalink raw reply [flat|nested] 115+ messages in thread
* Re: [PR PATCH] [Updated] New package: nvidia-open-dkms-580.82.09
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (46 preceding siblings ...)
2025-09-16 6:39 ` JkktBkkt
@ 2025-10-14 21:40 ` JkktBkkt
2025-10-16 14:03 ` New package: nvidia-open-dkms-580.95.05 abenson
` (65 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: JkktBkkt @ 2025-10-14 21:40 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1169 bytes --]
There is an updated pull request by JkktBkkt against master on the void-packages repository
https://github.com/JkktBkkt/void-packages patch-1
https://github.com/void-linux/void-packages/pull/54593
New package: nvidia-open-dkms-580.82.09
#### Testing the changes
- I tested the changes in this PR: **YES**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
-->
#### Local build testing
- I built this PR locally for my native architecture, x86_64-glibc
**Comments**
Built and tested on 6.12.16 as soon as the #50458 landed
No longer WIP since this release is out of [beta](https://us.download.nvidia.com/XFree86/Linux-x86_64/570.124.04/README/kernel_open.html) and is now the recommended driver for supported devices, which are Turing and newer, so 16-series and newer of the GeForce lineup.
Closes #51384
Perhaps package info should mention which GPUs are supported
Thanks to mike7d7 for original template and PR #51538
A patch file from https://github.com/void-linux/void-packages/pull/54593.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-patch-1-54593.patch --]
[-- Type: text/x-diff, Size: 8287 bytes --]
From 78cc73d0ce554abeeedc7065e1cb641b23250832 Mon Sep 17 00:00:00 2001
From: Miguel <migue07mx@protonmail.com>
Date: Mon, 29 Jul 2024 22:37:14 -0600
Subject: [PATCH] New package: nvidia-open-dkms-580.95.05.
Co-authored-by: Miguel <migue07mx@protonmail.com>
---
srcpkgs/nvidia-open-dkms/files/dkms.conf | 26 ++++++++++
...atomic-kernel-modesetting-by-default.patch | 42 +++++++++++++++++
.../patches/0003-Add-IBT-support.patch | 25 ++++++++++
.../patches/nvidia-tegra-bpmp.patch | 13 +++++
srcpkgs/nvidia-open-dkms/template | 47 +++++++++++++++++++
5 files changed, 153 insertions(+)
create mode 100644 srcpkgs/nvidia-open-dkms/files/dkms.conf
create mode 100644 srcpkgs/nvidia-open-dkms/patches/0001-Enable-atomic-kernel-modesetting-by-default.patch
create mode 100644 srcpkgs/nvidia-open-dkms/patches/0003-Add-IBT-support.patch
create mode 100644 srcpkgs/nvidia-open-dkms/patches/nvidia-tegra-bpmp.patch
create mode 100644 srcpkgs/nvidia-open-dkms/template
diff --git a/srcpkgs/nvidia-open-dkms/files/dkms.conf b/srcpkgs/nvidia-open-dkms/files/dkms.conf
new file mode 100644
index 00000000000000..62866c7b2f04bd
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/files/dkms.conf
@@ -0,0 +1,26 @@
+PACKAGE_NAME="nvidia"
+PACKAGE_VERSION="__VERSION_STRING"
+AUTOINSTALL="yes"
+
+# By default, DKMS will add KERNELRELEASE to the make command line; however,
+# this will cause the kernel module build to infer that it was invoked via
+# Kbuild directly instead of DKMS. The dkms(8) manual page recommends quoting
+# the 'make' command name to suppress this behavior.
+MAKE[0]="'make' -j`nproc` NV_EXCLUDE_BUILD_MODULES='' KERNEL_UNAME=${kernelver} modules"
+
+# The list of kernel modules will be generated by nvidia-installer at runtime.
+BUILT_MODULE_NAME[0]="nvidia"
+BUILT_MODULE_LOCATION[0]="kernel-open"
+DEST_MODULE_LOCATION[0]="/kernel/drivers/video"
+BUILT_MODULE_NAME[1]="nvidia-uvm"
+BUILT_MODULE_LOCATION[1]="kernel-open"
+DEST_MODULE_LOCATION[1]="/kernel/drivers/video"
+BUILT_MODULE_NAME[2]="nvidia-modeset"
+BUILT_MODULE_LOCATION[2]="kernel-open"
+DEST_MODULE_LOCATION[2]="/kernel/drivers/video"
+BUILT_MODULE_NAME[3]="nvidia-drm"
+BUILT_MODULE_LOCATION[3]="kernel-open"
+DEST_MODULE_LOCATION[3]="/kernel/drivers/video"
+BUILT_MODULE_NAME[4]="nvidia-peermem"
+BUILT_MODULE_LOCATION[4]="kernel-open"
+DEST_MODULE_LOCATION[4]="/kernel/drivers/video"
diff --git a/srcpkgs/nvidia-open-dkms/patches/0001-Enable-atomic-kernel-modesetting-by-default.patch b/srcpkgs/nvidia-open-dkms/patches/0001-Enable-atomic-kernel-modesetting-by-default.patch
new file mode 100644
index 00000000000000..0548693a56cb6e
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/patches/0001-Enable-atomic-kernel-modesetting-by-default.patch
@@ -0,0 +1,42 @@
+From 69769b8ebaaeca84a5188330f80c460dcc0fa747 Mon Sep 17 00:00:00 2001
+From: Eric Naim <dnaim@cachyos.org>
+Date: Fri, 24 Jan 2025 19:34:24 +0700
+Subject: [PATCH] Enable atomic kernel modesetting by default
+
+This is required for proper functionality under Wayland. fbdev has been default enabled since 570 so that
+hunk can be removed from this patch.
+
+Signed-off-by: Eric Naim <dnaim@cachyos.org>
+---
+ nvidia-drm/nvidia-drm-linux.c | 2 +-
+ nvidia-drm/nvidia-drm-os-interface.c | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/nvidia-drm/nvidia-drm-linux.c b/nvidia-drm/nvidia-drm-linux.c
+index 0007cbf..bd0b9eb 100644
+--- a/kernel-open/nvidia-drm/nvidia-drm-linux.c
++++ b/kernel-open/nvidia-drm/nvidia-drm-linux.c
+@@ -31,7 +31,7 @@
+
+ MODULE_PARM_DESC(
+ modeset,
+- "Enable atomic kernel modesetting (1 = enable, 0 = disable (default))");
++ "Enable atomic kernel modesetting (1 = enable (default), 0 = disable)");
+ module_param_named(modeset, nv_drm_modeset_module_param, bool, 0400);
+
+ #if defined(NV_DRM_FBDEV_AVAILABLE)
+diff --git a/nvidia-drm/nvidia-drm-os-interface.c b/nvidia-drm/nvidia-drm-os-interface.c
+index 7617476..f22afd7 100644
+--- a/kernel-open/nvidia-drm/nvidia-drm-os-interface.c
++++ b/kernel-open/nvidia-drm/nvidia-drm-os-interface.c
+@@ -41,7 +41,7 @@
+ #include <drm/drmP.h>
+ #endif
+
+-bool nv_drm_modeset_module_param = false;
++bool nv_drm_modeset_module_param = true;
+ bool nv_drm_fbdev_module_param = true;
+
+ void *nv_drm_calloc(size_t nmemb, size_t size)
+--
+2.48.1
diff --git a/srcpkgs/nvidia-open-dkms/patches/0003-Add-IBT-support.patch b/srcpkgs/nvidia-open-dkms/patches/0003-Add-IBT-support.patch
new file mode 100644
index 00000000000000..caad6d70099faa
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/patches/0003-Add-IBT-support.patch
@@ -0,0 +1,25 @@
+From 1484c9ee0a60468dfd88954011fae0e28c0f73de Mon Sep 17 00:00:00 2001
+From: Peter Jung <admin@ptr1337.dev>
+Date: Fri, 18 Oct 2024 22:40:58 +0200
+Subject: [PATCH 3/6] Add IBT support
+
+Signed-off-by: Peter Jung <admin@ptr1337.dev>
+---
+ src/nvidia-modeset/Makefile | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/nvidia-modeset/Makefile b/src/nvidia-modeset/Makefile
+index 2b96f3fa..ed934014 100644
+--- a/src/nvidia-modeset/Makefile
++++ b/src/nvidia-modeset/Makefile
+@@ -151,6 +151,7 @@ ifeq ($(TARGET_ARCH),x86_64)
+ CONDITIONAL_CFLAGS += $(call TEST_CC_ARG, -fno-jump-tables)
+ CONDITIONAL_CFLAGS += $(call TEST_CC_ARG, -mindirect-branch=thunk-extern)
+ CONDITIONAL_CFLAGS += $(call TEST_CC_ARG, -mindirect-branch-register)
++ CONDITIONAL_CFLAGS += $(call TEST_CC_ARG, -mharden-sls=all)
+ endif
+
+ CFLAGS += $(CONDITIONAL_CFLAGS)
+--
+2.47.0
+
diff --git a/srcpkgs/nvidia-open-dkms/patches/nvidia-tegra-bpmp.patch b/srcpkgs/nvidia-open-dkms/patches/nvidia-tegra-bpmp.patch
new file mode 100644
index 00000000000000..75f016e9807fe6
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/patches/nvidia-tegra-bpmp.patch
@@ -0,0 +1,13 @@
+--- a/kernel-open/nvidia/nv-clk.c
++++ b/kernel-open/nvidia/nv-clk.c
+@@ -27,8 +27,10 @@
+ #include "nv-linux.h"
+ #include "nv-platform.h"
+
++#if IS_ENABLED(CONFIG_TEGRA_BPMP)
+ #include <soc/tegra/bpmp-abi.h>
+ #include <soc/tegra/bpmp.h>
++#endif // IS_ENABLED(CONFIG_TEGRA_BPMP)
+
+ // Use the CCF APIs if enabled in Kernel config and RM build
+ // has Dual license define enabled.
diff --git a/srcpkgs/nvidia-open-dkms/template b/srcpkgs/nvidia-open-dkms/template
new file mode 100644
index 00000000000000..88d6785a2336e4
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/template
@@ -0,0 +1,47 @@
+# Template file for 'nvidia-open-dkms'
+# In the current state, for first install you can install nvidia from repos and then installing nvidia-open-dkms via xbps-src
+# Kernel updates are handled automatically
+# Updating the driver requires rebasing your local fork or locally merging PR onto master
+# (unless you just manually recreate the files to not mess with git) and either:
+# A) adjusting the nvidia template to no longer require nvidia-dkms package and building both locally
+# B) temporarily switching to the proprietary dkms module, building nvidia-open-dkms and installing it afterwards
+
+pkgname=nvidia-open-dkms
+version=580.95.05
+revision=1
+archs="x86_64"
+depends="dkms nvidia"
+short_desc="NVIDIA Linux open GPU kernel module source"
+maintainer="JkktBkkt <apkabikov@gmail.com>"
+license="GPL-2.0-only, MIT"
+homepage="https://github.com/NVIDIA/open-gpu-kernel-modules"
+distfiles="https://download.nvidia.com/XFree86/NVIDIA-kernel-module-source/NVIDIA-kernel-module-source-${version}.tar.xz"
+checksum=5aa71eb68d54485780e6f56dd59cbabd1d105b6a374110d38dbbbf14ca6a89fb
+replaces="nvidia-dkms>=0"
+conflicts="nvidia390-dkms>=0 nvidia470-dkms>=0"
+dkms_modules="nvidia-open-dkms ${version}"
+triggers="dkms initramfs-regenerate"
+
+do_install() {
+ vmkdir usr/src/nvidia-open-dkms-${version}
+ vcopy "*" usr/src/nvidia-open-dkms-${version}
+ cp ${FILESDIR}/dkms.conf ${DESTDIR}/usr/src/nvidia-open-dkms-${version}/dkms.conf
+ vsed -e "s/__VERSION_STRING/${version}/" -i ${DESTDIR}/usr/src/nvidia-open-dkms-${version}/dkms.conf
+
+ # Blacklist nouveau
+ vmkdir usr/lib/modprobe.d
+ cat <<- END > ${DESTDIR}/usr/lib/modprobe.d/nvidia.conf
+ blacklist nouveau
+ blacklist nova_core
+ blacklist nova_drm
+ END
+ chmod 644 ${DESTDIR}/usr/lib/modprobe.d/nvidia.conf
+
+ vdoc README.md
+ vlicense COPYING
+
+ pkg_install() {
+ vmove usr/src
+ vmove usr/lib/modprobe.d
+ }
+}
^ permalink raw reply related [flat|nested] 115+ messages in thread
* Re: New package: nvidia-open-dkms-580.95.05
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (47 preceding siblings ...)
2025-10-14 21:40 ` [PR PATCH] [Updated] " JkktBkkt
@ 2025-10-16 14:03 ` abenson
2025-10-17 10:05 ` JkktBkkt
` (64 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: abenson @ 2025-10-16 14:03 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 184 bytes --]
New comment by abenson on void-packages repository
https://github.com/void-linux/void-packages/pull/54593#issuecomment-3411057607
Comment:
How comfortable are with this being ready?
^ permalink raw reply [flat|nested] 115+ messages in thread
* Re: New package: nvidia-open-dkms-580.95.05
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (48 preceding siblings ...)
2025-10-16 14:03 ` New package: nvidia-open-dkms-580.95.05 abenson
@ 2025-10-17 10:05 ` JkktBkkt
2025-10-17 10:07 ` [PR PATCH] [Updated] " JkktBkkt
` (63 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: JkktBkkt @ 2025-10-17 10:05 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1097 bytes --]
New comment by JkktBkkt on void-packages repository
https://github.com/void-linux/void-packages/pull/54593#issuecomment-3414751239
Comment:
While I have been using this on a "daily" machine ever since the original PR was created, as-was, I don't think the PR as a whole is in a ready-to-merge state here (permalink to it is in first comment)
With nvidia and nvidia-open-dkms installed and a new version available for one or both, manual intervention from the user is required to update (or temporarily holdback), which is far from ideal.
So I think a few changes for the nvidia template would help, something like the commit below works (from neither installed, it defaults to nonfree version). Not sure if this is the proper approach to take though and about details, i.e. names for virtual and the whole handling of -dkms subpackage.
I've briefly (game via proton, mpv via vulkan playback, both in a wayland session) tested updating locally from both 580.82.05 proprietary and open versions (open as it was at the time in this PR), correctly installs the required one in working state.
^ permalink raw reply [flat|nested] 115+ messages in thread
* Re: [PR PATCH] [Updated] New package: nvidia-open-dkms-580.95.05
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (49 preceding siblings ...)
2025-10-17 10:05 ` JkktBkkt
@ 2025-10-17 10:07 ` JkktBkkt
2025-10-17 10:09 ` JkktBkkt
` (62 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: JkktBkkt @ 2025-10-17 10:07 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1714 bytes --]
There is an updated pull request by JkktBkkt against master on the void-packages repository
https://github.com/JkktBkkt/void-packages patch-1
https://github.com/void-linux/void-packages/pull/54593
New package: nvidia-open-dkms-580.95.05
### Important: template itself has been set to WIP as it requires additional review, for cleanup and tie-in with main nvidia package.
Here's a permalink to the commit that doesn't change the `nvidia` template if you want to install or upgrade before this can land and in case more changes are requested by maintainers: https://github.com/void-linux/void-packages/pull/54593/commits/78cc73d0ce554abeeedc7065e1cb641b23250832
See https://github.com/void-linux/void-packages/pull/54593#issuecomment-3411057607 and below to track that progress
#### Testing the changes
- I tested the changes in this PR: **YES**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
-->
#### Local build testing
- I built this PR locally for my native architecture, x86_64-glibc
**Comments**
Built and tested on 6.12.16 as soon as the #50458 landed
No longer WIP since this release is out of [beta](https://us.download.nvidia.com/XFree86/Linux-x86_64/570.124.04/README/kernel_open.html) and is now the recommended driver for supported devices, which are Turing and newer, so 16-series and newer of the GeForce lineup.
Closes #51384
Perhaps package info should mention which GPUs are supported
Thanks to mike7d7 for original template and PR #51538
A patch file from https://github.com/void-linux/void-packages/pull/54593.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-patch-1-54593.patch --]
[-- Type: text/x-diff, Size: 10532 bytes --]
From 06cd3ce824aa086c91fc51d23740d69fd69c0f34 Mon Sep 17 00:00:00 2001
From: JkktBkkt <apkabikov@gmail.com>
Date: Fri, 17 Oct 2025 09:51:29 +0300
Subject: [PATCH 1/2] nvidia-dkms: split, add to defaults.virtual
---
etc/defaults.virtual | 1 +
srcpkgs/nvidia-nonfree-dkms | 1 +
srcpkgs/nvidia/template | 19 ++++++++++++++-----
3 files changed, 16 insertions(+), 5 deletions(-)
create mode 120000 srcpkgs/nvidia-nonfree-dkms
diff --git a/etc/defaults.virtual b/etc/defaults.virtual
index e7e78cd735f53a..f93fb2ead25cb9 100644
--- a/etc/defaults.virtual
+++ b/etc/defaults.virtual
@@ -40,3 +40,4 @@ libGL libglvnd
libEGL libglvnd
libGLES libglvnd
hunspell-en_GB hunspell-en_GB-all
+nvidia-dkms-src nvidia-nonfree-dkms
diff --git a/srcpkgs/nvidia-nonfree-dkms b/srcpkgs/nvidia-nonfree-dkms
new file mode 120000
index 00000000000000..746a30838a696f
--- /dev/null
+++ b/srcpkgs/nvidia-nonfree-dkms
@@ -0,0 +1 @@
+nvidia
\ No newline at end of file
diff --git a/srcpkgs/nvidia/template b/srcpkgs/nvidia/template
index 9720bbea054e03..25aa4a3aca492c 100644
--- a/srcpkgs/nvidia/template
+++ b/srcpkgs/nvidia/template
@@ -21,7 +21,7 @@ _pkg="NVIDIA-Linux-x86_64-${version}"
distfiles="http://uk.download.nvidia.com/XFree86/Linux-x86_64/${version}/${_pkg}.run"
checksum=849ef0ef8e842b9806b2cde9f11c1303d54f1a9a769467e4e5d961b2fe1182a7
# subpackages need to be processed in this specific order
-subpackages="nvidia-gtklibs nvidia-dkms nvidia-firmware nvidia-opencl nvidia-libs nvidia-libs-32bit"
+subpackages="nvidia-gtklibs nvidia-dkms nvidia-nonfree-dkms nvidia-firmware nvidia-opencl nvidia-libs nvidia-libs-32bit"
depends="nvidia-libs-${version}_${revision}
nvidia-gtklibs-${version}_${revision}
nvidia-dkms-${version}_${revision}
@@ -252,7 +252,7 @@ do_install() {
vinstall libnvidia-opticalflow.so.${version} 755 usr/lib
- # dkms pkg
+ # nonfree-dkms pkg
vmkdir usr/src/nvidia-${version}
vcopy "kernel/*" usr/src/nvidia-${version}
vcopy ${FILESDIR}/dkms.conf usr/src/nvidia-${version}
@@ -267,6 +267,7 @@ do_install() {
vbin ${FILESDIR}/prime-run
+ # dkms pkg
# Blacklist nouveau
vmkdir usr/lib/modprobe.d
cat <<- END > ${DESTDIR}/usr/lib/modprobe.d/nvidia.conf
@@ -322,16 +323,24 @@ nvidia-libs_package() {
}
}
-nvidia-dkms_package() {
- short_desc="${_desc} - DKMS kernel module"
+nvidia-nonfree-dkms_package() {
+ short_desc="${_desc} - proprietary DKMS kernel module"
depends="dkms xbps-triggers>=0.121_1"
dkms_modules="nvidia ${version}"
# dkms must be before initramfs-regenerate to build modules before images
triggers="dkms initramfs-regenerate"
- conflicts="nvidia470-dkms>=0 nvidia390-dkms>=0"
+ conflicts="nvidia470-dkms>=0 nvidia390-dkms>=0 nvidia-open-dkms>=0"
+ provides="nvidia-dkms-src-${version}_${revision}"
pkg_install() {
vmove usr/src
+ }
+}
+
+nvidia-dkms_package() {
+ short_desc="${_desc} - DKMS common files"
+ depends="virtual?nvidia-dkms-src"
+ pkg_install() {
vmove usr/lib/modprobe.d
}
}
From 03b20c812968ebdc6521cb7e5d2360134bfd50cb Mon Sep 17 00:00:00 2001
From: Miguel <migue07mx@protonmail.com>
Date: Mon, 29 Jul 2024 22:37:14 -0600
Subject: [PATCH 2/2] New package: nvidia-open-dkms-580.95.05.
Co-authored-by: Miguel <migue07mx@protonmail.com>
---
srcpkgs/nvidia-open-dkms/files/dkms.conf | 26 ++++++++++++
...atomic-kernel-modesetting-by-default.patch | 42 +++++++++++++++++++
.../patches/0003-Add-IBT-support.patch | 25 +++++++++++
.../patches/nvidia-tegra-bpmp.patch | 13 ++++++
srcpkgs/nvidia-open-dkms/template | 29 +++++++++++++
5 files changed, 135 insertions(+)
create mode 100644 srcpkgs/nvidia-open-dkms/files/dkms.conf
create mode 100644 srcpkgs/nvidia-open-dkms/patches/0001-Enable-atomic-kernel-modesetting-by-default.patch
create mode 100644 srcpkgs/nvidia-open-dkms/patches/0003-Add-IBT-support.patch
create mode 100644 srcpkgs/nvidia-open-dkms/patches/nvidia-tegra-bpmp.patch
create mode 100644 srcpkgs/nvidia-open-dkms/template
diff --git a/srcpkgs/nvidia-open-dkms/files/dkms.conf b/srcpkgs/nvidia-open-dkms/files/dkms.conf
new file mode 100644
index 00000000000000..15c2e6503376ec
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/files/dkms.conf
@@ -0,0 +1,26 @@
+PACKAGE_NAME="nvidia"
+PACKAGE_VERSION="__PKGVER"
+AUTOINSTALL="yes"
+
+# By default, DKMS will add KERNELRELEASE to the make command line; however,
+# this will cause the kernel module build to infer that it was invoked via
+# Kbuild directly instead of DKMS. The dkms(8) manual page recommends quoting
+# the 'make' command name to suppress this behavior.
+MAKE[0]="'make' -j$(nproc) NV_EXCLUDE_BUILD_MODULES='' KERNEL_UNAME=${kernelver} modules"
+
+# The list of kernel modules will be generated by nvidia-installer at runtime.
+BUILT_MODULE_NAME[0]="nvidia"
+BUILT_MODULE_LOCATION[0]="kernel-open"
+DEST_MODULE_LOCATION[0]="/kernel/drivers/video"
+BUILT_MODULE_NAME[1]="nvidia-uvm"
+BUILT_MODULE_LOCATION[1]="kernel-open"
+DEST_MODULE_LOCATION[1]="/kernel/drivers/video"
+BUILT_MODULE_NAME[2]="nvidia-modeset"
+BUILT_MODULE_LOCATION[2]="kernel-open"
+DEST_MODULE_LOCATION[2]="/kernel/drivers/video"
+BUILT_MODULE_NAME[3]="nvidia-drm"
+BUILT_MODULE_LOCATION[3]="kernel-open"
+DEST_MODULE_LOCATION[3]="/kernel/drivers/video"
+BUILT_MODULE_NAME[4]="nvidia-peermem"
+BUILT_MODULE_LOCATION[4]="kernel-open"
+DEST_MODULE_LOCATION[4]="/kernel/drivers/video"
diff --git a/srcpkgs/nvidia-open-dkms/patches/0001-Enable-atomic-kernel-modesetting-by-default.patch b/srcpkgs/nvidia-open-dkms/patches/0001-Enable-atomic-kernel-modesetting-by-default.patch
new file mode 100644
index 00000000000000..0548693a56cb6e
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/patches/0001-Enable-atomic-kernel-modesetting-by-default.patch
@@ -0,0 +1,42 @@
+From 69769b8ebaaeca84a5188330f80c460dcc0fa747 Mon Sep 17 00:00:00 2001
+From: Eric Naim <dnaim@cachyos.org>
+Date: Fri, 24 Jan 2025 19:34:24 +0700
+Subject: [PATCH] Enable atomic kernel modesetting by default
+
+This is required for proper functionality under Wayland. fbdev has been default enabled since 570 so that
+hunk can be removed from this patch.
+
+Signed-off-by: Eric Naim <dnaim@cachyos.org>
+---
+ nvidia-drm/nvidia-drm-linux.c | 2 +-
+ nvidia-drm/nvidia-drm-os-interface.c | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/nvidia-drm/nvidia-drm-linux.c b/nvidia-drm/nvidia-drm-linux.c
+index 0007cbf..bd0b9eb 100644
+--- a/kernel-open/nvidia-drm/nvidia-drm-linux.c
++++ b/kernel-open/nvidia-drm/nvidia-drm-linux.c
+@@ -31,7 +31,7 @@
+
+ MODULE_PARM_DESC(
+ modeset,
+- "Enable atomic kernel modesetting (1 = enable, 0 = disable (default))");
++ "Enable atomic kernel modesetting (1 = enable (default), 0 = disable)");
+ module_param_named(modeset, nv_drm_modeset_module_param, bool, 0400);
+
+ #if defined(NV_DRM_FBDEV_AVAILABLE)
+diff --git a/nvidia-drm/nvidia-drm-os-interface.c b/nvidia-drm/nvidia-drm-os-interface.c
+index 7617476..f22afd7 100644
+--- a/kernel-open/nvidia-drm/nvidia-drm-os-interface.c
++++ b/kernel-open/nvidia-drm/nvidia-drm-os-interface.c
+@@ -41,7 +41,7 @@
+ #include <drm/drmP.h>
+ #endif
+
+-bool nv_drm_modeset_module_param = false;
++bool nv_drm_modeset_module_param = true;
+ bool nv_drm_fbdev_module_param = true;
+
+ void *nv_drm_calloc(size_t nmemb, size_t size)
+--
+2.48.1
diff --git a/srcpkgs/nvidia-open-dkms/patches/0003-Add-IBT-support.patch b/srcpkgs/nvidia-open-dkms/patches/0003-Add-IBT-support.patch
new file mode 100644
index 00000000000000..caad6d70099faa
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/patches/0003-Add-IBT-support.patch
@@ -0,0 +1,25 @@
+From 1484c9ee0a60468dfd88954011fae0e28c0f73de Mon Sep 17 00:00:00 2001
+From: Peter Jung <admin@ptr1337.dev>
+Date: Fri, 18 Oct 2024 22:40:58 +0200
+Subject: [PATCH 3/6] Add IBT support
+
+Signed-off-by: Peter Jung <admin@ptr1337.dev>
+---
+ src/nvidia-modeset/Makefile | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/nvidia-modeset/Makefile b/src/nvidia-modeset/Makefile
+index 2b96f3fa..ed934014 100644
+--- a/src/nvidia-modeset/Makefile
++++ b/src/nvidia-modeset/Makefile
+@@ -151,6 +151,7 @@ ifeq ($(TARGET_ARCH),x86_64)
+ CONDITIONAL_CFLAGS += $(call TEST_CC_ARG, -fno-jump-tables)
+ CONDITIONAL_CFLAGS += $(call TEST_CC_ARG, -mindirect-branch=thunk-extern)
+ CONDITIONAL_CFLAGS += $(call TEST_CC_ARG, -mindirect-branch-register)
++ CONDITIONAL_CFLAGS += $(call TEST_CC_ARG, -mharden-sls=all)
+ endif
+
+ CFLAGS += $(CONDITIONAL_CFLAGS)
+--
+2.47.0
+
diff --git a/srcpkgs/nvidia-open-dkms/patches/nvidia-tegra-bpmp.patch b/srcpkgs/nvidia-open-dkms/patches/nvidia-tegra-bpmp.patch
new file mode 100644
index 00000000000000..75f016e9807fe6
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/patches/nvidia-tegra-bpmp.patch
@@ -0,0 +1,13 @@
+--- a/kernel-open/nvidia/nv-clk.c
++++ b/kernel-open/nvidia/nv-clk.c
+@@ -27,8 +27,10 @@
+ #include "nv-linux.h"
+ #include "nv-platform.h"
+
++#if IS_ENABLED(CONFIG_TEGRA_BPMP)
+ #include <soc/tegra/bpmp-abi.h>
+ #include <soc/tegra/bpmp.h>
++#endif // IS_ENABLED(CONFIG_TEGRA_BPMP)
+
+ // Use the CCF APIs if enabled in Kernel config and RM build
+ // has Dual license define enabled.
diff --git a/srcpkgs/nvidia-open-dkms/template b/srcpkgs/nvidia-open-dkms/template
new file mode 100644
index 00000000000000..2db5e555056d7a
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/template
@@ -0,0 +1,29 @@
+# Template file for 'nvidia-open-dkms'
+pkgname=nvidia-open-dkms
+version=580.95.05
+revision=1
+archs="x86_64"
+depends="dkms nvidia-${version}_${revision} nvidia-dkms"
+short_desc="NVIDIA drivers for linux - open DKMS kernel module"
+maintainer="JkktBkkt <apkabikov@gmail.com>"
+license="GPL-2.0-only, MIT"
+homepage="https://github.com/NVIDIA/open-gpu-kernel-modules"
+distfiles="https://download.nvidia.com/XFree86/NVIDIA-kernel-module-source/NVIDIA-kernel-module-source-${version}.tar.xz"
+checksum=5aa71eb68d54485780e6f56dd59cbabd1d105b6a374110d38dbbbf14ca6a89fb
+conflicts="nvidia390-dkms>=0 nvidia470-dkms>=0 nvidia-nonfree-dkms>=0"
+dkms_modules="nvidia-open-dkms ${version}"
+triggers="dkms initramfs-regenerate"
+provides="nvidia-dkms-src-${version}_${revision}"
+
+do_install() {
+ vmkdir usr/src/nvidia-open-dkms-${version}
+ vcopy "*" usr/src/nvidia-open-dkms-${version}
+ cp ${FILESDIR}/dkms.conf ${DESTDIR}/usr/src/nvidia-open-dkms-${version}/dkms.conf
+ vsed -e "s/__PKGVER/${version}/" -i ${DESTDIR}/usr/src/nvidia-open-dkms-${version}/dkms.conf
+
+ vdoc README.md
+ vlicense COPYING
+ pkg_install() {
+ vmove usr/src
+ }
+}
^ permalink raw reply related [flat|nested] 115+ messages in thread
* Re: [PR PATCH] [Updated] New package: nvidia-open-dkms-580.95.05
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (50 preceding siblings ...)
2025-10-17 10:07 ` [PR PATCH] [Updated] " JkktBkkt
@ 2025-10-17 10:09 ` JkktBkkt
2025-10-17 10:11 ` JkktBkkt
` (61 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: JkktBkkt @ 2025-10-17 10:09 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1711 bytes --]
There is an updated pull request by JkktBkkt against master on the void-packages repository
https://github.com/JkktBkkt/void-packages patch-1
https://github.com/void-linux/void-packages/pull/54593
New package: nvidia-open-dkms-580.95.05
### Important: PR has been set to WIP as the template requires additional review, for cleanup and tie-in with main nvidia package.
Here's a permalink to the commit that doesn't change the `nvidia` template if you want to install or upgrade before this can land and in case more changes are requested by maintainers: https://github.com/void-linux/void-packages/pull/54593/commits/78cc73d0ce554abeeedc7065e1cb641b23250832
See https://github.com/void-linux/void-packages/pull/54593#issuecomment-3411057607 and below to track that progress
#### Testing the changes
- I tested the changes in this PR: **YES**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
-->
#### Local build testing
- I built this PR locally for my native architecture, x86_64-glibc
**Comments**
Built and tested on 6.12.16 as soon as the #50458 landed
No longer WIP since this release is out of [beta](https://us.download.nvidia.com/XFree86/Linux-x86_64/570.124.04/README/kernel_open.html) and is now the recommended driver for supported devices, which are Turing and newer, so 16-series and newer of the GeForce lineup.
Closes #51384
Perhaps package info should mention which GPUs are supported
Thanks to mike7d7 for original template and PR #51538
A patch file from https://github.com/void-linux/void-packages/pull/54593.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-patch-1-54593.patch --]
[-- Type: text/x-diff, Size: 10529 bytes --]
From 06cd3ce824aa086c91fc51d23740d69fd69c0f34 Mon Sep 17 00:00:00 2001
From: JkktBkkt <apkabikov@gmail.com>
Date: Fri, 17 Oct 2025 09:51:29 +0300
Subject: [PATCH 1/2] nvidia-dkms: split, add to defaults.virtual
---
etc/defaults.virtual | 1 +
srcpkgs/nvidia-nonfree-dkms | 1 +
srcpkgs/nvidia/template | 19 ++++++++++++++-----
3 files changed, 16 insertions(+), 5 deletions(-)
create mode 120000 srcpkgs/nvidia-nonfree-dkms
diff --git a/etc/defaults.virtual b/etc/defaults.virtual
index e7e78cd735f53a..f93fb2ead25cb9 100644
--- a/etc/defaults.virtual
+++ b/etc/defaults.virtual
@@ -40,3 +40,4 @@ libGL libglvnd
libEGL libglvnd
libGLES libglvnd
hunspell-en_GB hunspell-en_GB-all
+nvidia-dkms-src nvidia-nonfree-dkms
diff --git a/srcpkgs/nvidia-nonfree-dkms b/srcpkgs/nvidia-nonfree-dkms
new file mode 120000
index 00000000000000..746a30838a696f
--- /dev/null
+++ b/srcpkgs/nvidia-nonfree-dkms
@@ -0,0 +1 @@
+nvidia
\ No newline at end of file
diff --git a/srcpkgs/nvidia/template b/srcpkgs/nvidia/template
index 9720bbea054e03..25aa4a3aca492c 100644
--- a/srcpkgs/nvidia/template
+++ b/srcpkgs/nvidia/template
@@ -21,7 +21,7 @@ _pkg="NVIDIA-Linux-x86_64-${version}"
distfiles="http://uk.download.nvidia.com/XFree86/Linux-x86_64/${version}/${_pkg}.run"
checksum=849ef0ef8e842b9806b2cde9f11c1303d54f1a9a769467e4e5d961b2fe1182a7
# subpackages need to be processed in this specific order
-subpackages="nvidia-gtklibs nvidia-dkms nvidia-firmware nvidia-opencl nvidia-libs nvidia-libs-32bit"
+subpackages="nvidia-gtklibs nvidia-dkms nvidia-nonfree-dkms nvidia-firmware nvidia-opencl nvidia-libs nvidia-libs-32bit"
depends="nvidia-libs-${version}_${revision}
nvidia-gtklibs-${version}_${revision}
nvidia-dkms-${version}_${revision}
@@ -252,7 +252,7 @@ do_install() {
vinstall libnvidia-opticalflow.so.${version} 755 usr/lib
- # dkms pkg
+ # nonfree-dkms pkg
vmkdir usr/src/nvidia-${version}
vcopy "kernel/*" usr/src/nvidia-${version}
vcopy ${FILESDIR}/dkms.conf usr/src/nvidia-${version}
@@ -267,6 +267,7 @@ do_install() {
vbin ${FILESDIR}/prime-run
+ # dkms pkg
# Blacklist nouveau
vmkdir usr/lib/modprobe.d
cat <<- END > ${DESTDIR}/usr/lib/modprobe.d/nvidia.conf
@@ -322,16 +323,24 @@ nvidia-libs_package() {
}
}
-nvidia-dkms_package() {
- short_desc="${_desc} - DKMS kernel module"
+nvidia-nonfree-dkms_package() {
+ short_desc="${_desc} - proprietary DKMS kernel module"
depends="dkms xbps-triggers>=0.121_1"
dkms_modules="nvidia ${version}"
# dkms must be before initramfs-regenerate to build modules before images
triggers="dkms initramfs-regenerate"
- conflicts="nvidia470-dkms>=0 nvidia390-dkms>=0"
+ conflicts="nvidia470-dkms>=0 nvidia390-dkms>=0 nvidia-open-dkms>=0"
+ provides="nvidia-dkms-src-${version}_${revision}"
pkg_install() {
vmove usr/src
+ }
+}
+
+nvidia-dkms_package() {
+ short_desc="${_desc} - DKMS common files"
+ depends="virtual?nvidia-dkms-src"
+ pkg_install() {
vmove usr/lib/modprobe.d
}
}
From b7c2aecd5a87fccee68667b0fbc3686775becb36 Mon Sep 17 00:00:00 2001
From: Miguel <migue07mx@protonmail.com>
Date: Mon, 29 Jul 2024 22:37:14 -0600
Subject: [PATCH 2/2] New package: nvidia-open-dkms-580.95.05.
Co-authored-by: Miguel <migue07mx@protonmail.com>
---
srcpkgs/nvidia-open-dkms/files/dkms.conf | 26 ++++++++++++
...atomic-kernel-modesetting-by-default.patch | 42 +++++++++++++++++++
.../patches/0003-Add-IBT-support.patch | 25 +++++++++++
.../patches/nvidia-tegra-bpmp.patch | 13 ++++++
srcpkgs/nvidia-open-dkms/template | 29 +++++++++++++
5 files changed, 135 insertions(+)
create mode 100644 srcpkgs/nvidia-open-dkms/files/dkms.conf
create mode 100644 srcpkgs/nvidia-open-dkms/patches/0001-Enable-atomic-kernel-modesetting-by-default.patch
create mode 100644 srcpkgs/nvidia-open-dkms/patches/0003-Add-IBT-support.patch
create mode 100644 srcpkgs/nvidia-open-dkms/patches/nvidia-tegra-bpmp.patch
create mode 100644 srcpkgs/nvidia-open-dkms/template
diff --git a/srcpkgs/nvidia-open-dkms/files/dkms.conf b/srcpkgs/nvidia-open-dkms/files/dkms.conf
new file mode 100644
index 00000000000000..15c2e6503376ec
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/files/dkms.conf
@@ -0,0 +1,26 @@
+PACKAGE_NAME="nvidia"
+PACKAGE_VERSION="__PKGVER"
+AUTOINSTALL="yes"
+
+# By default, DKMS will add KERNELRELEASE to the make command line; however,
+# this will cause the kernel module build to infer that it was invoked via
+# Kbuild directly instead of DKMS. The dkms(8) manual page recommends quoting
+# the 'make' command name to suppress this behavior.
+MAKE[0]="'make' -j$(nproc) NV_EXCLUDE_BUILD_MODULES='' KERNEL_UNAME=${kernelver} modules"
+
+# The list of kernel modules will be generated by nvidia-installer at runtime.
+BUILT_MODULE_NAME[0]="nvidia"
+BUILT_MODULE_LOCATION[0]="kernel-open"
+DEST_MODULE_LOCATION[0]="/kernel/drivers/video"
+BUILT_MODULE_NAME[1]="nvidia-uvm"
+BUILT_MODULE_LOCATION[1]="kernel-open"
+DEST_MODULE_LOCATION[1]="/kernel/drivers/video"
+BUILT_MODULE_NAME[2]="nvidia-modeset"
+BUILT_MODULE_LOCATION[2]="kernel-open"
+DEST_MODULE_LOCATION[2]="/kernel/drivers/video"
+BUILT_MODULE_NAME[3]="nvidia-drm"
+BUILT_MODULE_LOCATION[3]="kernel-open"
+DEST_MODULE_LOCATION[3]="/kernel/drivers/video"
+BUILT_MODULE_NAME[4]="nvidia-peermem"
+BUILT_MODULE_LOCATION[4]="kernel-open"
+DEST_MODULE_LOCATION[4]="/kernel/drivers/video"
diff --git a/srcpkgs/nvidia-open-dkms/patches/0001-Enable-atomic-kernel-modesetting-by-default.patch b/srcpkgs/nvidia-open-dkms/patches/0001-Enable-atomic-kernel-modesetting-by-default.patch
new file mode 100644
index 00000000000000..0548693a56cb6e
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/patches/0001-Enable-atomic-kernel-modesetting-by-default.patch
@@ -0,0 +1,42 @@
+From 69769b8ebaaeca84a5188330f80c460dcc0fa747 Mon Sep 17 00:00:00 2001
+From: Eric Naim <dnaim@cachyos.org>
+Date: Fri, 24 Jan 2025 19:34:24 +0700
+Subject: [PATCH] Enable atomic kernel modesetting by default
+
+This is required for proper functionality under Wayland. fbdev has been default enabled since 570 so that
+hunk can be removed from this patch.
+
+Signed-off-by: Eric Naim <dnaim@cachyos.org>
+---
+ nvidia-drm/nvidia-drm-linux.c | 2 +-
+ nvidia-drm/nvidia-drm-os-interface.c | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/nvidia-drm/nvidia-drm-linux.c b/nvidia-drm/nvidia-drm-linux.c
+index 0007cbf..bd0b9eb 100644
+--- a/kernel-open/nvidia-drm/nvidia-drm-linux.c
++++ b/kernel-open/nvidia-drm/nvidia-drm-linux.c
+@@ -31,7 +31,7 @@
+
+ MODULE_PARM_DESC(
+ modeset,
+- "Enable atomic kernel modesetting (1 = enable, 0 = disable (default))");
++ "Enable atomic kernel modesetting (1 = enable (default), 0 = disable)");
+ module_param_named(modeset, nv_drm_modeset_module_param, bool, 0400);
+
+ #if defined(NV_DRM_FBDEV_AVAILABLE)
+diff --git a/nvidia-drm/nvidia-drm-os-interface.c b/nvidia-drm/nvidia-drm-os-interface.c
+index 7617476..f22afd7 100644
+--- a/kernel-open/nvidia-drm/nvidia-drm-os-interface.c
++++ b/kernel-open/nvidia-drm/nvidia-drm-os-interface.c
+@@ -41,7 +41,7 @@
+ #include <drm/drmP.h>
+ #endif
+
+-bool nv_drm_modeset_module_param = false;
++bool nv_drm_modeset_module_param = true;
+ bool nv_drm_fbdev_module_param = true;
+
+ void *nv_drm_calloc(size_t nmemb, size_t size)
+--
+2.48.1
diff --git a/srcpkgs/nvidia-open-dkms/patches/0003-Add-IBT-support.patch b/srcpkgs/nvidia-open-dkms/patches/0003-Add-IBT-support.patch
new file mode 100644
index 00000000000000..caad6d70099faa
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/patches/0003-Add-IBT-support.patch
@@ -0,0 +1,25 @@
+From 1484c9ee0a60468dfd88954011fae0e28c0f73de Mon Sep 17 00:00:00 2001
+From: Peter Jung <admin@ptr1337.dev>
+Date: Fri, 18 Oct 2024 22:40:58 +0200
+Subject: [PATCH 3/6] Add IBT support
+
+Signed-off-by: Peter Jung <admin@ptr1337.dev>
+---
+ src/nvidia-modeset/Makefile | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/nvidia-modeset/Makefile b/src/nvidia-modeset/Makefile
+index 2b96f3fa..ed934014 100644
+--- a/src/nvidia-modeset/Makefile
++++ b/src/nvidia-modeset/Makefile
+@@ -151,6 +151,7 @@ ifeq ($(TARGET_ARCH),x86_64)
+ CONDITIONAL_CFLAGS += $(call TEST_CC_ARG, -fno-jump-tables)
+ CONDITIONAL_CFLAGS += $(call TEST_CC_ARG, -mindirect-branch=thunk-extern)
+ CONDITIONAL_CFLAGS += $(call TEST_CC_ARG, -mindirect-branch-register)
++ CONDITIONAL_CFLAGS += $(call TEST_CC_ARG, -mharden-sls=all)
+ endif
+
+ CFLAGS += $(CONDITIONAL_CFLAGS)
+--
+2.47.0
+
diff --git a/srcpkgs/nvidia-open-dkms/patches/nvidia-tegra-bpmp.patch b/srcpkgs/nvidia-open-dkms/patches/nvidia-tegra-bpmp.patch
new file mode 100644
index 00000000000000..75f016e9807fe6
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/patches/nvidia-tegra-bpmp.patch
@@ -0,0 +1,13 @@
+--- a/kernel-open/nvidia/nv-clk.c
++++ b/kernel-open/nvidia/nv-clk.c
+@@ -27,8 +27,10 @@
+ #include "nv-linux.h"
+ #include "nv-platform.h"
+
++#if IS_ENABLED(CONFIG_TEGRA_BPMP)
+ #include <soc/tegra/bpmp-abi.h>
+ #include <soc/tegra/bpmp.h>
++#endif // IS_ENABLED(CONFIG_TEGRA_BPMP)
+
+ // Use the CCF APIs if enabled in Kernel config and RM build
+ // has Dual license define enabled.
diff --git a/srcpkgs/nvidia-open-dkms/template b/srcpkgs/nvidia-open-dkms/template
new file mode 100644
index 00000000000000..530b65030ea90a
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/template
@@ -0,0 +1,29 @@
+# Template file for 'nvidia-open-dkms'
+pkgname=nvidia-open-dkms
+version=580.95.05
+revision=1
+archs="x86_64"
+depends="dkms nvidia-${version}_${revision} nvidia-dkms"
+short_desc="NVIDIA drivers for linux - open DKMS kernel module"
+maintainer="JkktBkkt <apkabikov@gmail.com>"
+license="GPL-2.0-only, MIT"
+homepage="https://github.com/NVIDIA/open-gpu-kernel-modules"
+distfiles="https://download.nvidia.com/XFree86/NVIDIA-kernel-module-source/NVIDIA-kernel-module-source-${version}.tar.xz"
+checksum=5aa71eb68d54485780e6f56dd59cbabd1d105b6a374110d38dbbbf14ca6a89fb
+conflicts="nvidia390-dkms>=0 nvidia470-dkms>=0 nvidia-nonfree-dkms>=0"
+dkms_modules="nvidia-open-dkms ${version}"
+triggers="dkms initramfs-regenerate"
+provides="nvidia-dkms-src-${version}_${revision}"
+
+do_install() {
+ vmkdir usr/src/nvidia-open-dkms-${version}
+ vcopy "*" usr/src/nvidia-open-dkms-${version}
+ cp ${FILESDIR}/dkms.conf ${DESTDIR}/usr/src/nvidia-open-dkms-${version}/dkms.conf
+ vsed -e "s/__PKGVER/${version}/" -i ${DESTDIR}/usr/src/nvidia-open-dkms-${version}/dkms.conf
+
+ vdoc README.md
+ vlicense COPYING
+ pkg_install() {
+ vmove usr/src
+ }
+}
^ permalink raw reply related [flat|nested] 115+ messages in thread
* Re: New package: nvidia-open-dkms-580.95.05
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (51 preceding siblings ...)
2025-10-17 10:09 ` JkktBkkt
@ 2025-10-17 10:11 ` JkktBkkt
2025-10-17 10:20 ` [PR PATCH] [Updated] " JkktBkkt
` (60 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: JkktBkkt @ 2025-10-17 10:11 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1145 bytes --]
New comment by JkktBkkt on void-packages repository
https://github.com/void-linux/void-packages/pull/54593#issuecomment-3414751239
Comment:
While I have been using this on a "daily" machine ever since the original PR was created, as-was, I don't think the PR as a whole is in a ready-to-merge state here (permalink to it is in first comment)
With nvidia and nvidia-open-dkms installed and a new version available for one or both, manual intervention from the user is required to update (or temporarily holdback), which is far from ideal.
So I think a few changes for the nvidia template would help, something like the commit below works (from neither installed, it defaults to nonfree version). Not sure if this is the proper approach to take though and about details, i.e. names for virtual and the whole handling of -dkms subpackage.
I've briefly (game via proton, mpv via vulkan playback, both in a wayland session) tested updating locally from both 580.82.05 proprietary and open versions (open as it was at the time in this PR), correctly installs the required one in working state.
PR set to draft as per edited opening comment.
^ permalink raw reply [flat|nested] 115+ messages in thread
* Re: [PR PATCH] [Updated] New package: nvidia-open-dkms-580.95.05
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (52 preceding siblings ...)
2025-10-17 10:11 ` JkktBkkt
@ 2025-10-17 10:20 ` JkktBkkt
2025-10-17 10:31 ` JkktBkkt
` (59 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: JkktBkkt @ 2025-10-17 10:20 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1711 bytes --]
There is an updated pull request by JkktBkkt against master on the void-packages repository
https://github.com/JkktBkkt/void-packages patch-1
https://github.com/void-linux/void-packages/pull/54593
New package: nvidia-open-dkms-580.95.05
### Important: PR has been set to WIP as the template requires additional review, for cleanup and tie-in with main nvidia package.
Here's a permalink to the commit that doesn't change the `nvidia` template if you want to install or upgrade before this can land and in case more changes are requested by maintainers: https://github.com/void-linux/void-packages/pull/54593/commits/78cc73d0ce554abeeedc7065e1cb641b23250832
See https://github.com/void-linux/void-packages/pull/54593#issuecomment-3411057607 and below to track that progress
#### Testing the changes
- I tested the changes in this PR: **YES**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
-->
#### Local build testing
- I built this PR locally for my native architecture, x86_64-glibc
**Comments**
Built and tested on 6.12.16 as soon as the #50458 landed
No longer WIP since this release is out of [beta](https://us.download.nvidia.com/XFree86/Linux-x86_64/570.124.04/README/kernel_open.html) and is now the recommended driver for supported devices, which are Turing and newer, so 16-series and newer of the GeForce lineup.
Closes #51384
Perhaps package info should mention which GPUs are supported
Thanks to mike7d7 for original template and PR #51538
A patch file from https://github.com/void-linux/void-packages/pull/54593.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-patch-1-54593.patch --]
[-- Type: text/x-diff, Size: 10580 bytes --]
From 06fd43b017e17403bb6a35d7558350193b24f58d Mon Sep 17 00:00:00 2001
From: JkktBkkt <apkabikov@gmail.com>
Date: Fri, 17 Oct 2025 09:51:29 +0300
Subject: [PATCH 1/2] nvidia-dkms: split, add to defaults.virtual
---
etc/defaults.virtual | 1 +
srcpkgs/nvidia-nonfree-dkms | 1 +
srcpkgs/nvidia/template | 20 +++++++++++++++-----
3 files changed, 17 insertions(+), 5 deletions(-)
create mode 120000 srcpkgs/nvidia-nonfree-dkms
diff --git a/etc/defaults.virtual b/etc/defaults.virtual
index e7e78cd735f53a..f93fb2ead25cb9 100644
--- a/etc/defaults.virtual
+++ b/etc/defaults.virtual
@@ -40,3 +40,4 @@ libGL libglvnd
libEGL libglvnd
libGLES libglvnd
hunspell-en_GB hunspell-en_GB-all
+nvidia-dkms-src nvidia-nonfree-dkms
diff --git a/srcpkgs/nvidia-nonfree-dkms b/srcpkgs/nvidia-nonfree-dkms
new file mode 120000
index 00000000000000..746a30838a696f
--- /dev/null
+++ b/srcpkgs/nvidia-nonfree-dkms
@@ -0,0 +1 @@
+nvidia
\ No newline at end of file
diff --git a/srcpkgs/nvidia/template b/srcpkgs/nvidia/template
index 9720bbea054e03..4d8bb6d87d0349 100644
--- a/srcpkgs/nvidia/template
+++ b/srcpkgs/nvidia/template
@@ -21,7 +21,7 @@ _pkg="NVIDIA-Linux-x86_64-${version}"
distfiles="http://uk.download.nvidia.com/XFree86/Linux-x86_64/${version}/${_pkg}.run"
checksum=849ef0ef8e842b9806b2cde9f11c1303d54f1a9a769467e4e5d961b2fe1182a7
# subpackages need to be processed in this specific order
-subpackages="nvidia-gtklibs nvidia-dkms nvidia-firmware nvidia-opencl nvidia-libs nvidia-libs-32bit"
+subpackages="nvidia-gtklibs nvidia-dkms nvidia-nonfree-dkms nvidia-firmware nvidia-opencl nvidia-libs nvidia-libs-32bit"
depends="nvidia-libs-${version}_${revision}
nvidia-gtklibs-${version}_${revision}
nvidia-dkms-${version}_${revision}
@@ -252,7 +252,7 @@ do_install() {
vinstall libnvidia-opticalflow.so.${version} 755 usr/lib
- # dkms pkg
+ # nonfree-dkms pkg
vmkdir usr/src/nvidia-${version}
vcopy "kernel/*" usr/src/nvidia-${version}
vcopy ${FILESDIR}/dkms.conf usr/src/nvidia-${version}
@@ -267,6 +267,7 @@ do_install() {
vbin ${FILESDIR}/prime-run
+ # dkms pkg
# Blacklist nouveau
vmkdir usr/lib/modprobe.d
cat <<- END > ${DESTDIR}/usr/lib/modprobe.d/nvidia.conf
@@ -322,16 +323,25 @@ nvidia-libs_package() {
}
}
-nvidia-dkms_package() {
- short_desc="${_desc} - DKMS kernel module"
+nvidia-nonfree-dkms_package() {
+ short_desc="${_desc} - proprietary DKMS kernel module"
depends="dkms xbps-triggers>=0.121_1"
dkms_modules="nvidia ${version}"
# dkms must be before initramfs-regenerate to build modules before images
triggers="dkms initramfs-regenerate"
- conflicts="nvidia470-dkms>=0 nvidia390-dkms>=0"
+ conflicts="nvidia470-dkms>=0 nvidia390-dkms>=0 nvidia-open-dkms>=0"
+ provides="nvidia-dkms-src-${version}_${revision}"
pkg_install() {
vmove usr/src
+ }
+}
+
+nvidia-dkms_package() {
+ short_desc="${_desc} - DKMS common files"
+ depends="virtual?nvidia-dkms-src"
+ conflicts="nvidia470-dkms>=0 nvidia390-dkms>=0"
+ pkg_install() {
vmove usr/lib/modprobe.d
}
}
From 7b70ecbe0dcd49c31d864ea8846690069e958cf2 Mon Sep 17 00:00:00 2001
From: Miguel <migue07mx@protonmail.com>
Date: Mon, 29 Jul 2024 22:37:14 -0600
Subject: [PATCH 2/2] New package: nvidia-open-dkms-580.95.05.
Co-authored-by: Miguel <migue07mx@protonmail.com>
---
srcpkgs/nvidia-open-dkms/files/dkms.conf | 26 ++++++++++++
...atomic-kernel-modesetting-by-default.patch | 42 +++++++++++++++++++
.../patches/0003-Add-IBT-support.patch | 25 +++++++++++
.../patches/nvidia-tegra-bpmp.patch | 13 ++++++
srcpkgs/nvidia-open-dkms/template | 29 +++++++++++++
5 files changed, 135 insertions(+)
create mode 100644 srcpkgs/nvidia-open-dkms/files/dkms.conf
create mode 100644 srcpkgs/nvidia-open-dkms/patches/0001-Enable-atomic-kernel-modesetting-by-default.patch
create mode 100644 srcpkgs/nvidia-open-dkms/patches/0003-Add-IBT-support.patch
create mode 100644 srcpkgs/nvidia-open-dkms/patches/nvidia-tegra-bpmp.patch
create mode 100644 srcpkgs/nvidia-open-dkms/template
diff --git a/srcpkgs/nvidia-open-dkms/files/dkms.conf b/srcpkgs/nvidia-open-dkms/files/dkms.conf
new file mode 100644
index 00000000000000..15c2e6503376ec
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/files/dkms.conf
@@ -0,0 +1,26 @@
+PACKAGE_NAME="nvidia"
+PACKAGE_VERSION="__PKGVER"
+AUTOINSTALL="yes"
+
+# By default, DKMS will add KERNELRELEASE to the make command line; however,
+# this will cause the kernel module build to infer that it was invoked via
+# Kbuild directly instead of DKMS. The dkms(8) manual page recommends quoting
+# the 'make' command name to suppress this behavior.
+MAKE[0]="'make' -j$(nproc) NV_EXCLUDE_BUILD_MODULES='' KERNEL_UNAME=${kernelver} modules"
+
+# The list of kernel modules will be generated by nvidia-installer at runtime.
+BUILT_MODULE_NAME[0]="nvidia"
+BUILT_MODULE_LOCATION[0]="kernel-open"
+DEST_MODULE_LOCATION[0]="/kernel/drivers/video"
+BUILT_MODULE_NAME[1]="nvidia-uvm"
+BUILT_MODULE_LOCATION[1]="kernel-open"
+DEST_MODULE_LOCATION[1]="/kernel/drivers/video"
+BUILT_MODULE_NAME[2]="nvidia-modeset"
+BUILT_MODULE_LOCATION[2]="kernel-open"
+DEST_MODULE_LOCATION[2]="/kernel/drivers/video"
+BUILT_MODULE_NAME[3]="nvidia-drm"
+BUILT_MODULE_LOCATION[3]="kernel-open"
+DEST_MODULE_LOCATION[3]="/kernel/drivers/video"
+BUILT_MODULE_NAME[4]="nvidia-peermem"
+BUILT_MODULE_LOCATION[4]="kernel-open"
+DEST_MODULE_LOCATION[4]="/kernel/drivers/video"
diff --git a/srcpkgs/nvidia-open-dkms/patches/0001-Enable-atomic-kernel-modesetting-by-default.patch b/srcpkgs/nvidia-open-dkms/patches/0001-Enable-atomic-kernel-modesetting-by-default.patch
new file mode 100644
index 00000000000000..0548693a56cb6e
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/patches/0001-Enable-atomic-kernel-modesetting-by-default.patch
@@ -0,0 +1,42 @@
+From 69769b8ebaaeca84a5188330f80c460dcc0fa747 Mon Sep 17 00:00:00 2001
+From: Eric Naim <dnaim@cachyos.org>
+Date: Fri, 24 Jan 2025 19:34:24 +0700
+Subject: [PATCH] Enable atomic kernel modesetting by default
+
+This is required for proper functionality under Wayland. fbdev has been default enabled since 570 so that
+hunk can be removed from this patch.
+
+Signed-off-by: Eric Naim <dnaim@cachyos.org>
+---
+ nvidia-drm/nvidia-drm-linux.c | 2 +-
+ nvidia-drm/nvidia-drm-os-interface.c | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/nvidia-drm/nvidia-drm-linux.c b/nvidia-drm/nvidia-drm-linux.c
+index 0007cbf..bd0b9eb 100644
+--- a/kernel-open/nvidia-drm/nvidia-drm-linux.c
++++ b/kernel-open/nvidia-drm/nvidia-drm-linux.c
+@@ -31,7 +31,7 @@
+
+ MODULE_PARM_DESC(
+ modeset,
+- "Enable atomic kernel modesetting (1 = enable, 0 = disable (default))");
++ "Enable atomic kernel modesetting (1 = enable (default), 0 = disable)");
+ module_param_named(modeset, nv_drm_modeset_module_param, bool, 0400);
+
+ #if defined(NV_DRM_FBDEV_AVAILABLE)
+diff --git a/nvidia-drm/nvidia-drm-os-interface.c b/nvidia-drm/nvidia-drm-os-interface.c
+index 7617476..f22afd7 100644
+--- a/kernel-open/nvidia-drm/nvidia-drm-os-interface.c
++++ b/kernel-open/nvidia-drm/nvidia-drm-os-interface.c
+@@ -41,7 +41,7 @@
+ #include <drm/drmP.h>
+ #endif
+
+-bool nv_drm_modeset_module_param = false;
++bool nv_drm_modeset_module_param = true;
+ bool nv_drm_fbdev_module_param = true;
+
+ void *nv_drm_calloc(size_t nmemb, size_t size)
+--
+2.48.1
diff --git a/srcpkgs/nvidia-open-dkms/patches/0003-Add-IBT-support.patch b/srcpkgs/nvidia-open-dkms/patches/0003-Add-IBT-support.patch
new file mode 100644
index 00000000000000..caad6d70099faa
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/patches/0003-Add-IBT-support.patch
@@ -0,0 +1,25 @@
+From 1484c9ee0a60468dfd88954011fae0e28c0f73de Mon Sep 17 00:00:00 2001
+From: Peter Jung <admin@ptr1337.dev>
+Date: Fri, 18 Oct 2024 22:40:58 +0200
+Subject: [PATCH 3/6] Add IBT support
+
+Signed-off-by: Peter Jung <admin@ptr1337.dev>
+---
+ src/nvidia-modeset/Makefile | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/nvidia-modeset/Makefile b/src/nvidia-modeset/Makefile
+index 2b96f3fa..ed934014 100644
+--- a/src/nvidia-modeset/Makefile
++++ b/src/nvidia-modeset/Makefile
+@@ -151,6 +151,7 @@ ifeq ($(TARGET_ARCH),x86_64)
+ CONDITIONAL_CFLAGS += $(call TEST_CC_ARG, -fno-jump-tables)
+ CONDITIONAL_CFLAGS += $(call TEST_CC_ARG, -mindirect-branch=thunk-extern)
+ CONDITIONAL_CFLAGS += $(call TEST_CC_ARG, -mindirect-branch-register)
++ CONDITIONAL_CFLAGS += $(call TEST_CC_ARG, -mharden-sls=all)
+ endif
+
+ CFLAGS += $(CONDITIONAL_CFLAGS)
+--
+2.47.0
+
diff --git a/srcpkgs/nvidia-open-dkms/patches/nvidia-tegra-bpmp.patch b/srcpkgs/nvidia-open-dkms/patches/nvidia-tegra-bpmp.patch
new file mode 100644
index 00000000000000..75f016e9807fe6
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/patches/nvidia-tegra-bpmp.patch
@@ -0,0 +1,13 @@
+--- a/kernel-open/nvidia/nv-clk.c
++++ b/kernel-open/nvidia/nv-clk.c
+@@ -27,8 +27,10 @@
+ #include "nv-linux.h"
+ #include "nv-platform.h"
+
++#if IS_ENABLED(CONFIG_TEGRA_BPMP)
+ #include <soc/tegra/bpmp-abi.h>
+ #include <soc/tegra/bpmp.h>
++#endif // IS_ENABLED(CONFIG_TEGRA_BPMP)
+
+ // Use the CCF APIs if enabled in Kernel config and RM build
+ // has Dual license define enabled.
diff --git a/srcpkgs/nvidia-open-dkms/template b/srcpkgs/nvidia-open-dkms/template
new file mode 100644
index 00000000000000..530b65030ea90a
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/template
@@ -0,0 +1,29 @@
+# Template file for 'nvidia-open-dkms'
+pkgname=nvidia-open-dkms
+version=580.95.05
+revision=1
+archs="x86_64"
+depends="dkms nvidia-${version}_${revision} nvidia-dkms"
+short_desc="NVIDIA drivers for linux - open DKMS kernel module"
+maintainer="JkktBkkt <apkabikov@gmail.com>"
+license="GPL-2.0-only, MIT"
+homepage="https://github.com/NVIDIA/open-gpu-kernel-modules"
+distfiles="https://download.nvidia.com/XFree86/NVIDIA-kernel-module-source/NVIDIA-kernel-module-source-${version}.tar.xz"
+checksum=5aa71eb68d54485780e6f56dd59cbabd1d105b6a374110d38dbbbf14ca6a89fb
+conflicts="nvidia390-dkms>=0 nvidia470-dkms>=0 nvidia-nonfree-dkms>=0"
+dkms_modules="nvidia-open-dkms ${version}"
+triggers="dkms initramfs-regenerate"
+provides="nvidia-dkms-src-${version}_${revision}"
+
+do_install() {
+ vmkdir usr/src/nvidia-open-dkms-${version}
+ vcopy "*" usr/src/nvidia-open-dkms-${version}
+ cp ${FILESDIR}/dkms.conf ${DESTDIR}/usr/src/nvidia-open-dkms-${version}/dkms.conf
+ vsed -e "s/__PKGVER/${version}/" -i ${DESTDIR}/usr/src/nvidia-open-dkms-${version}/dkms.conf
+
+ vdoc README.md
+ vlicense COPYING
+ pkg_install() {
+ vmove usr/src
+ }
+}
^ permalink raw reply related [flat|nested] 115+ messages in thread
* Re: New package: nvidia-open-dkms-580.95.05
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (53 preceding siblings ...)
2025-10-17 10:20 ` [PR PATCH] [Updated] " JkktBkkt
@ 2025-10-17 10:31 ` JkktBkkt
2025-10-17 10:57 ` JkktBkkt
` (58 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: JkktBkkt @ 2025-10-17 10:31 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 724 bytes --]
New comment by JkktBkkt on void-packages repository
https://github.com/void-linux/void-packages/pull/54593#issuecomment-3414878431
Comment:
Not quite sure what to do with that result of CI fail:
```Trying to install dependents of nvidia-firmware:
ERROR: Unexpected error: Too many levels of symbolic links (40)
Failed to install 'nvidia-firmware' and 'nvidia-580.95.05_1'
Trying to install dependents of nvidia-gtklibs:
ERROR: Unexpected error: Too many levels of symbolic links (40)
Failed to install 'nvidia-gtklibs' and 'nvidia-580.95.05_1'
Trying to install dependents of nvidia-libs:
ERROR: Unexpected error: Too many levels of symbolic links (40)
Failed to install 'nvidia-libs' and 'nvidia-580.95.05_1'```
^ permalink raw reply [flat|nested] 115+ messages in thread
* Re: New package: nvidia-open-dkms-580.95.05
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (54 preceding siblings ...)
2025-10-17 10:31 ` JkktBkkt
@ 2025-10-17 10:57 ` JkktBkkt
2025-10-17 10:57 ` JkktBkkt
` (57 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: JkktBkkt @ 2025-10-17 10:57 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1167 bytes --]
New comment by JkktBkkt on void-packages repository
https://github.com/void-linux/void-packages/pull/54593#issuecomment-3414878431
Comment:
Not quite sure what to do with that result of CI fail:
```Trying to install dependents of nvidia-firmware:
ERROR: Unexpected error: Too many levels of symbolic links (40)
Failed to install 'nvidia-firmware' and 'nvidia-580.95.05_1'
Trying to install dependents of nvidia-gtklibs:
ERROR: Unexpected error: Too many levels of symbolic links (40)
Failed to install 'nvidia-gtklibs' and 'nvidia-580.95.05_1'
Trying to install dependents of nvidia-libs:
ERROR: Unexpected error: Too many levels of symbolic links (40)
Failed to install 'nvidia-libs' and 'nvidia-580.95.05_1'```
I guess this comes from nvidia-open-dkms having a pinned nvidia version in depends, but changing that to generic `nvidia` would mean that both have to move in sync instead of having a situation like with 580.76.05 covered:
To my knowledge, that version was fine with proprietary flavor of the kernel module, but the open one had issues with gtk4 applications, so I didn't push the update until another version landed without those issues.
^ permalink raw reply [flat|nested] 115+ messages in thread
* Re: New package: nvidia-open-dkms-580.95.05
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (55 preceding siblings ...)
2025-10-17 10:57 ` JkktBkkt
@ 2025-10-17 10:57 ` JkktBkkt
2025-10-17 10:58 ` JkktBkkt
` (56 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: JkktBkkt @ 2025-10-17 10:57 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1179 bytes --]
New comment by JkktBkkt on void-packages repository
https://github.com/void-linux/void-packages/pull/54593#issuecomment-3414878431
Comment:
Not quite sure what to do with that result of CI fail:
``` console
Trying to install dependents of nvidia-firmware:
ERROR: Unexpected error: Too many levels of symbolic links (40)
Failed to install 'nvidia-firmware' and 'nvidia-580.95.05_1'
Trying to install dependents of nvidia-gtklibs:
ERROR: Unexpected error: Too many levels of symbolic links (40)
Failed to install 'nvidia-gtklibs' and 'nvidia-580.95.05_1'
Trying to install dependents of nvidia-libs:
ERROR: Unexpected error: Too many levels of symbolic links (40)
Failed to install 'nvidia-libs' and 'nvidia-580.95.05_1'
```
I guess this comes from nvidia-open-dkms having a pinned nvidia version in depends, but changing that to generic `nvidia` would mean that both have to move in sync instead of having a situation like with 580.76.05 covered:
To my knowledge, that version was fine with proprietary flavor of the kernel module, but the open one had issues with gtk4 applications, so I didn't push the update until another version landed without those issues.
^ permalink raw reply [flat|nested] 115+ messages in thread
* Re: New package: nvidia-open-dkms-580.95.05
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (56 preceding siblings ...)
2025-10-17 10:57 ` JkktBkkt
@ 2025-10-17 10:58 ` JkktBkkt
2025-10-17 11:11 ` JkktBkkt
` (55 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: JkktBkkt @ 2025-10-17 10:58 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1239 bytes --]
New comment by JkktBkkt on void-packages repository
https://github.com/void-linux/void-packages/pull/54593#issuecomment-3414878431
Comment:
Not quite sure what to do with that result of CI fail:
``` console
Trying to install dependents of nvidia-firmware:
ERROR: Unexpected error: Too many levels of symbolic links (40)
Failed to install 'nvidia-firmware' and 'nvidia-580.95.05_1'
Trying to install dependents of nvidia-gtklibs:
ERROR: Unexpected error: Too many levels of symbolic links (40)
Failed to install 'nvidia-gtklibs' and 'nvidia-580.95.05_1'
Trying to install dependents of nvidia-libs:
ERROR: Unexpected error: Too many levels of symbolic links (40)
Failed to install 'nvidia-libs' and 'nvidia-580.95.05_1'
```
I guess this comes from nvidia-open-dkms having a pinned nvidia version in depends, but changing that to generic `nvidia` would mean that both have to move in sync instead of having a situation like with 580.76.05 covered through templates and thus not requiring user intervention:
To my knowledge, that version was fine with proprietary flavor of the kernel module, but the open one had issues with gtk4 applications, so I didn't push the update until another version landed without those issues.
^ permalink raw reply [flat|nested] 115+ messages in thread
* Re: New package: nvidia-open-dkms-580.95.05
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (57 preceding siblings ...)
2025-10-17 10:58 ` JkktBkkt
@ 2025-10-17 11:11 ` JkktBkkt
2025-10-17 11:12 ` [PR PATCH] [Updated] " JkktBkkt
` (54 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: JkktBkkt @ 2025-10-17 11:11 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1278 bytes --]
New comment by JkktBkkt on void-packages repository
https://github.com/void-linux/void-packages/pull/54593#issuecomment-3414878431
Comment:
Not quite sure what to do with that result of CI fail:
``` console
Trying to install dependents of nvidia-firmware:
ERROR: Unexpected error: Too many levels of symbolic links (40)
Failed to install 'nvidia-firmware' and 'nvidia-580.95.05_1'
Trying to install dependents of nvidia-gtklibs:
ERROR: Unexpected error: Too many levels of symbolic links (40)
Failed to install 'nvidia-gtklibs' and 'nvidia-580.95.05_1'
Trying to install dependents of nvidia-libs:
ERROR: Unexpected error: Too many levels of symbolic links (40)
Failed to install 'nvidia-libs' and 'nvidia-580.95.05_1'
```
I guess this comes from nvidia-open-dkms having a pinned nvidia version in depends, but changing that to generic `nvidia` would mean that both have to move in sync instead of having a situation like with 580.76.05 covered through templates and thus not requiring user intervention:
To my knowledge, that version was fine with proprietary flavor of the kernel module, but the open one had issues with gtk4 applications, so I didn't push the update until another version landed without those issues.
Let's see if this is the only issue..
^ permalink raw reply [flat|nested] 115+ messages in thread
* Re: [PR PATCH] [Updated] New package: nvidia-open-dkms-580.95.05
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (58 preceding siblings ...)
2025-10-17 11:11 ` JkktBkkt
@ 2025-10-17 11:12 ` JkktBkkt
2025-10-17 13:33 ` abenson
` (53 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: JkktBkkt @ 2025-10-17 11:12 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1711 bytes --]
There is an updated pull request by JkktBkkt against master on the void-packages repository
https://github.com/JkktBkkt/void-packages patch-1
https://github.com/void-linux/void-packages/pull/54593
New package: nvidia-open-dkms-580.95.05
### Important: PR has been set to WIP as the template requires additional review, for cleanup and tie-in with main nvidia package.
Here's a permalink to the commit that doesn't change the `nvidia` template if you want to install or upgrade before this can land and in case more changes are requested by maintainers: https://github.com/void-linux/void-packages/pull/54593/commits/78cc73d0ce554abeeedc7065e1cb641b23250832
See https://github.com/void-linux/void-packages/pull/54593#issuecomment-3411057607 and below to track that progress
#### Testing the changes
- I tested the changes in this PR: **YES**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
-->
#### Local build testing
- I built this PR locally for my native architecture, x86_64-glibc
**Comments**
Built and tested on 6.12.16 as soon as the #50458 landed
No longer WIP since this release is out of [beta](https://us.download.nvidia.com/XFree86/Linux-x86_64/570.124.04/README/kernel_open.html) and is now the recommended driver for supported devices, which are Turing and newer, so 16-series and newer of the GeForce lineup.
Closes #51384
Perhaps package info should mention which GPUs are supported
Thanks to mike7d7 for original template and PR #51538
A patch file from https://github.com/void-linux/void-packages/pull/54593.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-patch-1-54593.patch --]
[-- Type: text/x-diff, Size: 10545 bytes --]
From 06fd43b017e17403bb6a35d7558350193b24f58d Mon Sep 17 00:00:00 2001
From: JkktBkkt <apkabikov@gmail.com>
Date: Fri, 17 Oct 2025 09:51:29 +0300
Subject: [PATCH 1/2] nvidia-dkms: split, add to defaults.virtual
---
etc/defaults.virtual | 1 +
srcpkgs/nvidia-nonfree-dkms | 1 +
srcpkgs/nvidia/template | 20 +++++++++++++++-----
3 files changed, 17 insertions(+), 5 deletions(-)
create mode 120000 srcpkgs/nvidia-nonfree-dkms
diff --git a/etc/defaults.virtual b/etc/defaults.virtual
index e7e78cd735f53a..f93fb2ead25cb9 100644
--- a/etc/defaults.virtual
+++ b/etc/defaults.virtual
@@ -40,3 +40,4 @@ libGL libglvnd
libEGL libglvnd
libGLES libglvnd
hunspell-en_GB hunspell-en_GB-all
+nvidia-dkms-src nvidia-nonfree-dkms
diff --git a/srcpkgs/nvidia-nonfree-dkms b/srcpkgs/nvidia-nonfree-dkms
new file mode 120000
index 00000000000000..746a30838a696f
--- /dev/null
+++ b/srcpkgs/nvidia-nonfree-dkms
@@ -0,0 +1 @@
+nvidia
\ No newline at end of file
diff --git a/srcpkgs/nvidia/template b/srcpkgs/nvidia/template
index 9720bbea054e03..4d8bb6d87d0349 100644
--- a/srcpkgs/nvidia/template
+++ b/srcpkgs/nvidia/template
@@ -21,7 +21,7 @@ _pkg="NVIDIA-Linux-x86_64-${version}"
distfiles="http://uk.download.nvidia.com/XFree86/Linux-x86_64/${version}/${_pkg}.run"
checksum=849ef0ef8e842b9806b2cde9f11c1303d54f1a9a769467e4e5d961b2fe1182a7
# subpackages need to be processed in this specific order
-subpackages="nvidia-gtklibs nvidia-dkms nvidia-firmware nvidia-opencl nvidia-libs nvidia-libs-32bit"
+subpackages="nvidia-gtklibs nvidia-dkms nvidia-nonfree-dkms nvidia-firmware nvidia-opencl nvidia-libs nvidia-libs-32bit"
depends="nvidia-libs-${version}_${revision}
nvidia-gtklibs-${version}_${revision}
nvidia-dkms-${version}_${revision}
@@ -252,7 +252,7 @@ do_install() {
vinstall libnvidia-opticalflow.so.${version} 755 usr/lib
- # dkms pkg
+ # nonfree-dkms pkg
vmkdir usr/src/nvidia-${version}
vcopy "kernel/*" usr/src/nvidia-${version}
vcopy ${FILESDIR}/dkms.conf usr/src/nvidia-${version}
@@ -267,6 +267,7 @@ do_install() {
vbin ${FILESDIR}/prime-run
+ # dkms pkg
# Blacklist nouveau
vmkdir usr/lib/modprobe.d
cat <<- END > ${DESTDIR}/usr/lib/modprobe.d/nvidia.conf
@@ -322,16 +323,25 @@ nvidia-libs_package() {
}
}
-nvidia-dkms_package() {
- short_desc="${_desc} - DKMS kernel module"
+nvidia-nonfree-dkms_package() {
+ short_desc="${_desc} - proprietary DKMS kernel module"
depends="dkms xbps-triggers>=0.121_1"
dkms_modules="nvidia ${version}"
# dkms must be before initramfs-regenerate to build modules before images
triggers="dkms initramfs-regenerate"
- conflicts="nvidia470-dkms>=0 nvidia390-dkms>=0"
+ conflicts="nvidia470-dkms>=0 nvidia390-dkms>=0 nvidia-open-dkms>=0"
+ provides="nvidia-dkms-src-${version}_${revision}"
pkg_install() {
vmove usr/src
+ }
+}
+
+nvidia-dkms_package() {
+ short_desc="${_desc} - DKMS common files"
+ depends="virtual?nvidia-dkms-src"
+ conflicts="nvidia470-dkms>=0 nvidia390-dkms>=0"
+ pkg_install() {
vmove usr/lib/modprobe.d
}
}
From c1e62873c14412102d9ee660c057d3d3f0981940 Mon Sep 17 00:00:00 2001
From: Miguel <migue07mx@protonmail.com>
Date: Mon, 29 Jul 2024 22:37:14 -0600
Subject: [PATCH 2/2] New package: nvidia-open-dkms-580.95.05.
Co-authored-by: Miguel <migue07mx@protonmail.com>
---
srcpkgs/nvidia-open-dkms/files/dkms.conf | 26 ++++++++++++
...atomic-kernel-modesetting-by-default.patch | 42 +++++++++++++++++++
.../patches/0003-Add-IBT-support.patch | 25 +++++++++++
.../patches/nvidia-tegra-bpmp.patch | 13 ++++++
srcpkgs/nvidia-open-dkms/template | 29 +++++++++++++
5 files changed, 135 insertions(+)
create mode 100644 srcpkgs/nvidia-open-dkms/files/dkms.conf
create mode 100644 srcpkgs/nvidia-open-dkms/patches/0001-Enable-atomic-kernel-modesetting-by-default.patch
create mode 100644 srcpkgs/nvidia-open-dkms/patches/0003-Add-IBT-support.patch
create mode 100644 srcpkgs/nvidia-open-dkms/patches/nvidia-tegra-bpmp.patch
create mode 100644 srcpkgs/nvidia-open-dkms/template
diff --git a/srcpkgs/nvidia-open-dkms/files/dkms.conf b/srcpkgs/nvidia-open-dkms/files/dkms.conf
new file mode 100644
index 00000000000000..15c2e6503376ec
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/files/dkms.conf
@@ -0,0 +1,26 @@
+PACKAGE_NAME="nvidia"
+PACKAGE_VERSION="__PKGVER"
+AUTOINSTALL="yes"
+
+# By default, DKMS will add KERNELRELEASE to the make command line; however,
+# this will cause the kernel module build to infer that it was invoked via
+# Kbuild directly instead of DKMS. The dkms(8) manual page recommends quoting
+# the 'make' command name to suppress this behavior.
+MAKE[0]="'make' -j$(nproc) NV_EXCLUDE_BUILD_MODULES='' KERNEL_UNAME=${kernelver} modules"
+
+# The list of kernel modules will be generated by nvidia-installer at runtime.
+BUILT_MODULE_NAME[0]="nvidia"
+BUILT_MODULE_LOCATION[0]="kernel-open"
+DEST_MODULE_LOCATION[0]="/kernel/drivers/video"
+BUILT_MODULE_NAME[1]="nvidia-uvm"
+BUILT_MODULE_LOCATION[1]="kernel-open"
+DEST_MODULE_LOCATION[1]="/kernel/drivers/video"
+BUILT_MODULE_NAME[2]="nvidia-modeset"
+BUILT_MODULE_LOCATION[2]="kernel-open"
+DEST_MODULE_LOCATION[2]="/kernel/drivers/video"
+BUILT_MODULE_NAME[3]="nvidia-drm"
+BUILT_MODULE_LOCATION[3]="kernel-open"
+DEST_MODULE_LOCATION[3]="/kernel/drivers/video"
+BUILT_MODULE_NAME[4]="nvidia-peermem"
+BUILT_MODULE_LOCATION[4]="kernel-open"
+DEST_MODULE_LOCATION[4]="/kernel/drivers/video"
diff --git a/srcpkgs/nvidia-open-dkms/patches/0001-Enable-atomic-kernel-modesetting-by-default.patch b/srcpkgs/nvidia-open-dkms/patches/0001-Enable-atomic-kernel-modesetting-by-default.patch
new file mode 100644
index 00000000000000..0548693a56cb6e
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/patches/0001-Enable-atomic-kernel-modesetting-by-default.patch
@@ -0,0 +1,42 @@
+From 69769b8ebaaeca84a5188330f80c460dcc0fa747 Mon Sep 17 00:00:00 2001
+From: Eric Naim <dnaim@cachyos.org>
+Date: Fri, 24 Jan 2025 19:34:24 +0700
+Subject: [PATCH] Enable atomic kernel modesetting by default
+
+This is required for proper functionality under Wayland. fbdev has been default enabled since 570 so that
+hunk can be removed from this patch.
+
+Signed-off-by: Eric Naim <dnaim@cachyos.org>
+---
+ nvidia-drm/nvidia-drm-linux.c | 2 +-
+ nvidia-drm/nvidia-drm-os-interface.c | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/nvidia-drm/nvidia-drm-linux.c b/nvidia-drm/nvidia-drm-linux.c
+index 0007cbf..bd0b9eb 100644
+--- a/kernel-open/nvidia-drm/nvidia-drm-linux.c
++++ b/kernel-open/nvidia-drm/nvidia-drm-linux.c
+@@ -31,7 +31,7 @@
+
+ MODULE_PARM_DESC(
+ modeset,
+- "Enable atomic kernel modesetting (1 = enable, 0 = disable (default))");
++ "Enable atomic kernel modesetting (1 = enable (default), 0 = disable)");
+ module_param_named(modeset, nv_drm_modeset_module_param, bool, 0400);
+
+ #if defined(NV_DRM_FBDEV_AVAILABLE)
+diff --git a/nvidia-drm/nvidia-drm-os-interface.c b/nvidia-drm/nvidia-drm-os-interface.c
+index 7617476..f22afd7 100644
+--- a/kernel-open/nvidia-drm/nvidia-drm-os-interface.c
++++ b/kernel-open/nvidia-drm/nvidia-drm-os-interface.c
+@@ -41,7 +41,7 @@
+ #include <drm/drmP.h>
+ #endif
+
+-bool nv_drm_modeset_module_param = false;
++bool nv_drm_modeset_module_param = true;
+ bool nv_drm_fbdev_module_param = true;
+
+ void *nv_drm_calloc(size_t nmemb, size_t size)
+--
+2.48.1
diff --git a/srcpkgs/nvidia-open-dkms/patches/0003-Add-IBT-support.patch b/srcpkgs/nvidia-open-dkms/patches/0003-Add-IBT-support.patch
new file mode 100644
index 00000000000000..caad6d70099faa
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/patches/0003-Add-IBT-support.patch
@@ -0,0 +1,25 @@
+From 1484c9ee0a60468dfd88954011fae0e28c0f73de Mon Sep 17 00:00:00 2001
+From: Peter Jung <admin@ptr1337.dev>
+Date: Fri, 18 Oct 2024 22:40:58 +0200
+Subject: [PATCH 3/6] Add IBT support
+
+Signed-off-by: Peter Jung <admin@ptr1337.dev>
+---
+ src/nvidia-modeset/Makefile | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/nvidia-modeset/Makefile b/src/nvidia-modeset/Makefile
+index 2b96f3fa..ed934014 100644
+--- a/src/nvidia-modeset/Makefile
++++ b/src/nvidia-modeset/Makefile
+@@ -151,6 +151,7 @@ ifeq ($(TARGET_ARCH),x86_64)
+ CONDITIONAL_CFLAGS += $(call TEST_CC_ARG, -fno-jump-tables)
+ CONDITIONAL_CFLAGS += $(call TEST_CC_ARG, -mindirect-branch=thunk-extern)
+ CONDITIONAL_CFLAGS += $(call TEST_CC_ARG, -mindirect-branch-register)
++ CONDITIONAL_CFLAGS += $(call TEST_CC_ARG, -mharden-sls=all)
+ endif
+
+ CFLAGS += $(CONDITIONAL_CFLAGS)
+--
+2.47.0
+
diff --git a/srcpkgs/nvidia-open-dkms/patches/nvidia-tegra-bpmp.patch b/srcpkgs/nvidia-open-dkms/patches/nvidia-tegra-bpmp.patch
new file mode 100644
index 00000000000000..75f016e9807fe6
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/patches/nvidia-tegra-bpmp.patch
@@ -0,0 +1,13 @@
+--- a/kernel-open/nvidia/nv-clk.c
++++ b/kernel-open/nvidia/nv-clk.c
+@@ -27,8 +27,10 @@
+ #include "nv-linux.h"
+ #include "nv-platform.h"
+
++#if IS_ENABLED(CONFIG_TEGRA_BPMP)
+ #include <soc/tegra/bpmp-abi.h>
+ #include <soc/tegra/bpmp.h>
++#endif // IS_ENABLED(CONFIG_TEGRA_BPMP)
+
+ // Use the CCF APIs if enabled in Kernel config and RM build
+ // has Dual license define enabled.
diff --git a/srcpkgs/nvidia-open-dkms/template b/srcpkgs/nvidia-open-dkms/template
new file mode 100644
index 00000000000000..bd3207679eee68
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/template
@@ -0,0 +1,29 @@
+# Template file for 'nvidia-open-dkms'
+pkgname=nvidia-open-dkms
+version=580.95.05
+revision=1
+archs="x86_64"
+depends="dkms nvidia"
+short_desc="NVIDIA drivers for linux - open DKMS kernel module"
+maintainer="JkktBkkt <apkabikov@gmail.com>"
+license="GPL-2.0-only, MIT"
+homepage="https://github.com/NVIDIA/open-gpu-kernel-modules"
+distfiles="https://download.nvidia.com/XFree86/NVIDIA-kernel-module-source/NVIDIA-kernel-module-source-${version}.tar.xz"
+checksum=5aa71eb68d54485780e6f56dd59cbabd1d105b6a374110d38dbbbf14ca6a89fb
+conflicts="nvidia390-dkms>=0 nvidia470-dkms>=0 nvidia-nonfree-dkms>=0"
+dkms_modules="nvidia-open-dkms ${version}"
+triggers="dkms initramfs-regenerate"
+provides="nvidia-dkms-src-${version}_${revision}"
+
+do_install() {
+ vmkdir usr/src/nvidia-open-dkms-${version}
+ vcopy "*" usr/src/nvidia-open-dkms-${version}
+ cp ${FILESDIR}/dkms.conf ${DESTDIR}/usr/src/nvidia-open-dkms-${version}/dkms.conf
+ vsed -e "s/__PKGVER/${version}/" -i ${DESTDIR}/usr/src/nvidia-open-dkms-${version}/dkms.conf
+
+ vdoc README.md
+ vlicense COPYING
+ pkg_install() {
+ vmove usr/src
+ }
+}
^ permalink raw reply related [flat|nested] 115+ messages in thread
* Re: New package: nvidia-open-dkms-580.95.05
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (59 preceding siblings ...)
2025-10-17 11:12 ` [PR PATCH] [Updated] " JkktBkkt
@ 2025-10-17 13:33 ` abenson
2025-10-17 14:50 ` [PR PATCH] [Updated] " JkktBkkt
` (52 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: abenson @ 2025-10-17 13:33 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 244 bytes --]
New comment by abenson on void-packages repository
https://github.com/void-linux/void-packages/pull/54593#issuecomment-3415647898
Comment:
Updating them in sync isn't that big of a deal, I don't think. We already do this with other packages.
^ permalink raw reply [flat|nested] 115+ messages in thread
* Re: [PR PATCH] [Updated] New package: nvidia-open-dkms-580.95.05
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (60 preceding siblings ...)
2025-10-17 13:33 ` abenson
@ 2025-10-17 14:50 ` JkktBkkt
2025-10-17 14:53 ` [PR REVIEW] " classabbyamp
` (51 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: JkktBkkt @ 2025-10-17 14:50 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1711 bytes --]
There is an updated pull request by JkktBkkt against master on the void-packages repository
https://github.com/JkktBkkt/void-packages patch-1
https://github.com/void-linux/void-packages/pull/54593
New package: nvidia-open-dkms-580.95.05
### Important: PR has been set to WIP as the template requires additional review, for cleanup and tie-in with main nvidia package.
Here's a permalink to the commit that doesn't change the `nvidia` template if you want to install or upgrade before this can land and in case more changes are requested by maintainers: https://github.com/void-linux/void-packages/pull/54593/commits/78cc73d0ce554abeeedc7065e1cb641b23250832
See https://github.com/void-linux/void-packages/pull/54593#issuecomment-3411057607 and below to track that progress
#### Testing the changes
- I tested the changes in this PR: **YES**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
-->
#### Local build testing
- I built this PR locally for my native architecture, x86_64-glibc
**Comments**
Built and tested on 6.12.16 as soon as the #50458 landed
No longer WIP since this release is out of [beta](https://us.download.nvidia.com/XFree86/Linux-x86_64/570.124.04/README/kernel_open.html) and is now the recommended driver for supported devices, which are Turing and newer, so 16-series and newer of the GeForce lineup.
Closes #51384
Perhaps package info should mention which GPUs are supported
Thanks to mike7d7 for original template and PR #51538
A patch file from https://github.com/void-linux/void-packages/pull/54593.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-patch-1-54593.patch --]
[-- Type: text/x-diff, Size: 7768 bytes --]
From 0a977e93be9a0261e21de328145027e03cd0ca0f Mon Sep 17 00:00:00 2001
From: Miguel <migue07mx@protonmail.com>
Date: Mon, 29 Jul 2024 22:37:14 -0600
Subject: [PATCH] New package: nvidia-open-dkms-580.95.05.
Co-authored-by: Miguel <migue07mx@protonmail.com>
---
srcpkgs/nvidia-open-dkms/files/dkms.conf | 26 ++++++++++++
...atomic-kernel-modesetting-by-default.patch | 42 +++++++++++++++++++
.../patches/0003-Add-IBT-support.patch | 25 +++++++++++
.../patches/nvidia-tegra-bpmp.patch | 13 ++++++
srcpkgs/nvidia-open-dkms/template | 41 ++++++++++++++++++
5 files changed, 147 insertions(+)
create mode 100644 srcpkgs/nvidia-open-dkms/files/dkms.conf
create mode 100644 srcpkgs/nvidia-open-dkms/patches/0001-Enable-atomic-kernel-modesetting-by-default.patch
create mode 100644 srcpkgs/nvidia-open-dkms/patches/0003-Add-IBT-support.patch
create mode 100644 srcpkgs/nvidia-open-dkms/patches/nvidia-tegra-bpmp.patch
create mode 100644 srcpkgs/nvidia-open-dkms/template
diff --git a/srcpkgs/nvidia-open-dkms/files/dkms.conf b/srcpkgs/nvidia-open-dkms/files/dkms.conf
new file mode 100644
index 00000000000000..15c2e6503376ec
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/files/dkms.conf
@@ -0,0 +1,26 @@
+PACKAGE_NAME="nvidia"
+PACKAGE_VERSION="__PKGVER"
+AUTOINSTALL="yes"
+
+# By default, DKMS will add KERNELRELEASE to the make command line; however,
+# this will cause the kernel module build to infer that it was invoked via
+# Kbuild directly instead of DKMS. The dkms(8) manual page recommends quoting
+# the 'make' command name to suppress this behavior.
+MAKE[0]="'make' -j$(nproc) NV_EXCLUDE_BUILD_MODULES='' KERNEL_UNAME=${kernelver} modules"
+
+# The list of kernel modules will be generated by nvidia-installer at runtime.
+BUILT_MODULE_NAME[0]="nvidia"
+BUILT_MODULE_LOCATION[0]="kernel-open"
+DEST_MODULE_LOCATION[0]="/kernel/drivers/video"
+BUILT_MODULE_NAME[1]="nvidia-uvm"
+BUILT_MODULE_LOCATION[1]="kernel-open"
+DEST_MODULE_LOCATION[1]="/kernel/drivers/video"
+BUILT_MODULE_NAME[2]="nvidia-modeset"
+BUILT_MODULE_LOCATION[2]="kernel-open"
+DEST_MODULE_LOCATION[2]="/kernel/drivers/video"
+BUILT_MODULE_NAME[3]="nvidia-drm"
+BUILT_MODULE_LOCATION[3]="kernel-open"
+DEST_MODULE_LOCATION[3]="/kernel/drivers/video"
+BUILT_MODULE_NAME[4]="nvidia-peermem"
+BUILT_MODULE_LOCATION[4]="kernel-open"
+DEST_MODULE_LOCATION[4]="/kernel/drivers/video"
diff --git a/srcpkgs/nvidia-open-dkms/patches/0001-Enable-atomic-kernel-modesetting-by-default.patch b/srcpkgs/nvidia-open-dkms/patches/0001-Enable-atomic-kernel-modesetting-by-default.patch
new file mode 100644
index 00000000000000..0548693a56cb6e
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/patches/0001-Enable-atomic-kernel-modesetting-by-default.patch
@@ -0,0 +1,42 @@
+From 69769b8ebaaeca84a5188330f80c460dcc0fa747 Mon Sep 17 00:00:00 2001
+From: Eric Naim <dnaim@cachyos.org>
+Date: Fri, 24 Jan 2025 19:34:24 +0700
+Subject: [PATCH] Enable atomic kernel modesetting by default
+
+This is required for proper functionality under Wayland. fbdev has been default enabled since 570 so that
+hunk can be removed from this patch.
+
+Signed-off-by: Eric Naim <dnaim@cachyos.org>
+---
+ nvidia-drm/nvidia-drm-linux.c | 2 +-
+ nvidia-drm/nvidia-drm-os-interface.c | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/nvidia-drm/nvidia-drm-linux.c b/nvidia-drm/nvidia-drm-linux.c
+index 0007cbf..bd0b9eb 100644
+--- a/kernel-open/nvidia-drm/nvidia-drm-linux.c
++++ b/kernel-open/nvidia-drm/nvidia-drm-linux.c
+@@ -31,7 +31,7 @@
+
+ MODULE_PARM_DESC(
+ modeset,
+- "Enable atomic kernel modesetting (1 = enable, 0 = disable (default))");
++ "Enable atomic kernel modesetting (1 = enable (default), 0 = disable)");
+ module_param_named(modeset, nv_drm_modeset_module_param, bool, 0400);
+
+ #if defined(NV_DRM_FBDEV_AVAILABLE)
+diff --git a/nvidia-drm/nvidia-drm-os-interface.c b/nvidia-drm/nvidia-drm-os-interface.c
+index 7617476..f22afd7 100644
+--- a/kernel-open/nvidia-drm/nvidia-drm-os-interface.c
++++ b/kernel-open/nvidia-drm/nvidia-drm-os-interface.c
+@@ -41,7 +41,7 @@
+ #include <drm/drmP.h>
+ #endif
+
+-bool nv_drm_modeset_module_param = false;
++bool nv_drm_modeset_module_param = true;
+ bool nv_drm_fbdev_module_param = true;
+
+ void *nv_drm_calloc(size_t nmemb, size_t size)
+--
+2.48.1
diff --git a/srcpkgs/nvidia-open-dkms/patches/0003-Add-IBT-support.patch b/srcpkgs/nvidia-open-dkms/patches/0003-Add-IBT-support.patch
new file mode 100644
index 00000000000000..caad6d70099faa
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/patches/0003-Add-IBT-support.patch
@@ -0,0 +1,25 @@
+From 1484c9ee0a60468dfd88954011fae0e28c0f73de Mon Sep 17 00:00:00 2001
+From: Peter Jung <admin@ptr1337.dev>
+Date: Fri, 18 Oct 2024 22:40:58 +0200
+Subject: [PATCH 3/6] Add IBT support
+
+Signed-off-by: Peter Jung <admin@ptr1337.dev>
+---
+ src/nvidia-modeset/Makefile | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/nvidia-modeset/Makefile b/src/nvidia-modeset/Makefile
+index 2b96f3fa..ed934014 100644
+--- a/src/nvidia-modeset/Makefile
++++ b/src/nvidia-modeset/Makefile
+@@ -151,6 +151,7 @@ ifeq ($(TARGET_ARCH),x86_64)
+ CONDITIONAL_CFLAGS += $(call TEST_CC_ARG, -fno-jump-tables)
+ CONDITIONAL_CFLAGS += $(call TEST_CC_ARG, -mindirect-branch=thunk-extern)
+ CONDITIONAL_CFLAGS += $(call TEST_CC_ARG, -mindirect-branch-register)
++ CONDITIONAL_CFLAGS += $(call TEST_CC_ARG, -mharden-sls=all)
+ endif
+
+ CFLAGS += $(CONDITIONAL_CFLAGS)
+--
+2.47.0
+
diff --git a/srcpkgs/nvidia-open-dkms/patches/nvidia-tegra-bpmp.patch b/srcpkgs/nvidia-open-dkms/patches/nvidia-tegra-bpmp.patch
new file mode 100644
index 00000000000000..75f016e9807fe6
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/patches/nvidia-tegra-bpmp.patch
@@ -0,0 +1,13 @@
+--- a/kernel-open/nvidia/nv-clk.c
++++ b/kernel-open/nvidia/nv-clk.c
+@@ -27,8 +27,10 @@
+ #include "nv-linux.h"
+ #include "nv-platform.h"
+
++#if IS_ENABLED(CONFIG_TEGRA_BPMP)
+ #include <soc/tegra/bpmp-abi.h>
+ #include <soc/tegra/bpmp.h>
++#endif // IS_ENABLED(CONFIG_TEGRA_BPMP)
+
+ // Use the CCF APIs if enabled in Kernel config and RM build
+ // has Dual license define enabled.
diff --git a/srcpkgs/nvidia-open-dkms/template b/srcpkgs/nvidia-open-dkms/template
new file mode 100644
index 00000000000000..c36886152091d5
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/template
@@ -0,0 +1,41 @@
+# Template file for 'nvidia-open-dkms'
+pkgname=nvidia-open-dkms
+version=580.95.05
+revision=1
+archs="x86_64"
+depends="dkms nvidia"
+short_desc="NVIDIA drivers for linux - open DKMS kernel module"
+maintainer="JkktBkkt <apkabikov@gmail.com>"
+license="GPL-2.0-only, MIT"
+homepage="https://github.com/NVIDIA/open-gpu-kernel-modules"
+distfiles="https://download.nvidia.com/XFree86/NVIDIA-kernel-module-source/NVIDIA-kernel-module-source-${version}.tar.xz"
+checksum=5aa71eb68d54485780e6f56dd59cbabd1d105b6a374110d38dbbbf14ca6a89fb
+replaces="nvidia-dkms>=0"
+conflicts="nvidia390-dkms>=0 nvidia470-dkms>=0"
+dkms_modules="nvidia-open-dkms ${version}"
+triggers="dkms initramfs-regenerate"
+provides="nvidia-dkms-${version}_${revision}"
+
+do_install() {
+ vmkdir usr/src/nvidia-open-dkms-${version}
+ vcopy "*" usr/src/nvidia-open-dkms-${version}
+ cp ${FILESDIR}/dkms.conf ${DESTDIR}/usr/src/nvidia-open-dkms-${version}/dkms.conf
+ vsed -e "s/__PKGVER/${version}/" -i ${DESTDIR}/usr/src/nvidia-open-dkms-${version}/dkms.conf
+
+ # Blacklist nouveau
+ vmkdir usr/lib/modprobe.d
+ cat <<- END > ${DESTDIR}/usr/lib/modprobe.d/nvidia.conf
+ blacklist nouveau
+ blacklist nova_core
+ blacklist nova_drm
+ END
+ chmod 644 ${DESTDIR}/usr/lib/modprobe.d/nvidia.conf
+
+ vdoc README.md
+ vlicense COPYING
+
+ pkg_install() {
+ vmove usr/src
+ vmove usr/lib/modprobe.d
+ }
+}
^ permalink raw reply related [flat|nested] 115+ messages in thread
* Re: [PR REVIEW] New package: nvidia-open-dkms-580.95.05
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (61 preceding siblings ...)
2025-10-17 14:50 ` [PR PATCH] [Updated] " JkktBkkt
@ 2025-10-17 14:53 ` classabbyamp
2025-10-17 14:54 ` JkktBkkt
` (50 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: classabbyamp @ 2025-10-17 14:53 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 174 bytes --]
New review comment by classabbyamp on void-packages repository
https://github.com/void-linux/void-packages/pull/54593#discussion_r2440292577
Comment:
what's going on here?
^ permalink raw reply [flat|nested] 115+ messages in thread
* Re: New package: nvidia-open-dkms-580.95.05
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (62 preceding siblings ...)
2025-10-17 14:53 ` [PR REVIEW] " classabbyamp
@ 2025-10-17 14:54 ` JkktBkkt
2025-10-17 15:37 ` [PR PATCH] [Updated] " JkktBkkt
` (49 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: JkktBkkt @ 2025-10-17 14:54 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 327 bytes --]
New comment by JkktBkkt on void-packages repository
https://github.com/void-linux/void-packages/pull/54593#issuecomment-3415927541
Comment:
Dropped the virtual by changing the provides (quite neat that it can resolve like this) and restored the copied nouveau blacklist logic as pointed out by abby and ahesford over on irc.
^ permalink raw reply [flat|nested] 115+ messages in thread
* Re: [PR PATCH] [Updated] New package: nvidia-open-dkms-580.95.05
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (63 preceding siblings ...)
2025-10-17 14:54 ` JkktBkkt
@ 2025-10-17 15:37 ` JkktBkkt
2025-10-17 15:41 ` [PR REVIEW] " JkktBkkt
` (48 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: JkktBkkt @ 2025-10-17 15:37 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1711 bytes --]
There is an updated pull request by JkktBkkt against master on the void-packages repository
https://github.com/JkktBkkt/void-packages patch-1
https://github.com/void-linux/void-packages/pull/54593
New package: nvidia-open-dkms-580.95.05
### Important: PR has been set to WIP as the template requires additional review, for cleanup and tie-in with main nvidia package.
Here's a permalink to the commit that doesn't change the `nvidia` template if you want to install or upgrade before this can land and in case more changes are requested by maintainers: https://github.com/void-linux/void-packages/pull/54593/commits/78cc73d0ce554abeeedc7065e1cb641b23250832
See https://github.com/void-linux/void-packages/pull/54593#issuecomment-3411057607 and below to track that progress
#### Testing the changes
- I tested the changes in this PR: **YES**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
-->
#### Local build testing
- I built this PR locally for my native architecture, x86_64-glibc
**Comments**
Built and tested on 6.12.16 as soon as the #50458 landed
No longer WIP since this release is out of [beta](https://us.download.nvidia.com/XFree86/Linux-x86_64/570.124.04/README/kernel_open.html) and is now the recommended driver for supported devices, which are Turing and newer, so 16-series and newer of the GeForce lineup.
Closes #51384
Perhaps package info should mention which GPUs are supported
Thanks to mike7d7 for original template and PR #51538
A patch file from https://github.com/void-linux/void-packages/pull/54593.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-patch-1-54593.patch --]
[-- Type: text/x-diff, Size: 7697 bytes --]
From b26fb66706072638eef22ffa97d05ea51bc57e6a Mon Sep 17 00:00:00 2001
From: Miguel <migue07mx@protonmail.com>
Date: Mon, 29 Jul 2024 22:37:14 -0600
Subject: [PATCH] New package: nvidia-open-dkms-580.95.05.
Co-authored-by: Miguel <migue07mx@protonmail.com>
---
srcpkgs/nvidia-open-dkms/files/dkms.conf | 26 ++++++++++++
...atomic-kernel-modesetting-by-default.patch | 42 +++++++++++++++++++
.../patches/0003-Add-IBT-support.patch | 25 +++++++++++
.../patches/nvidia-tegra-bpmp.patch | 13 ++++++
srcpkgs/nvidia-open-dkms/template | 36 ++++++++++++++++
5 files changed, 142 insertions(+)
create mode 100644 srcpkgs/nvidia-open-dkms/files/dkms.conf
create mode 100644 srcpkgs/nvidia-open-dkms/patches/0001-Enable-atomic-kernel-modesetting-by-default.patch
create mode 100644 srcpkgs/nvidia-open-dkms/patches/0003-Add-IBT-support.patch
create mode 100644 srcpkgs/nvidia-open-dkms/patches/nvidia-tegra-bpmp.patch
create mode 100644 srcpkgs/nvidia-open-dkms/template
diff --git a/srcpkgs/nvidia-open-dkms/files/dkms.conf b/srcpkgs/nvidia-open-dkms/files/dkms.conf
new file mode 100644
index 00000000000000..15c2e6503376ec
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/files/dkms.conf
@@ -0,0 +1,26 @@
+PACKAGE_NAME="nvidia"
+PACKAGE_VERSION="__PKGVER"
+AUTOINSTALL="yes"
+
+# By default, DKMS will add KERNELRELEASE to the make command line; however,
+# this will cause the kernel module build to infer that it was invoked via
+# Kbuild directly instead of DKMS. The dkms(8) manual page recommends quoting
+# the 'make' command name to suppress this behavior.
+MAKE[0]="'make' -j$(nproc) NV_EXCLUDE_BUILD_MODULES='' KERNEL_UNAME=${kernelver} modules"
+
+# The list of kernel modules will be generated by nvidia-installer at runtime.
+BUILT_MODULE_NAME[0]="nvidia"
+BUILT_MODULE_LOCATION[0]="kernel-open"
+DEST_MODULE_LOCATION[0]="/kernel/drivers/video"
+BUILT_MODULE_NAME[1]="nvidia-uvm"
+BUILT_MODULE_LOCATION[1]="kernel-open"
+DEST_MODULE_LOCATION[1]="/kernel/drivers/video"
+BUILT_MODULE_NAME[2]="nvidia-modeset"
+BUILT_MODULE_LOCATION[2]="kernel-open"
+DEST_MODULE_LOCATION[2]="/kernel/drivers/video"
+BUILT_MODULE_NAME[3]="nvidia-drm"
+BUILT_MODULE_LOCATION[3]="kernel-open"
+DEST_MODULE_LOCATION[3]="/kernel/drivers/video"
+BUILT_MODULE_NAME[4]="nvidia-peermem"
+BUILT_MODULE_LOCATION[4]="kernel-open"
+DEST_MODULE_LOCATION[4]="/kernel/drivers/video"
diff --git a/srcpkgs/nvidia-open-dkms/patches/0001-Enable-atomic-kernel-modesetting-by-default.patch b/srcpkgs/nvidia-open-dkms/patches/0001-Enable-atomic-kernel-modesetting-by-default.patch
new file mode 100644
index 00000000000000..0548693a56cb6e
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/patches/0001-Enable-atomic-kernel-modesetting-by-default.patch
@@ -0,0 +1,42 @@
+From 69769b8ebaaeca84a5188330f80c460dcc0fa747 Mon Sep 17 00:00:00 2001
+From: Eric Naim <dnaim@cachyos.org>
+Date: Fri, 24 Jan 2025 19:34:24 +0700
+Subject: [PATCH] Enable atomic kernel modesetting by default
+
+This is required for proper functionality under Wayland. fbdev has been default enabled since 570 so that
+hunk can be removed from this patch.
+
+Signed-off-by: Eric Naim <dnaim@cachyos.org>
+---
+ nvidia-drm/nvidia-drm-linux.c | 2 +-
+ nvidia-drm/nvidia-drm-os-interface.c | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/nvidia-drm/nvidia-drm-linux.c b/nvidia-drm/nvidia-drm-linux.c
+index 0007cbf..bd0b9eb 100644
+--- a/kernel-open/nvidia-drm/nvidia-drm-linux.c
++++ b/kernel-open/nvidia-drm/nvidia-drm-linux.c
+@@ -31,7 +31,7 @@
+
+ MODULE_PARM_DESC(
+ modeset,
+- "Enable atomic kernel modesetting (1 = enable, 0 = disable (default))");
++ "Enable atomic kernel modesetting (1 = enable (default), 0 = disable)");
+ module_param_named(modeset, nv_drm_modeset_module_param, bool, 0400);
+
+ #if defined(NV_DRM_FBDEV_AVAILABLE)
+diff --git a/nvidia-drm/nvidia-drm-os-interface.c b/nvidia-drm/nvidia-drm-os-interface.c
+index 7617476..f22afd7 100644
+--- a/kernel-open/nvidia-drm/nvidia-drm-os-interface.c
++++ b/kernel-open/nvidia-drm/nvidia-drm-os-interface.c
+@@ -41,7 +41,7 @@
+ #include <drm/drmP.h>
+ #endif
+
+-bool nv_drm_modeset_module_param = false;
++bool nv_drm_modeset_module_param = true;
+ bool nv_drm_fbdev_module_param = true;
+
+ void *nv_drm_calloc(size_t nmemb, size_t size)
+--
+2.48.1
diff --git a/srcpkgs/nvidia-open-dkms/patches/0003-Add-IBT-support.patch b/srcpkgs/nvidia-open-dkms/patches/0003-Add-IBT-support.patch
new file mode 100644
index 00000000000000..caad6d70099faa
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/patches/0003-Add-IBT-support.patch
@@ -0,0 +1,25 @@
+From 1484c9ee0a60468dfd88954011fae0e28c0f73de Mon Sep 17 00:00:00 2001
+From: Peter Jung <admin@ptr1337.dev>
+Date: Fri, 18 Oct 2024 22:40:58 +0200
+Subject: [PATCH 3/6] Add IBT support
+
+Signed-off-by: Peter Jung <admin@ptr1337.dev>
+---
+ src/nvidia-modeset/Makefile | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/nvidia-modeset/Makefile b/src/nvidia-modeset/Makefile
+index 2b96f3fa..ed934014 100644
+--- a/src/nvidia-modeset/Makefile
++++ b/src/nvidia-modeset/Makefile
+@@ -151,6 +151,7 @@ ifeq ($(TARGET_ARCH),x86_64)
+ CONDITIONAL_CFLAGS += $(call TEST_CC_ARG, -fno-jump-tables)
+ CONDITIONAL_CFLAGS += $(call TEST_CC_ARG, -mindirect-branch=thunk-extern)
+ CONDITIONAL_CFLAGS += $(call TEST_CC_ARG, -mindirect-branch-register)
++ CONDITIONAL_CFLAGS += $(call TEST_CC_ARG, -mharden-sls=all)
+ endif
+
+ CFLAGS += $(CONDITIONAL_CFLAGS)
+--
+2.47.0
+
diff --git a/srcpkgs/nvidia-open-dkms/patches/nvidia-tegra-bpmp.patch b/srcpkgs/nvidia-open-dkms/patches/nvidia-tegra-bpmp.patch
new file mode 100644
index 00000000000000..75f016e9807fe6
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/patches/nvidia-tegra-bpmp.patch
@@ -0,0 +1,13 @@
+--- a/kernel-open/nvidia/nv-clk.c
++++ b/kernel-open/nvidia/nv-clk.c
+@@ -27,8 +27,10 @@
+ #include "nv-linux.h"
+ #include "nv-platform.h"
+
++#if IS_ENABLED(CONFIG_TEGRA_BPMP)
+ #include <soc/tegra/bpmp-abi.h>
+ #include <soc/tegra/bpmp.h>
++#endif // IS_ENABLED(CONFIG_TEGRA_BPMP)
+
+ // Use the CCF APIs if enabled in Kernel config and RM build
+ // has Dual license define enabled.
diff --git a/srcpkgs/nvidia-open-dkms/template b/srcpkgs/nvidia-open-dkms/template
new file mode 100644
index 00000000000000..1e69428a47dbd8
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/template
@@ -0,0 +1,36 @@
+# Template file for 'nvidia-open-dkms'
+pkgname=nvidia-open-dkms
+version=580.95.05
+revision=1
+archs="x86_64"
+depends="dkms nvidia"
+short_desc="NVIDIA drivers for linux - open DKMS kernel module"
+maintainer="JkktBkkt <apkabikov@gmail.com>"
+license="GPL-2.0-only, MIT"
+homepage="https://github.com/NVIDIA/open-gpu-kernel-modules"
+distfiles="https://download.nvidia.com/XFree86/NVIDIA-kernel-module-source/NVIDIA-kernel-module-source-${version}.tar.xz"
+checksum=5aa71eb68d54485780e6f56dd59cbabd1d105b6a374110d38dbbbf14ca6a89fb
+replaces="nvidia-dkms>=0"
+conflicts="nvidia390-dkms>=0 nvidia470-dkms>=0"
+dkms_modules="nvidia-open-dkms ${version}"
+triggers="dkms initramfs-regenerate"
+provides="nvidia-dkms-${version}_${revision}"
+
+do_install() {
+ vmkdir usr/src/nvidia-open-dkms-${version}
+ vcopy "*" usr/src/nvidia-open-dkms-${version}
+ cp ${FILESDIR}/dkms.conf ${DESTDIR}/usr/src/nvidia-open-dkms-${version}/dkms.conf
+ vsed -e "s/__PKGVER/${version}/" -i ${DESTDIR}/usr/src/nvidia-open-dkms-${version}/dkms.conf
+
+ # Blacklist nouveau
+ vmkdir usr/lib/modprobe.d
+ cat <<- END > ${DESTDIR}/usr/lib/modprobe.d/nvidia.conf
+ blacklist nouveau
+ blacklist nova_core
+ blacklist nova_drm
+ END
+ chmod 644 ${DESTDIR}/usr/lib/modprobe.d/nvidia.conf
+
+ vdoc README.md
+ vlicense COPYING
+}
^ permalink raw reply related [flat|nested] 115+ messages in thread
* Re: [PR REVIEW] New package: nvidia-open-dkms-580.95.05
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (64 preceding siblings ...)
2025-10-17 15:37 ` [PR PATCH] [Updated] " JkktBkkt
@ 2025-10-17 15:41 ` JkktBkkt
2025-10-17 15:49 ` JkktBkkt
` (47 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: JkktBkkt @ 2025-10-17 15:41 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 291 bytes --]
New review comment by JkktBkkt on void-packages repository
https://github.com/void-linux/void-packages/pull/54593#discussion_r2440426408
Comment:
Leftovers from previous template versions, which was only minimally adjusted.
Dropped the line, contents of the package appear no different.
^ permalink raw reply [flat|nested] 115+ messages in thread
* Re: [PR REVIEW] New package: nvidia-open-dkms-580.95.05
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (65 preceding siblings ...)
2025-10-17 15:41 ` [PR REVIEW] " JkktBkkt
@ 2025-10-17 15:49 ` JkktBkkt
2025-10-17 16:57 ` vikigenius
` (46 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: JkktBkkt @ 2025-10-17 15:49 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 298 bytes --]
New review comment by JkktBkkt on void-packages repository
https://github.com/void-linux/void-packages/pull/54593#discussion_r2440426408
Comment:
Leftovers from previous template versions, which was only minimally adjusted.
Dropped the line(again), contents of the package appear no different.
^ permalink raw reply [flat|nested] 115+ messages in thread
* Re: New package: nvidia-open-dkms-580.95.05
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (66 preceding siblings ...)
2025-10-17 15:49 ` JkktBkkt
@ 2025-10-17 16:57 ` vikigenius
2025-10-17 17:17 ` abenson
` (45 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: vikigenius @ 2025-10-17 16:57 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 389 bytes --]
New comment by vikigenius on void-packages repository
https://github.com/void-linux/void-packages/pull/54593#issuecomment-3416363620
Comment:
What's the difference between this PR and this https://github.com/void-linux/void-packages/pull/56685 ?
I have tried both and I find it easier to update the drivers with the other one. But maybe it becomes easier once we actually merge this?
^ permalink raw reply [flat|nested] 115+ messages in thread
* Re: New package: nvidia-open-dkms-580.95.05
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (67 preceding siblings ...)
2025-10-17 16:57 ` vikigenius
@ 2025-10-17 17:17 ` abenson
2025-10-18 0:28 ` fvalasiad
` (44 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: abenson @ 2025-10-17 17:17 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 289 bytes --]
New comment by abenson on void-packages repository
https://github.com/void-linux/void-packages/pull/54593#issuecomment-3416424556
Comment:
The other switches entirely to the open drivers, breaking support for pre-Turing GPUs (10xx and earlier). This PR provides the option to have both.
^ permalink raw reply [flat|nested] 115+ messages in thread
* Re: New package: nvidia-open-dkms-580.95.05
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (68 preceding siblings ...)
2025-10-17 17:17 ` abenson
@ 2025-10-18 0:28 ` fvalasiad
2025-10-19 8:04 ` JkktBkkt
` (43 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: fvalasiad @ 2025-10-18 0:28 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1060 bytes --]
New comment by fvalasiad on void-packages repository
https://github.com/void-linux/void-packages/pull/54593#issuecomment-3417565424
Comment:
> The other switches entirely to the open drivers, breaking support for pre-Turing GPUs (10xx and earlier). This PR provides the option to have both.
While I originally did agree with this path, The announcement of pre-turing cards being deprecated post 580 driver version was what led me into opening that PR.
Is there any point in having both, knowing that? Pre-turing cards can just keep using the original template, but I don't see the reason why any of the newer ones should be defaulting to the proprietary modules.
And in case we do want to keep both for whatever reason(as far as I understand nvidia will eventually drop em completely, given that they don't support their newer series), wouldn't it make more sense for it to be the other way around? Aka by default the package installs the open ones and users can install the second package to switch to proprietary if they wish?
Am I missing something?
^ permalink raw reply [flat|nested] 115+ messages in thread
* Re: New package: nvidia-open-dkms-580.95.05
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (69 preceding siblings ...)
2025-10-18 0:28 ` fvalasiad
@ 2025-10-19 8:04 ` JkktBkkt
2025-10-19 8:06 ` JkktBkkt
` (42 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: JkktBkkt @ 2025-10-19 8:04 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 524 bytes --]
New comment by JkktBkkt on void-packages repository
https://github.com/void-linux/void-packages/pull/54593#issuecomment-3419339446
Comment:
Personally, the only objection to that is "-open" seems to still sometimes have issues appear where proprietary doesn't, and some existing setups would require user intervention on the side of users of older GPUs.
If it is possible to keep old users on the proprietary flavor (at least for now), and perhaps default the new users to open, that is probably the best of both worlds.
^ permalink raw reply [flat|nested] 115+ messages in thread
* Re: New package: nvidia-open-dkms-580.95.05
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (70 preceding siblings ...)
2025-10-19 8:04 ` JkktBkkt
@ 2025-10-19 8:06 ` JkktBkkt
2025-10-19 14:28 ` vikigenius
` (41 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: JkktBkkt @ 2025-10-19 8:06 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 663 bytes --]
New comment by JkktBkkt on void-packages repository
https://github.com/void-linux/void-packages/pull/54593#issuecomment-3419339446
Comment:
Personally, the only objection to that is "-open" seems to still sometimes have issues appear where proprietary doesn't, and some existing setups would require user intervention on the side of users of older GPUs.
If it is possible to keep old users on the proprietary flavor (at least for now), and perhaps default the new users to open, that is probably the best of both worlds.
This should be possible with a virtual dependency added, but if I understood correctly, that's not the path the maintainers want to take.
^ permalink raw reply [flat|nested] 115+ messages in thread
* Re: New package: nvidia-open-dkms-580.95.05
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (71 preceding siblings ...)
2025-10-19 8:06 ` JkktBkkt
@ 2025-10-19 14:28 ` vikigenius
2025-10-20 13:59 ` abenson
` (40 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: vikigenius @ 2025-10-19 14:28 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 287 bytes --]
New comment by vikigenius on void-packages repository
https://github.com/void-linux/void-packages/pull/54593#issuecomment-3419710886
Comment:
Yeah but some newer cards simply don't support non open drivers at all (I have the 5070ti). And it's been a hassle so far to keep this updated
^ permalink raw reply [flat|nested] 115+ messages in thread
* Re: New package: nvidia-open-dkms-580.95.05
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (72 preceding siblings ...)
2025-10-19 14:28 ` vikigenius
@ 2025-10-20 13:59 ` abenson
2025-10-20 14:37 ` fvalasiad
` (39 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: abenson @ 2025-10-20 13:59 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 661 bytes --]
New comment by abenson on void-packages repository
https://github.com/void-linux/void-packages/pull/54593#issuecomment-3422187978
Comment:
> Is there any point in having both, knowing that? Pre-turing cards can just keep using the original template, but I don't see the reason why any of the newer ones should be defaulting to the proprietary modules.
Meaning people with pre-Turing cards will need to maintain their own package? Or we somehow create a `nvidia-dkms-legacy` package?
Or are you advocating we just drop support for pre-Turing cards altogether? We could drop `nvidia470` and `nvidia390`, as well, or we'd just have a weird gap in support.
^ permalink raw reply [flat|nested] 115+ messages in thread
* Re: New package: nvidia-open-dkms-580.95.05
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (73 preceding siblings ...)
2025-10-20 13:59 ` abenson
@ 2025-10-20 14:37 ` fvalasiad
2025-10-20 14:49 ` fvalasiad
` (38 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: fvalasiad @ 2025-10-20 14:37 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1549 bytes --]
New comment by fvalasiad on void-packages repository
https://github.com/void-linux/void-packages/pull/54593#issuecomment-3422359705
Comment:
> Or are you advocating we just drop support for pre-Turing cards altogether? We could drop `nvidia470` and `nvidia390`, as well, or we'd just have a weird gap in support.
I'm advocating for the pre Turing cards to get the same treatment the older deprecated cards got, aka:
As soon as next production release drops, e.g 590, fork the nvidia template at that point in time (being in the latest 580.x version) to a package named 'nvidia580', point users with pre-turing cards to it in the handbook.
As soon as that happens, switch the nvidia package to the open kernel modules, seeing as now only Turing and later cards will be using the nvidia package, which not only are supported by the open kernel drivers, but it's actually the recommendation by nvidia. In fact, in the case of the 5xxx series it's not only a recommendation but the only path forward.
My understanding so far is that we do not need to keep the proprietary option around for Turing+ cards, but if there are valid reasons to, such as those stated by @JkktBkkt, then we either delay the whole switch, or go about deciding the default, which I advocate should still be the open kernel drivers, while offering a package similar to this one that switches to the proprietary as a backup.
Regardless this would result in a single step install for either group with an optional second step as a backup if deemed necessary.
Thoughts?
^ permalink raw reply [flat|nested] 115+ messages in thread
* Re: New package: nvidia-open-dkms-580.95.05
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (74 preceding siblings ...)
2025-10-20 14:37 ` fvalasiad
@ 2025-10-20 14:49 ` fvalasiad
2025-11-05 23:06 ` abenson
` (37 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: fvalasiad @ 2025-10-20 14:49 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 2477 bytes --]
New comment by fvalasiad on void-packages repository
https://github.com/void-linux/void-packages/pull/54593#issuecomment-3422359705
Comment:
> Or are you advocating we just drop support for pre-Turing cards altogether? We could drop `nvidia470` and `nvidia390`, as well, or we'd just have a weird gap in support.
I'm advocating for the pre Turing cards to get the same treatment the older deprecated cards got, aka:
As soon as next production release drops, e.g 590, fork the nvidia template at that point in time (being in the latest 580.x version) to a package named 'nvidia580', point users with pre-turing cards to it in the handbook.
As soon as that happens, switch the nvidia package to the open kernel modules, seeing as now only Turing and later cards will be using the nvidia package, which not only are supported by the open kernel drivers, but it's actually the recommendation by nvidia. In fact, in the case of the 5xxx series it's not only a recommendation but the only path forward.
My understanding so far is that we do not need to keep the proprietary option around for Turing+ cards, but if there are valid reasons to, such as those stated by @JkktBkkt, then we either delay the whole switch, or go about deciding the default, which I advocate should still be the open kernel drivers, while offering a package similar to this one that switches to the proprietary as a backup.
Regardless this would result in a single step install for either group with an optional second step as a backup if deemed necessary.
Thoughts?
EDIT: only potential caveat compared to going with this PR's route, is that the above requires that we wait for the next production release before we ship the open kernel drivers, and that as we've seen in the past can take a while longer (reminder that the PR that started off as a beta testing ground for 555 onwards took almost a full year to hit the next production release).
And I'd consider that bad only for the users with newer cards, since it means that unless they bother checking out github and building the package from one of the open PRs, they won't have support from the distro.
Could be dealt with by temporarily merging this solution, or splitting the package while still in the 580 release and updating them individually until the next production release which is the point they diverge.
Sorry for the complexity, but it's hard to explain in simple words, let me know if you want me to rephrase something.
^ permalink raw reply [flat|nested] 115+ messages in thread
* Re: New package: nvidia-open-dkms-580.95.05
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (75 preceding siblings ...)
2025-10-20 14:49 ` fvalasiad
@ 2025-11-05 23:06 ` abenson
2025-11-06 1:49 ` JkktBkkt
` (36 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: abenson @ 2025-11-05 23:06 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 502 bytes --]
New comment by abenson on void-packages repository
https://github.com/void-linux/void-packages/pull/54593#issuecomment-3493988875
Comment:
I think I may restructure the `nvidia` package to make this easier. I can move all of the files in `nvidia` to `nvidia-utils`, then make `nvidia` a metapackage that depends on the subpackages as is (plus the new `nvidia-utils`).
Then, `nvidia-open-dkms` can have a subpackage that depends on `nvidia-open-dkms` and the subpackages of `nvidia` that it needs.
^ permalink raw reply [flat|nested] 115+ messages in thread
* Re: New package: nvidia-open-dkms-580.95.05
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (76 preceding siblings ...)
2025-11-05 23:06 ` abenson
@ 2025-11-06 1:49 ` JkktBkkt
2025-11-06 1:53 ` JkktBkkt
` (35 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: JkktBkkt @ 2025-11-06 1:49 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1341 bytes --]
New comment by JkktBkkt on void-packages repository
https://github.com/void-linux/void-packages/pull/54593#issuecomment-3494438684
Comment:
If thinking about the simplicity of a solution, I think the easiest would be to integrate this PR's -open as a subpackage into `nvidia`, then splitting when new stable branch releases (590?) into `nvidia580` (only closed, for legacy purposes) and `nvidia` (open), duplicating the rest of the files installed.
The only drawbacks I see are:
- manual intervention required for existing installs
- this change is probably better done after waiting for 590 release
Instead of waiting, a full duplicate of `nvidia` can be created under, say, `nvidia-open` and then both be renamed, `nvidia-open` to be new `nvidia` and `nvidia` current into `nvidia580`
This way the structure of existing `nvidia390` and `nvidia470` and `nvidia` templates can be kept as-is
I personally don't see any need to subpackage the `nvidia-utils` as it (to me) doesn't make much sense to have only part of the driver without those files (i.e. the vulkan/egl specific files or `nvidia-smi`, etc. not being present on the system)
And at the same time `-open` is basically using the exact same files, but replaces only the sources for kernel module, so I fail to see what problem such a subpackage would be solving?
^ permalink raw reply [flat|nested] 115+ messages in thread
* Re: New package: nvidia-open-dkms-580.95.05
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (77 preceding siblings ...)
2025-11-06 1:49 ` JkktBkkt
@ 2025-11-06 1:53 ` JkktBkkt
2025-11-06 4:22 ` abenson
` (34 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: JkktBkkt @ 2025-11-06 1:53 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1354 bytes --]
New comment by JkktBkkt on void-packages repository
https://github.com/void-linux/void-packages/pull/54593#issuecomment-3494438684
Comment:
If thinking about the simplicity of a solution, I think the easiest would be to integrate this PR's -open as a subpackage into `nvidia`, then splitting when new stable branch releases (590?) into `nvidia580` (only closed, for legacy purposes) and `nvidia` (open), duplicating the rest of the files installed.
The only drawbacks I see are:
- manual intervention required for existing installs
- this change is probably better done after waiting for 590 release
Instead of waiting, a full duplicate of `nvidia` can be created under, say, `nvidia-open` and then both be renamed, `nvidia-open` to be new `nvidia` and `nvidia` current into `nvidia580`
This way the structure of existing `nvidia390` and `nvidia470` and `nvidia` templates can be kept as-is
I personally don't see any need to subpackage the `nvidia-utils` as it (to me) doesn't make much sense to have only part of the driver without those files (i.e. the vulkan/egl specific files or `nvidia-smi`, etc. not being present on the system)
And at the same time `-open` is basically using the exact same files, but replaces only the sources for kernel module, so I fail to see what problem `nvidia-utils` as a subpackage would be solving?
^ permalink raw reply [flat|nested] 115+ messages in thread
* Re: New package: nvidia-open-dkms-580.95.05
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (78 preceding siblings ...)
2025-11-06 1:53 ` JkktBkkt
@ 2025-11-06 4:22 ` abenson
2025-11-07 6:36 ` [PR PATCH] [Updated] " JkktBkkt
` (33 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: abenson @ 2025-11-06 4:22 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1335 bytes --]
New comment by abenson on void-packages repository
https://github.com/void-linux/void-packages/pull/54593#issuecomment-3494931462
Comment:
> manual intervention required for existing installs
That's the case already whenever there's a new versioned package for people that want to stay on it, so no more issues than usual.
> I personally don't see any need to subpackage the nvidia-utils as it (to me) doesn't make much sense to have only part of the driver without those files (i.e. the vulkan/egl specific files or nvidia-smi, etc. not being present on the system)
That same argument can be made for why do we have nvidia, -libs, -gtklibs, etc. I'm not sure why they were split like this, at least I don't think I'm who did it.
> And at the same time -open is basically using the exact same files, but replaces only the sources for kernel module, so I fail to see what problem nvidia-utils as a subpackage would be solving?
Basically, `nvidia` and `nvidia-open` would install everything except the irrespective -dkms module. I was just spitballing an idea to see what would be the least amount of friction but get things moving now instead of waiting, but 590.xx is going to be a version split anyway.
Really its just me being impatient, as I've recently been forced into the requiring the open drivers myself.
^ permalink raw reply [flat|nested] 115+ messages in thread
* Re: [PR PATCH] [Updated] New package: nvidia-open-dkms-580.95.05
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (79 preceding siblings ...)
2025-11-06 4:22 ` abenson
@ 2025-11-07 6:36 ` JkktBkkt
2025-11-07 6:40 ` JkktBkkt
` (32 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: JkktBkkt @ 2025-11-07 6:36 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1711 bytes --]
There is an updated pull request by JkktBkkt against master on the void-packages repository
https://github.com/JkktBkkt/void-packages patch-1
https://github.com/void-linux/void-packages/pull/54593
New package: nvidia-open-dkms-580.95.05
### Important: PR has been set to WIP as the template requires additional review, for cleanup and tie-in with main nvidia package.
Here's a permalink to the commit that doesn't change the `nvidia` template if you want to install or upgrade before this can land and in case more changes are requested by maintainers: https://github.com/void-linux/void-packages/pull/54593/commits/78cc73d0ce554abeeedc7065e1cb641b23250832
See https://github.com/void-linux/void-packages/pull/54593#issuecomment-3411057607 and below to track that progress
#### Testing the changes
- I tested the changes in this PR: **YES**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
-->
#### Local build testing
- I built this PR locally for my native architecture, x86_64-glibc
**Comments**
Built and tested on 6.12.16 as soon as the #50458 landed
No longer WIP since this release is out of [beta](https://us.download.nvidia.com/XFree86/Linux-x86_64/570.124.04/README/kernel_open.html) and is now the recommended driver for supported devices, which are Turing and newer, so 16-series and newer of the GeForce lineup.
Closes #51384
Perhaps package info should mention which GPUs are supported
Thanks to mike7d7 for original template and PR #51538
A patch file from https://github.com/void-linux/void-packages/pull/54593.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-patch-1-54593.patch --]
[-- Type: text/x-diff, Size: 7699 bytes --]
From 9b12c5581f86e8829e6e09113ff719da5855620d Mon Sep 17 00:00:00 2001
From: Miguel <migue07mx@protonmail.com>
Date: Mon, 29 Jul 2024 22:37:14 -0600
Subject: [PATCH] New package: nvidia-open-dkms-580.105.08.
Co-authored-by: Miguel <migue07mx@protonmail.com>
---
srcpkgs/nvidia-open-dkms/files/dkms.conf | 26 ++++++++++++
...atomic-kernel-modesetting-by-default.patch | 42 +++++++++++++++++++
.../patches/0003-Add-IBT-support.patch | 25 +++++++++++
.../patches/nvidia-tegra-bpmp.patch | 13 ++++++
srcpkgs/nvidia-open-dkms/template | 36 ++++++++++++++++
5 files changed, 142 insertions(+)
create mode 100644 srcpkgs/nvidia-open-dkms/files/dkms.conf
create mode 100644 srcpkgs/nvidia-open-dkms/patches/0001-Enable-atomic-kernel-modesetting-by-default.patch
create mode 100644 srcpkgs/nvidia-open-dkms/patches/0003-Add-IBT-support.patch
create mode 100644 srcpkgs/nvidia-open-dkms/patches/nvidia-tegra-bpmp.patch
create mode 100644 srcpkgs/nvidia-open-dkms/template
diff --git a/srcpkgs/nvidia-open-dkms/files/dkms.conf b/srcpkgs/nvidia-open-dkms/files/dkms.conf
new file mode 100644
index 00000000000000..15c2e6503376ec
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/files/dkms.conf
@@ -0,0 +1,26 @@
+PACKAGE_NAME="nvidia"
+PACKAGE_VERSION="__PKGVER"
+AUTOINSTALL="yes"
+
+# By default, DKMS will add KERNELRELEASE to the make command line; however,
+# this will cause the kernel module build to infer that it was invoked via
+# Kbuild directly instead of DKMS. The dkms(8) manual page recommends quoting
+# the 'make' command name to suppress this behavior.
+MAKE[0]="'make' -j$(nproc) NV_EXCLUDE_BUILD_MODULES='' KERNEL_UNAME=${kernelver} modules"
+
+# The list of kernel modules will be generated by nvidia-installer at runtime.
+BUILT_MODULE_NAME[0]="nvidia"
+BUILT_MODULE_LOCATION[0]="kernel-open"
+DEST_MODULE_LOCATION[0]="/kernel/drivers/video"
+BUILT_MODULE_NAME[1]="nvidia-uvm"
+BUILT_MODULE_LOCATION[1]="kernel-open"
+DEST_MODULE_LOCATION[1]="/kernel/drivers/video"
+BUILT_MODULE_NAME[2]="nvidia-modeset"
+BUILT_MODULE_LOCATION[2]="kernel-open"
+DEST_MODULE_LOCATION[2]="/kernel/drivers/video"
+BUILT_MODULE_NAME[3]="nvidia-drm"
+BUILT_MODULE_LOCATION[3]="kernel-open"
+DEST_MODULE_LOCATION[3]="/kernel/drivers/video"
+BUILT_MODULE_NAME[4]="nvidia-peermem"
+BUILT_MODULE_LOCATION[4]="kernel-open"
+DEST_MODULE_LOCATION[4]="/kernel/drivers/video"
diff --git a/srcpkgs/nvidia-open-dkms/patches/0001-Enable-atomic-kernel-modesetting-by-default.patch b/srcpkgs/nvidia-open-dkms/patches/0001-Enable-atomic-kernel-modesetting-by-default.patch
new file mode 100644
index 00000000000000..0548693a56cb6e
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/patches/0001-Enable-atomic-kernel-modesetting-by-default.patch
@@ -0,0 +1,42 @@
+From 69769b8ebaaeca84a5188330f80c460dcc0fa747 Mon Sep 17 00:00:00 2001
+From: Eric Naim <dnaim@cachyos.org>
+Date: Fri, 24 Jan 2025 19:34:24 +0700
+Subject: [PATCH] Enable atomic kernel modesetting by default
+
+This is required for proper functionality under Wayland. fbdev has been default enabled since 570 so that
+hunk can be removed from this patch.
+
+Signed-off-by: Eric Naim <dnaim@cachyos.org>
+---
+ nvidia-drm/nvidia-drm-linux.c | 2 +-
+ nvidia-drm/nvidia-drm-os-interface.c | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/nvidia-drm/nvidia-drm-linux.c b/nvidia-drm/nvidia-drm-linux.c
+index 0007cbf..bd0b9eb 100644
+--- a/kernel-open/nvidia-drm/nvidia-drm-linux.c
++++ b/kernel-open/nvidia-drm/nvidia-drm-linux.c
+@@ -31,7 +31,7 @@
+
+ MODULE_PARM_DESC(
+ modeset,
+- "Enable atomic kernel modesetting (1 = enable, 0 = disable (default))");
++ "Enable atomic kernel modesetting (1 = enable (default), 0 = disable)");
+ module_param_named(modeset, nv_drm_modeset_module_param, bool, 0400);
+
+ #if defined(NV_DRM_FBDEV_AVAILABLE)
+diff --git a/nvidia-drm/nvidia-drm-os-interface.c b/nvidia-drm/nvidia-drm-os-interface.c
+index 7617476..f22afd7 100644
+--- a/kernel-open/nvidia-drm/nvidia-drm-os-interface.c
++++ b/kernel-open/nvidia-drm/nvidia-drm-os-interface.c
+@@ -41,7 +41,7 @@
+ #include <drm/drmP.h>
+ #endif
+
+-bool nv_drm_modeset_module_param = false;
++bool nv_drm_modeset_module_param = true;
+ bool nv_drm_fbdev_module_param = true;
+
+ void *nv_drm_calloc(size_t nmemb, size_t size)
+--
+2.48.1
diff --git a/srcpkgs/nvidia-open-dkms/patches/0003-Add-IBT-support.patch b/srcpkgs/nvidia-open-dkms/patches/0003-Add-IBT-support.patch
new file mode 100644
index 00000000000000..caad6d70099faa
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/patches/0003-Add-IBT-support.patch
@@ -0,0 +1,25 @@
+From 1484c9ee0a60468dfd88954011fae0e28c0f73de Mon Sep 17 00:00:00 2001
+From: Peter Jung <admin@ptr1337.dev>
+Date: Fri, 18 Oct 2024 22:40:58 +0200
+Subject: [PATCH 3/6] Add IBT support
+
+Signed-off-by: Peter Jung <admin@ptr1337.dev>
+---
+ src/nvidia-modeset/Makefile | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/nvidia-modeset/Makefile b/src/nvidia-modeset/Makefile
+index 2b96f3fa..ed934014 100644
+--- a/src/nvidia-modeset/Makefile
++++ b/src/nvidia-modeset/Makefile
+@@ -151,6 +151,7 @@ ifeq ($(TARGET_ARCH),x86_64)
+ CONDITIONAL_CFLAGS += $(call TEST_CC_ARG, -fno-jump-tables)
+ CONDITIONAL_CFLAGS += $(call TEST_CC_ARG, -mindirect-branch=thunk-extern)
+ CONDITIONAL_CFLAGS += $(call TEST_CC_ARG, -mindirect-branch-register)
++ CONDITIONAL_CFLAGS += $(call TEST_CC_ARG, -mharden-sls=all)
+ endif
+
+ CFLAGS += $(CONDITIONAL_CFLAGS)
+--
+2.47.0
+
diff --git a/srcpkgs/nvidia-open-dkms/patches/nvidia-tegra-bpmp.patch b/srcpkgs/nvidia-open-dkms/patches/nvidia-tegra-bpmp.patch
new file mode 100644
index 00000000000000..75f016e9807fe6
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/patches/nvidia-tegra-bpmp.patch
@@ -0,0 +1,13 @@
+--- a/kernel-open/nvidia/nv-clk.c
++++ b/kernel-open/nvidia/nv-clk.c
+@@ -27,8 +27,10 @@
+ #include "nv-linux.h"
+ #include "nv-platform.h"
+
++#if IS_ENABLED(CONFIG_TEGRA_BPMP)
+ #include <soc/tegra/bpmp-abi.h>
+ #include <soc/tegra/bpmp.h>
++#endif // IS_ENABLED(CONFIG_TEGRA_BPMP)
+
+ // Use the CCF APIs if enabled in Kernel config and RM build
+ // has Dual license define enabled.
diff --git a/srcpkgs/nvidia-open-dkms/template b/srcpkgs/nvidia-open-dkms/template
new file mode 100644
index 00000000000000..101d28fd692568
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/template
@@ -0,0 +1,36 @@
+# Template file for 'nvidia-open-dkms'
+pkgname=nvidia-open-dkms
+version=580.105.08
+revision=1
+archs="x86_64"
+depends="dkms nvidia"
+short_desc="NVIDIA drivers for linux - open DKMS kernel module"
+maintainer="JkktBkkt <apkabikov@gmail.com>"
+license="GPL-2.0-only, MIT"
+homepage="https://github.com/NVIDIA/open-gpu-kernel-modules"
+distfiles="https://download.nvidia.com/XFree86/NVIDIA-kernel-module-source/NVIDIA-kernel-module-source-${version}.tar.xz"
+checksum=59c518a2014f83efaf2a9f539b3097c55e74e8878aca01aedb59e92e3116080d
+replaces="nvidia-dkms>=0"
+conflicts="nvidia390-dkms>=0 nvidia470-dkms>=0"
+dkms_modules="nvidia-open-dkms ${version}"
+triggers="dkms initramfs-regenerate"
+provides="nvidia-dkms-${version}_${revision}"
+
+do_install() {
+ vmkdir usr/src/nvidia-open-dkms-${version}
+ vcopy "*" usr/src/nvidia-open-dkms-${version}
+ cp ${FILESDIR}/dkms.conf ${DESTDIR}/usr/src/nvidia-open-dkms-${version}/dkms.conf
+ vsed -e "s/__PKGVER/${version}/" -i ${DESTDIR}/usr/src/nvidia-open-dkms-${version}/dkms.conf
+
+ # Blacklist nouveau
+ vmkdir usr/lib/modprobe.d
+ cat <<- END > ${DESTDIR}/usr/lib/modprobe.d/nvidia.conf
+ blacklist nouveau
+ blacklist nova_core
+ blacklist nova_drm
+ END
+ chmod 644 ${DESTDIR}/usr/lib/modprobe.d/nvidia.conf
+
+ vdoc README.md
+ vlicense COPYING
+}
^ permalink raw reply related [flat|nested] 115+ messages in thread
* Re: New package: nvidia-open-dkms-580.95.05
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (80 preceding siblings ...)
2025-11-07 6:36 ` [PR PATCH] [Updated] " JkktBkkt
@ 2025-11-07 6:40 ` JkktBkkt
2025-11-09 23:48 ` New package: nvidia-open-dkms-580.105.08 save-buffer
` (31 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: JkktBkkt @ 2025-11-07 6:40 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 512 bytes --]
New comment by JkktBkkt on void-packages repository
https://github.com/void-linux/void-packages/pull/54593#issuecomment-3500977653
Comment:
> Really its just me being impatient, as I've recently been forced into the requiring the open drivers myself.
Personally, I'm down with pretty much anything you deem the appropriate path, including you taking over this package as the maintainer.
P.S. sorry for the delayed update, had to finish other stuff on the machine before rebooting and testing new version
^ permalink raw reply [flat|nested] 115+ messages in thread
* Re: New package: nvidia-open-dkms-580.105.08
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (81 preceding siblings ...)
2025-11-07 6:40 ` JkktBkkt
@ 2025-11-09 23:48 ` save-buffer
2025-11-09 23:51 ` save-buffer
` (30 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: save-buffer @ 2025-11-09 23:48 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 772 bytes --]
New comment by save-buffer on void-packages repository
https://github.com/void-linux/void-packages/pull/54593#issuecomment-3508958093
Comment:
Hi! I just tried to use this PR, but was hitting an issue with the DKMS not installing properly. It said it was building, but I noticed that the module never ended up in `lsmod`. After some hunting I realized that the DKMS was actually failing to be built (log here: `/var/lib/dkms/nviida-open-dkms/580.105.08/build/make.log`) due it not being able to find the `xz` command. Installing `xz` manually made it so that I could `dkms install nvidia-open-dkms/580.105.08` manually, and now I can once again use my graphics environment!
Should we add `xz` as a dependency to this package so that the kernel module can be built?
^ permalink raw reply [flat|nested] 115+ messages in thread
* Re: New package: nvidia-open-dkms-580.105.08
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (82 preceding siblings ...)
2025-11-09 23:48 ` New package: nvidia-open-dkms-580.105.08 save-buffer
@ 2025-11-09 23:51 ` save-buffer
2025-11-10 4:25 ` [PR PATCH] [Updated] " JkktBkkt
` (29 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: save-buffer @ 2025-11-09 23:51 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 772 bytes --]
New comment by save-buffer on void-packages repository
https://github.com/void-linux/void-packages/pull/54593#issuecomment-3508958093
Comment:
Hi! I just tried to use this PR, but was hitting an issue with the DKMS not installing properly. It said it was building, but I noticed that the module never ended up in `lsmod`. After some hunting I realized that the DKMS was actually failing to be built (log here: `/var/lib/dkms/nvidia-open-dkms/580.105.08/build/make.log`) due it not being able to find the `xz` command. Installing `xz` manually made it so that I could `dkms install nvidia-open-dkms/580.105.08` manually, and now I can once again use my graphics environment!
Should we add `xz` as a dependency to this package so that the kernel module can be built?
^ permalink raw reply [flat|nested] 115+ messages in thread
* Re: [PR PATCH] [Updated] New package: nvidia-open-dkms-580.105.08
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (83 preceding siblings ...)
2025-11-09 23:51 ` save-buffer
@ 2025-11-10 4:25 ` JkktBkkt
2025-11-10 4:25 ` JkktBkkt
` (28 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: JkktBkkt @ 2025-11-10 4:25 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1936 bytes --]
There is an updated pull request by JkktBkkt against master on the void-packages repository
https://github.com/JkktBkkt/void-packages patch-1
https://github.com/void-linux/void-packages/pull/54593
New package: nvidia-open-dkms-580.105.08
~~Important: PR has been set to WIP as the template requires additional review, for cleanup and tie-in with main nvidia package.~~
Unset, current version should be a bit cleaner, not requiring manual removal of -dkms before re-installing updated -open-dkms on every update.
~~Here's a permalink to the commit that doesn't change the `nvidia` template if you want to install or upgrade before this can land and in case more changes are requested by maintainers: https://github.com/void-linux/void-packages/pull/54593/commits/78cc73d0ce554abeeedc7065e1cb641b23250832~~
^ current version doesn't change `nvidia` template either, but see there for previous update notes.
See https://github.com/void-linux/void-packages/pull/54593#issuecomment-3411057607 and below to track that progress
#### Testing the changes
- I tested the changes in this PR: **YES**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
-->
#### Local build testing
- I built this PR locally for my native architecture, x86_64-glibc
**Comments**
Built and tested on 6.12.57
No longer WIP since this release is out of [beta](https://us.download.nvidia.com/XFree86/Linux-x86_64/570.124.04/README/kernel_open.html) and is now the recommended driver for supported devices, which are Turing and newer, so 16-series and newer of the GeForce lineup.
Closes #51384
Perhaps package info should mention which GPUs are supported
Thanks to mike7d7 for original template and PR #51538
A patch file from https://github.com/void-linux/void-packages/pull/54593.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-patch-1-54593.patch --]
[-- Type: text/x-diff, Size: 7702 bytes --]
From 29bf3c24ccf41465cc078b68b9c4dda3d01f8d67 Mon Sep 17 00:00:00 2001
From: Miguel <migue07mx@protonmail.com>
Date: Mon, 29 Jul 2024 22:37:14 -0600
Subject: [PATCH] New package: nvidia-open-dkms-580.105.08.
Co-authored-by: Miguel <migue07mx@protonmail.com>
---
srcpkgs/nvidia-open-dkms/files/dkms.conf | 26 ++++++++++++
...atomic-kernel-modesetting-by-default.patch | 42 +++++++++++++++++++
.../patches/0003-Add-IBT-support.patch | 25 +++++++++++
.../patches/nvidia-tegra-bpmp.patch | 13 ++++++
srcpkgs/nvidia-open-dkms/template | 36 ++++++++++++++++
5 files changed, 142 insertions(+)
create mode 100644 srcpkgs/nvidia-open-dkms/files/dkms.conf
create mode 100644 srcpkgs/nvidia-open-dkms/patches/0001-Enable-atomic-kernel-modesetting-by-default.patch
create mode 100644 srcpkgs/nvidia-open-dkms/patches/0003-Add-IBT-support.patch
create mode 100644 srcpkgs/nvidia-open-dkms/patches/nvidia-tegra-bpmp.patch
create mode 100644 srcpkgs/nvidia-open-dkms/template
diff --git a/srcpkgs/nvidia-open-dkms/files/dkms.conf b/srcpkgs/nvidia-open-dkms/files/dkms.conf
new file mode 100644
index 00000000000000..15c2e6503376ec
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/files/dkms.conf
@@ -0,0 +1,26 @@
+PACKAGE_NAME="nvidia"
+PACKAGE_VERSION="__PKGVER"
+AUTOINSTALL="yes"
+
+# By default, DKMS will add KERNELRELEASE to the make command line; however,
+# this will cause the kernel module build to infer that it was invoked via
+# Kbuild directly instead of DKMS. The dkms(8) manual page recommends quoting
+# the 'make' command name to suppress this behavior.
+MAKE[0]="'make' -j$(nproc) NV_EXCLUDE_BUILD_MODULES='' KERNEL_UNAME=${kernelver} modules"
+
+# The list of kernel modules will be generated by nvidia-installer at runtime.
+BUILT_MODULE_NAME[0]="nvidia"
+BUILT_MODULE_LOCATION[0]="kernel-open"
+DEST_MODULE_LOCATION[0]="/kernel/drivers/video"
+BUILT_MODULE_NAME[1]="nvidia-uvm"
+BUILT_MODULE_LOCATION[1]="kernel-open"
+DEST_MODULE_LOCATION[1]="/kernel/drivers/video"
+BUILT_MODULE_NAME[2]="nvidia-modeset"
+BUILT_MODULE_LOCATION[2]="kernel-open"
+DEST_MODULE_LOCATION[2]="/kernel/drivers/video"
+BUILT_MODULE_NAME[3]="nvidia-drm"
+BUILT_MODULE_LOCATION[3]="kernel-open"
+DEST_MODULE_LOCATION[3]="/kernel/drivers/video"
+BUILT_MODULE_NAME[4]="nvidia-peermem"
+BUILT_MODULE_LOCATION[4]="kernel-open"
+DEST_MODULE_LOCATION[4]="/kernel/drivers/video"
diff --git a/srcpkgs/nvidia-open-dkms/patches/0001-Enable-atomic-kernel-modesetting-by-default.patch b/srcpkgs/nvidia-open-dkms/patches/0001-Enable-atomic-kernel-modesetting-by-default.patch
new file mode 100644
index 00000000000000..0548693a56cb6e
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/patches/0001-Enable-atomic-kernel-modesetting-by-default.patch
@@ -0,0 +1,42 @@
+From 69769b8ebaaeca84a5188330f80c460dcc0fa747 Mon Sep 17 00:00:00 2001
+From: Eric Naim <dnaim@cachyos.org>
+Date: Fri, 24 Jan 2025 19:34:24 +0700
+Subject: [PATCH] Enable atomic kernel modesetting by default
+
+This is required for proper functionality under Wayland. fbdev has been default enabled since 570 so that
+hunk can be removed from this patch.
+
+Signed-off-by: Eric Naim <dnaim@cachyos.org>
+---
+ nvidia-drm/nvidia-drm-linux.c | 2 +-
+ nvidia-drm/nvidia-drm-os-interface.c | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/nvidia-drm/nvidia-drm-linux.c b/nvidia-drm/nvidia-drm-linux.c
+index 0007cbf..bd0b9eb 100644
+--- a/kernel-open/nvidia-drm/nvidia-drm-linux.c
++++ b/kernel-open/nvidia-drm/nvidia-drm-linux.c
+@@ -31,7 +31,7 @@
+
+ MODULE_PARM_DESC(
+ modeset,
+- "Enable atomic kernel modesetting (1 = enable, 0 = disable (default))");
++ "Enable atomic kernel modesetting (1 = enable (default), 0 = disable)");
+ module_param_named(modeset, nv_drm_modeset_module_param, bool, 0400);
+
+ #if defined(NV_DRM_FBDEV_AVAILABLE)
+diff --git a/nvidia-drm/nvidia-drm-os-interface.c b/nvidia-drm/nvidia-drm-os-interface.c
+index 7617476..f22afd7 100644
+--- a/kernel-open/nvidia-drm/nvidia-drm-os-interface.c
++++ b/kernel-open/nvidia-drm/nvidia-drm-os-interface.c
+@@ -41,7 +41,7 @@
+ #include <drm/drmP.h>
+ #endif
+
+-bool nv_drm_modeset_module_param = false;
++bool nv_drm_modeset_module_param = true;
+ bool nv_drm_fbdev_module_param = true;
+
+ void *nv_drm_calloc(size_t nmemb, size_t size)
+--
+2.48.1
diff --git a/srcpkgs/nvidia-open-dkms/patches/0003-Add-IBT-support.patch b/srcpkgs/nvidia-open-dkms/patches/0003-Add-IBT-support.patch
new file mode 100644
index 00000000000000..caad6d70099faa
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/patches/0003-Add-IBT-support.patch
@@ -0,0 +1,25 @@
+From 1484c9ee0a60468dfd88954011fae0e28c0f73de Mon Sep 17 00:00:00 2001
+From: Peter Jung <admin@ptr1337.dev>
+Date: Fri, 18 Oct 2024 22:40:58 +0200
+Subject: [PATCH 3/6] Add IBT support
+
+Signed-off-by: Peter Jung <admin@ptr1337.dev>
+---
+ src/nvidia-modeset/Makefile | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/nvidia-modeset/Makefile b/src/nvidia-modeset/Makefile
+index 2b96f3fa..ed934014 100644
+--- a/src/nvidia-modeset/Makefile
++++ b/src/nvidia-modeset/Makefile
+@@ -151,6 +151,7 @@ ifeq ($(TARGET_ARCH),x86_64)
+ CONDITIONAL_CFLAGS += $(call TEST_CC_ARG, -fno-jump-tables)
+ CONDITIONAL_CFLAGS += $(call TEST_CC_ARG, -mindirect-branch=thunk-extern)
+ CONDITIONAL_CFLAGS += $(call TEST_CC_ARG, -mindirect-branch-register)
++ CONDITIONAL_CFLAGS += $(call TEST_CC_ARG, -mharden-sls=all)
+ endif
+
+ CFLAGS += $(CONDITIONAL_CFLAGS)
+--
+2.47.0
+
diff --git a/srcpkgs/nvidia-open-dkms/patches/nvidia-tegra-bpmp.patch b/srcpkgs/nvidia-open-dkms/patches/nvidia-tegra-bpmp.patch
new file mode 100644
index 00000000000000..75f016e9807fe6
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/patches/nvidia-tegra-bpmp.patch
@@ -0,0 +1,13 @@
+--- a/kernel-open/nvidia/nv-clk.c
++++ b/kernel-open/nvidia/nv-clk.c
+@@ -27,8 +27,10 @@
+ #include "nv-linux.h"
+ #include "nv-platform.h"
+
++#if IS_ENABLED(CONFIG_TEGRA_BPMP)
+ #include <soc/tegra/bpmp-abi.h>
+ #include <soc/tegra/bpmp.h>
++#endif // IS_ENABLED(CONFIG_TEGRA_BPMP)
+
+ // Use the CCF APIs if enabled in Kernel config and RM build
+ // has Dual license define enabled.
diff --git a/srcpkgs/nvidia-open-dkms/template b/srcpkgs/nvidia-open-dkms/template
new file mode 100644
index 00000000000000..0fa51b44785d6c
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/template
@@ -0,0 +1,36 @@
+# Template file for 'nvidia-open-dkms'
+pkgname=nvidia-open-dkms
+version=580.105.08
+revision=1
+archs="x86_64"
+depends="dkms nvidia xz"
+short_desc="NVIDIA drivers for linux - open DKMS kernel module"
+maintainer="JkktBkkt <apkabikov@gmail.com>"
+license="GPL-2.0-only, MIT"
+homepage="https://github.com/NVIDIA/open-gpu-kernel-modules"
+distfiles="https://download.nvidia.com/XFree86/NVIDIA-kernel-module-source/NVIDIA-kernel-module-source-${version}.tar.xz"
+checksum=59c518a2014f83efaf2a9f539b3097c55e74e8878aca01aedb59e92e3116080d
+replaces="nvidia-dkms>=0"
+conflicts="nvidia390-dkms>=0 nvidia470-dkms>=0"
+dkms_modules="nvidia-open-dkms ${version}"
+triggers="dkms initramfs-regenerate"
+provides="nvidia-dkms-${version}_${revision}"
+
+do_install() {
+ vmkdir usr/src/nvidia-open-dkms-${version}
+ vcopy "*" usr/src/nvidia-open-dkms-${version}
+ cp ${FILESDIR}/dkms.conf ${DESTDIR}/usr/src/nvidia-open-dkms-${version}/dkms.conf
+ vsed -e "s/__PKGVER/${version}/" -i ${DESTDIR}/usr/src/nvidia-open-dkms-${version}/dkms.conf
+
+ # Blacklist nouveau
+ vmkdir usr/lib/modprobe.d
+ cat <<- END > ${DESTDIR}/usr/lib/modprobe.d/nvidia.conf
+ blacklist nouveau
+ blacklist nova_core
+ blacklist nova_drm
+ END
+ chmod 644 ${DESTDIR}/usr/lib/modprobe.d/nvidia.conf
+
+ vdoc README.md
+ vlicense COPYING
+}
^ permalink raw reply related [flat|nested] 115+ messages in thread
* Re: New package: nvidia-open-dkms-580.105.08
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (84 preceding siblings ...)
2025-11-10 4:25 ` [PR PATCH] [Updated] " JkktBkkt
@ 2025-11-10 4:25 ` JkktBkkt
2025-11-10 4:26 ` JkktBkkt
` (27 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: JkktBkkt @ 2025-11-10 4:25 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 681 bytes --]
New comment by JkktBkkt on void-packages repository
https://github.com/void-linux/void-packages/pull/54593#issuecomment-3509340034
Comment:
I went on a dive to find where said xz comes from, thought it's dkms itself or something in the kernel, but no, the modules aren't using xz..
nvidia does: https://github.com/NVIDIA/open-gpu-kernel-modules/blob/2af9f1f0f7de4988432d4ae875b5858ffdb09cc2/src/nvidia-modeset/Makefile#L189
Oh and lsmod only shows the loaded modules, completions to modinfo / modprobe / etc. should show you the built ones, and files should be in `/lib/modules/${kernel_version}/` i.e.:
/lib/modules/6.12.57_1/kernel/drivers/video/nvidia-modeset.ko.zst
^ permalink raw reply [flat|nested] 115+ messages in thread
* Re: New package: nvidia-open-dkms-580.105.08
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (85 preceding siblings ...)
2025-11-10 4:25 ` JkktBkkt
@ 2025-11-10 4:26 ` JkktBkkt
2025-11-10 4:26 ` JkktBkkt
` (26 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: JkktBkkt @ 2025-11-10 4:26 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 692 bytes --]
New comment by JkktBkkt on void-packages repository
https://github.com/void-linux/void-packages/pull/54593#issuecomment-3509340034
Comment:
I went on a dive to find where xz comes from, thought it's dkms itself or something in the kernel configs changed, but no, the modules aren't using xz..
nvidia does: https://github.com/NVIDIA/open-gpu-kernel-modules/blob/2af9f1f0f7de4988432d4ae875b5858ffdb09cc2/src/nvidia-modeset/Makefile#L189
Oh and lsmod only shows the loaded modules, completions to modinfo / modprobe / etc. should show you the built ones, and files should be in `/lib/modules/${kernel_version}/` i.e.:
/lib/modules/6.12.57_1/kernel/drivers/video/nvidia-modeset.ko.zst
^ permalink raw reply [flat|nested] 115+ messages in thread
* Re: New package: nvidia-open-dkms-580.105.08
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (86 preceding siblings ...)
2025-11-10 4:26 ` JkktBkkt
@ 2025-11-10 4:26 ` JkktBkkt
2025-12-20 21:15 ` [PR PATCH] [Updated] " JkktBkkt
` (25 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: JkktBkkt @ 2025-11-10 4:26 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 715 bytes --]
New comment by JkktBkkt on void-packages repository
https://github.com/void-linux/void-packages/pull/54593#issuecomment-3509340034
Comment:
I went on a dive to find where xz comes from, thought it's dkms itself or something in the kernel configs changed, but no, the modules aren't using xz..
nvidia does: https://github.com/NVIDIA/open-gpu-kernel-modules/blob/2af9f1f0f7de4988432d4ae875b5858ffdb09cc2/src/nvidia-modeset/Makefile#L189
Should be fixed now
Oh and lsmod only shows the loaded modules, completions to modinfo / modprobe / etc. should show you the built ones, and files should be in `/lib/modules/${kernel_version}/` i.e.:
/lib/modules/6.12.57_1/kernel/drivers/video/nvidia-modeset.ko.zst
^ permalink raw reply [flat|nested] 115+ messages in thread
* Re: [PR PATCH] [Updated] New package: nvidia-open-dkms-580.105.08
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (87 preceding siblings ...)
2025-11-10 4:26 ` JkktBkkt
@ 2025-12-20 21:15 ` JkktBkkt
2025-12-20 21:20 ` JkktBkkt
` (24 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: JkktBkkt @ 2025-12-20 21:15 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1936 bytes --]
There is an updated pull request by JkktBkkt against master on the void-packages repository
https://github.com/JkktBkkt/void-packages patch-1
https://github.com/void-linux/void-packages/pull/54593
New package: nvidia-open-dkms-580.105.08
~~Important: PR has been set to WIP as the template requires additional review, for cleanup and tie-in with main nvidia package.~~
Unset, current version should be a bit cleaner, not requiring manual removal of -dkms before re-installing updated -open-dkms on every update.
~~Here's a permalink to the commit that doesn't change the `nvidia` template if you want to install or upgrade before this can land and in case more changes are requested by maintainers: https://github.com/void-linux/void-packages/pull/54593/commits/78cc73d0ce554abeeedc7065e1cb641b23250832~~
^ current version doesn't change `nvidia` template either, but see there for previous update notes.
See https://github.com/void-linux/void-packages/pull/54593#issuecomment-3411057607 and below to track that progress
#### Testing the changes
- I tested the changes in this PR: **YES**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
-->
#### Local build testing
- I built this PR locally for my native architecture, x86_64-glibc
**Comments**
Built and tested on 6.12.57
No longer WIP since this release is out of [beta](https://us.download.nvidia.com/XFree86/Linux-x86_64/570.124.04/README/kernel_open.html) and is now the recommended driver for supported devices, which are Turing and newer, so 16-series and newer of the GeForce lineup.
Closes #51384
Perhaps package info should mention which GPUs are supported
Thanks to mike7d7 for original template and PR #51538
A patch file from https://github.com/void-linux/void-packages/pull/54593.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-patch-1-54593.patch --]
[-- Type: text/x-diff, Size: 9635 bytes --]
From 45e65a826afce2de0675f860bf11a69a72aca08d Mon Sep 17 00:00:00 2001
From: Miguel <migue07mx@protonmail.com>
Date: Mon, 29 Jul 2024 22:37:14 -0600
Subject: [PATCH] New package: nvidia-open-dkms-580.105.08.
Co-authored-by: Miguel <migue07mx@protonmail.com>
---
srcpkgs/nvidia-open-dkms/files/dkms.conf | 26 ++++++++++++
...atomic-kernel-modesetting-by-default.patch | 42 +++++++++++++++++++
.../patches/0003-Add-IBT-support.patch | 25 +++++++++++
...ove-unused-get_devmap_page-parameter.patch | 35 ++++++++++++++++
.../patches/nvidia-tegra-bpmp.patch | 13 ++++++
srcpkgs/nvidia-open-dkms/template | 36 ++++++++++++++++
6 files changed, 177 insertions(+)
create mode 100644 srcpkgs/nvidia-open-dkms/files/dkms.conf
create mode 100644 srcpkgs/nvidia-open-dkms/patches/0001-Enable-atomic-kernel-modesetting-by-default.patch
create mode 100644 srcpkgs/nvidia-open-dkms/patches/0003-Add-IBT-support.patch
create mode 100644 srcpkgs/nvidia-open-dkms/patches/0004-nvidia-uvm-Remove-unused-get_devmap_page-parameter.patch
create mode 100644 srcpkgs/nvidia-open-dkms/patches/nvidia-tegra-bpmp.patch
create mode 100644 srcpkgs/nvidia-open-dkms/template
diff --git a/srcpkgs/nvidia-open-dkms/files/dkms.conf b/srcpkgs/nvidia-open-dkms/files/dkms.conf
new file mode 100644
index 00000000000000..15c2e6503376ec
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/files/dkms.conf
@@ -0,0 +1,26 @@
+PACKAGE_NAME="nvidia"
+PACKAGE_VERSION="__PKGVER"
+AUTOINSTALL="yes"
+
+# By default, DKMS will add KERNELRELEASE to the make command line; however,
+# this will cause the kernel module build to infer that it was invoked via
+# Kbuild directly instead of DKMS. The dkms(8) manual page recommends quoting
+# the 'make' command name to suppress this behavior.
+MAKE[0]="'make' -j$(nproc) NV_EXCLUDE_BUILD_MODULES='' KERNEL_UNAME=${kernelver} modules"
+
+# The list of kernel modules will be generated by nvidia-installer at runtime.
+BUILT_MODULE_NAME[0]="nvidia"
+BUILT_MODULE_LOCATION[0]="kernel-open"
+DEST_MODULE_LOCATION[0]="/kernel/drivers/video"
+BUILT_MODULE_NAME[1]="nvidia-uvm"
+BUILT_MODULE_LOCATION[1]="kernel-open"
+DEST_MODULE_LOCATION[1]="/kernel/drivers/video"
+BUILT_MODULE_NAME[2]="nvidia-modeset"
+BUILT_MODULE_LOCATION[2]="kernel-open"
+DEST_MODULE_LOCATION[2]="/kernel/drivers/video"
+BUILT_MODULE_NAME[3]="nvidia-drm"
+BUILT_MODULE_LOCATION[3]="kernel-open"
+DEST_MODULE_LOCATION[3]="/kernel/drivers/video"
+BUILT_MODULE_NAME[4]="nvidia-peermem"
+BUILT_MODULE_LOCATION[4]="kernel-open"
+DEST_MODULE_LOCATION[4]="/kernel/drivers/video"
diff --git a/srcpkgs/nvidia-open-dkms/patches/0001-Enable-atomic-kernel-modesetting-by-default.patch b/srcpkgs/nvidia-open-dkms/patches/0001-Enable-atomic-kernel-modesetting-by-default.patch
new file mode 100644
index 00000000000000..0548693a56cb6e
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/patches/0001-Enable-atomic-kernel-modesetting-by-default.patch
@@ -0,0 +1,42 @@
+From 69769b8ebaaeca84a5188330f80c460dcc0fa747 Mon Sep 17 00:00:00 2001
+From: Eric Naim <dnaim@cachyos.org>
+Date: Fri, 24 Jan 2025 19:34:24 +0700
+Subject: [PATCH] Enable atomic kernel modesetting by default
+
+This is required for proper functionality under Wayland. fbdev has been default enabled since 570 so that
+hunk can be removed from this patch.
+
+Signed-off-by: Eric Naim <dnaim@cachyos.org>
+---
+ nvidia-drm/nvidia-drm-linux.c | 2 +-
+ nvidia-drm/nvidia-drm-os-interface.c | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/nvidia-drm/nvidia-drm-linux.c b/nvidia-drm/nvidia-drm-linux.c
+index 0007cbf..bd0b9eb 100644
+--- a/kernel-open/nvidia-drm/nvidia-drm-linux.c
++++ b/kernel-open/nvidia-drm/nvidia-drm-linux.c
+@@ -31,7 +31,7 @@
+
+ MODULE_PARM_DESC(
+ modeset,
+- "Enable atomic kernel modesetting (1 = enable, 0 = disable (default))");
++ "Enable atomic kernel modesetting (1 = enable (default), 0 = disable)");
+ module_param_named(modeset, nv_drm_modeset_module_param, bool, 0400);
+
+ #if defined(NV_DRM_FBDEV_AVAILABLE)
+diff --git a/nvidia-drm/nvidia-drm-os-interface.c b/nvidia-drm/nvidia-drm-os-interface.c
+index 7617476..f22afd7 100644
+--- a/kernel-open/nvidia-drm/nvidia-drm-os-interface.c
++++ b/kernel-open/nvidia-drm/nvidia-drm-os-interface.c
+@@ -41,7 +41,7 @@
+ #include <drm/drmP.h>
+ #endif
+
+-bool nv_drm_modeset_module_param = false;
++bool nv_drm_modeset_module_param = true;
+ bool nv_drm_fbdev_module_param = true;
+
+ void *nv_drm_calloc(size_t nmemb, size_t size)
+--
+2.48.1
diff --git a/srcpkgs/nvidia-open-dkms/patches/0003-Add-IBT-support.patch b/srcpkgs/nvidia-open-dkms/patches/0003-Add-IBT-support.patch
new file mode 100644
index 00000000000000..caad6d70099faa
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/patches/0003-Add-IBT-support.patch
@@ -0,0 +1,25 @@
+From 1484c9ee0a60468dfd88954011fae0e28c0f73de Mon Sep 17 00:00:00 2001
+From: Peter Jung <admin@ptr1337.dev>
+Date: Fri, 18 Oct 2024 22:40:58 +0200
+Subject: [PATCH 3/6] Add IBT support
+
+Signed-off-by: Peter Jung <admin@ptr1337.dev>
+---
+ src/nvidia-modeset/Makefile | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/nvidia-modeset/Makefile b/src/nvidia-modeset/Makefile
+index 2b96f3fa..ed934014 100644
+--- a/src/nvidia-modeset/Makefile
++++ b/src/nvidia-modeset/Makefile
+@@ -151,6 +151,7 @@ ifeq ($(TARGET_ARCH),x86_64)
+ CONDITIONAL_CFLAGS += $(call TEST_CC_ARG, -fno-jump-tables)
+ CONDITIONAL_CFLAGS += $(call TEST_CC_ARG, -mindirect-branch=thunk-extern)
+ CONDITIONAL_CFLAGS += $(call TEST_CC_ARG, -mindirect-branch-register)
++ CONDITIONAL_CFLAGS += $(call TEST_CC_ARG, -mharden-sls=all)
+ endif
+
+ CFLAGS += $(CONDITIONAL_CFLAGS)
+--
+2.47.0
+
diff --git a/srcpkgs/nvidia-open-dkms/patches/0004-nvidia-uvm-Remove-unused-get_devmap_page-parameter.patch b/srcpkgs/nvidia-open-dkms/patches/0004-nvidia-uvm-Remove-unused-get_devmap_page-parameter.patch
new file mode 100644
index 00000000000000..2d08c50be59a24
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/patches/0004-nvidia-uvm-Remove-unused-get_devmap_page-parameter.patch
@@ -0,0 +1,35 @@
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
+From: Eric Naim <dnaim@cachyos.org>
+Date: Mon, 13 Oct 2025 15:54:41 +0800
+Subject: [PATCH] nvidia-uvm: Remove unused get_devmap_page() parameter
+
+Signed-off-by: Eric Naim <dnaim@cachyos.org>
+---
+ kernel-open/nvidia-uvm/uvm_va_range_device_p2p.c | 6 ++++++
+ 1 file changed, 6 insertions(+)
+
+diff --git a/kernel-open/nvidia-uvm/uvm_va_range_device_p2p.c b/kernel-open/nvidia-uvm/uvm_va_range_device_p2p.c
+index 8a5c87bd3c3a..767531bd2b3a 100644
+--- a/kernel-open/nvidia-uvm/uvm_va_range_device_p2p.c
++++ b/kernel-open/nvidia-uvm/uvm_va_range_device_p2p.c
+@@ -21,6 +21,8 @@
+
+ *******************************************************************************/
+
++#include <linux/version.h>
++
+ #include "uvm_common.h"
+ #include "uvm_linux.h"
+ #include "uvm_types.h"
+@@ -360,7 +362,11 @@ static NV_STATUS alloc_device_p2p_mem(uvm_gpu_t *gpu,
+ // a reference to them, so take one now if using DEVICE_COHERENT pages.
+ if (gpu->parent->cdmm_enabled) {
+ get_page(page);
++#if LINUX_VERSION_CODE < KERNEL_VERSION(6, 18, 0)
+ get_dev_pagemap(page_to_pfn(page), NULL);
++#else
++ get_dev_pagemap(page_to_pfn(page));
++#endif /* < 6.18 */
+ }
+ #else
+ // CDMM P2PDMA will never be enabled for this case
diff --git a/srcpkgs/nvidia-open-dkms/patches/nvidia-tegra-bpmp.patch b/srcpkgs/nvidia-open-dkms/patches/nvidia-tegra-bpmp.patch
new file mode 100644
index 00000000000000..75f016e9807fe6
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/patches/nvidia-tegra-bpmp.patch
@@ -0,0 +1,13 @@
+--- a/kernel-open/nvidia/nv-clk.c
++++ b/kernel-open/nvidia/nv-clk.c
+@@ -27,8 +27,10 @@
+ #include "nv-linux.h"
+ #include "nv-platform.h"
+
++#if IS_ENABLED(CONFIG_TEGRA_BPMP)
+ #include <soc/tegra/bpmp-abi.h>
+ #include <soc/tegra/bpmp.h>
++#endif // IS_ENABLED(CONFIG_TEGRA_BPMP)
+
+ // Use the CCF APIs if enabled in Kernel config and RM build
+ // has Dual license define enabled.
diff --git a/srcpkgs/nvidia-open-dkms/template b/srcpkgs/nvidia-open-dkms/template
new file mode 100644
index 00000000000000..0fa51b44785d6c
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/template
@@ -0,0 +1,36 @@
+# Template file for 'nvidia-open-dkms'
+pkgname=nvidia-open-dkms
+version=580.105.08
+revision=1
+archs="x86_64"
+depends="dkms nvidia xz"
+short_desc="NVIDIA drivers for linux - open DKMS kernel module"
+maintainer="JkktBkkt <apkabikov@gmail.com>"
+license="GPL-2.0-only, MIT"
+homepage="https://github.com/NVIDIA/open-gpu-kernel-modules"
+distfiles="https://download.nvidia.com/XFree86/NVIDIA-kernel-module-source/NVIDIA-kernel-module-source-${version}.tar.xz"
+checksum=59c518a2014f83efaf2a9f539b3097c55e74e8878aca01aedb59e92e3116080d
+replaces="nvidia-dkms>=0"
+conflicts="nvidia390-dkms>=0 nvidia470-dkms>=0"
+dkms_modules="nvidia-open-dkms ${version}"
+triggers="dkms initramfs-regenerate"
+provides="nvidia-dkms-${version}_${revision}"
+
+do_install() {
+ vmkdir usr/src/nvidia-open-dkms-${version}
+ vcopy "*" usr/src/nvidia-open-dkms-${version}
+ cp ${FILESDIR}/dkms.conf ${DESTDIR}/usr/src/nvidia-open-dkms-${version}/dkms.conf
+ vsed -e "s/__PKGVER/${version}/" -i ${DESTDIR}/usr/src/nvidia-open-dkms-${version}/dkms.conf
+
+ # Blacklist nouveau
+ vmkdir usr/lib/modprobe.d
+ cat <<- END > ${DESTDIR}/usr/lib/modprobe.d/nvidia.conf
+ blacklist nouveau
+ blacklist nova_core
+ blacklist nova_drm
+ END
+ chmod 644 ${DESTDIR}/usr/lib/modprobe.d/nvidia.conf
+
+ vdoc README.md
+ vlicense COPYING
+}
^ permalink raw reply related [flat|nested] 115+ messages in thread
* Re: New package: nvidia-open-dkms-580.105.08
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (88 preceding siblings ...)
2025-12-20 21:15 ` [PR PATCH] [Updated] " JkktBkkt
@ 2025-12-20 21:20 ` JkktBkkt
2026-01-11 8:24 ` [PR PATCH] [Updated] New package: nvidia-open-dkms-580.119.02 JkktBkkt
` (23 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: JkktBkkt @ 2025-12-20 21:20 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 402 bytes --]
New comment by JkktBkkt on void-packages repository
https://github.com/void-linux/void-packages/pull/54593#issuecomment-3678128453
Comment:
6.18 compatibility patch added. Tested, no issues detected.
There's an update available to 580.119.02 but I'm not sure if proprietary would work on 6.18, and there are reports that Xfce is kind of broken with it, so I'll leave decision on that to @abenson
^ permalink raw reply [flat|nested] 115+ messages in thread
* Re: [PR PATCH] [Updated] New package: nvidia-open-dkms-580.119.02
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (89 preceding siblings ...)
2025-12-20 21:20 ` JkktBkkt
@ 2026-01-11 8:24 ` JkktBkkt
2026-01-12 11:21 ` revington
` (22 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: JkktBkkt @ 2026-01-11 8:24 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1936 bytes --]
There is an updated pull request by JkktBkkt against master on the void-packages repository
https://github.com/JkktBkkt/void-packages patch-1
https://github.com/void-linux/void-packages/pull/54593
New package: nvidia-open-dkms-580.119.02
~~Important: PR has been set to WIP as the template requires additional review, for cleanup and tie-in with main nvidia package.~~
Unset, current version should be a bit cleaner, not requiring manual removal of -dkms before re-installing updated -open-dkms on every update.
~~Here's a permalink to the commit that doesn't change the `nvidia` template if you want to install or upgrade before this can land and in case more changes are requested by maintainers: https://github.com/void-linux/void-packages/pull/54593/commits/78cc73d0ce554abeeedc7065e1cb641b23250832~~
^ current version doesn't change `nvidia` template either, but see there for previous update notes.
See https://github.com/void-linux/void-packages/pull/54593#issuecomment-3411057607 and below to track that progress
#### Testing the changes
- I tested the changes in this PR: **YES**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
-->
#### Local build testing
- I built this PR locally for my native architecture, x86_64-glibc
**Comments**
Built and tested on 6.12.57
No longer WIP since this release is out of [beta](https://us.download.nvidia.com/XFree86/Linux-x86_64/570.124.04/README/kernel_open.html) and is now the recommended driver for supported devices, which are Turing and newer, so 16-series and newer of the GeForce lineup.
Closes #51384
Perhaps package info should mention which GPUs are supported
Thanks to mike7d7 for original template and PR #51538
A patch file from https://github.com/void-linux/void-packages/pull/54593.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-patch-1-54593.patch --]
[-- Type: text/x-diff, Size: 7702 bytes --]
From 86145ca31efafe221419193066ef3ad7b9df906a Mon Sep 17 00:00:00 2001
From: Miguel <migue07mx@protonmail.com>
Date: Mon, 29 Jul 2024 22:37:14 -0600
Subject: [PATCH] New package: nvidia-open-dkms-580.109.02.
Co-authored-by: Miguel <migue07mx@protonmail.com>
---
srcpkgs/nvidia-open-dkms/files/dkms.conf | 26 ++++++++++++
...atomic-kernel-modesetting-by-default.patch | 42 +++++++++++++++++++
.../patches/0003-Add-IBT-support.patch | 25 +++++++++++
.../patches/nvidia-tegra-bpmp.patch | 13 ++++++
srcpkgs/nvidia-open-dkms/template | 36 ++++++++++++++++
5 files changed, 142 insertions(+)
create mode 100644 srcpkgs/nvidia-open-dkms/files/dkms.conf
create mode 100644 srcpkgs/nvidia-open-dkms/patches/0001-Enable-atomic-kernel-modesetting-by-default.patch
create mode 100644 srcpkgs/nvidia-open-dkms/patches/0003-Add-IBT-support.patch
create mode 100644 srcpkgs/nvidia-open-dkms/patches/nvidia-tegra-bpmp.patch
create mode 100644 srcpkgs/nvidia-open-dkms/template
diff --git a/srcpkgs/nvidia-open-dkms/files/dkms.conf b/srcpkgs/nvidia-open-dkms/files/dkms.conf
new file mode 100644
index 00000000000000..15c2e6503376ec
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/files/dkms.conf
@@ -0,0 +1,26 @@
+PACKAGE_NAME="nvidia"
+PACKAGE_VERSION="__PKGVER"
+AUTOINSTALL="yes"
+
+# By default, DKMS will add KERNELRELEASE to the make command line; however,
+# this will cause the kernel module build to infer that it was invoked via
+# Kbuild directly instead of DKMS. The dkms(8) manual page recommends quoting
+# the 'make' command name to suppress this behavior.
+MAKE[0]="'make' -j$(nproc) NV_EXCLUDE_BUILD_MODULES='' KERNEL_UNAME=${kernelver} modules"
+
+# The list of kernel modules will be generated by nvidia-installer at runtime.
+BUILT_MODULE_NAME[0]="nvidia"
+BUILT_MODULE_LOCATION[0]="kernel-open"
+DEST_MODULE_LOCATION[0]="/kernel/drivers/video"
+BUILT_MODULE_NAME[1]="nvidia-uvm"
+BUILT_MODULE_LOCATION[1]="kernel-open"
+DEST_MODULE_LOCATION[1]="/kernel/drivers/video"
+BUILT_MODULE_NAME[2]="nvidia-modeset"
+BUILT_MODULE_LOCATION[2]="kernel-open"
+DEST_MODULE_LOCATION[2]="/kernel/drivers/video"
+BUILT_MODULE_NAME[3]="nvidia-drm"
+BUILT_MODULE_LOCATION[3]="kernel-open"
+DEST_MODULE_LOCATION[3]="/kernel/drivers/video"
+BUILT_MODULE_NAME[4]="nvidia-peermem"
+BUILT_MODULE_LOCATION[4]="kernel-open"
+DEST_MODULE_LOCATION[4]="/kernel/drivers/video"
diff --git a/srcpkgs/nvidia-open-dkms/patches/0001-Enable-atomic-kernel-modesetting-by-default.patch b/srcpkgs/nvidia-open-dkms/patches/0001-Enable-atomic-kernel-modesetting-by-default.patch
new file mode 100644
index 00000000000000..0548693a56cb6e
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/patches/0001-Enable-atomic-kernel-modesetting-by-default.patch
@@ -0,0 +1,42 @@
+From 69769b8ebaaeca84a5188330f80c460dcc0fa747 Mon Sep 17 00:00:00 2001
+From: Eric Naim <dnaim@cachyos.org>
+Date: Fri, 24 Jan 2025 19:34:24 +0700
+Subject: [PATCH] Enable atomic kernel modesetting by default
+
+This is required for proper functionality under Wayland. fbdev has been default enabled since 570 so that
+hunk can be removed from this patch.
+
+Signed-off-by: Eric Naim <dnaim@cachyos.org>
+---
+ nvidia-drm/nvidia-drm-linux.c | 2 +-
+ nvidia-drm/nvidia-drm-os-interface.c | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/nvidia-drm/nvidia-drm-linux.c b/nvidia-drm/nvidia-drm-linux.c
+index 0007cbf..bd0b9eb 100644
+--- a/kernel-open/nvidia-drm/nvidia-drm-linux.c
++++ b/kernel-open/nvidia-drm/nvidia-drm-linux.c
+@@ -31,7 +31,7 @@
+
+ MODULE_PARM_DESC(
+ modeset,
+- "Enable atomic kernel modesetting (1 = enable, 0 = disable (default))");
++ "Enable atomic kernel modesetting (1 = enable (default), 0 = disable)");
+ module_param_named(modeset, nv_drm_modeset_module_param, bool, 0400);
+
+ #if defined(NV_DRM_FBDEV_AVAILABLE)
+diff --git a/nvidia-drm/nvidia-drm-os-interface.c b/nvidia-drm/nvidia-drm-os-interface.c
+index 7617476..f22afd7 100644
+--- a/kernel-open/nvidia-drm/nvidia-drm-os-interface.c
++++ b/kernel-open/nvidia-drm/nvidia-drm-os-interface.c
+@@ -41,7 +41,7 @@
+ #include <drm/drmP.h>
+ #endif
+
+-bool nv_drm_modeset_module_param = false;
++bool nv_drm_modeset_module_param = true;
+ bool nv_drm_fbdev_module_param = true;
+
+ void *nv_drm_calloc(size_t nmemb, size_t size)
+--
+2.48.1
diff --git a/srcpkgs/nvidia-open-dkms/patches/0003-Add-IBT-support.patch b/srcpkgs/nvidia-open-dkms/patches/0003-Add-IBT-support.patch
new file mode 100644
index 00000000000000..caad6d70099faa
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/patches/0003-Add-IBT-support.patch
@@ -0,0 +1,25 @@
+From 1484c9ee0a60468dfd88954011fae0e28c0f73de Mon Sep 17 00:00:00 2001
+From: Peter Jung <admin@ptr1337.dev>
+Date: Fri, 18 Oct 2024 22:40:58 +0200
+Subject: [PATCH 3/6] Add IBT support
+
+Signed-off-by: Peter Jung <admin@ptr1337.dev>
+---
+ src/nvidia-modeset/Makefile | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/nvidia-modeset/Makefile b/src/nvidia-modeset/Makefile
+index 2b96f3fa..ed934014 100644
+--- a/src/nvidia-modeset/Makefile
++++ b/src/nvidia-modeset/Makefile
+@@ -151,6 +151,7 @@ ifeq ($(TARGET_ARCH),x86_64)
+ CONDITIONAL_CFLAGS += $(call TEST_CC_ARG, -fno-jump-tables)
+ CONDITIONAL_CFLAGS += $(call TEST_CC_ARG, -mindirect-branch=thunk-extern)
+ CONDITIONAL_CFLAGS += $(call TEST_CC_ARG, -mindirect-branch-register)
++ CONDITIONAL_CFLAGS += $(call TEST_CC_ARG, -mharden-sls=all)
+ endif
+
+ CFLAGS += $(CONDITIONAL_CFLAGS)
+--
+2.47.0
+
diff --git a/srcpkgs/nvidia-open-dkms/patches/nvidia-tegra-bpmp.patch b/srcpkgs/nvidia-open-dkms/patches/nvidia-tegra-bpmp.patch
new file mode 100644
index 00000000000000..75f016e9807fe6
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/patches/nvidia-tegra-bpmp.patch
@@ -0,0 +1,13 @@
+--- a/kernel-open/nvidia/nv-clk.c
++++ b/kernel-open/nvidia/nv-clk.c
+@@ -27,8 +27,10 @@
+ #include "nv-linux.h"
+ #include "nv-platform.h"
+
++#if IS_ENABLED(CONFIG_TEGRA_BPMP)
+ #include <soc/tegra/bpmp-abi.h>
+ #include <soc/tegra/bpmp.h>
++#endif // IS_ENABLED(CONFIG_TEGRA_BPMP)
+
+ // Use the CCF APIs if enabled in Kernel config and RM build
+ // has Dual license define enabled.
diff --git a/srcpkgs/nvidia-open-dkms/template b/srcpkgs/nvidia-open-dkms/template
new file mode 100644
index 00000000000000..6969ec65a31840
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/template
@@ -0,0 +1,36 @@
+# Template file for 'nvidia-open-dkms'
+pkgname=nvidia-open-dkms
+version=580.119.02
+revision=1
+archs="x86_64"
+depends="dkms nvidia xz"
+short_desc="NVIDIA drivers for linux - open DKMS kernel module"
+maintainer="JkktBkkt <apkabikov@gmail.com>"
+license="GPL-2.0-only, MIT"
+homepage="https://github.com/NVIDIA/open-gpu-kernel-modules"
+distfiles="https://download.nvidia.com/XFree86/NVIDIA-kernel-module-source/NVIDIA-kernel-module-source-${version}.tar.xz"
+checksum=ea06941cf2b095c2a9a6f1d0640a447d1c33baefbff9d95fd9726955dd210692
+replaces="nvidia-dkms>=0"
+conflicts="nvidia390-dkms>=0 nvidia470-dkms>=0"
+dkms_modules="nvidia-open-dkms ${version}"
+triggers="dkms initramfs-regenerate"
+provides="nvidia-dkms-${version}_${revision}"
+
+do_install() {
+ vmkdir usr/src/nvidia-open-dkms-${version}
+ vcopy "*" usr/src/nvidia-open-dkms-${version}
+ cp ${FILESDIR}/dkms.conf ${DESTDIR}/usr/src/nvidia-open-dkms-${version}/dkms.conf
+ vsed -e "s/__PKGVER/${version}/" -i ${DESTDIR}/usr/src/nvidia-open-dkms-${version}/dkms.conf
+
+ # Blacklist nouveau
+ vmkdir usr/lib/modprobe.d
+ cat <<- END > ${DESTDIR}/usr/lib/modprobe.d/nvidia.conf
+ blacklist nouveau
+ blacklist nova_core
+ blacklist nova_drm
+ END
+ chmod 644 ${DESTDIR}/usr/lib/modprobe.d/nvidia.conf
+
+ vdoc README.md
+ vlicense COPYING
+}
^ permalink raw reply related [flat|nested] 115+ messages in thread
* Re: New package: nvidia-open-dkms-580.119.02
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (90 preceding siblings ...)
2026-01-11 8:24 ` [PR PATCH] [Updated] New package: nvidia-open-dkms-580.119.02 JkktBkkt
@ 2026-01-12 11:21 ` revington
2026-01-12 13:35 ` JkktBkkt
` (21 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: revington @ 2026-01-12 11:21 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 49839 bytes --]
New comment by revington on void-packages repository
https://github.com/void-linux/void-packages/pull/54593#issuecomment-3738070765
Comment:
last commit, upgrading to .119, does not work in my computer
kernels 6.12.63_1, 6.12.64_1
before that it was working fine.
dmesg output
```
sudo dmesg | grep -i nvidia
[ 0.000000] Command line: BOOT_IMAGE=/vmlinuz-6.12.64_1 root=/dev/mapper/voidvm-root ro loglevel=4 rd.auto=1 rd.lvm.vg=voidvm rd.luks.uuid=a21b082c-455a-40a8-8852-d5451d9e1ff4 rd.vconsole.keymap=dvorak-programmer apparmor=1 security=apparmor nvidia_drm.modeset=1
[ 0.059851] Kernel command line: BOOT_IMAGE=/vmlinuz-6.12.64_1 root=/dev/mapper/voidvm-root ro loglevel=4 rd.auto=1 rd.lvm.vg=voidvm rd.luks.uuid=a21b082c-455a-40a8-8852-d5451d9e1ff4 rd.vconsole.keymap=dvorak-programmer apparmor=1 security=apparmor nvidia_drm.modeset=1
[ 5.658208] input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:03.1/0000:09:00.1/sound/card0/input16
[ 5.658431] input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:03.1/0000:09:00.1/sound/card0/input17
[ 5.658635] input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:03.1/0000:09:00.1/sound/card0/input18
[ 5.658881] input: HDA NVidia HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:03.1/0000:09:00.1/sound/card0/input19
[ 5.707810] nvidia: loading out-of-tree module taints kernel.
[ 5.707823] nvidia: module verification failed: signature and/or required key missing - tainting kernel
[ 5.874517] nvidia-nvlink: Nvlink Core is being initialized, major device number 234
[ 5.880095] nvidia 0000:09:00.0: vgaarb: VGA decodes changed: olddecodes=io+mem,decodes=none:owns=io+mem
[ 5.890333] NVRM: loading NVIDIA UNIX Open Kernel Module for x86_64 580.119.02 Release Build (root@arise) Mon 12 Jan 2026 11:55:36 CET
[ 5.944644] nvidia-modeset: Loading NVIDIA UNIX Open Kernel Mode Setting Driver for x86_64 580.119.02 Release Build (root@arise) Mon 12 Jan 2026 11:55:18 CET
[ 5.948565] [drm] [nvidia-drm] [GPU ID 0x00000900] Loading driver
[ 7.529583] [drm] Initialized nvidia-drm 0.0.0 for 0000:09:00.0 on minor 0
[ 7.529739] nvidia 0000:09:00.0: vgaarb: deactivate vga console
[ 7.571817] fbcon: nvidia-drmdrmfb (fb0) is primary device
[ 7.903443] nvidia 0000:09:00.0: [drm] fb0: nvidia-drmdrmfb frame buffer device
[ 670.667477] _kgspRpcRecvPoll+0x742/0x930 [nvidia]
[ 670.667684] _issueRpcAndWait+0xe9/0x9c0 [nvidia]
[ 670.667845] ? FinnRmApiGetSerializedSize+0x3c/0xf0 [nvidia]
[ 670.668062] ? osGetCurrentThread+0x26/0x60 [nvidia]
[ 670.668278] rpcRmApiControl_GSP+0x261/0x9f0 [nvidia]
[ 670.668443] ? _tlsThreadEntryGet+0x82/0x90 [nvidia]
[ 670.668585] ? osGetCurrentThread+0x26/0x60 [nvidia]
[ 670.668794] rmresControl_Prologue_IMPL+0xdb/0x1d0 [nvidia]
[ 670.668953] resControl_IMPL+0xd0/0x1b0 [nvidia]
[ 670.669095] serverControl+0x485/0x580 [nvidia]
[ 670.669240] _rmapiRmControl+0x55c/0x800 [nvidia]
[ 670.669404] rmapiControlWithSecInfo+0x7a/0x140 [nvidia]
[ 670.669557] rmapiControlWithSecInfoTls+0x79/0xe0 [nvidia]
[ 670.669710] _nv04ControlWithSecInfo+0x8d/0xa0 [nvidia]
[ 670.669861] Nv04ControlKernel+0x62/0x70 [nvidia]
[ 670.670010] nvkms_call_rm+0x4d/0x80 [nvidia_modeset]
[ 670.670039] nvRmApiControl+0x5e/0x70 [nvidia_modeset]
[ 670.670079] nvDIFRNotifyFlip+0x4a/0xa0 [nvidia_modeset]
[ 670.670109] nvFlipEvoOneHead+0x436/0xab0 [nvidia_modeset]
[ 670.670144] FlipEvoOneApiHead+0x1d2/0x3f0 [nvidia_modeset]
[ 670.670177] nvFlipEvo+0xdbb/0x1060 [nvidia_modeset]
[ 670.670215] nvHsIoctlFlip+0x711/0xc60 [nvidia_modeset]
[ 670.670250] ? nvkms_alloc+0x90/0xa0 [nvidia_modeset]
[ 670.670274] ? RegisterSurface+0x60/0x60 [nvidia_modeset]
[ 670.670307] nvKmsIoctl+0xe6/0x220 [nvidia_modeset]
[ 670.670341] nvkms_ioctl_from_kapi_try_pmlock+0x60/0xa0 [nvidia_modeset]
[ 670.670367] ApplyModeSetConfig+0x612/0xde0 [nvidia_modeset]
[ 670.670401] nv_drm_atomic_apply_modeset_config+0x5b3/0x830 [nvidia_drm]
[ 670.670414] nv_drm_atomic_commit+0x1f8/0x550 [nvidia_drm]
[ 685.832534] nvidia-modeset: ERROR: GPU:0: The requested configuration of display devices (DELL U3223QE (DP-4)) is not supported on this GPU.
[ 685.833543] nvidia-modeset: ERROR: GPU:0: The requested configuration of display devices (DELL U3223QE (DP-4)) is not supported on this GPU.
[ 685.834642] nvidia-modeset: ERROR: GPU:0: The requested configuration of display devices (DELL U3223QE (DP-4)) is not supported on this GPU.
[ 685.835732] nvidia-modeset: ERROR: GPU:0: The requested configuration of display devices (DELL U3223QE (DP-4)) is not supported on this GPU.
[ 685.836840] nvidia-modeset: ERROR: GPU:0: The requested configuration of display devices (DELL U3223QE (DP-4)) is not supported on this GPU.
[ 685.837928] nvidia-modeset: ERROR: GPU:0: The requested configuration of display devices (DELL U3223QE (DP-4)) is not supported on this GPU.
[ 685.839040] nvidia-modeset: ERROR: GPU:0: The requested configuration of display devices (DELL U3223QE (DP-4)) is not supported on this GPU.
[ 685.840130] nvidia-modeset: ERROR: GPU:0: The requested configuration of display devices (DELL U3223QE (DP-4)) is not supported on this GPU.
[ 685.841255] nvidia-modeset: ERROR: GPU:0: The requested configuration of display devices (DELL U3223QE (DP-4)) is not supported on this GPU.
[ 685.842367] nvidia-modeset: ERROR: GPU:0: The requested configuration of display devices (DELL U3223QE (DP-4)) is not supported on this GPU.
[ 685.843483] nvidia-modeset: ERROR: GPU:0: The requested configuration of display devices (DELL U3223QE (DP-4)) is not supported on this GPU.
[ 685.844647] nvidia-modeset: ERROR: GPU:0: The requested configuration of display devices (DELL U3223QE (DP-4)) is not supported on this GPU.
[ 685.845749] nvidia-modeset: ERROR: GPU:0: The requested configuration of display devices (DELL U3223QE (DP-4)) is not supported on this GPU.
[ 685.846977] nvidia-modeset: ERROR: GPU:0: The requested configuration of display devices (DELL U3223QE (DP-4)) is not supported on this GPU.
[ 685.848087] nvidia-modeset: ERROR: GPU:0: The requested configuration of display devices (DELL U3223QE (DP-4)) is not supported on this GPU.
[ 685.849219] nvidia-modeset: ERROR: GPU:0: The requested configuration of display devices (DELL U3223QE (DP-4)) is not supported on this GPU.
[ 685.850285] nvidia-modeset: ERROR: GPU:0: The requested configuration of display devices (DELL U3223QE (DP-4)) is not supported on this GPU.
[ 685.851395] nvidia-modeset: ERROR: GPU:0: The requested configuration of display devices (DELL U3223QE (DP-4)) is not supported on this GPU.
[ 685.852490] nvidia-modeset: ERROR: GPU:0: The requested configuration of display devices (DELL U3223QE (DP-4)) is not supported on this GPU.
[ 685.853586] nvidia-modeset: ERROR: GPU:0: The requested configuration of display devices (DELL U3223QE (DP-4)) is not supported on this GPU.
[ 685.854678] nvidia-modeset: ERROR: GPU:0: The requested configuration of display devices (DELL U3223QE (DP-4)) is not supported on this GPU.
[ 685.855791] nvidia-modeset: ERROR: GPU:0: The requested configuration of display devices (DELL U3223QE (DP-4)) is not supported on this GPU.
[ 685.856886] nvidia-modeset: ERROR: GPU:0: The requested configuration of display devices (DELL U3223QE (DP-4)) is not supported on this GPU.
[ 685.857998] nvidia-modeset: ERROR: GPU:0: The requested configuration of display devices (DELL U3223QE (DP-4)) is not supported on this GPU.
[ 685.859143] nvidia-modeset: ERROR: GPU:0: The requested configuration of display devices (DELL U3223QE (DP-4)) is not supported on this GPU.
[ 685.860254] nvidia-modeset: ERROR: GPU:0: The requested configuration of display devices (DELL U3223QE (DP-4)) is not supported on this GPU.
[ 685.861575] nvidia-modeset: ERROR: GPU:0: The requested configuration of display devices (DELL U3223QE (DP-4)) is not supported on this GPU.
[ 685.861633] nvidia-modeset: ERROR: GPU:0: The requested configuration of display devices (DELL U3223QE (DP-4)) is not supported on this GPU.
[ 685.861688] nvidia-modeset: ERROR: GPU:0: The requested configuration of display devices (DELL U3223QE (DP-4)) is not supported on this GPU.
[ 685.862722] nvidia-modeset: ERROR: GPU:0: The requested configuration of display devices (DELL U3223QE (DP-4)) is not supported on this GPU.
[ 685.862783] nvidia-modeset: ERROR: GPU:0: The requested configuration of display devices (DELL U3223QE (DP-4)) is not supported on this GPU.
[ 685.862837] nvidia-modeset: ERROR: GPU:0: The requested configuration of display devices (DELL U3223QE (DP-4)) is not supported on this GPU.
[ 685.863841] nvidia-modeset: ERROR: GPU:0: The requested configuration of display devices (DELL U3223QE (DP-4)) is not supported on this GPU.
[ 685.863896] nvidia-modeset: ERROR: GPU:0: The requested configuration of display devices (DELL U3223QE (DP-4)) is not supported on this GPU.
[ 685.863950] nvidia-modeset: ERROR: GPU:0: The requested configuration of display devices (DELL U3223QE (DP-4)) is not supported on this GPU.
[ 685.864987] nvidia-modeset: ERROR: GPU:0: The requested configuration of display devices (DELL U3223QE (DP-4)) is not supported on this GPU.
[ 685.865041] nvidia-modeset: ERROR: GPU:0: The requested configuration of display devices (DELL U3223QE (DP-4)) is not supported on this GPU.
[ 685.865096] nvidia-modeset: ERROR: GPU:0: The requested configuration of display devices (DELL U3223QE (DP-4)) is not supported on this GPU.
[ 685.866095] nvidia-modeset: ERROR: GPU:0: The requested configuration of display devices (DELL U3223QE (DP-4)) is not supported on this GPU.
[ 685.866149] nvidia-modeset: ERROR: GPU:0: The requested configuration of display devices (DELL U3223QE (DP-4)) is not supported on this GPU.
[ 685.866203] nvidia-modeset: ERROR: GPU:0: The requested configuration of display devices (DELL U3223QE (DP-4)) is not supported on this GPU.
[ 685.867278] nvidia-modeset: ERROR: GPU:0: The requested configuration of display devices (DELL U3223QE (DP-4)) is not supported on this GPU.
[ 685.867332] nvidia-modeset: ERROR: GPU:0: The requested configuration of display devices (DELL U3223QE (DP-4)) is not supported on this GPU.
[ 685.867385] nvidia-modeset: ERROR: GPU:0: The requested configuration of display devices (DELL U3223QE (DP-4)) is not supported on this GPU.
[ 685.868394] nvidia-modeset: ERROR: GPU:0: The requested configuration of display devices (DELL U3223QE (DP-4)) is not supported on this GPU.
[ 685.868448] nvidia-modeset: ERROR: GPU:0: The requested configuration of display devices (DELL U3223QE (DP-4)) is not supported on this GPU.
[ 685.868501] nvidia-modeset: ERROR: GPU:0: The requested configuration of display devices (DELL U3223QE (DP-4)) is not supported on this GPU.
[ 685.869607] nvidia-modeset: ERROR: GPU:0: The requested configuration of display devices (DELL U3223QE (DP-4)) is not supported on this GPU.
[ 685.869661] nvidia-modeset: ERROR: GPU:0: The requested configuration of display devices (DELL U3223QE (DP-4)) is not supported on this GPU.
[ 685.869715] nvidia-modeset: ERROR: GPU:0: The requested configuration of display devices (DELL U3223QE (DP-4)) is not supported on this GPU.
[ 685.870718] nvidia-modeset: ERROR: GPU:0: The requested configuration of display devices (DELL U3223QE (DP-4)) is not supported on this GPU.
[ 685.870777] nvidia-modeset: ERROR: GPU:0: The requested configuration of display devices (DELL U3223QE (DP-4)) is not supported on this GPU.
[ 685.870831] nvidia-modeset: ERROR: GPU:0: The requested configuration of display devices (DELL U3223QE (DP-4)) is not supported on this GPU.
[ 685.871966] nvidia-modeset: ERROR: GPU:0: The requested configuration of display devices (DELL U3223QE (DP-4)) is not supported on this GPU.
[ 685.872020] nvidia-modeset: ERROR: GPU:0: The requested configuration of display devices (DELL U3223QE (DP-4)) is not supported on this GPU.
[ 685.872073] nvidia-modeset: ERROR: GPU:0: The requested configuration of display devices (DELL U3223QE (DP-4)) is not supported on this GPU.
[ 685.873997] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.874014] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7e:0:0:0x00000062
[ 685.874029] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7e:1:0:0x00000062
[ 685.874045] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7e:2:0:0x00000062
[ 685.874061] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7e:3:0:0x00000062
[ 685.874076] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7e:4:0:0x00000062
[ 685.874092] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7e:5:0:0x00000062
[ 685.874107] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7e:6:0:0x00000062
[ 685.874123] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7e:7:0:0x00000062
[ 685.909002] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7e:0:0:0x00000062
[ 685.910061] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7e:2:0:0x00000062
[ 685.910707] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7e:4:0:0x00000062
[ 685.911316] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7e:6:0:0x00000062
[ 685.911975] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.912705] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.913322] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.913964] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.914711] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.915354] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.915927] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.916478] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.917038] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.917690] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.918305] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.918887] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.919424] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.920214] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.920798] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.921421] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.922059] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.922799] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.923379] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.923945] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.924505] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.925070] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.925640] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.926191] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.926729] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.927268] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.927798] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.928338] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.928865] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.929477] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.930043] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.930599] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.931150] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.931941] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.932546] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.933178] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.933816] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.934574] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.935190] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.935775] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.936372] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.936932] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.937475] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.937990] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.938492] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.938982] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.939464] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.939954] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.940426] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.940887] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.941301] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.941685] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.942078] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.942455] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.942834] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.943203] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.943564] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.943924] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.944274] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.944619] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.944966] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.945280] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.945570] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.945857] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.946139] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.946419] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.946698] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.946981] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.947265] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.947646] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.947927] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.948202] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.948477] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.948752] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.949035] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.949312] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.949588] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.949870] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.950147] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.950425] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.950701] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.950983] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.951259] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.951535] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.951817] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.952094] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.952372] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.952650] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.952933] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.953210] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.953485] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.953762] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.954044] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.954319] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.954594] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.954876] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.955153] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.955429] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.955706] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.955989] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.956266] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.956542] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.956822] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.957101] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.957377] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.957652] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.957989] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.958265] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.958540] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.958820] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.959098] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.959373] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.959649] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.959930] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.960206] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.960481] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.960757] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.961041] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.961316] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.961590] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.961875] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.962152] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.962428] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.962703] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.962984] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.963258] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.963532] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.963796] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.964072] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.964347] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.964621] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.964904] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.965180] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.965455] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.965731] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.966013] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.966289] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.966564] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.966844] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.967122] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.967398] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.967673] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.967955] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.968231] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.968507] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.968778] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.969074] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.969444] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.969717] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.969998] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.970272] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.970547] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.970828] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.971106] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.971381] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.971655] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.971937] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.972213] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.972489] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.972764] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.973047] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.973321] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.973597] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.973878] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.974155] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.974429] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.974703] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.974984] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.975260] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.975535] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.975816] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.976092] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.976368] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.976644] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.976927] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.977202] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.977478] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.977754] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.978035] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.978311] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.978586] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.978866] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.979141] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.979415] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.979689] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.979970] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.980245] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.980520] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.980796] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.981073] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.981349] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.981624] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.981908] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.982183] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.982459] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.982735] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.983018] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.983294] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.983569] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.983851] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.984128] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.984403] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.984677] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.984962] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.985236] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.985511] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.985792] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.986071] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.986347] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.986624] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.986908] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.987186] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.987462] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.987737] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.988020] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.988296] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.988572] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.988851] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.989128] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.989404] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.989680] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.989963] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.990237] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.990512] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.990790] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.991158] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.991434] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.991709] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.991993] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.992269] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.992545] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.992826] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.993105] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.993381] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.993656] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.993940] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.994216] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.994493] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.994773] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.995053] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.995328] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.995603] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.995886] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.996164] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.996439] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.996715] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.997000] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.997275] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.997551] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.997833] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.998112] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.998389] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.998666] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.998947] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.999222] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.999497] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 685.999777] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 686.000053] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 686.000331] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 686.000609] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 686.000896] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 686.001175] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 686.001455] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 686.001734] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 686.002022] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 686.002300] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 686.002579] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 686.002862] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 686.003142] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 686.003420] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 686.003699] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 686.003986] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 686.004265] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 686.004544] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 686.004829] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 686.005109] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 686.005388] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 686.005666] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 686.005951] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 686.006229] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 686.006506] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 686.006778] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 686.007059] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 686.007338] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 686.007616] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 686.007900] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 686.008179] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 686.008457] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 686.008735] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 686.009021] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 686.009299] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 686.009577] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 686.009862] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 686.010140] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 686.010418] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 686.010697] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 686.010980] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 686.011257] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 686.011536] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 686.011821] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 686.012101] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 686.012380] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 686.012700] nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000ca7d:0:0:0x00000062
[ 686.013028] nvidia-modeset: ERROR: GPU:0: Timed out waiting for core channel idle.
[ 689.013353] nvidia-modeset: WARNING: GPU:0: Lost display notification (0:0x00000000); continuing.
[ 694.013837] nvidia-modeset: ERROR: GPU:0: Error while waiting for GPU progress: 0x0000ca7d:0 2:0:3984:3976
```
^ permalink raw reply [flat|nested] 115+ messages in thread
* Re: New package: nvidia-open-dkms-580.119.02
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (91 preceding siblings ...)
2026-01-12 11:21 ` revington
@ 2026-01-12 13:35 ` JkktBkkt
2026-01-12 17:02 ` revington
` (20 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: JkktBkkt @ 2026-01-12 13:35 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 987 bytes --]
New comment by JkktBkkt on void-packages repository
https://github.com/void-linux/void-packages/pull/54593#issuecomment-3738585390
Comment:
@revington looks like the kernel panic'd a bit over 11 minutes after starting, I'd suggest looking at the rest of the logs around the 670 mark (which is seconds from boot) mark to see the rest of the message and perhaps figure out what's causing that.
My guess would be that system is trying to go to sleep (or wake up) and the module is crashing then?
Also worth double-checking that the rest of the nvidia- packages have been updated to the same 580.119.02 version
There are reports of 580.119.02 (and 590.4x versions) being broken in various setups as well, so if you'd prefer to not figure it out much with it much, a rollback to 580.105.08 (`xdowngrade path/to/older.xbps` should help with that) or a test of the nvidia-dkms (proprietary kernel module) could be attempted to get your system back to running fine for the time being.
^ permalink raw reply [flat|nested] 115+ messages in thread
* Re: New package: nvidia-open-dkms-580.119.02
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (92 preceding siblings ...)
2026-01-12 13:35 ` JkktBkkt
@ 2026-01-12 17:02 ` revington
2026-01-13 17:22 ` JkktBkkt
` (19 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: revington @ 2026-01-12 17:02 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 2057 bytes --]
New comment by revington on void-packages repository
https://github.com/void-linux/void-packages/pull/54593#issuecomment-3739561436
Comment:
@JkktBkkt thanks for your help.
I have downgraded to 580.105.08, both nvidia-open-dkms and nvidia. Then installed those from source packages.
Here is the output of xbps-query for the nvidia package. Is there any other package I must downgrade? I did not have the .xbps packages so I switched to previous commit and rebuild the package from there.
```
architecture: x86_64
conflicts:
xserver-abi-video>25_1
nvidia470>=0
nvidia390>=0
filename-sha256: 6c03e261df790398f512be0022a3d26e17f4276be36cc0bb7e352f9a9fb33a1a
filename-size: 57MB
homepage: https://www.nvidia.com/en-us/drivers/unix/
install-date: 2026-01-12 16:35 CET
install-script: 839B
installed_size: 69MB
license: custom:NVIDIA Proprietary
maintainer: Andrew Benson <abenson+void@gmail.com>
metafile-sha256: 39f554f5effee858edf7e4d0f14ef20c7d18ce88ea39e306bb57816248db9eb6
pkgname: nvidia
pkgver: nvidia-580.105.08_1
provides:
cmd:nvidia-bug-report-580.105.08_1
cmd:nvidia-cuda-mps-control-580.105.08_1
cmd:nvidia-cuda-mps-server-580.105.08_1
cmd:nvidia-debugdump-580.105.08_1
cmd:nvidia-modprobe-580.105.08_1
cmd:nvidia-ngx-updater-580.105.08_1
cmd:nvidia-persistenced-580.105.08_1
cmd:nvidia-powerd-580.105.08_1
cmd:nvidia-settings-580.105.08_1
cmd:nvidia-sleep.sh-580.105.08_1
cmd:nvidia-smi-580.105.08_1
cmd:nvidia-xconfig-580.105.08_1
cmd:prime-run-580.105.08_1
remove-script: 787B
repository: /home/pedro/work/void-packages/hostdir/binpkgs/nonfree
run_depends:
nvidia-libs-580.105.08_1
nvidia-gtklibs-580.105.08_1
nvidia-dkms-580.105.08_1
nvidia-firmware-580.105.08_1
glibc>=2.41_1
libX11>=1.2_1
libXext>=1.0.5_1
shlib-requires:
ld-linux-x86-64.so.2
libX11.so.6
libXext.so.6
libc.so.6
libdl.so.2
libm.so.6
libnvidia-ml.so.1
libpthread.so.0
librt.so.1
short_desc: NVIDIA drivers for linux - Libraries and Utilities
sourcepkg: nvidia
state: installed
```
^ permalink raw reply [flat|nested] 115+ messages in thread
* Re: New package: nvidia-open-dkms-580.119.02
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (93 preceding siblings ...)
2026-01-12 17:02 ` revington
@ 2026-01-13 17:22 ` JkktBkkt
2026-01-13 19:13 ` JkktBkkt
` (18 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: JkktBkkt @ 2026-01-13 17:22 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 488 bytes --]
New comment by JkktBkkt on void-packages repository
https://github.com/void-linux/void-packages/pull/54593#issuecomment-3745519923
Comment:
@revington I'm not sure if xbps-query checks that all dependencies are satisfied, but if those installed match what's listed in run_depends, that should be good.
Oh, also, if you're additionally using 32-bit libs (i.e. for Steam) you want to install matching version of nvidia-libs-32bit from `hostdir/binpkgs/git_branch_name/multilib/nonfree/`
^ permalink raw reply [flat|nested] 115+ messages in thread
* Re: New package: nvidia-open-dkms-580.119.02
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (94 preceding siblings ...)
2026-01-13 17:22 ` JkktBkkt
@ 2026-01-13 19:13 ` JkktBkkt
2026-01-13 19:19 ` JkktBkkt
` (17 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: JkktBkkt @ 2026-01-13 19:13 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 703 bytes --]
New comment by JkktBkkt on void-packages repository
https://github.com/void-linux/void-packages/pull/54593#issuecomment-3745519923
Comment:
@revington I'm not sure if xbps-query checks that all dependencies are satisfied, but if those installed match what's listed in run_depends, that should be good.
Oh, also, if you're additionally using 32-bit libs (i.e. for Steam) you want to install matching version of nvidia-libs-32bit from `hostdir/binpkgs/git_branch_name/multilib/nonfree/`
EDIT: nvidia's changelog for 580.126.09 (released today) shows:
> Fixed a bug that prevented certain display modes that require YUV 4:2:0 subsampling from working.
Maybe that's what happening on your system?
^ permalink raw reply [flat|nested] 115+ messages in thread
* Re: New package: nvidia-open-dkms-580.119.02
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (95 preceding siblings ...)
2026-01-13 19:13 ` JkktBkkt
@ 2026-01-13 19:19 ` JkktBkkt
2026-01-14 1:16 ` xlae13
` (16 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: JkktBkkt @ 2026-01-13 19:19 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 705 bytes --]
New comment by JkktBkkt on void-packages repository
https://github.com/void-linux/void-packages/pull/54593#issuecomment-3745519923
Comment:
@revington I'm not sure if xbps-query checks that all dependencies are satisfied, but if those installed match what's listed in run_depends, that should be good.
Oh, also, if you're additionally using 32-bit libs (i.e. for Steam) you want to install matching version of nvidia-libs-32bit from `hostdir/binpkgs/git_branch_name/multilib/nonfree/`
EDIT: nvidia's changelog for 580.126.09 (released today) shows:
> Fixed a bug that prevented certain display modes that require YUV 4:2:0 subsampling from working.
Maybe that's what's happening on your system?
^ permalink raw reply [flat|nested] 115+ messages in thread
* Re: New package: nvidia-open-dkms-580.119.02
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (96 preceding siblings ...)
2026-01-13 19:19 ` JkktBkkt
@ 2026-01-14 1:16 ` xlae13
2026-01-14 1:17 ` xlae13
` (15 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: xlae13 @ 2026-01-14 1:16 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 385 bytes --]
New comment by xlae13 on void-packages repository
https://github.com/void-linux/void-packages/pull/54593#issuecomment-3747256659
Comment:
Wanted to comment as well that I'm having some graphical bugs with the standard `nvidia` package, version 580.119.02 in X11. I'm on kernel 6.12.65_1. It's sure annoying, but I'm preoccupied with other work at the moment to do anything about it.
^ permalink raw reply [flat|nested] 115+ messages in thread
* Re: New package: nvidia-open-dkms-580.119.02
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (97 preceding siblings ...)
2026-01-14 1:16 ` xlae13
@ 2026-01-14 1:17 ` xlae13
2026-01-21 13:24 ` revington
` (14 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: xlae13 @ 2026-01-14 1:17 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 389 bytes --]
New comment by xlae13 on void-packages repository
https://github.com/void-linux/void-packages/pull/54593#issuecomment-3747256659
Comment:
Wanted to comment as well that I'm having some graphical glitches with the standard `nvidia` package, version 580.119.02 in X11. I'm on kernel 6.12.65_1. It's sure annoying, but I'm preoccupied with other work at the moment to do anything about it.
^ permalink raw reply [flat|nested] 115+ messages in thread
* Re: New package: nvidia-open-dkms-580.119.02
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (98 preceding siblings ...)
2026-01-14 1:17 ` xlae13
@ 2026-01-21 13:24 ` revington
2026-01-25 17:47 ` [PR PATCH] [Updated] " JkktBkkt
` (13 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: revington @ 2026-01-21 13:24 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 238 bytes --]
New comment by revington on void-packages repository
https://github.com/void-linux/void-packages/pull/54593#issuecomment-3778124273
Comment:
@JkktBkkt thanks, finally I got it working with 580.119.02.
rebuilding dependencies worked.
^ permalink raw reply [flat|nested] 115+ messages in thread
* Re: [PR PATCH] [Updated] New package: nvidia-open-dkms-580.119.02
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (99 preceding siblings ...)
2026-01-21 13:24 ` revington
@ 2026-01-25 17:47 ` JkktBkkt
2026-01-25 20:44 ` [PR PATCH] [Updated] New package: nvidia-open-dkms-580.126.09 JkktBkkt
` (12 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: JkktBkkt @ 2026-01-25 17:47 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1936 bytes --]
There is an updated pull request by JkktBkkt against master on the void-packages repository
https://github.com/JkktBkkt/void-packages patch-1
https://github.com/void-linux/void-packages/pull/54593
New package: nvidia-open-dkms-580.119.02
~~Important: PR has been set to WIP as the template requires additional review, for cleanup and tie-in with main nvidia package.~~
Unset, current version should be a bit cleaner, not requiring manual removal of -dkms before re-installing updated -open-dkms on every update.
~~Here's a permalink to the commit that doesn't change the `nvidia` template if you want to install or upgrade before this can land and in case more changes are requested by maintainers: https://github.com/void-linux/void-packages/pull/54593/commits/78cc73d0ce554abeeedc7065e1cb641b23250832~~
^ current version doesn't change `nvidia` template either, but see there for previous update notes.
See https://github.com/void-linux/void-packages/pull/54593#issuecomment-3411057607 and below to track that progress
#### Testing the changes
- I tested the changes in this PR: **YES**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
-->
#### Local build testing
- I built this PR locally for my native architecture, x86_64-glibc
**Comments**
Built and tested on 6.12.57
No longer WIP since this release is out of [beta](https://us.download.nvidia.com/XFree86/Linux-x86_64/570.124.04/README/kernel_open.html) and is now the recommended driver for supported devices, which are Turing and newer, so 16-series and newer of the GeForce lineup.
Closes #51384
Perhaps package info should mention which GPUs are supported
Thanks to mike7d7 for original template and PR #51538
A patch file from https://github.com/void-linux/void-packages/pull/54593.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-patch-1-54593.patch --]
[-- Type: text/x-diff, Size: 7702 bytes --]
From 297752161f8cac2c100e20a8c85d070efb3caffe Mon Sep 17 00:00:00 2001
From: Miguel <migue07mx@protonmail.com>
Date: Mon, 29 Jul 2024 22:37:14 -0600
Subject: [PATCH] New package: nvidia-open-dkms-580.109.02.
Co-authored-by: Miguel <migue07mx@protonmail.com>
---
srcpkgs/nvidia-open-dkms/files/dkms.conf | 26 ++++++++++++
...atomic-kernel-modesetting-by-default.patch | 42 +++++++++++++++++++
.../patches/0003-Add-IBT-support.patch | 25 +++++++++++
.../patches/nvidia-tegra-bpmp.patch | 13 ++++++
srcpkgs/nvidia-open-dkms/template | 36 ++++++++++++++++
5 files changed, 142 insertions(+)
create mode 100644 srcpkgs/nvidia-open-dkms/files/dkms.conf
create mode 100644 srcpkgs/nvidia-open-dkms/patches/0001-Enable-atomic-kernel-modesetting-by-default.patch
create mode 100644 srcpkgs/nvidia-open-dkms/patches/0003-Add-IBT-support.patch
create mode 100644 srcpkgs/nvidia-open-dkms/patches/nvidia-tegra-bpmp.patch
create mode 100644 srcpkgs/nvidia-open-dkms/template
diff --git a/srcpkgs/nvidia-open-dkms/files/dkms.conf b/srcpkgs/nvidia-open-dkms/files/dkms.conf
new file mode 100644
index 00000000000000..15c2e6503376ec
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/files/dkms.conf
@@ -0,0 +1,26 @@
+PACKAGE_NAME="nvidia"
+PACKAGE_VERSION="__PKGVER"
+AUTOINSTALL="yes"
+
+# By default, DKMS will add KERNELRELEASE to the make command line; however,
+# this will cause the kernel module build to infer that it was invoked via
+# Kbuild directly instead of DKMS. The dkms(8) manual page recommends quoting
+# the 'make' command name to suppress this behavior.
+MAKE[0]="'make' -j$(nproc) NV_EXCLUDE_BUILD_MODULES='' KERNEL_UNAME=${kernelver} modules"
+
+# The list of kernel modules will be generated by nvidia-installer at runtime.
+BUILT_MODULE_NAME[0]="nvidia"
+BUILT_MODULE_LOCATION[0]="kernel-open"
+DEST_MODULE_LOCATION[0]="/kernel/drivers/video"
+BUILT_MODULE_NAME[1]="nvidia-uvm"
+BUILT_MODULE_LOCATION[1]="kernel-open"
+DEST_MODULE_LOCATION[1]="/kernel/drivers/video"
+BUILT_MODULE_NAME[2]="nvidia-modeset"
+BUILT_MODULE_LOCATION[2]="kernel-open"
+DEST_MODULE_LOCATION[2]="/kernel/drivers/video"
+BUILT_MODULE_NAME[3]="nvidia-drm"
+BUILT_MODULE_LOCATION[3]="kernel-open"
+DEST_MODULE_LOCATION[3]="/kernel/drivers/video"
+BUILT_MODULE_NAME[4]="nvidia-peermem"
+BUILT_MODULE_LOCATION[4]="kernel-open"
+DEST_MODULE_LOCATION[4]="/kernel/drivers/video"
diff --git a/srcpkgs/nvidia-open-dkms/patches/0001-Enable-atomic-kernel-modesetting-by-default.patch b/srcpkgs/nvidia-open-dkms/patches/0001-Enable-atomic-kernel-modesetting-by-default.patch
new file mode 100644
index 00000000000000..0548693a56cb6e
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/patches/0001-Enable-atomic-kernel-modesetting-by-default.patch
@@ -0,0 +1,42 @@
+From 69769b8ebaaeca84a5188330f80c460dcc0fa747 Mon Sep 17 00:00:00 2001
+From: Eric Naim <dnaim@cachyos.org>
+Date: Fri, 24 Jan 2025 19:34:24 +0700
+Subject: [PATCH] Enable atomic kernel modesetting by default
+
+This is required for proper functionality under Wayland. fbdev has been default enabled since 570 so that
+hunk can be removed from this patch.
+
+Signed-off-by: Eric Naim <dnaim@cachyos.org>
+---
+ nvidia-drm/nvidia-drm-linux.c | 2 +-
+ nvidia-drm/nvidia-drm-os-interface.c | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/nvidia-drm/nvidia-drm-linux.c b/nvidia-drm/nvidia-drm-linux.c
+index 0007cbf..bd0b9eb 100644
+--- a/kernel-open/nvidia-drm/nvidia-drm-linux.c
++++ b/kernel-open/nvidia-drm/nvidia-drm-linux.c
+@@ -31,7 +31,7 @@
+
+ MODULE_PARM_DESC(
+ modeset,
+- "Enable atomic kernel modesetting (1 = enable, 0 = disable (default))");
++ "Enable atomic kernel modesetting (1 = enable (default), 0 = disable)");
+ module_param_named(modeset, nv_drm_modeset_module_param, bool, 0400);
+
+ #if defined(NV_DRM_FBDEV_AVAILABLE)
+diff --git a/nvidia-drm/nvidia-drm-os-interface.c b/nvidia-drm/nvidia-drm-os-interface.c
+index 7617476..f22afd7 100644
+--- a/kernel-open/nvidia-drm/nvidia-drm-os-interface.c
++++ b/kernel-open/nvidia-drm/nvidia-drm-os-interface.c
+@@ -41,7 +41,7 @@
+ #include <drm/drmP.h>
+ #endif
+
+-bool nv_drm_modeset_module_param = false;
++bool nv_drm_modeset_module_param = true;
+ bool nv_drm_fbdev_module_param = true;
+
+ void *nv_drm_calloc(size_t nmemb, size_t size)
+--
+2.48.1
diff --git a/srcpkgs/nvidia-open-dkms/patches/0003-Add-IBT-support.patch b/srcpkgs/nvidia-open-dkms/patches/0003-Add-IBT-support.patch
new file mode 100644
index 00000000000000..caad6d70099faa
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/patches/0003-Add-IBT-support.patch
@@ -0,0 +1,25 @@
+From 1484c9ee0a60468dfd88954011fae0e28c0f73de Mon Sep 17 00:00:00 2001
+From: Peter Jung <admin@ptr1337.dev>
+Date: Fri, 18 Oct 2024 22:40:58 +0200
+Subject: [PATCH 3/6] Add IBT support
+
+Signed-off-by: Peter Jung <admin@ptr1337.dev>
+---
+ src/nvidia-modeset/Makefile | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/nvidia-modeset/Makefile b/src/nvidia-modeset/Makefile
+index 2b96f3fa..ed934014 100644
+--- a/src/nvidia-modeset/Makefile
++++ b/src/nvidia-modeset/Makefile
+@@ -151,6 +151,7 @@ ifeq ($(TARGET_ARCH),x86_64)
+ CONDITIONAL_CFLAGS += $(call TEST_CC_ARG, -fno-jump-tables)
+ CONDITIONAL_CFLAGS += $(call TEST_CC_ARG, -mindirect-branch=thunk-extern)
+ CONDITIONAL_CFLAGS += $(call TEST_CC_ARG, -mindirect-branch-register)
++ CONDITIONAL_CFLAGS += $(call TEST_CC_ARG, -mharden-sls=all)
+ endif
+
+ CFLAGS += $(CONDITIONAL_CFLAGS)
+--
+2.47.0
+
diff --git a/srcpkgs/nvidia-open-dkms/patches/nvidia-tegra-bpmp.patch b/srcpkgs/nvidia-open-dkms/patches/nvidia-tegra-bpmp.patch
new file mode 100644
index 00000000000000..75f016e9807fe6
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/patches/nvidia-tegra-bpmp.patch
@@ -0,0 +1,13 @@
+--- a/kernel-open/nvidia/nv-clk.c
++++ b/kernel-open/nvidia/nv-clk.c
+@@ -27,8 +27,10 @@
+ #include "nv-linux.h"
+ #include "nv-platform.h"
+
++#if IS_ENABLED(CONFIG_TEGRA_BPMP)
+ #include <soc/tegra/bpmp-abi.h>
+ #include <soc/tegra/bpmp.h>
++#endif // IS_ENABLED(CONFIG_TEGRA_BPMP)
+
+ // Use the CCF APIs if enabled in Kernel config and RM build
+ // has Dual license define enabled.
diff --git a/srcpkgs/nvidia-open-dkms/template b/srcpkgs/nvidia-open-dkms/template
new file mode 100644
index 00000000000000..b204f08079ff14
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/template
@@ -0,0 +1,36 @@
+# Template file for 'nvidia-open-dkms'
+pkgname=nvidia-open-dkms
+version=580.126.09
+revision=1
+archs="x86_64"
+depends="dkms nvidia xz"
+short_desc="NVIDIA drivers for linux - open DKMS kernel module"
+maintainer="JkktBkkt <apkabikov@gmail.com>"
+license="GPL-2.0-only, MIT"
+homepage="https://github.com/NVIDIA/open-gpu-kernel-modules"
+distfiles="https://download.nvidia.com/XFree86/NVIDIA-kernel-module-source/NVIDIA-kernel-module-source-${version}.tar.xz"
+checksum=e2914f0013702db55934406a36e376c02456b8836e765d4d897d408b3b6b334e
+replaces="nvidia-dkms>=0"
+conflicts="nvidia390-dkms>=0 nvidia470-dkms>=0"
+dkms_modules="nvidia-open-dkms ${version}"
+triggers="dkms initramfs-regenerate"
+provides="nvidia-dkms-${version}_${revision}"
+
+do_install() {
+ vmkdir usr/src/nvidia-open-dkms-${version}
+ vcopy "*" usr/src/nvidia-open-dkms-${version}
+ cp ${FILESDIR}/dkms.conf ${DESTDIR}/usr/src/nvidia-open-dkms-${version}/dkms.conf
+ vsed -e "s/__PKGVER/${version}/" -i ${DESTDIR}/usr/src/nvidia-open-dkms-${version}/dkms.conf
+
+ # Blacklist nouveau
+ vmkdir usr/lib/modprobe.d
+ cat <<- END > ${DESTDIR}/usr/lib/modprobe.d/nvidia.conf
+ blacklist nouveau
+ blacklist nova_core
+ blacklist nova_drm
+ END
+ chmod 644 ${DESTDIR}/usr/lib/modprobe.d/nvidia.conf
+
+ vdoc README.md
+ vlicense COPYING
+}
^ permalink raw reply related [flat|nested] 115+ messages in thread
* Re: [PR PATCH] [Updated] New package: nvidia-open-dkms-580.126.09
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (100 preceding siblings ...)
2026-01-25 17:47 ` [PR PATCH] [Updated] " JkktBkkt
@ 2026-01-25 20:44 ` JkktBkkt
2026-01-25 20:45 ` JkktBkkt
` (11 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: JkktBkkt @ 2026-01-25 20:44 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1936 bytes --]
There is an updated pull request by JkktBkkt against master on the void-packages repository
https://github.com/JkktBkkt/void-packages patch-1
https://github.com/void-linux/void-packages/pull/54593
New package: nvidia-open-dkms-580.126.09
~~Important: PR has been set to WIP as the template requires additional review, for cleanup and tie-in with main nvidia package.~~
Unset, current version should be a bit cleaner, not requiring manual removal of -dkms before re-installing updated -open-dkms on every update.
~~Here's a permalink to the commit that doesn't change the `nvidia` template if you want to install or upgrade before this can land and in case more changes are requested by maintainers: https://github.com/void-linux/void-packages/pull/54593/commits/78cc73d0ce554abeeedc7065e1cb641b23250832~~
^ current version doesn't change `nvidia` template either, but see there for previous update notes.
See https://github.com/void-linux/void-packages/pull/54593#issuecomment-3411057607 and below to track that progress
#### Testing the changes
- I tested the changes in this PR: **YES**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
-->
#### Local build testing
- I built this PR locally for my native architecture, x86_64-glibc
**Comments**
Built and tested on 6.12.57
No longer WIP since this release is out of [beta](https://us.download.nvidia.com/XFree86/Linux-x86_64/570.124.04/README/kernel_open.html) and is now the recommended driver for supported devices, which are Turing and newer, so 16-series and newer of the GeForce lineup.
Closes #51384
Perhaps package info should mention which GPUs are supported
Thanks to mike7d7 for original template and PR #51538
A patch file from https://github.com/void-linux/void-packages/pull/54593.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-patch-1-54593.patch --]
[-- Type: text/x-diff, Size: 7702 bytes --]
From 4278129463c5919f3657f23103fe32c519ea74ec Mon Sep 17 00:00:00 2001
From: Miguel <migue07mx@protonmail.com>
Date: Mon, 29 Jul 2024 22:37:14 -0600
Subject: [PATCH] New package: nvidia-open-dkms-580.126.09.
Co-authored-by: Miguel <migue07mx@protonmail.com>
---
srcpkgs/nvidia-open-dkms/files/dkms.conf | 26 ++++++++++++
...atomic-kernel-modesetting-by-default.patch | 42 +++++++++++++++++++
.../patches/0003-Add-IBT-support.patch | 25 +++++++++++
.../patches/nvidia-tegra-bpmp.patch | 13 ++++++
srcpkgs/nvidia-open-dkms/template | 36 ++++++++++++++++
5 files changed, 142 insertions(+)
create mode 100644 srcpkgs/nvidia-open-dkms/files/dkms.conf
create mode 100644 srcpkgs/nvidia-open-dkms/patches/0001-Enable-atomic-kernel-modesetting-by-default.patch
create mode 100644 srcpkgs/nvidia-open-dkms/patches/0003-Add-IBT-support.patch
create mode 100644 srcpkgs/nvidia-open-dkms/patches/nvidia-tegra-bpmp.patch
create mode 100644 srcpkgs/nvidia-open-dkms/template
diff --git a/srcpkgs/nvidia-open-dkms/files/dkms.conf b/srcpkgs/nvidia-open-dkms/files/dkms.conf
new file mode 100644
index 00000000000000..15c2e6503376ec
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/files/dkms.conf
@@ -0,0 +1,26 @@
+PACKAGE_NAME="nvidia"
+PACKAGE_VERSION="__PKGVER"
+AUTOINSTALL="yes"
+
+# By default, DKMS will add KERNELRELEASE to the make command line; however,
+# this will cause the kernel module build to infer that it was invoked via
+# Kbuild directly instead of DKMS. The dkms(8) manual page recommends quoting
+# the 'make' command name to suppress this behavior.
+MAKE[0]="'make' -j$(nproc) NV_EXCLUDE_BUILD_MODULES='' KERNEL_UNAME=${kernelver} modules"
+
+# The list of kernel modules will be generated by nvidia-installer at runtime.
+BUILT_MODULE_NAME[0]="nvidia"
+BUILT_MODULE_LOCATION[0]="kernel-open"
+DEST_MODULE_LOCATION[0]="/kernel/drivers/video"
+BUILT_MODULE_NAME[1]="nvidia-uvm"
+BUILT_MODULE_LOCATION[1]="kernel-open"
+DEST_MODULE_LOCATION[1]="/kernel/drivers/video"
+BUILT_MODULE_NAME[2]="nvidia-modeset"
+BUILT_MODULE_LOCATION[2]="kernel-open"
+DEST_MODULE_LOCATION[2]="/kernel/drivers/video"
+BUILT_MODULE_NAME[3]="nvidia-drm"
+BUILT_MODULE_LOCATION[3]="kernel-open"
+DEST_MODULE_LOCATION[3]="/kernel/drivers/video"
+BUILT_MODULE_NAME[4]="nvidia-peermem"
+BUILT_MODULE_LOCATION[4]="kernel-open"
+DEST_MODULE_LOCATION[4]="/kernel/drivers/video"
diff --git a/srcpkgs/nvidia-open-dkms/patches/0001-Enable-atomic-kernel-modesetting-by-default.patch b/srcpkgs/nvidia-open-dkms/patches/0001-Enable-atomic-kernel-modesetting-by-default.patch
new file mode 100644
index 00000000000000..0548693a56cb6e
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/patches/0001-Enable-atomic-kernel-modesetting-by-default.patch
@@ -0,0 +1,42 @@
+From 69769b8ebaaeca84a5188330f80c460dcc0fa747 Mon Sep 17 00:00:00 2001
+From: Eric Naim <dnaim@cachyos.org>
+Date: Fri, 24 Jan 2025 19:34:24 +0700
+Subject: [PATCH] Enable atomic kernel modesetting by default
+
+This is required for proper functionality under Wayland. fbdev has been default enabled since 570 so that
+hunk can be removed from this patch.
+
+Signed-off-by: Eric Naim <dnaim@cachyos.org>
+---
+ nvidia-drm/nvidia-drm-linux.c | 2 +-
+ nvidia-drm/nvidia-drm-os-interface.c | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/nvidia-drm/nvidia-drm-linux.c b/nvidia-drm/nvidia-drm-linux.c
+index 0007cbf..bd0b9eb 100644
+--- a/kernel-open/nvidia-drm/nvidia-drm-linux.c
++++ b/kernel-open/nvidia-drm/nvidia-drm-linux.c
+@@ -31,7 +31,7 @@
+
+ MODULE_PARM_DESC(
+ modeset,
+- "Enable atomic kernel modesetting (1 = enable, 0 = disable (default))");
++ "Enable atomic kernel modesetting (1 = enable (default), 0 = disable)");
+ module_param_named(modeset, nv_drm_modeset_module_param, bool, 0400);
+
+ #if defined(NV_DRM_FBDEV_AVAILABLE)
+diff --git a/nvidia-drm/nvidia-drm-os-interface.c b/nvidia-drm/nvidia-drm-os-interface.c
+index 7617476..f22afd7 100644
+--- a/kernel-open/nvidia-drm/nvidia-drm-os-interface.c
++++ b/kernel-open/nvidia-drm/nvidia-drm-os-interface.c
+@@ -41,7 +41,7 @@
+ #include <drm/drmP.h>
+ #endif
+
+-bool nv_drm_modeset_module_param = false;
++bool nv_drm_modeset_module_param = true;
+ bool nv_drm_fbdev_module_param = true;
+
+ void *nv_drm_calloc(size_t nmemb, size_t size)
+--
+2.48.1
diff --git a/srcpkgs/nvidia-open-dkms/patches/0003-Add-IBT-support.patch b/srcpkgs/nvidia-open-dkms/patches/0003-Add-IBT-support.patch
new file mode 100644
index 00000000000000..caad6d70099faa
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/patches/0003-Add-IBT-support.patch
@@ -0,0 +1,25 @@
+From 1484c9ee0a60468dfd88954011fae0e28c0f73de Mon Sep 17 00:00:00 2001
+From: Peter Jung <admin@ptr1337.dev>
+Date: Fri, 18 Oct 2024 22:40:58 +0200
+Subject: [PATCH 3/6] Add IBT support
+
+Signed-off-by: Peter Jung <admin@ptr1337.dev>
+---
+ src/nvidia-modeset/Makefile | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/nvidia-modeset/Makefile b/src/nvidia-modeset/Makefile
+index 2b96f3fa..ed934014 100644
+--- a/src/nvidia-modeset/Makefile
++++ b/src/nvidia-modeset/Makefile
+@@ -151,6 +151,7 @@ ifeq ($(TARGET_ARCH),x86_64)
+ CONDITIONAL_CFLAGS += $(call TEST_CC_ARG, -fno-jump-tables)
+ CONDITIONAL_CFLAGS += $(call TEST_CC_ARG, -mindirect-branch=thunk-extern)
+ CONDITIONAL_CFLAGS += $(call TEST_CC_ARG, -mindirect-branch-register)
++ CONDITIONAL_CFLAGS += $(call TEST_CC_ARG, -mharden-sls=all)
+ endif
+
+ CFLAGS += $(CONDITIONAL_CFLAGS)
+--
+2.47.0
+
diff --git a/srcpkgs/nvidia-open-dkms/patches/nvidia-tegra-bpmp.patch b/srcpkgs/nvidia-open-dkms/patches/nvidia-tegra-bpmp.patch
new file mode 100644
index 00000000000000..75f016e9807fe6
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/patches/nvidia-tegra-bpmp.patch
@@ -0,0 +1,13 @@
+--- a/kernel-open/nvidia/nv-clk.c
++++ b/kernel-open/nvidia/nv-clk.c
+@@ -27,8 +27,10 @@
+ #include "nv-linux.h"
+ #include "nv-platform.h"
+
++#if IS_ENABLED(CONFIG_TEGRA_BPMP)
+ #include <soc/tegra/bpmp-abi.h>
+ #include <soc/tegra/bpmp.h>
++#endif // IS_ENABLED(CONFIG_TEGRA_BPMP)
+
+ // Use the CCF APIs if enabled in Kernel config and RM build
+ // has Dual license define enabled.
diff --git a/srcpkgs/nvidia-open-dkms/template b/srcpkgs/nvidia-open-dkms/template
new file mode 100644
index 00000000000000..b204f08079ff14
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/template
@@ -0,0 +1,36 @@
+# Template file for 'nvidia-open-dkms'
+pkgname=nvidia-open-dkms
+version=580.126.09
+revision=1
+archs="x86_64"
+depends="dkms nvidia xz"
+short_desc="NVIDIA drivers for linux - open DKMS kernel module"
+maintainer="JkktBkkt <apkabikov@gmail.com>"
+license="GPL-2.0-only, MIT"
+homepage="https://github.com/NVIDIA/open-gpu-kernel-modules"
+distfiles="https://download.nvidia.com/XFree86/NVIDIA-kernel-module-source/NVIDIA-kernel-module-source-${version}.tar.xz"
+checksum=e2914f0013702db55934406a36e376c02456b8836e765d4d897d408b3b6b334e
+replaces="nvidia-dkms>=0"
+conflicts="nvidia390-dkms>=0 nvidia470-dkms>=0"
+dkms_modules="nvidia-open-dkms ${version}"
+triggers="dkms initramfs-regenerate"
+provides="nvidia-dkms-${version}_${revision}"
+
+do_install() {
+ vmkdir usr/src/nvidia-open-dkms-${version}
+ vcopy "*" usr/src/nvidia-open-dkms-${version}
+ cp ${FILESDIR}/dkms.conf ${DESTDIR}/usr/src/nvidia-open-dkms-${version}/dkms.conf
+ vsed -e "s/__PKGVER/${version}/" -i ${DESTDIR}/usr/src/nvidia-open-dkms-${version}/dkms.conf
+
+ # Blacklist nouveau
+ vmkdir usr/lib/modprobe.d
+ cat <<- END > ${DESTDIR}/usr/lib/modprobe.d/nvidia.conf
+ blacklist nouveau
+ blacklist nova_core
+ blacklist nova_drm
+ END
+ chmod 644 ${DESTDIR}/usr/lib/modprobe.d/nvidia.conf
+
+ vdoc README.md
+ vlicense COPYING
+}
^ permalink raw reply related [flat|nested] 115+ messages in thread
* Re: New package: nvidia-open-dkms-580.126.09
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (101 preceding siblings ...)
2026-01-25 20:44 ` [PR PATCH] [Updated] New package: nvidia-open-dkms-580.126.09 JkktBkkt
@ 2026-01-25 20:45 ` JkktBkkt
2026-02-22 18:43 ` xlae13
` (10 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: JkktBkkt @ 2026-01-25 20:45 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 357 bytes --]
New comment by JkktBkkt on void-packages repository
https://github.com/void-linux/void-packages/pull/54593#issuecomment-3797213753
Comment:
Forgot to change the commit description and title ^, it's just another version bump to keep in line with `nvidia`
Been using this version for about a week (prior to `nvidia` version 580.126.09, built both locally)
^ permalink raw reply [flat|nested] 115+ messages in thread
* Re: New package: nvidia-open-dkms-580.126.09
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (102 preceding siblings ...)
2026-01-25 20:45 ` JkktBkkt
@ 2026-02-22 18:43 ` xlae13
2026-02-22 18:43 ` xlae13
` (9 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: xlae13 @ 2026-02-22 18:43 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 526 bytes --]
New comment by xlae13 on void-packages repository
https://github.com/void-linux/void-packages/pull/54593#issuecomment-3747256659
Comment:
Wanted to comment as well that I'm having some graphical glitches with the standard `nvidia` package, version 580.119.02 in X11. I'm on kernel 6.12.65_1. It's sure annoying, but I'm preoccupied with other work at the moment to do anything about it.
EDIT: Finally got around to building the package, and so far it's working great. Tested with an RTX 3080 FE card and kernel 6.12.74_1
^ permalink raw reply [flat|nested] 115+ messages in thread
* Re: New package: nvidia-open-dkms-580.126.09
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (103 preceding siblings ...)
2026-02-22 18:43 ` xlae13
@ 2026-02-22 18:43 ` xlae13
2026-02-24 0:52 ` halfbit0
` (8 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: xlae13 @ 2026-02-22 18:43 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 537 bytes --]
New comment by xlae13 on void-packages repository
https://github.com/void-linux/void-packages/pull/54593#issuecomment-3747256659
Comment:
Wanted to comment as well that I'm having some graphical glitches with the standard `nvidia` package, version 580.119.02 in X11. I'm on kernel 6.12.65_1. It's sure annoying, but I'm preoccupied with other work at the moment to do anything about it.
EDIT: Finally got around to building the 580.126.09 package, and so far it's working great. Tested with an RTX 3080 FE card and kernel 6.12.74_1
^ permalink raw reply [flat|nested] 115+ messages in thread
* Re: New package: nvidia-open-dkms-580.126.09
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (104 preceding siblings ...)
2026-02-22 18:43 ` xlae13
@ 2026-02-24 0:52 ` halfbit0
2026-02-24 13:28 ` abenson
` (7 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: halfbit0 @ 2026-02-24 0:52 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 310 bytes --]
New comment by halfbit0 on void-packages repository
https://github.com/void-linux/void-packages/pull/54593#issuecomment-3948236455
Comment:
Right now for me, the module fails to build for kernel 6.19, but builds for 6.18 and lower
[make.log](https://github.com/user-attachments/files/25503721/make.log)
^ permalink raw reply [flat|nested] 115+ messages in thread
* Re: New package: nvidia-open-dkms-580.126.09
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (105 preceding siblings ...)
2026-02-24 0:52 ` halfbit0
@ 2026-02-24 13:28 ` abenson
2026-02-24 13:31 ` abenson
` (6 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: abenson @ 2026-02-24 13:28 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1040 bytes --]
New comment by abenson on void-packages repository
https://github.com/void-linux/void-packages/pull/54593#issuecomment-3951839978
Comment:
Its being tracked.
https://github.com/NVIDIA/open-gpu-kernel-modules/pull/1015
-Andrew
On Mon, 23 Feb 2026 at 19:53, halfbit0 ***@***.***> wrote:
> *halfbit0* left a comment (void-linux/void-packages#54593)
> <https://github.com/void-linux/void-packages/pull/54593#issuecomment-3948236455>
>
> Right now for me, the module fails to build for kernel 6.19, but builds
> for 6.18 and lower
>
> make.log <https://github.com/user-attachments/files/25503721/make.log>
>
> —
> Reply to this email directly, view it on GitHub
> <https://github.com/void-linux/void-packages/pull/54593#issuecomment-3948236455>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AABXP5MVDO7O3GMSMV2LKR34NOOHVAVCNFSM6AAAAABYNHYWTWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTSNBYGIZTMNBVGU>
> .
> You are receiving this because you were mentioned.Message ID:
> ***@***.***>
>
^ permalink raw reply [flat|nested] 115+ messages in thread
* Re: New package: nvidia-open-dkms-580.126.09
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (106 preceding siblings ...)
2026-02-24 13:28 ` abenson
@ 2026-02-24 13:31 ` abenson
2026-02-26 3:39 ` [PR PATCH] [Updated] " JkktBkkt
` (5 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: abenson @ 2026-02-24 13:31 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1239 bytes --]
New comment by abenson on void-packages repository
https://github.com/void-linux/void-packages/pull/54593#issuecomment-3951868826
Comment:
Nevermind, its been fixed.
https://www.nvidia.com/en-us/drivers/details/264090/
-Andrew
On Tue, 24 Feb 2026 at 08:28, Andrew Benson ***@***.***> wrote:
> Its being tracked.
>
> https://github.com/NVIDIA/open-gpu-kernel-modules/pull/1015
>
> -Andrew
>
>
> On Mon, 23 Feb 2026 at 19:53, halfbit0 ***@***.***> wrote:
>
>> *halfbit0* left a comment (void-linux/void-packages#54593)
>> <https://github.com/void-linux/void-packages/pull/54593#issuecomment-3948236455>
>>
>> Right now for me, the module fails to build for kernel 6.19, but builds
>> for 6.18 and lower
>>
>> make.log <https://github.com/user-attachments/files/25503721/make.log>
>>
>> —
>> Reply to this email directly, view it on GitHub
>> <https://github.com/void-linux/void-packages/pull/54593#issuecomment-3948236455>,
>> or unsubscribe
>> <https://github.com/notifications/unsubscribe-auth/AABXP5MVDO7O3GMSMV2LKR34NOOHVAVCNFSM6AAAAABYNHYWTWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTSNBYGIZTMNBVGU>
>> .
>> You are receiving this because you were mentioned.Message ID:
>> ***@***.***>
>>
>
^ permalink raw reply [flat|nested] 115+ messages in thread
* Re: [PR PATCH] [Updated] New package: nvidia-open-dkms-580.126.09
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (107 preceding siblings ...)
2026-02-24 13:31 ` abenson
@ 2026-02-26 3:39 ` JkktBkkt
2026-02-27 14:53 ` New package: nvidia-open-dkms-580.126.18 JkktBkkt
` (4 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: JkktBkkt @ 2026-02-26 3:39 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1936 bytes --]
There is an updated pull request by JkktBkkt against master on the void-packages repository
https://github.com/JkktBkkt/void-packages patch-1
https://github.com/void-linux/void-packages/pull/54593
New package: nvidia-open-dkms-580.126.09
~~Important: PR has been set to WIP as the template requires additional review, for cleanup and tie-in with main nvidia package.~~
Unset, current version should be a bit cleaner, not requiring manual removal of -dkms before re-installing updated -open-dkms on every update.
~~Here's a permalink to the commit that doesn't change the `nvidia` template if you want to install or upgrade before this can land and in case more changes are requested by maintainers: https://github.com/void-linux/void-packages/pull/54593/commits/78cc73d0ce554abeeedc7065e1cb641b23250832~~
^ current version doesn't change `nvidia` template either, but see there for previous update notes.
See https://github.com/void-linux/void-packages/pull/54593#issuecomment-3411057607 and below to track that progress
#### Testing the changes
- I tested the changes in this PR: **YES**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
-->
#### Local build testing
- I built this PR locally for my native architecture, x86_64-glibc
**Comments**
Built and tested on 6.12.57
No longer WIP since this release is out of [beta](https://us.download.nvidia.com/XFree86/Linux-x86_64/570.124.04/README/kernel_open.html) and is now the recommended driver for supported devices, which are Turing and newer, so 16-series and newer of the GeForce lineup.
Closes #51384
Perhaps package info should mention which GPUs are supported
Thanks to mike7d7 for original template and PR #51538
A patch file from https://github.com/void-linux/void-packages/pull/54593.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-patch-1-54593.patch --]
[-- Type: text/x-diff, Size: 7702 bytes --]
From 680f83e7dc3c7d9f5810cf9ae74b598ee210518b Mon Sep 17 00:00:00 2001
From: Miguel <migue07mx@protonmail.com>
Date: Mon, 29 Jul 2024 22:37:14 -0600
Subject: [PATCH] New package: nvidia-open-dkms-580.126.18.
Co-authored-by: Miguel <migue07mx@protonmail.com>
---
srcpkgs/nvidia-open-dkms/files/dkms.conf | 26 ++++++++++++
...atomic-kernel-modesetting-by-default.patch | 42 +++++++++++++++++++
.../patches/0003-Add-IBT-support.patch | 25 +++++++++++
.../patches/nvidia-tegra-bpmp.patch | 13 ++++++
srcpkgs/nvidia-open-dkms/template | 36 ++++++++++++++++
5 files changed, 142 insertions(+)
create mode 100644 srcpkgs/nvidia-open-dkms/files/dkms.conf
create mode 100644 srcpkgs/nvidia-open-dkms/patches/0001-Enable-atomic-kernel-modesetting-by-default.patch
create mode 100644 srcpkgs/nvidia-open-dkms/patches/0003-Add-IBT-support.patch
create mode 100644 srcpkgs/nvidia-open-dkms/patches/nvidia-tegra-bpmp.patch
create mode 100644 srcpkgs/nvidia-open-dkms/template
diff --git a/srcpkgs/nvidia-open-dkms/files/dkms.conf b/srcpkgs/nvidia-open-dkms/files/dkms.conf
new file mode 100644
index 00000000000000..15c2e6503376ec
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/files/dkms.conf
@@ -0,0 +1,26 @@
+PACKAGE_NAME="nvidia"
+PACKAGE_VERSION="__PKGVER"
+AUTOINSTALL="yes"
+
+# By default, DKMS will add KERNELRELEASE to the make command line; however,
+# this will cause the kernel module build to infer that it was invoked via
+# Kbuild directly instead of DKMS. The dkms(8) manual page recommends quoting
+# the 'make' command name to suppress this behavior.
+MAKE[0]="'make' -j$(nproc) NV_EXCLUDE_BUILD_MODULES='' KERNEL_UNAME=${kernelver} modules"
+
+# The list of kernel modules will be generated by nvidia-installer at runtime.
+BUILT_MODULE_NAME[0]="nvidia"
+BUILT_MODULE_LOCATION[0]="kernel-open"
+DEST_MODULE_LOCATION[0]="/kernel/drivers/video"
+BUILT_MODULE_NAME[1]="nvidia-uvm"
+BUILT_MODULE_LOCATION[1]="kernel-open"
+DEST_MODULE_LOCATION[1]="/kernel/drivers/video"
+BUILT_MODULE_NAME[2]="nvidia-modeset"
+BUILT_MODULE_LOCATION[2]="kernel-open"
+DEST_MODULE_LOCATION[2]="/kernel/drivers/video"
+BUILT_MODULE_NAME[3]="nvidia-drm"
+BUILT_MODULE_LOCATION[3]="kernel-open"
+DEST_MODULE_LOCATION[3]="/kernel/drivers/video"
+BUILT_MODULE_NAME[4]="nvidia-peermem"
+BUILT_MODULE_LOCATION[4]="kernel-open"
+DEST_MODULE_LOCATION[4]="/kernel/drivers/video"
diff --git a/srcpkgs/nvidia-open-dkms/patches/0001-Enable-atomic-kernel-modesetting-by-default.patch b/srcpkgs/nvidia-open-dkms/patches/0001-Enable-atomic-kernel-modesetting-by-default.patch
new file mode 100644
index 00000000000000..0548693a56cb6e
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/patches/0001-Enable-atomic-kernel-modesetting-by-default.patch
@@ -0,0 +1,42 @@
+From 69769b8ebaaeca84a5188330f80c460dcc0fa747 Mon Sep 17 00:00:00 2001
+From: Eric Naim <dnaim@cachyos.org>
+Date: Fri, 24 Jan 2025 19:34:24 +0700
+Subject: [PATCH] Enable atomic kernel modesetting by default
+
+This is required for proper functionality under Wayland. fbdev has been default enabled since 570 so that
+hunk can be removed from this patch.
+
+Signed-off-by: Eric Naim <dnaim@cachyos.org>
+---
+ nvidia-drm/nvidia-drm-linux.c | 2 +-
+ nvidia-drm/nvidia-drm-os-interface.c | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/nvidia-drm/nvidia-drm-linux.c b/nvidia-drm/nvidia-drm-linux.c
+index 0007cbf..bd0b9eb 100644
+--- a/kernel-open/nvidia-drm/nvidia-drm-linux.c
++++ b/kernel-open/nvidia-drm/nvidia-drm-linux.c
+@@ -31,7 +31,7 @@
+
+ MODULE_PARM_DESC(
+ modeset,
+- "Enable atomic kernel modesetting (1 = enable, 0 = disable (default))");
++ "Enable atomic kernel modesetting (1 = enable (default), 0 = disable)");
+ module_param_named(modeset, nv_drm_modeset_module_param, bool, 0400);
+
+ #if defined(NV_DRM_FBDEV_AVAILABLE)
+diff --git a/nvidia-drm/nvidia-drm-os-interface.c b/nvidia-drm/nvidia-drm-os-interface.c
+index 7617476..f22afd7 100644
+--- a/kernel-open/nvidia-drm/nvidia-drm-os-interface.c
++++ b/kernel-open/nvidia-drm/nvidia-drm-os-interface.c
+@@ -41,7 +41,7 @@
+ #include <drm/drmP.h>
+ #endif
+
+-bool nv_drm_modeset_module_param = false;
++bool nv_drm_modeset_module_param = true;
+ bool nv_drm_fbdev_module_param = true;
+
+ void *nv_drm_calloc(size_t nmemb, size_t size)
+--
+2.48.1
diff --git a/srcpkgs/nvidia-open-dkms/patches/0003-Add-IBT-support.patch b/srcpkgs/nvidia-open-dkms/patches/0003-Add-IBT-support.patch
new file mode 100644
index 00000000000000..caad6d70099faa
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/patches/0003-Add-IBT-support.patch
@@ -0,0 +1,25 @@
+From 1484c9ee0a60468dfd88954011fae0e28c0f73de Mon Sep 17 00:00:00 2001
+From: Peter Jung <admin@ptr1337.dev>
+Date: Fri, 18 Oct 2024 22:40:58 +0200
+Subject: [PATCH 3/6] Add IBT support
+
+Signed-off-by: Peter Jung <admin@ptr1337.dev>
+---
+ src/nvidia-modeset/Makefile | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/nvidia-modeset/Makefile b/src/nvidia-modeset/Makefile
+index 2b96f3fa..ed934014 100644
+--- a/src/nvidia-modeset/Makefile
++++ b/src/nvidia-modeset/Makefile
+@@ -151,6 +151,7 @@ ifeq ($(TARGET_ARCH),x86_64)
+ CONDITIONAL_CFLAGS += $(call TEST_CC_ARG, -fno-jump-tables)
+ CONDITIONAL_CFLAGS += $(call TEST_CC_ARG, -mindirect-branch=thunk-extern)
+ CONDITIONAL_CFLAGS += $(call TEST_CC_ARG, -mindirect-branch-register)
++ CONDITIONAL_CFLAGS += $(call TEST_CC_ARG, -mharden-sls=all)
+ endif
+
+ CFLAGS += $(CONDITIONAL_CFLAGS)
+--
+2.47.0
+
diff --git a/srcpkgs/nvidia-open-dkms/patches/nvidia-tegra-bpmp.patch b/srcpkgs/nvidia-open-dkms/patches/nvidia-tegra-bpmp.patch
new file mode 100644
index 00000000000000..75f016e9807fe6
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/patches/nvidia-tegra-bpmp.patch
@@ -0,0 +1,13 @@
+--- a/kernel-open/nvidia/nv-clk.c
++++ b/kernel-open/nvidia/nv-clk.c
+@@ -27,8 +27,10 @@
+ #include "nv-linux.h"
+ #include "nv-platform.h"
+
++#if IS_ENABLED(CONFIG_TEGRA_BPMP)
+ #include <soc/tegra/bpmp-abi.h>
+ #include <soc/tegra/bpmp.h>
++#endif // IS_ENABLED(CONFIG_TEGRA_BPMP)
+
+ // Use the CCF APIs if enabled in Kernel config and RM build
+ // has Dual license define enabled.
diff --git a/srcpkgs/nvidia-open-dkms/template b/srcpkgs/nvidia-open-dkms/template
new file mode 100644
index 00000000000000..08a0f81eb75aeb
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/template
@@ -0,0 +1,36 @@
+# Template file for 'nvidia-open-dkms'
+pkgname=nvidia-open-dkms
+version=580.126.18
+revision=1
+archs="x86_64"
+depends="dkms nvidia xz"
+short_desc="NVIDIA drivers for linux - open DKMS kernel module"
+maintainer="JkktBkkt <apkabikov@gmail.com>"
+license="GPL-2.0-only, MIT"
+homepage="https://github.com/NVIDIA/open-gpu-kernel-modules"
+distfiles="https://download.nvidia.com/XFree86/NVIDIA-kernel-module-source/NVIDIA-kernel-module-source-${version}.tar.xz"
+checksum=4f2b776d75707d6b4770bab4b0a7aba95355fe833bc4cee54100c29839b53e6e
+replaces="nvidia-dkms>=0"
+conflicts="nvidia390-dkms>=0 nvidia470-dkms>=0"
+dkms_modules="nvidia-open-dkms ${version}"
+triggers="dkms initramfs-regenerate"
+provides="nvidia-dkms-${version}_${revision}"
+
+do_install() {
+ vmkdir usr/src/nvidia-open-dkms-${version}
+ vcopy "*" usr/src/nvidia-open-dkms-${version}
+ cp ${FILESDIR}/dkms.conf ${DESTDIR}/usr/src/nvidia-open-dkms-${version}/dkms.conf
+ vsed -e "s/__PKGVER/${version}/" -i ${DESTDIR}/usr/src/nvidia-open-dkms-${version}/dkms.conf
+
+ # Blacklist nouveau
+ vmkdir usr/lib/modprobe.d
+ cat <<- END > ${DESTDIR}/usr/lib/modprobe.d/nvidia.conf
+ blacklist nouveau
+ blacklist nova_core
+ blacklist nova_drm
+ END
+ chmod 644 ${DESTDIR}/usr/lib/modprobe.d/nvidia.conf
+
+ vdoc README.md
+ vlicense COPYING
+}
^ permalink raw reply related [flat|nested] 115+ messages in thread
* Re: New package: nvidia-open-dkms-580.126.18
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (108 preceding siblings ...)
2026-02-26 3:39 ` [PR PATCH] [Updated] " JkktBkkt
@ 2026-02-27 14:53 ` JkktBkkt
2026-02-27 14:53 ` [PR PATCH] [Updated] " JkktBkkt
` (3 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: JkktBkkt @ 2026-02-27 14:53 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 252 bytes --]
New comment by JkktBkkt on void-packages repository
https://github.com/void-linux/void-packages/pull/54593#issuecomment-3973371036
Comment:
rev2 so that xbps doesn't try to replace `nvidia-open-dkms` with `nvidia-dkms` due to forced `nvidia` rebuild
^ permalink raw reply [flat|nested] 115+ messages in thread
* Re: [PR PATCH] [Updated] New package: nvidia-open-dkms-580.126.18
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (109 preceding siblings ...)
2026-02-27 14:53 ` New package: nvidia-open-dkms-580.126.18 JkktBkkt
@ 2026-02-27 14:53 ` JkktBkkt
2026-02-27 15:01 ` JkktBkkt
` (2 subsequent siblings)
113 siblings, 0 replies; 115+ messages in thread
From: JkktBkkt @ 2026-02-27 14:53 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1944 bytes --]
There is an updated pull request by JkktBkkt against master on the void-packages repository
https://github.com/JkktBkkt/void-packages patch-1
https://github.com/void-linux/void-packages/pull/54593
New package: nvidia-open-dkms-580.126.18
~~Important: PR has been set to WIP as the template requires additional review, for cleanup and tie-in with main nvidia package.~~
Unset, current version should be a bit cleaner, not requiring manual removal of -dkms before re-installing updated -open-dkms on every update.
~~Here's a permalink to the commit that doesn't change the `nvidia` template if you want to install or upgrade before this can land and in case more changes are requested by maintainers: https://github.com/void-linux/void-packages/pull/54593/commits/78cc73d0ce554abeeedc7065e1cb641b23250832~~
^ current version doesn't change `nvidia` template either, but see there for previous update notes.
See https://github.com/void-linux/void-packages/pull/54593#issuecomment-3411057607 and below to track that progress
#### Testing the changes
- I tested the changes in this PR: **YES**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
-->
#### Local build testing
- I built this PR locally for my native architecture, x86_64-glibc
**Comments**
Most recent versions I test on 6.18
No longer WIP since this release is out of [beta](https://us.download.nvidia.com/XFree86/Linux-x86_64/570.124.04/README/kernel_open.html) and is now the recommended driver for supported devices, which are Turing and newer, so 16-series and newer of the GeForce lineup.
Closes #51384
Perhaps package info should mention which GPUs are supported
Thanks to mike7d7 for original template and PR #51538
A patch file from https://github.com/void-linux/void-packages/pull/54593.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-patch-1-54593.patch --]
[-- Type: text/x-diff, Size: 7702 bytes --]
From f7ce205f3ff1f7da32a01682c3af7647758ea4a6 Mon Sep 17 00:00:00 2001
From: Miguel <migue07mx@protonmail.com>
Date: Mon, 29 Jul 2024 22:37:14 -0600
Subject: [PATCH] New package: nvidia-open-dkms-580.126.18.
Co-authored-by: Miguel <migue07mx@protonmail.com>
---
srcpkgs/nvidia-open-dkms/files/dkms.conf | 26 ++++++++++++
...atomic-kernel-modesetting-by-default.patch | 42 +++++++++++++++++++
.../patches/0003-Add-IBT-support.patch | 25 +++++++++++
.../patches/nvidia-tegra-bpmp.patch | 13 ++++++
srcpkgs/nvidia-open-dkms/template | 36 ++++++++++++++++
5 files changed, 142 insertions(+)
create mode 100644 srcpkgs/nvidia-open-dkms/files/dkms.conf
create mode 100644 srcpkgs/nvidia-open-dkms/patches/0001-Enable-atomic-kernel-modesetting-by-default.patch
create mode 100644 srcpkgs/nvidia-open-dkms/patches/0003-Add-IBT-support.patch
create mode 100644 srcpkgs/nvidia-open-dkms/patches/nvidia-tegra-bpmp.patch
create mode 100644 srcpkgs/nvidia-open-dkms/template
diff --git a/srcpkgs/nvidia-open-dkms/files/dkms.conf b/srcpkgs/nvidia-open-dkms/files/dkms.conf
new file mode 100644
index 00000000000000..15c2e6503376ec
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/files/dkms.conf
@@ -0,0 +1,26 @@
+PACKAGE_NAME="nvidia"
+PACKAGE_VERSION="__PKGVER"
+AUTOINSTALL="yes"
+
+# By default, DKMS will add KERNELRELEASE to the make command line; however,
+# this will cause the kernel module build to infer that it was invoked via
+# Kbuild directly instead of DKMS. The dkms(8) manual page recommends quoting
+# the 'make' command name to suppress this behavior.
+MAKE[0]="'make' -j$(nproc) NV_EXCLUDE_BUILD_MODULES='' KERNEL_UNAME=${kernelver} modules"
+
+# The list of kernel modules will be generated by nvidia-installer at runtime.
+BUILT_MODULE_NAME[0]="nvidia"
+BUILT_MODULE_LOCATION[0]="kernel-open"
+DEST_MODULE_LOCATION[0]="/kernel/drivers/video"
+BUILT_MODULE_NAME[1]="nvidia-uvm"
+BUILT_MODULE_LOCATION[1]="kernel-open"
+DEST_MODULE_LOCATION[1]="/kernel/drivers/video"
+BUILT_MODULE_NAME[2]="nvidia-modeset"
+BUILT_MODULE_LOCATION[2]="kernel-open"
+DEST_MODULE_LOCATION[2]="/kernel/drivers/video"
+BUILT_MODULE_NAME[3]="nvidia-drm"
+BUILT_MODULE_LOCATION[3]="kernel-open"
+DEST_MODULE_LOCATION[3]="/kernel/drivers/video"
+BUILT_MODULE_NAME[4]="nvidia-peermem"
+BUILT_MODULE_LOCATION[4]="kernel-open"
+DEST_MODULE_LOCATION[4]="/kernel/drivers/video"
diff --git a/srcpkgs/nvidia-open-dkms/patches/0001-Enable-atomic-kernel-modesetting-by-default.patch b/srcpkgs/nvidia-open-dkms/patches/0001-Enable-atomic-kernel-modesetting-by-default.patch
new file mode 100644
index 00000000000000..0548693a56cb6e
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/patches/0001-Enable-atomic-kernel-modesetting-by-default.patch
@@ -0,0 +1,42 @@
+From 69769b8ebaaeca84a5188330f80c460dcc0fa747 Mon Sep 17 00:00:00 2001
+From: Eric Naim <dnaim@cachyos.org>
+Date: Fri, 24 Jan 2025 19:34:24 +0700
+Subject: [PATCH] Enable atomic kernel modesetting by default
+
+This is required for proper functionality under Wayland. fbdev has been default enabled since 570 so that
+hunk can be removed from this patch.
+
+Signed-off-by: Eric Naim <dnaim@cachyos.org>
+---
+ nvidia-drm/nvidia-drm-linux.c | 2 +-
+ nvidia-drm/nvidia-drm-os-interface.c | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/nvidia-drm/nvidia-drm-linux.c b/nvidia-drm/nvidia-drm-linux.c
+index 0007cbf..bd0b9eb 100644
+--- a/kernel-open/nvidia-drm/nvidia-drm-linux.c
++++ b/kernel-open/nvidia-drm/nvidia-drm-linux.c
+@@ -31,7 +31,7 @@
+
+ MODULE_PARM_DESC(
+ modeset,
+- "Enable atomic kernel modesetting (1 = enable, 0 = disable (default))");
++ "Enable atomic kernel modesetting (1 = enable (default), 0 = disable)");
+ module_param_named(modeset, nv_drm_modeset_module_param, bool, 0400);
+
+ #if defined(NV_DRM_FBDEV_AVAILABLE)
+diff --git a/nvidia-drm/nvidia-drm-os-interface.c b/nvidia-drm/nvidia-drm-os-interface.c
+index 7617476..f22afd7 100644
+--- a/kernel-open/nvidia-drm/nvidia-drm-os-interface.c
++++ b/kernel-open/nvidia-drm/nvidia-drm-os-interface.c
+@@ -41,7 +41,7 @@
+ #include <drm/drmP.h>
+ #endif
+
+-bool nv_drm_modeset_module_param = false;
++bool nv_drm_modeset_module_param = true;
+ bool nv_drm_fbdev_module_param = true;
+
+ void *nv_drm_calloc(size_t nmemb, size_t size)
+--
+2.48.1
diff --git a/srcpkgs/nvidia-open-dkms/patches/0003-Add-IBT-support.patch b/srcpkgs/nvidia-open-dkms/patches/0003-Add-IBT-support.patch
new file mode 100644
index 00000000000000..caad6d70099faa
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/patches/0003-Add-IBT-support.patch
@@ -0,0 +1,25 @@
+From 1484c9ee0a60468dfd88954011fae0e28c0f73de Mon Sep 17 00:00:00 2001
+From: Peter Jung <admin@ptr1337.dev>
+Date: Fri, 18 Oct 2024 22:40:58 +0200
+Subject: [PATCH 3/6] Add IBT support
+
+Signed-off-by: Peter Jung <admin@ptr1337.dev>
+---
+ src/nvidia-modeset/Makefile | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/nvidia-modeset/Makefile b/src/nvidia-modeset/Makefile
+index 2b96f3fa..ed934014 100644
+--- a/src/nvidia-modeset/Makefile
++++ b/src/nvidia-modeset/Makefile
+@@ -151,6 +151,7 @@ ifeq ($(TARGET_ARCH),x86_64)
+ CONDITIONAL_CFLAGS += $(call TEST_CC_ARG, -fno-jump-tables)
+ CONDITIONAL_CFLAGS += $(call TEST_CC_ARG, -mindirect-branch=thunk-extern)
+ CONDITIONAL_CFLAGS += $(call TEST_CC_ARG, -mindirect-branch-register)
++ CONDITIONAL_CFLAGS += $(call TEST_CC_ARG, -mharden-sls=all)
+ endif
+
+ CFLAGS += $(CONDITIONAL_CFLAGS)
+--
+2.47.0
+
diff --git a/srcpkgs/nvidia-open-dkms/patches/nvidia-tegra-bpmp.patch b/srcpkgs/nvidia-open-dkms/patches/nvidia-tegra-bpmp.patch
new file mode 100644
index 00000000000000..75f016e9807fe6
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/patches/nvidia-tegra-bpmp.patch
@@ -0,0 +1,13 @@
+--- a/kernel-open/nvidia/nv-clk.c
++++ b/kernel-open/nvidia/nv-clk.c
+@@ -27,8 +27,10 @@
+ #include "nv-linux.h"
+ #include "nv-platform.h"
+
++#if IS_ENABLED(CONFIG_TEGRA_BPMP)
+ #include <soc/tegra/bpmp-abi.h>
+ #include <soc/tegra/bpmp.h>
++#endif // IS_ENABLED(CONFIG_TEGRA_BPMP)
+
+ // Use the CCF APIs if enabled in Kernel config and RM build
+ // has Dual license define enabled.
diff --git a/srcpkgs/nvidia-open-dkms/template b/srcpkgs/nvidia-open-dkms/template
new file mode 100644
index 00000000000000..86a5b9c1c4c7b2
--- /dev/null
+++ b/srcpkgs/nvidia-open-dkms/template
@@ -0,0 +1,36 @@
+# Template file for 'nvidia-open-dkms'
+pkgname=nvidia-open-dkms
+version=580.126.18
+revision=2
+archs="x86_64"
+depends="dkms nvidia xz"
+short_desc="NVIDIA drivers for linux - open DKMS kernel module"
+maintainer="JkktBkkt <apkabikov@gmail.com>"
+license="GPL-2.0-only, MIT"
+homepage="https://github.com/NVIDIA/open-gpu-kernel-modules"
+distfiles="https://download.nvidia.com/XFree86/NVIDIA-kernel-module-source/NVIDIA-kernel-module-source-${version}.tar.xz"
+checksum=4f2b776d75707d6b4770bab4b0a7aba95355fe833bc4cee54100c29839b53e6e
+replaces="nvidia-dkms>=0"
+conflicts="nvidia390-dkms>=0 nvidia470-dkms>=0"
+dkms_modules="nvidia-open-dkms ${version}"
+triggers="dkms initramfs-regenerate"
+provides="nvidia-dkms-${version}_${revision}"
+
+do_install() {
+ vmkdir usr/src/nvidia-open-dkms-${version}
+ vcopy "*" usr/src/nvidia-open-dkms-${version}
+ cp ${FILESDIR}/dkms.conf ${DESTDIR}/usr/src/nvidia-open-dkms-${version}/dkms.conf
+ vsed -e "s/__PKGVER/${version}/" -i ${DESTDIR}/usr/src/nvidia-open-dkms-${version}/dkms.conf
+
+ # Blacklist nouveau
+ vmkdir usr/lib/modprobe.d
+ cat <<- END > ${DESTDIR}/usr/lib/modprobe.d/nvidia.conf
+ blacklist nouveau
+ blacklist nova_core
+ blacklist nova_drm
+ END
+ chmod 644 ${DESTDIR}/usr/lib/modprobe.d/nvidia.conf
+
+ vdoc README.md
+ vlicense COPYING
+}
^ permalink raw reply related [flat|nested] 115+ messages in thread
* Re: New package: nvidia-open-dkms-580.126.18
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (110 preceding siblings ...)
2026-02-27 14:53 ` [PR PATCH] [Updated] " JkktBkkt
@ 2026-02-27 15:01 ` JkktBkkt
2026-03-03 15:18 ` lun-4
2026-03-07 8:19 ` wsuyash
113 siblings, 0 replies; 115+ messages in thread
From: JkktBkkt @ 2026-02-27 15:01 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 308 bytes --]
New comment by JkktBkkt on void-packages repository
https://github.com/void-linux/void-packages/pull/54593#issuecomment-3973371036
Comment:
rev2 so that xbps doesn't try to replace `nvidia-open-dkms` with `nvidia-dkms` due to forced `nvidia` rebuild
inevitably fails lint check, but that's to be expected
^ permalink raw reply [flat|nested] 115+ messages in thread
* Re: New package: nvidia-open-dkms-580.126.18
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (111 preceding siblings ...)
2026-02-27 15:01 ` JkktBkkt
@ 2026-03-03 15:18 ` lun-4
2026-03-07 8:19 ` wsuyash
113 siblings, 0 replies; 115+ messages in thread
From: lun-4 @ 2026-03-03 15:18 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 411 bytes --]
New comment by lun-4 on void-packages repository
https://github.com/void-linux/void-packages/pull/54593#issuecomment-3991748503
Comment:
tested `linux-6.12.74_1` + `nvidia-open-dkms-580.126.18_2` (latest revision here) + X11 + RTX3060 with a VR workload (WiVRn + VRChat on Proton, so a large amount of weird shaders and heavily using NVENC+h264 to stream frames to the headset). everything seems stable to me
^ permalink raw reply [flat|nested] 115+ messages in thread
* Re: New package: nvidia-open-dkms-580.126.18
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
` (112 preceding siblings ...)
2026-03-03 15:18 ` lun-4
@ 2026-03-07 8:19 ` wsuyash
113 siblings, 0 replies; 115+ messages in thread
From: wsuyash @ 2026-03-07 8:19 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 154 bytes --]
New comment by wsuyash on void-packages repository
https://github.com/void-linux/void-packages/pull/54593#issuecomment-4015939181
Comment:
any updates?
^ permalink raw reply [flat|nested] 115+ messages in thread
end of thread, other threads:[~2026-03-07 8:19 UTC | newest]
Thread overview: 115+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-05 22:49 [PR PATCH] New package: nvidia-open-dkms-570.124.04 JkktBkkt
2025-03-06 8:46 ` [PR PATCH] [Updated] " JkktBkkt
2025-03-06 10:24 ` JkktBkkt
2025-03-06 10:25 ` JkktBkkt
2025-03-06 19:46 ` JkktBkkt
2025-03-11 8:59 ` JkktBkkt
2025-03-11 14:18 ` JkktBkkt
2025-03-11 14:19 ` JkktBkkt
2025-03-22 23:29 ` [PR PATCH] [Updated] " JkktBkkt
2025-03-24 23:10 ` New package: nvidia-open-dkms-570.133.07 fvalasiad
2025-03-25 6:44 ` JkktBkkt
2025-03-25 10:20 ` fvalasiad
2025-03-26 10:30 ` JkktBkkt
2025-03-26 10:30 ` JkktBkkt
2025-04-23 12:47 ` JkktBkkt
2025-04-23 12:59 ` fvalasiad
2025-04-28 2:54 ` [PR PATCH] [Closed]: " JkktBkkt
2025-04-28 3:22 ` JkktBkkt
2025-04-28 3:22 ` [PR PATCH] [Updated] " JkktBkkt
2025-04-28 3:39 ` New package: nvidia-open-dkms-570.144 JkktBkkt
2025-05-08 8:37 ` kartikynwa
2025-05-08 8:42 ` kartikynwa
2025-05-09 18:13 ` Tyfuzzle
2025-05-09 19:07 ` JkktBkkt
2025-05-09 19:15 ` fvalasiad
2025-05-21 18:56 ` Tyfuzzle
2025-05-28 22:19 ` [PR PATCH] [Updated] " JkktBkkt
2025-05-28 22:21 ` JkktBkkt
2025-06-23 12:38 ` [PR PATCH] [Updated] " JkktBkkt
2025-07-20 22:13 ` New package: nvidia-open-dkms-570.169 vikigenius
2025-07-20 22:16 ` vikigenius
2025-07-20 22:34 ` Tyfuzzle
2025-07-21 1:34 ` vikigenius
2025-07-21 1:34 ` vikigenius
2025-07-21 9:32 ` JkktBkkt
2025-08-05 17:10 ` vikigenius
2025-08-05 17:14 ` vikigenius
2025-08-13 12:22 ` [PR PATCH] [Updated] " JkktBkkt
2025-08-13 12:34 ` JkktBkkt
2025-08-14 21:48 ` Tyfuzzle
2025-08-14 21:52 ` Tyfuzzle
2025-08-14 23:02 ` New package: nvidia-open-dkms-570.181 Tyfuzzle
2025-08-14 23:22 ` JkktBkkt
2025-09-12 14:50 ` [PR PATCH] [Updated] " JkktBkkt
2025-09-12 14:50 ` JkktBkkt
2025-09-16 3:21 ` New package: nvidia-open-dkms-580.82.09 vikigenius
2025-09-16 6:38 ` [PR PATCH] [Updated] " JkktBkkt
2025-09-16 6:39 ` JkktBkkt
2025-10-14 21:40 ` [PR PATCH] [Updated] " JkktBkkt
2025-10-16 14:03 ` New package: nvidia-open-dkms-580.95.05 abenson
2025-10-17 10:05 ` JkktBkkt
2025-10-17 10:07 ` [PR PATCH] [Updated] " JkktBkkt
2025-10-17 10:09 ` JkktBkkt
2025-10-17 10:11 ` JkktBkkt
2025-10-17 10:20 ` [PR PATCH] [Updated] " JkktBkkt
2025-10-17 10:31 ` JkktBkkt
2025-10-17 10:57 ` JkktBkkt
2025-10-17 10:57 ` JkktBkkt
2025-10-17 10:58 ` JkktBkkt
2025-10-17 11:11 ` JkktBkkt
2025-10-17 11:12 ` [PR PATCH] [Updated] " JkktBkkt
2025-10-17 13:33 ` abenson
2025-10-17 14:50 ` [PR PATCH] [Updated] " JkktBkkt
2025-10-17 14:53 ` [PR REVIEW] " classabbyamp
2025-10-17 14:54 ` JkktBkkt
2025-10-17 15:37 ` [PR PATCH] [Updated] " JkktBkkt
2025-10-17 15:41 ` [PR REVIEW] " JkktBkkt
2025-10-17 15:49 ` JkktBkkt
2025-10-17 16:57 ` vikigenius
2025-10-17 17:17 ` abenson
2025-10-18 0:28 ` fvalasiad
2025-10-19 8:04 ` JkktBkkt
2025-10-19 8:06 ` JkktBkkt
2025-10-19 14:28 ` vikigenius
2025-10-20 13:59 ` abenson
2025-10-20 14:37 ` fvalasiad
2025-10-20 14:49 ` fvalasiad
2025-11-05 23:06 ` abenson
2025-11-06 1:49 ` JkktBkkt
2025-11-06 1:53 ` JkktBkkt
2025-11-06 4:22 ` abenson
2025-11-07 6:36 ` [PR PATCH] [Updated] " JkktBkkt
2025-11-07 6:40 ` JkktBkkt
2025-11-09 23:48 ` New package: nvidia-open-dkms-580.105.08 save-buffer
2025-11-09 23:51 ` save-buffer
2025-11-10 4:25 ` [PR PATCH] [Updated] " JkktBkkt
2025-11-10 4:25 ` JkktBkkt
2025-11-10 4:26 ` JkktBkkt
2025-11-10 4:26 ` JkktBkkt
2025-12-20 21:15 ` [PR PATCH] [Updated] " JkktBkkt
2025-12-20 21:20 ` JkktBkkt
2026-01-11 8:24 ` [PR PATCH] [Updated] New package: nvidia-open-dkms-580.119.02 JkktBkkt
2026-01-12 11:21 ` revington
2026-01-12 13:35 ` JkktBkkt
2026-01-12 17:02 ` revington
2026-01-13 17:22 ` JkktBkkt
2026-01-13 19:13 ` JkktBkkt
2026-01-13 19:19 ` JkktBkkt
2026-01-14 1:16 ` xlae13
2026-01-14 1:17 ` xlae13
2026-01-21 13:24 ` revington
2026-01-25 17:47 ` [PR PATCH] [Updated] " JkktBkkt
2026-01-25 20:44 ` [PR PATCH] [Updated] New package: nvidia-open-dkms-580.126.09 JkktBkkt
2026-01-25 20:45 ` JkktBkkt
2026-02-22 18:43 ` xlae13
2026-02-22 18:43 ` xlae13
2026-02-24 0:52 ` halfbit0
2026-02-24 13:28 ` abenson
2026-02-24 13:31 ` abenson
2026-02-26 3:39 ` [PR PATCH] [Updated] " JkktBkkt
2026-02-27 14:53 ` New package: nvidia-open-dkms-580.126.18 JkktBkkt
2026-02-27 14:53 ` [PR PATCH] [Updated] " JkktBkkt
2026-02-27 15:01 ` JkktBkkt
2026-03-03 15:18 ` lun-4
2026-03-07 8:19 ` wsuyash
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).