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

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
Submitter: simonsmh
Maintainer: JerryXiao
Last Packager: JerryXiao
Votes: 72
Popularity: 0.73
First Submitted: 2019-06-07 10:29 (UTC)
Last Updated: 2024-05-10 16:52 (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 .. 36 37 38 39 40 41 42 43 44 45 46 .. 58 Next › Last »

modin5 commented on 2021-01-03 19:07 (UTC) (edited on 2021-01-03 19:09 (UTC) by modin5)

@parsal ok i was so lazy that i did make pamac install it for me

first it told me it needed >5.5 kernel and >5.5 headers. i thought the patches will do the job so i ignored it the nividia driver failed to install for some reason and the open source graphics driver was disabled and so Xorg so i had no choice other than reinstall arch distro (i tried deleting the disable file module through nano but failed)

i think i have to build it through terminal. but how?

i,m so new to that "package building" so i think as you could build it it will be easy for you to explain it

start with me from 0 to 100 my installation was so wrong i think

SvenX commented on 2021-01-03 13:45 (UTC) (edited on 2021-01-03 13:47 (UTC) by SvenX)

I was able to build for Manjaro 20.2 with the 5.10.2 kernel with the following changes to the PKGBUILD file. First adapt the kernel variables:

 # default is 'linux' substitute custom name here
-_kernelname=linux
-_kernver="$(</usr/src/$_kernelname/version)"
-_extradir="/usr/lib/modules/$_kernver/extramodules"
+_kernelname=`uname -r`
+_kernver="$(</usr/lib/modules/$_kernelname/extramodules/version)"
+_extradir="/usr/lib/modules/$_kernelname/extramodules"

And after that, change the paths in the build() function:

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

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

After these changes, build it with: makepkg -s

parsal commented on 2021-01-03 08:37 (UTC) (edited on 2021-01-03 08:39 (UTC) by parsal)

@damonh As I said, I would fix it and give a link to a fixed version If I had the technical knowledge of make and install procedure.
@modin5 I can but it would be incomplete since I only installed it on my laptop; I'm kind of a newbie myself. So I think it's easier if you tell me exactly where you're having trouble.
For starters, exactly what command are you running and what does the error say?

modin5 commented on 2021-01-02 22:51 (UTC) (edited on 2021-01-02 23:11 (UTC) by modin5)

@parsal can you make a step by step installation guide for newbies like me ?

sorry if i,m not patient enough or noisy i,m just worried about it.

thanks @parsal for the information anyway.

damonh commented on 2021-01-02 20:37 (UTC)

Thank you @parsal, but can you please explain how to fix this package? Thank you.

parsal commented on 2021-01-02 17:02 (UTC) (edited on 2021-01-02 17:04 (UTC) by parsal)

Thank you very much for maintaining this driver. Saved me!
I successfully installed it on Manjaro 20.2 kernel 5.10.2-2-Manjaro. However I think some minor changes could be very useful for everyone:
- On my linux, /usr/src folder is empty (no linux link to kernel headers) so I had to manually create that. I think replacing that with $(uname -r) would solve this issue.
- On my linux, extramodules is not actually in kernel headers folder but in a parent directory (both of them in /usr/lib/modules) and extramodules in kernel headers is symlink to it. After installation on "Cleaning Up" step, I got an error: "/usr/lib/modules/5.10.2-2-MANJARO/extramodules already exists (owned by linux 5.10)" (something like that) and I had to rename the symlink temporarily to be able to install and then copied the files back to the real extramodules folder and created symlink again.
I would change the files and give you a link if I had the technical knowledge.
Thanks again :)

modin5 commented on 2021-01-01 20:55 (UTC) (edited on 2021-01-01 21:03 (UTC) by modin5)

i tried installing this on pamac but it failed and i had to reinstall my arch-based distro (now i,m using endeavour os).

i,m not saying this isn,t working but i,m having a problem installing it.

i maybe a newbie but i have no problem using the terminal if i know what i,m doing / a tutorial.

so can someone please make a step by step installation introduction ?

i,m using zen kernel 5.9 on endeavour os with lxqt DE.

gksudo commented on 2020-12-31 10:20 (UTC)

This does not build on kernel 5.10.x, I have updated the PKGBUILD and added the required patch here: https://gitlab.com/gksudolol/nvidia-340xx

graysky commented on 2020-12-16 01:56 (UTC)

@papakilo - Thanks for point me to the patch. Not out-of-date until 5.10.x goes into [core].

ansgoati commented on 2020-12-08 18:32 (UTC)

Works well to me on Kernel 5.9.12.