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

Git Clone URL: https://aur.archlinux.org/nvidia-340xx.git (read-only, click to copy)
Package Base: nvidia-340xx
Description: NVIDIA driver sources for linux, 340xx legacy branch
Upstream URL: https://www.nvidia.com/
Licenses: custom
Conflicts: nvidia, nvidia-340xx
Provides: nvidia-340xx=340.108
Submitter: simonsmh
Maintainer: JerryXiao (taz-007)
Last Packager: taz-007
Votes: 54
Popularity: 1.37
First Submitted: 2019-06-07 10:29
Last Updated: 2021-09-20 12:54

Required by (6)

Sources (8)

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

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

Bang1 commented on 2021-10-06 17:44

What xorg-server version is compatible with this driver? I have been trying to install it but I aways get a black screen when starting X server.

tioguda commented on 2021-10-03 19:28

That's why Manjaro users struggle to get some support here, guys see this laziness to read by some and end up thinking that everyone is like that.

AlexJ commented on 2021-10-03 15:29

Meganium97, you need to create link with named linux to /lib/modules/5.14.7-2-MANJARO/build (or whatever your kernel version is). That is because Arch and Manjaro have differences.

You need to have installed headers first (sudo pamac install linux514-headers).

If you have linux file link to an old kernel version then removed it (sudo rm /usr/src/linux).

Then run:

cd /lib/modules/$(uname -r)/build/ | echo $(uname -r) | sudo tee /lib/modules/$(uname -r)/build/version > /dev/null | sudo ln -s /lib/modules/$(uname -r)/build /usr/src/linux

(This will create the link file linux with your current version of the kernel)

You need to remove the link file /lib/modules/5.14.7-2-MANJARO/extramodules (sudo rm /lib/modules/5.14.7-2-MANJARO/extramodules), because it will give you an error while installing the nvidia drivers

Create a new dir for the extramodules (sudo mkdir /lib/modules/5.14.7-2-MANJARO/extramodules)

Copy all files to the new dir from /lib/modules/extramodules-5.14-MANJARO/ (sudo cp /lib/modules/extramodules-5.14-MANJARO/* /lib/modules/5.14.7-2-MANJARO/extramodules/)

Then you should run the installer (sudo pamac install nvidia-340xx).

After it is done you must copu 20-nvidia.conf to /etc/X11/xorg.conf.d/ (sudo cp /usr/share/nvidia-340xx/20-nvidia.conf /etc/X11/xorg.conf.d/)

Then reboot (sudo reboot)

That's it

(You may have to do this again after a kernel update from a terminal because it may not start in Desktop mode (Ctrl+Alt+F2 to enter terminal). Don't forget to change the kernel version in the path names. (uname -r)

Meganium97 commented on 2021-10-02 19:30

I've been getting the error that /usr/src/linux doesn't exist. What can I do? Using manjaro with kernel 5.14.7-2

arch4ngel commented on 2021-09-25 09:35

So, it now works in 5.14.7-arch1-1, but no longer boots (just a blank screen and _ in the top left corner) in 5.10.68-1 (linux lts)

I have linux lts installed as stable mainline often breaks (until there's a fix to this package). Given 5.10 will now be supported for many years, it was my mitigation against the instability of mainline non-lts.

It's nice 5.14 works but if it breaks in 5.15 at some point, I won't be able to use 5.10 in the interim. Any ideas?

vicpt commented on 2021-09-24 08:53

Sorry guys for not reply (special in gitlab) but I have been busy in rl. About the b2sum, it was correct to my local revision. Probably during the clone/merge process something escaped to my tired eyes.

I'm glad it helped.

auriculaire commented on 2021-09-24 07:55

Everything works very well. Thanks. However, I never found on the web the answer to this question about Nvidia:

why /dev/dri/renderD128 isn't in /dev/dri ?

Galard commented on 2021-09-21 10:55

Thank you very much! The driver is working.

MegaDeKay commented on 2021-09-21 01:14

Latest -24 version works great for me on 5.14.6.arch1-1. /dev/drm is present and SDDM works too. My hats off to the devs that are keeping my old laptop going with the latest and greatest!

tuxsavvy commented on 2021-09-16 12:41

@alou-S You need to manually create the /etc/X11/xorg.conf.d/20-nvidia.conf. The filename 20-nvidia.conf is totally optional here, I personally named it because:

  • It is easier to know exactly what sort of contents would be expected within that file, at a glance; it is pertaining to nvidia of course, and,

  • The prefixing of the numbers indicates that it has a higher priority/preference when Xorg starts.

Have a look at Arch Linux wiki, troubleshooting nvidia page. It gives you an idea of why I chose to use that filename, and to have that file there, even though that linked issue does not specifically apply to me.