Package Details: nvidia-340xx 340.108-13

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 (graysky)
Last Packager: graysky
Votes: 44
Popularity: 3.23
First Submitted: 2019-06-07 10:29
Last Updated: 2020-12-31 11:00

Latest Comments

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

M4rty commented on 2021-01-13 22:35

Thanks for this package, it works perfect ! I just have a small issue with MPV player (celluloid) which does not start (kernel 5.9 & 5.10, arch i3wm) : "free (): double free detected in tcache 2". Does anyone have a solution ?

modin5 commented on 2021-01-10 02:55

@graysky @JerryXiao i have problem on installing the driver and their patches.

i tried building your AUR version but it always fails on first error.

https://gist.github.com/graysky2/04bd0eb58459dd720eccc8baad4bf0fa

and i tried the manjaro forum ( https://forum.manjaro.org/t/support-how-to-compile-old-legacy-nvidia-proprietary-drivers-2020-12-30-update-issue/46071) version it did the same error but if continued on but it thinks that i,m using manjaro kernel while i,m not so it fails to apply the patches because it searching for manjaro headers only (as i understood from the installation process). however it installed the driver but it freezes every time i open an normal application (like web browser, games ,etc but not system/preinstalled apps) because the patches aren,t applied.

so now i,m stuck with the opensource driver that is slower and sometimes crashes some apps.

so please someone help me!

modin5 commented on 2021-01-09 03:57

sorry for all the comment spaming i was doing

i deleted some of my useless comments

pls someone help me

modin5 commented on 2021-01-09 03:18

for a reason or another this function can,t find auto.conf even if it exits

build() { cd "${_pkg}/kernel" make SYSSRC="/usr/lib/modules/$_kernelname/build" module

cd uvm make SYSSRC="/usr/lib/modules/$_kernelname/build" module }

jtag commented on 2021-01-05 21:07

Just updated to nvidia-340.108-13 on Arch with kernel 5.10.4-arch2-1 using makepkg -risc and everything was smooth and no problems so far.

SvenX commented on 2021-01-05 20:29

@modin5 Just replace each line with "-" with the "+" lines. No need to change anything :-)

modin5 commented on 2021-01-05 20:27

something really quick

in the second part of SvenX patch ⟱

build() { cd "${_pkg}/kernel" - make SYSSRC="/usr/src/$_kernelname" module + make SYSSRC="/usr/lib/modules/$_kernelname/build" module

should i change the $_kernelname" to my kernel name or it just represent it in the code?

parsal commented on 2021-01-05 17:13

@damonh I used pamac. After downloading I changed PKGBUILD and ran pamac again. This time it didn't download again and used my modified PKGBUILD file. I'm not sure about yay; Maybe you have to use makepkg.
@modin5 Obviously if you want to have this driver while you run kernel 5.10, you have to install it on 5.10!
You don't have to be running 5.10 when you're building the driver, but you need to have the kernel-headers for 5.10.

graysky commented on 2021-01-05 12:01

@damonh - 340.108-13 is not broken. It builds successfully in a clean chroot[1]. Please stop using unsupported AUR helpers like yay. Build with makepkg and report back. If the issue is that you're trying to build this for Manjaro, I do not run that. Manjaro != Arch.

  1. https://gist.github.com/graysky2/04bd0eb58459dd720eccc8baad4bf0fa

damonh commented on 2021-01-05 02:21

@parsal yay and pamac, both take care of all dependencies, but the PKGBUILD of this package is broken, that's why it doesn't work. We need a mantainer to fix and push it again to AUR.

@modin5 I've followed the guide here https://forum.manjaro.org/t/support-how-to-compile-old-legacy-nvidia-proprietary-drivers-2020-12-30-update-issue/46071 and it worked with kernel 5.10.2-2