Package Details: nvidia-340xx 340.108-38

Git Clone URL: https://aur.archlinux.org/nvidia-340xx.git (read-only, click to copy)
Package Base: nvidia-340xx
Description: NVIDIA drivers for linux, 340xx legacy branch
Upstream URL: https://www.nvidia.com/
Licenses: custom
Conflicts: nvidia
Submitter: simonsmh
Maintainer: JerryXiao
Last Packager: JerryXiao
Votes: 73
Popularity: 0.94
First Submitted: 2019-06-07 10:29 (UTC)
Last Updated: 2025-05-15 00:39 (UTC)

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 https://github.com/archlinux-jerry/nvidia-340xx
Warning: force push may happen to match the aur tree

Latest Comments

« First ‹ Previous 1 .. 9 10 11 12 13 14 15 16 17 18 19 .. 62 Next › Last »

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: *** [nvidia-modules-common.mk:201: 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/Makefile.build obj=.. need-builtin=1 need-modorder=1

scripts/Makefile.build:41: ../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
/lib/modules/6.3.1-zen2-1-zen/build/scripts

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

/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?

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

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?

Nebulosa commented on 2023-02-03 18:08 (UTC) (edited on 2023-02-12 21:39 (UTC) by Nebulosa)

Work with latest kernel 6.1.9, but doesn't work with Kodi >=20.0.

I already tested Kodi 20.0 with nouveau, everything is fine.

Here https://forum.kodi.tv/showthread.php?tid=371581&page=2 tested work in LibreElec with 20.0 and 340.108

And the second point: we need something to do with linux-headers dependency. In nvidia-340xx-dkms this is a make dependency, so if you didn't install it before installing the nvidia-340xx-dkms, the package removes it after compiling and dkms can't nothing to do with this later (because it's optional dependency) :)

Edit: Well, it's a Kodi specific bug, add line in /etc/environment: LD_PRELOAD=/usr/lib/nvidia/libGL.so.340.108 More info here: https://github.com/xbmc/xbmc/issues/22491

freeartist commented on 2023-01-25 04:27 (UTC)

This is driver support 32bit libraries?