commit:     495ad9055c654e54b8375c1ce37920e449a94ced
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Tue Feb  4 13:50:48 2025 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Tue Feb  4 14:00:16 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=495ad905

x11-drivers/nvidia-drivers: update readme/metadata for blackwell

Several reports on NVIDIA's forums (and some old news posts) point
to requiring the open variant for blackwell, not that it's something
I've verified myself.

In the future may possibly try to implement a postinst check to verify
if usage of USE=kernel-open is correct. Currently the .json file has
a 'kernelopen" to know if it's usable but does not say whether it's
required or not for blackwell at the moment.

May also need to consider making USE=kernel-open default eventually,
albeit that could potentially wait until non-GSP cards are tossed in
a legacy branch then the new branch could be kernel-open-only.

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 x11-drivers/nvidia-drivers/metadata.xml                       | 3 ++-
 x11-drivers/nvidia-drivers/nvidia-drivers-570.86.16-r1.ebuild | 6 ++++++
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/x11-drivers/nvidia-drivers/metadata.xml 
b/x11-drivers/nvidia-drivers/metadata.xml
index 86a8f688e863..a9c2b719b3b7 100644
--- a/x11-drivers/nvidia-drivers/metadata.xml
+++ b/x11-drivers/nvidia-drivers/metadata.xml
@@ -13,7 +13,8 @@
                <flag name="kernel-open">
                        Use the open source variant of the drivers
                        (Turing/Ampere+ GPUs only, aka GTX 1650+ --
-                       recommended with >=560.xx drivers if usable)
+                       recommended with >=560.xx drivers if usable and
+                       it may be required for 50xx Blackwell+ GPUs)
                </flag>
                <flag name="persistenced">Install the persistence daemon for 
keeping devices state when unused (e.g. for headless)</flag>
                <flag name="powerd">Install the NVIDIA dynamic boost support 
daemon (only useful with specific laptops, ignore if unsure)</flag>

diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-570.86.16-r1.ebuild 
b/x11-drivers/nvidia-drivers/nvidia-drivers-570.86.16-r1.ebuild
index 7c35e53a4a89..0db7b26a4410 100644
--- a/x11-drivers/nvidia-drivers/nvidia-drivers-570.86.16-r1.ebuild
+++ b/x11-drivers/nvidia-drivers/nvidia-drivers-570.86.16-r1.ebuild
@@ -327,6 +327,12 @@ $(use amd64 && usev !abi_x86_32 "
 Note that without USE=abi_x86_32 on ${PN}, 32bit applications
 (typically using wine / steam) will not be able to use GPU acceleration.")
 
+Be warned that USE=kernel-open may need to be either enabled or
+disabled for certain cards to function:
+- GTX 50xx (blackwell) and higher are known to require it to be enabled
+- GTX 1650 and higher (pre-blackwell) should work either way
+- Older cards require it to be disabled
+
 For additional information or for troubleshooting issues, please see
 https://wiki.gentoo.org/wiki/NVIDIA/nvidia-drivers and NVIDIA's own
 documentation that is installed alongside this README."

Reply via email to