Package Details: nvidia-340xx-dkms 340.108-33

Git Clone URL: (read-only, click to copy)
Package Base: nvidia-340xx
Description: NVIDIA driver sources for linux, 340xx legacy branch
Upstream URL:
Licenses: custom
Conflicts: nvidia, nvidia-340xx
Provides: nvidia-340xx
Submitter: simonsmh
Maintainer: JerryXiao
Last Packager: JerryXiao
Votes: 65
Popularity: 0.55
First Submitted: 2019-06-07 10:29 (UTC)
Last Updated: 2023-05-03 12:23 (UTC)

Required by (6)

Sources (15)

Pinned Comments

JerryXiao commented on 2022-10-13 03:51 (UTC) (edited on 2022-10-14 02:44 (UTC) by JerryXiao)

For testing users, contributors: check out
Warning: force push may happen to match the aur tree

Latest Comments

1 2 3 4 5 6 .. 49 Next › Last »

lmh69 commented on 2023-05-14 14:29 (UTC) (edited on 2023-05-14 15:20 (UTC) by lmh69)

"One question, guys: can I have nvidia blob installed for both linux and linux-lts kernels?"
@TheExplorer Yes, You can. (zen is the same as lts, just need change the PKGBUILD file accordingly)
yay -Qs 340xx | grep 33
local/nvidia-340xx 340.108-33
local/nvidia-340xx-zen 340.108-33

It don't overlap each other:

[nvidia-340xx]$ tree pkg
└── nvidia-340xx-zen
     └── usr
        ├── lib
        │   ├── modprobe.d
        │   │   └── nvidia-340xx-zen.conf
        │   └── modules
        │       └── 6.3.1-zen2-1-zen
        │           └── extramodules
        │               ├── nvidia.ko.gz
        │               └── nvidia-uvm.ko.gz
        └── share
            └── nvidia-340xx-zen
                └── 20-nvidia.conf

10 directories, 4 files

(You can check both *tar.zst files and compare them also. [The final installation path, in this case, is /usr/lib/... and /usr/share/...]).
On the other hand, the PKGBUILD have an option for this cases: conflicts=('nvidia') that i guess should be conflicts=('nvidia' 'nvidia-340xx-lts') in case of incompatibility with the lts version.

lmh69 commented on 2023-05-13 19:47 (UTC) (edited on 2023-05-13 20:03 (UTC) by lmh69)

@calvinh It's working ok here with the standard/old/classic module installation (no dkms). Should be the same with dkms, I think.

yay -Qs 340xx | grep 33
local/nvidia-340xx 340.108-33
local/nvidia-340xx-zen 340.108-33

less pkg/nvidia-340xx-zen/.BUILDINFO | grep builddate
builddate = 1683737854
(GMT: Wednesday, 10 May 2023 16:57:34)

less pkg/nvidia-340xx-zen/.BUILDINFO | grep gcc
installed = gcc-13.1.1-1-x86_64
installed = gcc-libs-13.1.1-1-x86_64
installed = lib32-gcc-libs-13.1.1-1-x86_64

less pkg/nvidia-340xx-zen/.BUILDINFO | grep linux
builddir = /home/blablabla/temp/nvidia-340xx_for_linux_zen/nvidia-340xx
startdir = /home/blablabla/temp/nvidia-340xx_for_linux_zen/nvidia-340xx
installed = archlinux-appstream-data-20230421-1-any
installed = archlinux-keyring-20230504-1-any
installed = lib32-util-linux-2.38.1-1-x86_64
installed = linux-6.3.1.arch2-1-x86_64
installed = linux-api-headers-6.3-1-any
installed = linux-docs-6.3.1.arch2-1-x86_64
installed = linux-firmware-20230404.2e92a49f-1-any
installed = linux-firmware-whence-20230404.2e92a49f-1-any
installed = linux-headers-6.3.1.arch2-1-x86_64
installed = linux-zen-6.3.1.zen2-1-x86_64
installed = linux-zen-docs-6.3.1.zen2-1-x86_64
installed = linux-zen-headers-6.3.1.zen2-1-x86_64
installed = util-linux-2.38.1-4-x86_64
installed = util-linux-libs-2.38.1-4-x86_64

calvinh commented on 2023-05-12 13:50 (UTC) (edited on 2023-05-13 19:21 (UTC) by calvinh)

