Package Base Details: nvidia-340xx

Git Clone URL: https://aur.archlinux.org/nvidia-340xx.git (read-only, click to copy)
Submitter: simonsmh
Maintainer: JerryXiao
Last Packager: JerryXiao
Votes: 71
Popularity: 0.39
First Submitted: 2019-06-07 10:29 (UTC)
Last Updated: 2024-03-17 06:41 (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 2 3 4 5 6 7 8 9 10 11 .. 55 Next › Last »

sebalis commented on 2023-06-15 13:51 (UTC)

Haven’t got a large variety of formats available, but it seems not to be working as you described.

Anakievs commented on 2023-06-15 13:14 (UTC) (edited on 2023-06-15 13:18 (UTC) by Anakievs)

@sebalis MPV works but the VDPAU doesn't work. Run this "mpv --no-config --hwdec=vdpau filename". When the video pops hold "i". On the first few lines you should see "(hwdec: vdpau)". Example:
Video: h264 (H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10) (hwdec: vdpau)" Try on different files with different codecs. if you see it at least once then it's working.

sebalis commented on 2023-06-14 23:24 (UTC)

mpv works for me (Dell Latitude E6510 with nvidia-340xx-dkms).

Anakievs commented on 2023-06-14 14:01 (UTC) (edited on 2023-06-14 14:16 (UTC) by Anakievs)

Thanks to everyone who makes this driver work!
KiCad and VDPAU in MPV don't work with the driver so I've shared the fixes I've used:
https://bbs.archlinux.org/viewtopic.php?id=286442
https://bbs.archlinux.org/viewtopic.php?id=286492

thetcs commented on 2023-06-12 13:14 (UTC) (edited on 2023-06-12 13:15 (UTC) by thetcs)

hi, how can i login to hyprland with this driver? it doesnt have drm and modeset

freeartist commented on 2023-05-31 16:48 (UTC)

Hi. Debian 340.108 patches have different changes that have AUR 340.108 patches from here?

http://ftp.debian.org/debian/pool/non-free/n/nvidia-graphics-drivers-legacy-340xx/

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
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: *** [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?