Package Base Details: nvidia-340xx

Git Clone URL: https://aur.archlinux.org/nvidia-340xx.git (read-only, click to copy)
Submitter: simonsmh
Maintainer: JerryXiao (graysky)
Last Packager: JerryXiao
Votes: 50
Popularity: 1.26
First Submitted: 2019-06-07 10:29
Last Updated: 2021-06-06 02:31

Pinned Comments

graysky commented on 2021-05-10 15:03

OK, I honestly forgot that I included an example config file. Since I don't have the hardware for testing, and since I still don't have a sense from users that it is a requirement, I will leave it in the post_install and depend on the user's ability to read pacman's output and manually copy the example over.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 ... Next › Last »

graysky commented on 2021-05-06 11:00

I thought this worked with 5.12 without patches. It certainly builds which is all I can do testing-wise.

qileilu commented on 2021-05-06 04:42

Tested,the patch for 5.12 is available. http://rglinuxtech.com/?p=2896 https://gist.githubusercontent.com/joanbm/7a034ac4b79396c3841040e410ef7e91/raw/b21e792dc0b6f891a4a83d182e0ba9b24b36bd80/nvidia-fix-linux-5.12.patch

jayache80 commented on 2021-05-02 23:31

I tried the 5.12 kernel from testing repo and have the same results. X11 starts fine, however graphics acceleration doesn't work properly. I still get the same libEGL-related double free coredump when using mpv (as seen in my previous comment). Some other datapoints: screen tearing exists (where it didn't before) and I cannot start gears, receiving the following error output:

X Error of failed request:  BadWindow (invalid Window parameter)
  Major opcode of failed request:  155 (NV-GLX)
  Minor opcode of failed request:  4 ()
  Resource id in failed request:  0x2400002
  Serial number of failed request:  56
  Current serial number in output stream:  56

nikola_cz commented on 2021-04-28 10:10

The same result in arch with dkms driver. Works without 5.12 patch.

tioguda commented on 2021-04-27 13:20

I use Manjaro Gnome, and the driver (not dkms) compiled and started at 5.12 as it was starting at 5.11 (there was no need for a patch for 5.12).

Greetings.

MegaDeKay commented on 2021-04-20 14:18

I have not tried this myself, but it seems some Ubuntu users are having success using graysky's patches that I assume are the same as those here.

https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-340/+bug/1916640

That thread points to this link on editing xorg.conf https://launchpad.net/~kelebek333/+archive/ubuntu/nvidia-legacy

There also seems to be a patch ready to go for 5.12 http://rglinuxtech.com/?p=2896

Any brave folks want to give this a shot?

jayache80 commented on 2021-04-19 00:34

Confirming that none of the 5.11.x kernels work well for me with this driver on my machine (mid-2009 macbook pro with 9400M). I moved back to a 5.10 kernel (I had 5.10.16 handy) and that fixed my issue. To be clear, with this driver and a 5.11 kernel, I can start X11 just fine, however I'm having issues with libEGL. mpv can't play movies because a double free crash occurs:

free(): double free detected in tcache 2
Aborted (core dumped)

With this backtrace:

#0  0x00007ff290e62ef5 in raise () from /usr/lib/libc.so.6
#1  0x00007ff290e4c862 in abort () from /usr/lib/libc.so.6
#2  0x00007ff290ea4f38 in __libc_message () from /usr/lib/libc.so.6
#3  0x00007ff290eacbea in malloc_printerr () from /usr/lib/libc.so.6
#4  0x00007ff290eae6c8 in _int_free () from /usr/lib/libc.so.6
#5  0x00007ff290eb1ca8 in free () from /usr/lib/libc.so.6
#6  0x00007ff293b90719 in ?? () from /usr/lib/nvidia/libEGL.so.1
#7  0x00007ff293b90f15 in ?? () from /usr/lib/nvidia/libEGL.so.1
#8  0x00007ff293b98fd6 in ?? () from /usr/lib/nvidia/libEGL.so.1
#9  0x00005561599fd7fc in ?? ()
#10 0x00005561599db014 in ?? ()
#11 0x0000556159a077a3 in ?? ()
#12 0x0000556159a043e1 in ?? ()
#13 0x00007ff293ea0299 in start_thread () from /usr/lib/libpthread.so.0
#14 0x00007ff290f25053 in clone () from /usr/lib/libc.so.6

lucasrizzini commented on 2021-04-17 17:52

Doesn't work on 5.11 here too.

JackFrost commented on 2021-04-16 05:52

linux-5.11.14.arch1-1-x86_64 with nvidia-340xx 340.108-18 does not work for me (ga-p35-ds3, gtx260, sddm, plasma)

mischa commented on 2021-04-13 21:47

The driver works with kernel 5.11.13 on my ThinkPad T61p (gdm and plasma), not on my AMD desktop