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.035281
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 .. 17 18 19 20 21 22 23 24 25 26 27 .. 59 Next › Last »

Galard commented on 2021-09-21 10:55 (UTC)

Thank you very much! The driver is working.

MegaDeKay commented on 2021-09-21 01:14 (UTC)

Latest -24 version works great for me on 5.14.6.arch1-1. /dev/drm is present and SDDM works too. My hats off to the devs that are keeping my old laptop going with the latest and greatest!

tuxsavvy commented on 2021-09-16 12:41 (UTC) (edited on 2021-09-20 15:39 (UTC) by tuxsavvy)

@alou-S You need to manually create the /etc/X11/xorg.conf.d/20-nvidia.conf. The filename 20-nvidia.conf is totally optional here, I personally named it because:

  • It is easier to know exactly what sort of contents would be expected within that file, at a glance; it is pertaining to nvidia of course, and,

  • The prefixing of the numbers indicates that it has a higher priority/preference when Xorg starts.

Have a look at Arch Linux wiki, troubleshooting nvidia page. It gives you an idea of why I chose to use that filename, and to have that file there, even though that linked issue does not specifically apply to me.

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