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: 39
Popularity: 1.87
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

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

ansgoati commented on 2020-10-25 14:35

Any of you can change the brightness ?? I've tried adding the line: Option "RegistryDwords" "EnableBrightnessControl=1" to /usr/share/X11/xorg.conf.d/10-nvidia-brightness.conf and /etc/X11/xorg.conf without any effect.

pfzim commented on 2020-10-23 20:20

Hello!

Sound via HDMI stops working after installing this driver on Nvidia MCP7A-ION. Can anyone help me fix the problem?

For more details: https://www.mail-archive.com/alsa-user@lists.sourceforge.net/msg32765.html

Missed diff: https://pastebin.com/fDcS1543

lpga commented on 2020-10-22 11:29

@graysky Everything fine here with the new release (and my old 8800GT), thank you very much

graysky commented on 2020-10-22 11:07

OK, 340.108-12 builds for me and simplifies things a bit.

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.