Package Details: nvidia-340xx 340.108-37

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
Last Packager: JerryXiao
Votes: 72
Popularity: 0.040700
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 .. 43 44 45 46 47 48 49 50 51 52 53 .. 59 Next › Last »

wurbelgrumpff commented on 2020-08-21 21:26 (UTC) (edited on 2020-08-21 21:30 (UTC) by wurbelgrumpff)

Hello, I'm sorry, but with updating on Kernel 5.8.2 I encounter some real problems: Together with the kernel also gcc and gcc-libs were updated from 10.1.0-2 to 10.2.0-1, I don't know if this is important....

Messages from pacman.log:

==> dkms install --no-depmod -m nvidia -v 340.108 -k 5.8.2-arch1-1 Error! Bad return status for module build on kernel: 5.8.2-arch1-1 (x86_64) Consult /var/lib/dkms/nvidia/340.108/build/make.log for more information. ==> Warning, `dkms install --no-depmod -m nvidia -v 340.108 -k 5.8.2-arch1-1´ returned 10 ==> depmod 5.8.2-arch1-1

[....]

I tried to reinstall nvidia but:

==> Unable to remove module nvidia/340.108 for kernel 5.8.2-arch1-1: Not found in dkms status output.

In make.log gcc-version-check failed. (I mentioned gcc was upgraded):

DKMS make.log for nvidia-340.108 for kernel 5.8.2-arch1-1 (x86_64)

Fr 21. Aug 21:54:01 CEST 2020

gcc-version-check failed:

The compiler used to compile the kernel (gcc 10.1) does not exactly match the current compiler (gcc 10.2). 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.

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] Fehler 1 [Error 1]

make: Verzeichnis „/var/lib/dkms/nvidia/340.108/build/uvm“ wird betreten [directory ... is entered]

cd ./..; make module SYSSRC=/lib/modules/5.8.2-arch1-1/build SYSOUT=/lib/modules/5.8.2-arch1-1/build KBUILD_EXTMOD=./..

make[1]: Verzeichnis „/var/lib/dkms/nvidia/340.108/build“ wird betreten [directory ... is entered]

NVIDIA: calling KBUILD...

make[2]: Verzeichnis „/usr/lib/modules/5.8.2-arch1-1/build“ wird betreten [directory ... is entered]

test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \

echo >&2; \

echo >&2 " ERROR: Kernel configuration is invalid."; \

echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\

echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \

echo >&2 ; \

/bin/false)

make -f ./scripts/Makefile.build obj=.. \

single-build= \

need-builtin=1 need-modorder=1

scripts/Makefile.build:44: ../Makefile: Datei oder Verzeichnis nicht gefunden [:file or directory not found]

make[3]: *** Keine Regel, um „../Makefile“ zu erstellen. Schluss. [no rule to build ../Makefile. Exit.]

make[2]: *** [Makefile:1756: ..] Fehler 2 [error 2]

make[2]: Verzeichnis „/usr/lib/modules/5.8.2-arch1-1/build“ wird verlassen [directory ... is exited]

NVIDIA: left KBUILD.

nvidia.ko failed to build!

make[1]: *** [Makefile:202: nvidia.ko] Fehler 1 [error 1]

make[1]: Verzeichnis „/var/lib/dkms/nvidia/340.108/build“ wird verlassen [directory ... is exited]

make: *** [Makefile:222: ../Module.symvers] Fehler 2 [error 2]

make: Verzeichnis „/var/lib/dkms/nvidia/340.108/build/uvm“ wird verlassen [directory ... is exited]

(Translation is appended within []); pls, ignore my english......

Well, I'm badly surprised, because all formerly updates worked without any problems. Patch 5.7 worked really well and also upgrading to 5.8.1 was without any errors. I use an over ten years old machine (core2duo) with Nvidia gt210 and running xfce4 on it.

Please, can anyone help with this? Best regards!

johnvranos commented on 2020-08-18 03:15 (UTC) (edited on 2020-08-18 03:15 (UTC) by johnvranos)

You can try installing flatpak or snapd.

They have the latest version of Spotify:

https://paste.pics/9UL4W

graysky commented on 2020-08-15 10:36 (UTC)

@fvsc - Thanks for testing. Now that 5.8.1 has moved to [core] I pushed this formally a few min ago.

fvsc commented on 2020-08-15 09:05 (UTC)

For me is the combination PKGBUILD and PATCH working with kernel linux 5.8.1.arch1-1. NVIDIA Corporation G98 [GeForce 8400 GS Rev. 2] (rev a1) Thanks.

graysky commented on 2020-08-12 10:02 (UTC) (edited on 2020-08-12 10:17 (UTC) by graysky)

@papakilo - It seems they have a patch for 5.8. Does anyone know how the navigate launchpad? I need to find their source patches to see how to adapt to our package.

https://launchpadlibrarian.net/492473168/buildlog_ubuntu-bionic-amd64.nvidia-graphics-drivers-340_340.108-2lmtrbionic_BUILDING.txt.gz

Towards the end:

-rw-r--r-- root/root      2373 2020-08-08 12:55 ./usr/src/nvidia-340-340.108/patches/buildfix_kernel_5.8.patch

EDIT: I got it, needed to look at the "available diffs" for example: https://launchpad.net/~kelebek333/+archive/ubuntu/nvidia-legacy/+files/nvidia-graphics-drivers-340_340.108-1lmtrfocal3_340.108-2lmtrfocal.diff.gz

I now have a package that builds against 5.8. Can someone with supported hardware try it? I don't want to push to AUR until linux-5.8 goes into [core]:

papakilo commented on 2020-08-11 22:29 (UTC)

Just for info, Ubuntu and derivatives have Nvidia 340 drivers for kernel 5.8 here: https://launchpad.net/~kelebek333/+archive/ubuntu/nvidia-legacy

graysky commented on 2020-08-10 16:38 (UTC)

@papakilo - They aren't ... I cannot build this package against 5.8.0

papakilo commented on 2020-08-10 15:05 (UTC)

@graysky - Hi, patches for kernel 5.7 have been around and worked good for some time, as I'm using kernel 5.7.14 and Nvidia 340.108 in Manjaro. So I suppose those patches could be the same for kernel 5.8...

graysky commented on 2020-08-09 13:05 (UTC)

@papakilo - Thank you for the link, but unless the new patche(s) are also backwards compatible with 5.7 which is currently offered in [core], and until the 5.8 kernel package moves from [testing] to [core], the package is not out-of-date.

Also, the link you posted only shows a 1-month-old patch for 5.7. I did not see a modification for 5.8. Perhaps I missed it?