From 7a421cc9b470dbbc09fac4a1227133f4d43a817c Mon Sep 17 00:00:00 2001 From: taz Date: Thu, 11 Nov 2021 13:20:02 +0100 Subject: [PATCH] Updated 20-nvidia.conf with IgnoreABI=1 option --- .SRCINFO | 4 ++-- 20-nvidia.conf | 4 ++++ PKGBUILD | 4 ++-- nvidia-340xx.install | 1 + 4 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index eb6fc15..610a0e6 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = nvidia-340xx pkgdesc = NVIDIA drivers for linux, 340xx legacy branch pkgver = 340.108 - pkgrel = 24 + pkgrel = 25 url = https://www.nvidia.com/ arch = x86_64 license = custom @@ -19,7 +19,7 @@ pkgbase = nvidia-340xx source = 0005-kernel-5.11.patch source = 0006-kernel-5.14.patch b2sums = 6538bbec53b10f8d20977f9b462052625742e9709ef06e24cf2e55de5d0c55f1620a4bb21396cfd89ebc54c32f921ea17e3e47eaa95abcbc24ecbd144fb89028 - b2sums = a0266d62a742f8ecd96be767b66af169c09428ba3f718efa1e36f2c69303e35b6437503381b041dd3a88fa86eb82909f8cbf209dbba4a5658fd7bb220a852000 + b2sums = 49d99f612e8eee3ab5e34083c25348bfd14ed5fc8a7984dafc0dad7c0ae0df2c0b2a63a1bb993da440eb0a60293d7c753ca3889bd2f51991b8ddc51bce2fe4a8 b2sums = 7150233df867a55f57aa5e798b9c7618329d98459fecc35c4acfad2e9772236cb229703c4fa072381c509279d0588173d65f46297231f4d3bfc65a1ef52e65b1 b2sums = b436095b89d6e294995651a3680ff18b5af5e91582c3f1ec9b7b63be9282497f54f9bf9be3997a5af30eec9b8548f25ec5235d969ac00a667a9cddece63d8896 b2sums = 947cb1f149b2db9c3c4f973f285d389790f73fc8c8a6865fc5b78d6a782f49513aa565de5c82a81c07515f1164e0e222d26c8212a14cf016e387bcc523e3fcb1 diff --git a/20-nvidia.conf b/20-nvidia.conf index 179697b..4087286 100644 --- a/20-nvidia.conf +++ b/20-nvidia.conf @@ -8,3 +8,7 @@ Section "Device" Driver "nvidia" VendorName "NVIDIA Corporation" EndSection + +Section "ServerFlags" + Option "IgnoreABI" "1" +EndSection diff --git a/PKGBUILD b/PKGBUILD index 34c8310..99adf87 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -6,7 +6,7 @@ pkgbase=nvidia-340xx pkgname=(nvidia-340xx nvidia-340xx-dkms); [ -n "$NVIDIA_340XX_DKMS_ONLY" ] && pkgname=(nvidia-340xx-dkms) pkgver=340.108 -pkgrel=24 +pkgrel=25 pkgdesc="NVIDIA drivers for linux, 340xx legacy branch" arch=('x86_64') url="https://www.nvidia.com/" @@ -25,7 +25,7 @@ source=("https://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/NVIDIA-Li 0006-kernel-5.14.patch ) b2sums=('6538bbec53b10f8d20977f9b462052625742e9709ef06e24cf2e55de5d0c55f1620a4bb21396cfd89ebc54c32f921ea17e3e47eaa95abcbc24ecbd144fb89028' - 'a0266d62a742f8ecd96be767b66af169c09428ba3f718efa1e36f2c69303e35b6437503381b041dd3a88fa86eb82909f8cbf209dbba4a5658fd7bb220a852000' + '49d99f612e8eee3ab5e34083c25348bfd14ed5fc8a7984dafc0dad7c0ae0df2c0b2a63a1bb993da440eb0a60293d7c753ca3889bd2f51991b8ddc51bce2fe4a8' '7150233df867a55f57aa5e798b9c7618329d98459fecc35c4acfad2e9772236cb229703c4fa072381c509279d0588173d65f46297231f4d3bfc65a1ef52e65b1' 'b436095b89d6e294995651a3680ff18b5af5e91582c3f1ec9b7b63be9282497f54f9bf9be3997a5af30eec9b8548f25ec5235d969ac00a667a9cddece63d8896' '947cb1f149b2db9c3c4f973f285d389790f73fc8c8a6865fc5b78d6a782f49513aa565de5c82a81c07515f1164e0e222d26c8212a14cf016e387bcc523e3fcb1' diff --git a/nvidia-340xx.install b/nvidia-340xx.install index 6644937..1f1eed4 100644 --- a/nvidia-340xx.install +++ b/nvidia-340xx.install @@ -2,6 +2,7 @@ post_install() { cat <>> You must tell Xorg to use the nvidia driver with kernels >=5.11.0. + You must also set IgnoreABI option with Xorg version >= 21.1.1. Minimal config example provided in /usr/share/nvidia-340xx/20-nvidia.conf which you should manually place in /etc/X11/xorg.conf.d/