From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 922F3158086 for ; Tue, 28 Dec 2021 11:55:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E9C902BC002; Tue, 28 Dec 2021 11:55:18 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 100212BC002 for ; Tue, 28 Dec 2021 11:55:16 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B3672342C8D for ; Tue, 28 Dec 2021 11:55:11 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0A671238 for ; Tue, 28 Dec 2021 11:55:10 +0000 (UTC) From: "Ionen Wolkens" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ionen Wolkens" Message-ID: <1640692408.4b78f04f21cbfcc3ac3a890dc8955c779c227bd2.ionen@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-drivers/nvidia-drivers/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-drivers/nvidia-drivers/nvidia-drivers-390.144-r1.ebuild x11-drivers/nvidia-drivers/nvidia-drivers-390.147.ebuild x11-drivers/nvidia-drivers/nvidia-drivers-460.91.03-r1.ebuild x11-drivers/nvidia-drivers/nvidia-drivers-470.62.16.ebuild x11-drivers/nvidia-drivers/nvidia-drivers-470.86-r2.ebuild x11-drivers/nvidia-drivers/nvidia-drivers-470.94.ebuild x11-drivers/nvidia-drivers/nvidia-drivers-495.44-r2.ebuild x11-drivers/nvidia-drivers/nvidia-drivers-495.46-r10.ebuild x11-drivers/nvidia-drivers/nvidia-drivers-495.46-r20.ebuild x11-drivers/nvidia-drivers/nvidia-drivers-495.46.ebuild X-VCS-Directories: x11-drivers/nvidia-drivers/ X-VCS-Committer: ionen X-VCS-Committer-Name: Ionen Wolkens X-VCS-Revision: 4b78f04f21cbfcc3ac3a890dc8955c779c227bd2 X-VCS-Branch: master Date: Tue, 28 Dec 2021 11:55:10 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 6e5d26d5-2bdd-49ba-82ee-c08af2f26b9f X-Archives-Hash: 6ea8efc8533601e2858360cf18698953 commit: 4b78f04f21cbfcc3ac3a890dc8955c779c227bd2 Author: Ionen Wolkens gentoo org> AuthorDate: Tue Dec 28 11:24:53 2021 +0000 Commit: Ionen Wolkens gentoo org> CommitDate: Tue Dec 28 11:53:28 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b78f04f x11-drivers/nvidia-drivers: remove coolbits postinst warning This is not solved and still happening with 495.46 (doesn't seem like anything can reasonably do about it from a packaging end, and NVIDIA hasn't done anything), but the postinst message itself wasn't shown unless updating 6+ months old nvidia-drivers with coolbits in xorg.conf and is now mostly unused cruft. If this is going to be a permanent state of affair, may be better documented elsewhere and bug closed as an upstream issue (albeit keeping open a bit longer for tracking). Bug: https://bugs.gentoo.org/784248 Signed-off-by: Ionen Wolkens gentoo.org> .../nvidia-drivers/nvidia-drivers-390.144-r1.ebuild | 16 ---------------- x11-drivers/nvidia-drivers/nvidia-drivers-390.147.ebuild | 16 ---------------- .../nvidia-drivers/nvidia-drivers-460.91.03-r1.ebuild | 16 ---------------- .../nvidia-drivers/nvidia-drivers-470.62.16.ebuild | 16 ---------------- .../nvidia-drivers/nvidia-drivers-470.86-r2.ebuild | 16 ---------------- x11-drivers/nvidia-drivers/nvidia-drivers-470.94.ebuild | 16 ---------------- .../nvidia-drivers/nvidia-drivers-495.44-r2.ebuild | 16 ---------------- .../nvidia-drivers/nvidia-drivers-495.46-r10.ebuild | 16 ---------------- .../nvidia-drivers/nvidia-drivers-495.46-r20.ebuild | 16 ---------------- x11-drivers/nvidia-drivers/nvidia-drivers-495.46.ebuild | 16 ---------------- 10 files changed, 160 deletions(-) diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-390.144-r1.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-390.144-r1.ebuild index 1004d1b629b8..2818b9a31cbd 100644 --- a/x11-drivers/nvidia-drivers/nvidia-drivers-390.144-r1.ebuild +++ b/x11-drivers/nvidia-drivers/nvidia-drivers-390.144-r1.ebuild @@ -402,20 +402,4 @@ pkg_postinst() { elog "Support for EGLStream (egl-wayland) is no longer offered with legacy" elog "nvidia-drivers. It is recommended to use nouveau drivers for wayland." fi - - # Try to show this message only to users that may really need it - # given the workaround is discouraged and usage isn't widespread. - if use X && [[ ${REPLACING_VERSIONS} ]] && - ver_test ${REPLACING_VERSIONS} -lt 390.143 && - grep -qr Coolbits "${EROOT}"/etc/X11/{xorg.conf,xorg.conf.d/*.conf} 2>/dev/null; then - elog - elog "Coolbits support with ${PN} has been restricted to require Xorg" - elog "with root privilege by NVIDIA (being in video group is not sufficient)." - elog "e.g. attempting to change fan speed with nvidia-settings would fail." - elog - elog "Depending on your display manager (e.g. sddm starts X as root, gdm doesn't)" - elog "or if using startx, it may be necessary to emerge x11-base/xorg-server with" - elog 'USE="suid -elogind -systemd" if wish to keep using this feature.' - elog "Bug: https://bugs.gentoo.org/784248" - fi } diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-390.147.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-390.147.ebuild index 14c8a94612ac..e2113aa452bb 100644 --- a/x11-drivers/nvidia-drivers/nvidia-drivers-390.147.ebuild +++ b/x11-drivers/nvidia-drivers/nvidia-drivers-390.147.ebuild @@ -407,20 +407,4 @@ pkg_postinst() { elog "use nvidia-drivers for acceleration without it (e.g. commonly used" elog "with app-emulation/wine-* or steam). Re-enable if needed." fi - - # Try to show this message only to users that may really need it - # given the workaround is discouraged and usage isn't widespread. - if use X && [[ ${REPLACING_VERSIONS} ]] && - ver_test ${REPLACING_VERSIONS} -lt 390.143 && - grep -qr Coolbits "${EROOT}"/etc/X11/{xorg.conf,xorg.conf.d/*.conf} 2>/dev/null; then - elog - elog "Coolbits support with ${PN} has been restricted to require Xorg" - elog "with root privilege by NVIDIA (being in video group is not sufficient)." - elog "e.g. attempting to change fan speed with nvidia-settings would fail." - elog - elog "Depending on your display manager (e.g. sddm starts X as root, gdm doesn't)" - elog "or if using startx, it may be necessary to emerge x11-base/xorg-server with" - elog 'USE="suid -elogind -systemd" if wish to keep using this feature.' - elog "Bug: https://bugs.gentoo.org/784248" - fi } diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-460.91.03-r1.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-460.91.03-r1.ebuild index 416d84b7d48a..9fff7447aca1 100644 --- a/x11-drivers/nvidia-drivers/nvidia-drivers-460.91.03-r1.ebuild +++ b/x11-drivers/nvidia-drivers/nvidia-drivers-460.91.03-r1.ebuild @@ -417,20 +417,4 @@ pkg_postinst() { elog "use nvidia-drivers for acceleration without it (e.g. commonly used" elog "with app-emulation/wine-*). Re-enable if needed." fi - - # Try to show this message only to users that may really need it - # given the workaround is discouraged and usage isn't widespread. - if use X && [[ ${REPLACING_VERSIONS} ]] && - ver_test ${REPLACING_VERSIONS} -lt 460.73.01 && - grep -qr Coolbits "${EROOT}"/etc/X11/{xorg.conf,xorg.conf.d/*.conf} 2>/dev/null; then - elog - elog "Coolbits support with ${PN} has been restricted to require Xorg" - elog "with root privilege by NVIDIA (being in video group is not sufficient)." - elog "e.g. attempting to change fan speed with nvidia-settings would fail." - elog - elog "Depending on your display manager (e.g. sddm starts X as root, gdm doesn't)" - elog "or if using startx, it may be necessary to emerge x11-base/xorg-server with" - elog 'USE="suid -elogind -systemd" if wish to keep using this feature.' - elog "Bug: https://bugs.gentoo.org/784248" - fi } diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-470.62.16.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-470.62.16.ebuild index 3d69f2220850..fd2f86147ae7 100644 --- a/x11-drivers/nvidia-drivers/nvidia-drivers-470.62.16.ebuild +++ b/x11-drivers/nvidia-drivers/nvidia-drivers-470.62.16.ebuild @@ -430,20 +430,4 @@ pkg_postinst() { elog "This version of ${PN} only supports EGLStream which is only" elog "supported by a few wayland compositors (e.g. kwin / mutter, not sway)." fi - - # Try to show this message only to users that may really need it - # given the workaround is discouraged and usage isn't widespread. - if use X && [[ ${REPLACING_VERSIONS} ]] && - ver_test ${REPLACING_VERSIONS} -lt 460.73.01 && - grep -qr Coolbits "${EROOT}"/etc/X11/{xorg.conf,xorg.conf.d/*.conf} 2>/dev/null; then - elog - elog "Coolbits support with ${PN} has been restricted to require Xorg" - elog "with root privilege by NVIDIA (being in video group is not sufficient)." - elog "e.g. attempting to change fan speed with nvidia-settings would fail." - elog - elog "Depending on your display manager (e.g. sddm starts X as root, gdm doesn't)" - elog "or if using startx, it may be necessary to emerge x11-base/xorg-server with" - elog 'USE="suid -elogind -systemd" if wish to keep using this feature.' - elog "Bug: https://bugs.gentoo.org/784248" - fi } diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-470.86-r2.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-470.86-r2.ebuild index 6fc46d5276eb..4b35afdaa2c5 100644 --- a/x11-drivers/nvidia-drivers/nvidia-drivers-470.86-r2.ebuild +++ b/x11-drivers/nvidia-drivers/nvidia-drivers-470.86-r2.ebuild @@ -463,20 +463,4 @@ pkg_postinst() { elog "If you experience issues, please comment out the option from nvidia.conf." elog "Of note, may possibly cause issues with SLI and Reverse PRIME." fi - - # Try to show this message only to users that may really need it - # given the workaround is discouraged and usage isn't widespread. - if use X && [[ ${REPLACING_VERSIONS} ]] && - ver_test ${REPLACING_VERSIONS} -lt 460.73.01 && - grep -qr Coolbits "${EROOT}"/etc/X11/{xorg.conf,xorg.conf.d/*.conf} 2>/dev/null; then - elog - elog "Coolbits support with ${PN} has been restricted to require Xorg" - elog "with root privilege by NVIDIA (being in video group is not sufficient)." - elog "e.g. attempting to change fan speed with nvidia-settings would fail." - elog - elog "Depending on your display manager (e.g. sddm starts X as root, gdm doesn't)" - elog "or if using startx, it may be necessary to emerge x11-base/xorg-server with" - elog 'USE="suid -elogind -systemd" if wish to keep using this feature.' - elog "Bug: https://bugs.gentoo.org/784248" - fi } diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-470.94.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-470.94.ebuild index c0b8c31abf93..8b978b4e3911 100644 --- a/x11-drivers/nvidia-drivers/nvidia-drivers-470.94.ebuild +++ b/x11-drivers/nvidia-drivers/nvidia-drivers-470.94.ebuild @@ -430,20 +430,4 @@ pkg_postinst() { elog "This version of ${PN} only supports EGLStream which is only" elog "supported by a few wayland compositors (e.g. kwin / mutter, not sway)." fi - - # Try to show this message only to users that may really need it - # given the workaround is discouraged and usage isn't widespread. - if use X && [[ ${REPLACING_VERSIONS} ]] && - ver_test ${REPLACING_VERSIONS} -lt 460.73.01 && - grep -qr Coolbits "${EROOT}"/etc/X11/{xorg.conf,xorg.conf.d/*.conf} 2>/dev/null; then - elog - elog "Coolbits support with ${PN} has been restricted to require Xorg" - elog "with root privilege by NVIDIA (being in video group is not sufficient)." - elog "e.g. attempting to change fan speed with nvidia-settings would fail." - elog - elog "Depending on your display manager (e.g. sddm starts X as root, gdm doesn't)" - elog "or if using startx, it may be necessary to emerge x11-base/xorg-server with" - elog 'USE="suid -elogind -systemd" if wish to keep using this feature.' - elog "Bug: https://bugs.gentoo.org/784248" - fi } diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-495.44-r2.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-495.44-r2.ebuild index 45f7181d5c6c..cb68478d1349 100644 --- a/x11-drivers/nvidia-drivers/nvidia-drivers-495.44-r2.ebuild +++ b/x11-drivers/nvidia-drivers/nvidia-drivers-495.44-r2.ebuild @@ -487,22 +487,6 @@ pkg_postinst() { elog "Of note, may possibly cause issues with SLI and Reverse PRIME." fi - # Try to show this message only to users that may really need it - # given the workaround is discouraged and usage isn't widespread. - if use X && [[ ${REPLACING_VERSIONS} ]] && - ver_test ${REPLACING_VERSIONS} -lt 460.73.01 && - grep -qr Coolbits "${EROOT}"/etc/X11/{xorg.conf,xorg.conf.d/*.conf} 2>/dev/null; then - elog - elog "Coolbits support with ${PN} has been restricted to require Xorg" - elog "with root privilege by NVIDIA (being in video group is not sufficient)." - elog "e.g. attempting to change fan speed with nvidia-settings would fail." - elog - elog "Depending on your display manager (e.g. sddm starts X as root, gdm doesn't)" - elog "or if using startx, it may be necessary to emerge x11-base/xorg-server with" - elog 'USE="suid -elogind -systemd" if wish to keep using this feature.' - elog "Bug: https://bugs.gentoo.org/784248" - fi - ewarn ewarn "This revision of ${PN} is applying a binary patch to prevent heavy" ewarn "dbus spamming while using OpenGL. If you experience issues, please try to" diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-495.46-r10.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-495.46-r10.ebuild index dd05555ba26e..02a6354ec0a0 100644 --- a/x11-drivers/nvidia-drivers/nvidia-drivers-495.46-r10.ebuild +++ b/x11-drivers/nvidia-drivers/nvidia-drivers-495.46-r10.ebuild @@ -443,22 +443,6 @@ pkg_postinst() { elog "Of note, may possibly cause issues with SLI and Reverse PRIME." fi - # Try to show this message only to users that may really need it - # given the workaround is discouraged and usage isn't widespread. - if use X && [[ ${REPLACING_VERSIONS} ]] && - ver_test ${REPLACING_VERSIONS} -lt 460.73.01 && - grep -qr Coolbits "${EROOT}"/etc/X11/{xorg.conf,xorg.conf.d/*.conf} 2>/dev/null; then - elog - elog "Coolbits support with ${PN} has been restricted to require Xorg" - elog "with root privilege by NVIDIA (being in video group is not sufficient)." - elog "e.g. attempting to change fan speed with nvidia-settings would fail." - elog - elog "Depending on your display manager (e.g. sddm starts X as root, gdm doesn't)" - elog "or if using startx, it may be necessary to emerge x11-base/xorg-server with" - elog 'USE="suid -elogind -systemd" if wish to keep using this feature.' - elog "Bug: https://bugs.gentoo.org/784248" - fi - ewarn ewarn "This revision of ${PN} is applying a binary patch to prevent heavy" ewarn "dbus spamming while using OpenGL. If you experience issues, please try to" diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-495.46-r20.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-495.46-r20.ebuild index 3e93e2f0a367..5506a22853f2 100644 --- a/x11-drivers/nvidia-drivers/nvidia-drivers-495.46-r20.ebuild +++ b/x11-drivers/nvidia-drivers/nvidia-drivers-495.46-r20.ebuild @@ -441,22 +441,6 @@ pkg_postinst() { elog "Of note, may possibly cause issues with SLI and Reverse PRIME." fi - # Try to show this message only to users that may really need it - # given the workaround is discouraged and usage isn't widespread. - if use X && [[ ${REPLACING_VERSIONS} ]] && - ver_test ${REPLACING_VERSIONS} -lt 460.73.01 && - grep -qr Coolbits "${EROOT}"/etc/X11/{xorg.conf,xorg.conf.d/*.conf} 2>/dev/null; then - elog - elog "Coolbits support with ${PN} has been restricted to require Xorg" - elog "with root privilege by NVIDIA (being in video group is not sufficient)." - elog "e.g. attempting to change fan speed with nvidia-settings would fail." - elog - elog "Depending on your display manager (e.g. sddm starts X as root, gdm doesn't)" - elog "or if using startx, it may be necessary to emerge x11-base/xorg-server with" - elog 'USE="suid -elogind -systemd" if wish to keep using this feature.' - elog "Bug: https://bugs.gentoo.org/784248" - fi - ewarn ewarn "This revision of ${PN} is applying a binary patch to prevent heavy" ewarn "dbus spamming while using OpenGL. If you experience issues, please try to" diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-495.46.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-495.46.ebuild index cf5827d21dcf..f1b40b9e892b 100644 --- a/x11-drivers/nvidia-drivers/nvidia-drivers-495.46.ebuild +++ b/x11-drivers/nvidia-drivers/nvidia-drivers-495.46.ebuild @@ -431,20 +431,4 @@ pkg_postinst() { elog "If you experience issues, either disable wayland or edit nvidia.conf." elog "Of note, may possibly cause issues with SLI and Reverse PRIME." fi - - # Try to show this message only to users that may really need it - # given the workaround is discouraged and usage isn't widespread. - if use X && [[ ${REPLACING_VERSIONS} ]] && - ver_test ${REPLACING_VERSIONS} -lt 460.73.01 && - grep -qr Coolbits "${EROOT}"/etc/X11/{xorg.conf,xorg.conf.d/*.conf} 2>/dev/null; then - elog - elog "Coolbits support with ${PN} has been restricted to require Xorg" - elog "with root privilege by NVIDIA (being in video group is not sufficient)." - elog "e.g. attempting to change fan speed with nvidia-settings would fail." - elog - elog "Depending on your display manager (e.g. sddm starts X as root, gdm doesn't)" - elog "or if using startx, it may be necessary to emerge x11-base/xorg-server with" - elog 'USE="suid -elogind -systemd" if wish to keep using this feature.' - elog "Bug: https://bugs.gentoo.org/784248" - fi }