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 72CDB15800A for ; Sun, 6 Aug 2023 04:32:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 21E112BC040; Sun, 6 Aug 2023 04:32:16 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 04A112BC040 for ; Sun, 6 Aug 2023 04:32: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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1DB2B340E65 for ; Sun, 6 Aug 2023 04:32:15 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 65C2CF30 for ; Sun, 6 Aug 2023 04:32:11 +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: <1691296065.8b1535336edc4a2aee3574611f665716588e6b31.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.157.ebuild x11-drivers/nvidia-drivers/nvidia-drivers-470.199.02.ebuild x11-drivers/nvidia-drivers/nvidia-drivers-525.125.06.ebuild x11-drivers/nvidia-drivers/nvidia-drivers-525.47.35.ebuild x11-drivers/nvidia-drivers/nvidia-drivers-535.86.05.ebuild X-VCS-Directories: x11-drivers/nvidia-drivers/ X-VCS-Committer: ionen X-VCS-Committer-Name: Ionen Wolkens X-VCS-Revision: 8b1535336edc4a2aee3574611f665716588e6b31 X-VCS-Branch: master Date: Sun, 6 Aug 2023 04:32:11 +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: 1f8fe810-61d6-4788-878b-c2bec41df7cf X-Archives-Hash: 8954bd3ee722eb5569526c22cac365ad commit: 8b1535336edc4a2aee3574611f665716588e6b31 Author: Ionen Wolkens gentoo org> AuthorDate: Sun Aug 6 02:20:31 2023 +0000 Commit: Ionen Wolkens gentoo org> CommitDate: Sun Aug 6 04:27:45 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b153533 x11-drivers/nvidia-drivers: adjust IBT warning again Hoping to be able to remove this from 535 branch at least, but I have no way to really confirm so leaving it there for now. Last time I removed this warning I just got someone on IRC with issues who wondered why the ebuild didn't warn about this but that was with an older version. This aside, do disable warning with USE=kernel-open, pretty sure that should always be fine. Having a bug open to track this should be useful anyhow. Bug: https://bugs.gentoo.org/911142 Signed-off-by: Ionen Wolkens gentoo.org> x11-drivers/nvidia-drivers/nvidia-drivers-390.157.ebuild | 7 +++++-- x11-drivers/nvidia-drivers/nvidia-drivers-470.199.02.ebuild | 8 +++++--- x11-drivers/nvidia-drivers/nvidia-drivers-525.125.06.ebuild | 10 ++++++---- x11-drivers/nvidia-drivers/nvidia-drivers-525.47.35.ebuild | 10 ++++++---- x11-drivers/nvidia-drivers/nvidia-drivers-535.86.05.ebuild | 10 ++++++---- 5 files changed, 28 insertions(+), 17 deletions(-) diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-390.157.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-390.157.ebuild index ef9ad02b96d9..41901b039ab5 100644 --- a/x11-drivers/nvidia-drivers/nvidia-drivers-390.157.ebuild +++ b/x11-drivers/nvidia-drivers/nvidia-drivers-390.157.ebuild @@ -93,14 +93,17 @@ pkg_setup() { ~!LOCKDEP ~!X86_KERNEL_IBT !DEBUG_MUTEXES" + local ERROR_DRM_KMS_HELPER="CONFIG_DRM_KMS_HELPER: is not set but needed for Xorg auto-detection of drivers (no custom config), and optional nvidia-drm.modeset=1. With 390.xx drivers, also used by a GLX workaround needed for OpenGL. Cannot be directly selected in the kernel's menuconfig, and may need selection of a DRM device even if unused, e.g. CONFIG_DRM_AMDGPU=m or DRM_I915=y, DRM_NOUVEAU=m also acceptable if a module and not built-in." - local ERROR_X86_KERNEL_IBT="CONFIG_X86_KERNEL_IBT: is set, be warned the modules may not load. - If run into problems, either unset or try to pass ibt=off to the kernel." + + local ERROR_X86_KERNEL_IBT="CONFIG_X86_KERNEL_IBT: is set, *if* modules fail to load with ENDBR + errors, then try to either unset or pass ibt=off to the kernel + (default if no CPU support). Ignore this otherwise." # bug 911142 kernel_is -ge 5 8 && CONFIG_CHECK+=" X86_PAT" #817764 diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-470.199.02.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-470.199.02.ebuild index 9236174320c5..176d15df8cfa 100644 --- a/x11-drivers/nvidia-drivers/nvidia-drivers-470.199.02.ebuild +++ b/x11-drivers/nvidia-drivers/nvidia-drivers-470.199.02.ebuild @@ -95,14 +95,16 @@ pkg_setup() { ~!SLUB_DEBUG_ON ~!X86_KERNEL_IBT !DEBUG_MUTEXES" + local ERROR_DRM_KMS_HELPER="CONFIG_DRM_KMS_HELPER: is not set but needed for Xorg auto-detection of drivers (no custom config), and for wayland / nvidia-drm.modeset=1. Cannot be directly selected in the kernel's menuconfig, and may need selection of a DRM device even if unused, e.g. CONFIG_DRM_AMDGPU=m or DRM_I915=y, DRM_NOUVEAU=m also acceptable if a module and not built-in." - local ERROR_X86_KERNEL_IBT="CONFIG_X86_KERNEL_IBT: is set, this should be fine and is supposed - to be fixed but, *if* modules fail to load, then try to either unset - or pass ibt=off to the kernel (ignore this message otherwise)" + + local ERROR_X86_KERNEL_IBT="CONFIG_X86_KERNEL_IBT: is set, should be fine but *if* modules + fail to load with ENDBR errors, then try to either unset or pass ibt=off + to the kernel (default if no CPU support). Ignore this otherwise." # bug 911142 use amd64 && kernel_is -ge 5 8 && CONFIG_CHECK+=" X86_PAT" #817764 diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-525.125.06.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-525.125.06.ebuild index 270d42f08bfc..b11185284175 100644 --- a/x11-drivers/nvidia-drivers/nvidia-drivers-525.125.06.ebuild +++ b/x11-drivers/nvidia-drivers/nvidia-drivers-525.125.06.ebuild @@ -97,16 +97,18 @@ pkg_setup() { ~SYSVIPC ~!LOCKDEP ~!SLUB_DEBUG_ON - ~!X86_KERNEL_IBT !DEBUG_MUTEXES" + local ERROR_DRM_KMS_HELPER="CONFIG_DRM_KMS_HELPER: is not set but needed for Xorg auto-detection of drivers (no custom config), and for wayland / nvidia-drm.modeset=1. Cannot be directly selected in the kernel's menuconfig, and may need selection of a DRM device even if unused, e.g. CONFIG_DRM_AMDGPU=m or DRM_I915=y, DRM_NOUVEAU=m also acceptable if a module and not built-in." - local ERROR_X86_KERNEL_IBT="CONFIG_X86_KERNEL_IBT: is set, this should be fine and is supposed - to be fixed but, *if* modules fail to load, then try to either unset - or pass ibt=off to the kernel (ignore this message otherwise)" + + local ERROR_X86_KERNEL_IBT="CONFIG_X86_KERNEL_IBT: is set, should be fine but *if* modules + fail to load with ENDBR errors, then try to either unset or pass ibt=off + to the kernel (default if no CPU support). Ignore this otherwise." # bug 911142 + use kernel-open || CONFIG_CHECK+=" ~!X86_KERNEL_IBT" use amd64 && kernel_is -ge 5 8 && CONFIG_CHECK+=" X86_PAT" #817764 diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-525.47.35.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-525.47.35.ebuild index 76ec64976572..8421427a0a25 100644 --- a/x11-drivers/nvidia-drivers/nvidia-drivers-525.47.35.ebuild +++ b/x11-drivers/nvidia-drivers/nvidia-drivers-525.47.35.ebuild @@ -98,16 +98,18 @@ pkg_setup() { ~SYSVIPC ~!LOCKDEP ~!SLUB_DEBUG_ON - ~!X86_KERNEL_IBT !DEBUG_MUTEXES" + local ERROR_DRM_KMS_HELPER="CONFIG_DRM_KMS_HELPER: is not set but needed for Xorg auto-detection of drivers (no custom config), and for wayland / nvidia-drm.modeset=1. Cannot be directly selected in the kernel's menuconfig, and may need selection of a DRM device even if unused, e.g. CONFIG_DRM_AMDGPU=m or DRM_I915=y, DRM_NOUVEAU=m also acceptable if a module and not built-in." - local ERROR_X86_KERNEL_IBT="CONFIG_X86_KERNEL_IBT: is set, this should be fine and is supposed - to be fixed but, *if* modules fail to load, then try to either unset - or pass ibt=off to the kernel (ignore this message otherwise)" + + local ERROR_X86_KERNEL_IBT="CONFIG_X86_KERNEL_IBT: is set, should be fine but *if* modules + fail to load with ENDBR errors, then try to either unset or pass ibt=off + to the kernel (default if no CPU support). Ignore this otherwise." # bug 911142 + use kernel-open || CONFIG_CHECK+=" ~!X86_KERNEL_IBT" use amd64 && kernel_is -ge 5 8 && CONFIG_CHECK+=" X86_PAT" #817764 diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-535.86.05.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-535.86.05.ebuild index 27398ab95124..a029fdff14f9 100644 --- a/x11-drivers/nvidia-drivers/nvidia-drivers-535.86.05.ebuild +++ b/x11-drivers/nvidia-drivers/nvidia-drivers-535.86.05.ebuild @@ -102,16 +102,18 @@ pkg_setup() { ~SYSVIPC ~!LOCKDEP ~!SLUB_DEBUG_ON - ~!X86_KERNEL_IBT !DEBUG_MUTEXES" + local ERROR_DRM_KMS_HELPER="CONFIG_DRM_KMS_HELPER: is not set but needed for Xorg auto-detection of drivers (no custom config), and for wayland / nvidia-drm.modeset=1. Cannot be directly selected in the kernel's menuconfig, and may need selection of a DRM device even if unused, e.g. CONFIG_DRM_AMDGPU=m or DRM_I915=y, DRM_NOUVEAU=m also acceptable if a module and not built-in." - local ERROR_X86_KERNEL_IBT="CONFIG_X86_KERNEL_IBT: is set, this should be fine and is supposed - to be fixed but, *if* modules fail to load, then try to either unset - or pass ibt=off to the kernel (ignore this message otherwise)" + + local ERROR_X86_KERNEL_IBT="CONFIG_X86_KERNEL_IBT: is set, should be fine but *if* modules + fail to load with ENDBR errors, then try to either unset or pass ibt=off + to the kernel (default if no CPU support). Ignore this otherwise." # bug 911142 + use kernel-open || CONFIG_CHECK+=" ~!X86_KERNEL_IBT" use amd64 && kernel_is -ge 5 8 && CONFIG_CHECK+=" X86_PAT" #817764