diff options
author | Ionen Wolkens <ionen@gentoo.org> | 2024-01-17 21:12:06 -0500 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2024-01-17 21:25:32 -0500 |
commit | 9d134c943582aba68bf3ba977ca30c44f6f2847e (patch) | |
tree | b871e6d7b0f3d629b1680dfa57619f9118864c34 /x11-drivers | |
parent | dev-util/vulkan-tools: Fix dev-util/volk dep (diff) | |
download | gentoo-9d134c943582aba68bf3ba977ca30c44f6f2847e.tar.gz gentoo-9d134c943582aba68bf3ba977ca30c44f6f2847e.tar.bz2 gentoo-9d134c943582aba68bf3ba977ca30c44f6f2847e.zip |
x11-drivers/nvidia-drivers: downgrade KERNEL_MAX to 6.6 for arm64
screen_info is marked GPL on non-x86 and cannot be used. It's
possible to tell nvidia-drivers to not use that symbol albeit
unknown what downsides this has (esp. when I cannot test this).
For now, let's just not advertise 6.7 compatibility for arm64.
6.6 is the next LTS either way, so waiting should not be so bad.
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'x11-drivers')
4 files changed, 24 insertions, 4 deletions
diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-525.147.05.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-525.147.05.ebuild index 8198376cd815..aa6b6a283fc6 100644 --- a/x11-drivers/nvidia-drivers/nvidia-drivers-525.147.05.ebuild +++ b/x11-drivers/nvidia-drivers/nvidia-drivers-525.147.05.ebuild @@ -7,7 +7,7 @@ MODULES_OPTIONAL_IUSE=+modules inherit desktop flag-o-matic linux-mod-r1 multilib readme.gentoo-r1 inherit systemd toolchain-funcs unpacker user-info -MODULES_KERNEL_MAX=6.7 +MODULES_KERNEL_MAX=6.7 # 6.6 for arm64 (see below) NV_URI="https://download.nvidia.com/XFree86/" DESCRIPTION="NVIDIA Accelerated Graphics Driver" @@ -126,6 +126,11 @@ pkg_setup() { Cannot be directly selected in the kernel's menuconfig, and may need selection of another option that requires it such as CONFIG_KVM." + # screen_info is marked GPL on non-x86 in 6.7 and cannot be used + # (patchable, but just avoid advertising compatibility for now) + # https://forums.developer.nvidia.com/t/278367 + use arm64 && MODULES_KERNEL_MAX=6.6 + linux-mod-r1_pkg_setup } diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-535.146.02.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-535.146.02.ebuild index 9097157c2346..d4dacb1d7abb 100644 --- a/x11-drivers/nvidia-drivers/nvidia-drivers-535.146.02.ebuild +++ b/x11-drivers/nvidia-drivers/nvidia-drivers-535.146.02.ebuild @@ -7,7 +7,7 @@ MODULES_OPTIONAL_IUSE=+modules inherit desktop flag-o-matic linux-mod-r1 multilib readme.gentoo-r1 inherit systemd toolchain-funcs unpacker user-info -MODULES_KERNEL_MAX=6.7 +MODULES_KERNEL_MAX=6.7 # 6.6 for arm64 (see below) NV_URI="https://download.nvidia.com/XFree86/" DESCRIPTION="NVIDIA Accelerated Graphics Driver" @@ -126,6 +126,11 @@ pkg_setup() { Cannot be directly selected in the kernel's menuconfig, and may need selection of another option that requires it such as CONFIG_KVM." + # screen_info is marked GPL on non-x86 in 6.7 and cannot be used + # (patchable, but just avoid advertising compatibility for now) + # https://forums.developer.nvidia.com/t/278367 + use arm64 && MODULES_KERNEL_MAX=6.6 + linux-mod-r1_pkg_setup } diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-535.154.05.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-535.154.05.ebuild index eff52fda2b6f..7d6e0cff0496 100644 --- a/x11-drivers/nvidia-drivers/nvidia-drivers-535.154.05.ebuild +++ b/x11-drivers/nvidia-drivers/nvidia-drivers-535.154.05.ebuild @@ -7,7 +7,7 @@ MODULES_OPTIONAL_IUSE=+modules inherit desktop flag-o-matic linux-mod-r1 multilib readme.gentoo-r1 inherit systemd toolchain-funcs unpacker user-info -MODULES_KERNEL_MAX=6.7 +MODULES_KERNEL_MAX=6.7 # 6.6 for arm64 (see below) NV_URI="https://download.nvidia.com/XFree86/" DESCRIPTION="NVIDIA Accelerated Graphics Driver" @@ -126,6 +126,11 @@ pkg_setup() { Cannot be directly selected in the kernel's menuconfig, and may need selection of another option that requires it such as CONFIG_KVM." + # screen_info is marked GPL on non-x86 in 6.7 and cannot be used + # (patchable, but just avoid advertising compatibility for now) + # https://forums.developer.nvidia.com/t/278367 + use arm64 && MODULES_KERNEL_MAX=6.6 + linux-mod-r1_pkg_setup } diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-545.29.06-r1.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-545.29.06-r1.ebuild index 8150845d19c5..88a0e7d208b5 100644 --- a/x11-drivers/nvidia-drivers/nvidia-drivers-545.29.06-r1.ebuild +++ b/x11-drivers/nvidia-drivers/nvidia-drivers-545.29.06-r1.ebuild @@ -7,7 +7,7 @@ MODULES_OPTIONAL_IUSE=+modules inherit desktop flag-o-matic linux-mod-r1 readme.gentoo-r1 inherit systemd toolchain-funcs unpacker user-info -MODULES_KERNEL_MAX=6.7 +MODULES_KERNEL_MAX=6.7 # 6.6 for arm64 (see below) NV_URI="https://download.nvidia.com/XFree86/" DESCRIPTION="NVIDIA Accelerated Graphics Driver" @@ -123,6 +123,11 @@ pkg_setup() { Cannot be directly selected in the kernel's menuconfig, and may need selection of another option that requires it such as CONFIG_KVM." + # screen_info is marked GPL on non-x86 in 6.7 and cannot be used + # (patchable, but just avoid advertising compatibility for now) + # https://forums.developer.nvidia.com/t/278367 + use arm64 && MODULES_KERNEL_MAX=6.6 + linux-mod-r1_pkg_setup } |