summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2024-05-26 19:16:23 -0400
committerIonen Wolkens <ionen@gentoo.org>2024-05-26 19:38:20 -0400
commit9c5ada8fea9eba7035c7b4154b439a4d8ca8115b (patch)
treefebb25802b15128596f80cb8eee1548f25834e25
parentapp-containers/podman: Fix cross-compilation issues with gpgme (diff)
downloadgentoo-9c5ada8fea9eba7035c7b4154b439a4d8ca8115b.tar.gz
gentoo-9c5ada8fea9eba7035c7b4154b439a4d8ca8115b.tar.bz2
gentoo-9c5ada8fea9eba7035c7b4154b439a4d8ca8115b.zip
x11-drivers/nvidia-drivers: remove open experimental notice for 555+
Meant to wait until 560 which will use the open variant by default when detected cards are seen to support it (ebuild still need the USE given not doing automagic) but 555 is essentially a the pre-release branch for it and some users are confused by the experimental notices at this point even if dampened compared to how hard warned about it early on. Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
-rw-r--r--x11-drivers/nvidia-drivers/metadata.xml2
-rw-r--r--x11-drivers/nvidia-drivers/nvidia-drivers-555.42.02.ebuild7
2 files changed, 5 insertions, 4 deletions
diff --git a/x11-drivers/nvidia-drivers/metadata.xml b/x11-drivers/nvidia-drivers/metadata.xml
index 8a3bfb5d3a1b..b846a17d5174 100644
--- a/x11-drivers/nvidia-drivers/metadata.xml
+++ b/x11-drivers/nvidia-drivers/metadata.xml
@@ -10,7 +10,7 @@
<name>David Seifert</name>
</maintainer>
<use>
- <flag name="kernel-open">Use the open source variant of drivers (Turing/Ampere+ GPUs only, aka GTX 1650+, experimental)</flag>
+ <flag name="kernel-open">Use the open source variant of the drivers (Turing/Ampere+ GPUs only, aka GTX 1650+)</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>
<flag name="static-libs">Install the XNVCtrl static library for accessing sensors and other features</flag>
diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-555.42.02.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-555.42.02.ebuild
index a1b9da7e57b5..8e15c546f7d8 100644
--- a/x11-drivers/nvidia-drivers/nvidia-drivers-555.42.02.ebuild
+++ b/x11-drivers/nvidia-drivers/nvidia-drivers-555.42.02.ebuild
@@ -428,6 +428,7 @@ pkg_preinst() {
sed -i "s/@VIDEOGID@/${g}/" "${ED}"/etc/modprobe.d/nvidia.conf || die
# try to find driver mismatches using temporary supported-gpus.json
+ # TODO?: automatically check "kernelopen" bit for USE=kernel-open compat
for g in $(grep -l 0x10de /sys/bus/pci/devices/*/vendor 2>/dev/null); do
g=$(grep -io "\"devid\":\"$(<${g%vendor}device)\"[^}]*branch\":\"[0-9]*" \
"${ED}"/usr/share/nvidia/supported-gpus.json 2>/dev/null)
@@ -484,9 +485,9 @@ pkg_postinst() {
if use kernel-open && [[ ! -v NV_HAD_KERNEL_OPEN ]]; then
ewarn
- ewarn "Open source variant of ${PN} was selected, be warned it is experimental"
- ewarn "and only for modern GPUs (e.g. GTX 1650+). Try to disable if run into issues."
- ewarn "Please also see: ${EROOT}/usr/share/doc/${PF}/html/kernel_open.html"
+ ewarn "Open source variant of ${PN} was selected, note that it requires"
+ ewarn "Turing/Ampere+ GPUs (aka GTX 1650+). Try disabling if run into issues."
+ ewarn "Also see: ${EROOT}/usr/share/doc/${PF}/html/kernel_open.html"
fi
if use wayland && use modules && [[ ! -v NV_HAD_WAYLAND ]]; then