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: graysky
Votes: 40
Popularity: 1.88
First Submitted: 2019-06-07 10:29
Last Updated: 2020-10-22 11:05

Pinned Comments

graysky commented on 2020-10-18 11:09

https://forums.developer.nvidia.com/t/nvidia-driver-not-yet-supported-for-linux-kernel-5-9/157263

Latest Comments

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

eugene commented on 2020-10-22 02:17

it looks like patches for 5.8 are mandatory, @graysky

eugene commented on 2020-10-22 01:39

Does not work for me still. Fails with drm_pci_init function declaration error

graysky commented on 2020-10-22 00:22

I just pushed 340.108-11 but it still does not build for me in a buildroot. Can someone confirm that it is working?

nmapper commented on 2020-10-21 22:16

NVIDIA Corporation G96C [GeForce 9400 GT] (rev a1) here.

Can confirm, the patch cb2521375317a368d7a5b4766071d0dfb09f359f7521f769e581b083540bfcbaab18f2d1b308d4e668841ef15dbeebcf0495b3cbaa2c9ee1a8b6a35308206e6e works for me

lpga commented on 2020-10-21 20:46

first, thank you @speps for the patch; second, I used all the patches that were in the previous version of nvidia-340xx-dkms (for kernel 5.7 and 5.8) together to the new patch for kernel 5.9.

obviously I don't make use of OpenCL or CUDA.

the b2sum code for the new patch is

 $ cat nvidia-340.108-fix-5.9-kernel-compile.patch | b2sum
cb2521375317a368d7a5b4766071d0dfb09f359f7521f769e581b083540bfcbaab18f2d1b308d4e668841ef15dbeebcf0495b3cbaa2c9ee1a8b6a35308206e6e

and this is the prepare() function in "my PKGBUILD"

prepare() {
  sh "${_pkg}.run" --extract-only
  cd "${_pkg}"

# seems manjaro is keeping this current # https://gitlab.manjaro.org/packages?utf8=%E2%9C%93&filter=nvidia-340xx (patch -p1 --no-backup-if-mismatch -i "$srcdir"/kernel-5.7.patch)

# https://launchpad.net/~kelebek333/+archive/ubuntu/nvidia-legacy/+packages # the following was extracted from # https://launchpadlibrarian.net/492468557/nvidia-graphics-drivers-340_340.108-1lmtrfocal3_340.108-2lmtrfocal.diff.gz (cd kernel && patch -p1 --no-backup-if-mismatch -i "$srcdir"/buildfix_kernel_5.8.patch)

# patch kernel 5.9 (patch -p1 --no-backup-if-mismatch -i "$srcdir"/kernel-5.9.patch)

cp -a kernel kernel-dkms }

Filkolev commented on 2020-10-21 20:16

Could someone confirm the new b2sum for the patch?

cb2521375317a368d7a5b4766071d0dfb09f359f7521f769e581b083540bfcbaab18f2d1b308d4e668841ef15dbeebcf0495b3cbaa2c9ee1a8b6a35308206e6e

That's the one I used. Now I get implicit declaration of drm_pci_init/drm_pci_exit, if anyone has a fix for this please share.

holyArch commented on 2020-10-21 20:00

Could someone confirm the new b2sum for the patch?

cb2521375317a368d7a5b4766071d0dfb09f359f7521f769e581b083540bfcbaab18f2d1b308d4e668841ef15dbeebcf0495b3cbaa2c9ee1a8b6a35308206e6e

Filkolev commented on 2020-10-21 19:55

Patch file was modified on Github on Oct 20, so currently the checksum does not match. The one provided in PKGBUILD corresponds to the previous commit pushed on Aug 26.

lgomesf commented on 2020-10-21 19:22

I added the patch and the build errors

ERROR: modpost: "agp_backend_release" [/home/luiz/git-Download/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nvidia.ko] undefined!

ERROR: modpost: "agp_copy_info" [/home/luiz/git-Download/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nvidia.ko] undefined!

ERROR: modpost: "agp_unbind_memory" [/home/luiz/git-Download/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nvidia.ko] undefined!

ERROR: modpost: "agp_free_memory" [/home/luiz/git-Download/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nvidia.ko] undefined!

ERROR: modpost: "agp_backend_acquire" [/home/luiz/git-Download/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nvidia.ko] undefined!

ERROR: modpost: "agp_find_bridge" [/home/luiz/git-Download/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nvidia.ko] undefined!

aurobe commented on 2020-10-21 17:13

@speps THX! works for me! (5.9.1-2-ck)