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.69
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 .. 16 17 18 19 20 21 22 23 24 25 26 .. 58 Next › Last »

alou-S commented on 2021-09-15 16:19 (UTC) (edited on 2021-09-15 16:29 (UTC) by alou-S)

@tuxsavvy Nvm, I figured it out. Just had to add this to my xorg.conf

Section "Files"
        ModulePath "/usr/lib/nvidia/xorg"
        ModulePath "/usr/lib/xorg/modules"
EndSection

Also realized that /etc/X11/xorg.conf.d/20-nvidia.conf doesn't exist for me, coping it over from /usr/share/nvidia-340xx doesn't seem to fix the issue so had to add it to xorg.conf

tuxsavvy commented on 2021-09-15 15:17 (UTC)

@alou-S There's not enough information with regards to your issue. I have found a workaround to ensure that glxinfo -B does show my card. If this does not work, then I do not know how to solve your issue.

In my /etc/X11/xorg.conf.d/20-nvidia.conf,

# (EE) NVIDIA(0): Failed to initialize the GLX module; please check in your X
# (EE) NVIDIA(0):     log file that the GLX module has been loaded in your X
# (EE) NVIDIA(0):     server, and that the module is the NVIDIA GLX module.  If
# (EE) NVIDIA(0):     you continue to encounter problems, Please try
# (EE) NVIDIA(0):     reinstalling the NVIDIA driver.
# https://bbs.archlinux.org/viewtopic.php?pid=1702290#p1702290
# https://bugs.archlinux.org/task/53090#comment164782
Section "Files"
        ModulePath "/usr/lib/nvidia/xorg"
        ModulePath "/usr/lib/xorg/modules"
EndSection

Section "Device"
        Identifier "Nvidia Card"
        Driver "nvidia"
        VendorName "NVIDIA Corporation"
        Option "NoLogo" "1"
        BoardName "GeForce <censored>"
EndSection

Perhaps try referring to the links in lines prepended with # character.

alou-S commented on 2021-09-15 12:25 (UTC)

@tuxsavvy Hmm other than the /dev/dri listing issue and sddm issue. The other problem is that OpenGL doesn't seem to work anymore. glxinfo gives some sort of (NV-GLX) error.

tuxsavvy commented on 2021-09-14 15:26 (UTC)

@alou-S You might want to check the merge comment by package maintainer. It looks like the required /dev/dri listing may not be implemented due to security risks. Presently the only viable way is to compile a custom kernel with that CONFIG_DRM_LEGACY set.

As for sddm, the long story short is that it probably could be avoided if lightdm for instance was used instead (look for the comment by thelinuxfan).

alou-S commented on 2021-09-14 14:58 (UTC)

The latest version 340.108-23 seem to compile the kernel module right. But the old issue of sddm not able to start has come back.Card not visible in /dev/dri. Problem occurs on kernel 5.14.2 but not on 5.13.13 with the latest nvidia-340xx 340.108-23. Does anybody else have a similar issue?

ismaail commented on 2021-09-12 19:43 (UTC)

The latest upgrade nvidia-340xx (340.108-22 -> 340.108-23) works fine with Linux 5.14.2-arch1-2

Thank you.

c0mmand0x72 commented on 2021-09-12 11:14 (UTC)

@vicpt thx for the patch. I change the b2sum too in my pkgbuild and everything works fine. KUDOS to you

KrisKorn commented on 2021-09-11 15:35 (UTC) (edited on 2021-09-12 01:35 (UTC) by KrisKorn)

can't compile for kernel 5.14, it worked on previous kernels.

I leave the output of /var/lib/dkms/nvidia/340.108/build/make.log on this pastebin page https://pastebin.com/xaz1506h hopefully it will work. Thanks!!

loy commented on 2021-09-11 10:52 (UTC) (edited on 2021-09-11 10:52 (UTC) by loy)

@vicpt : Thanks for the last patch (kernel 5.14). But problem with b2sum on it, new sum is : a48a216dc36b104e2703372dc894c310cf6fc1eae99e6c015de1f04b61046d2d70c761531ad5b0acf9f678570688d5237db58711371ada0aed3ce0c776974f9f

Maybe the download from gitlab but sum in PKGBUILD was wrong. After that, install works perfectly :)

vicpt commented on 2021-09-11 03:36 (UTC)

@JerryXiao I tried a resend for another address. If you for some reason don't receive, I will try later link it here directly or open a merge request on gitlab repo.