Anybody else is having problems compiling in kernel 6.3.1? I got the following errors.

$ cat /var/lib/dkms/nvidia/340.108/build/make.log DKMS make.log for nvidia-340.108 for kernel 6.3.1-zen2-1-zen (x86_64) Thu May 11 20:17:30 EDT 2023

gcc-version-check failed:

You appear to be compiling the NVIDIA kernel module with a different compiler than the one that was used to compile the running kernel. The Linux 2.6 kernel module loader rejects kernel modules built with a version of gcc that does not exactly match that of the compiler used to build the running kernel. The compiler used to compile the kernel was gcc 12.2; the current compiler is gcc 13.1.

If you know what you are doing and want to override the gcc version check, you can do so by setting the IGNORE_CC_MISMATCH environment variable to "1".

In any other case, set the CC environment variable to the name of the compiler that was used to compile the kernel.

*** Failed CC version check. Bailing out! ***

make: *** [ build-sanity-checks] Error 1 make: Entering directory '/var/lib/dkms/nvidia/340.108/build/uvm' cd ./..; make module SYSSRC=/lib/modules/6.3.1-zen2-1-zen/build SYSOUT=/lib/modules/6.3.1-zen2-1-zen/build KBUILD_EXTMOD=./..

make[1]: Entering directory '/var/lib/dkms/nvidia/340.108/build' NVIDIA: calling KBUILD... warning: the compiler differs from the one used to build the kernel The kernel was built by: gcc (GCC) 13.1.1 20230429 You are using: cc (GCC) 13.1.1 20230429

make -f ./scripts/ obj=.. need-builtin=1 need-modorder=1

scripts/ ../Makefile: No such file or directory make[3]: *** No rule to make target '../Makefile'. Stop. make[2]: *** [Makefile:2023: ..] Error 2 NVIDIA: left KBUILD.

nvidia.ko failed to build! make[1]: *** [Makefile:202: nvidia.ko] Error 1 make[1]: Leaving directory '/var/lib/dkms/nvidia/340.108/build' make: *** [Makefile:222: ../Module.symvers] Error 2 make: Leaving directory '/var/lib/dkms/nvidia/340.108/build/uvm'

It looks like it's failed becausde the Makefile is missing. However,

/l/m/6/b/scripts » pwd

/l/m/6/b/scripts » echo $IGNORE_CC_MISMATCH

/l/m/6/b/scripts » ls -las ../Makefile
72 -rw-r--r-- 1 root root 71731 May 10 04:54 ../Makefile

TheExplorer commented on 2023-04-15 18:20 (UTC)

One question, guys: can I have nvidia blob installed for both linux and linux-lts kernels?

visious5d commented on 2023-03-30 05:47 (UTC) (edited on 2023-04-01 05:16 (UTC) by visious5d)

Hi all, I getting this error to both kernels linux and linux-lts, nvidia-340xx-dkms and nvidia-340xx-lts-dkms packages.

==> ERROR: Missing 6.0.5-ach1-1 kernel header for module nvidia/340.108.

Does anyone has the same problem with me?

I cant start the desktop environment.

Nevermind my fault, the driver is working after reboot. I saw the error and I freak out.

Eirikr commented on 2023-03-28 05:14 (UTC)

Thank you so much for keeping this alive and well! Eager to give some old 64-bit quad core Via motherboards new life with the GT 9600 cards…

Also my 2010 MacBook Pro with 320M, 2008 MacBook Air with 9400M, and my nvidia ION system are all eager to give this a shot… and maybe even have OpenCL too!

sebalis commented on 2023-03-03 22:44 (UTC)

I have updated without problems. Thanks! Also @freeartist, I have successfully run a few GUI applications that have QT5 dependencies: linssid, sqlitebrowser, keepassxc.

freeartist commented on 2023-03-02 17:25 (UTC)

Can anybody check and report. Is working this nvidia driver with qt5-5.15.8? Just try launch any Qt GUI application i.e qbittorrent or 2048-qt Is its launch without Segmentation Fault or not. Thanks.

calvinh commented on 2023-02-28 15:05 (UTC)

Can confirm the new patch, 0012-kernel-6.2.patch, works in kernel 6.2.1. Thanks, @JerryXiao.

calvinh commented on 2023-02-28 00:35 (UTC)

Anyone had luck to compile it in kernel 6.2.1?