Package Details: nvidia-340xx 340.108-39

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: 74
Popularity: 0.86
First Submitted: 2019-06-07 10:29 (UTC)
Last Updated: 2025-08-03 10:26 (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

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

Yomi95 commented on 2025-10-16 14:51 (UTC) (edited on 2025-10-17 15:07 (UTC) by Yomi95)

With Arch 6.17.2-zen1-1-zen i don't even need the patchelf anymore for ffmpeg to work :)

Luanti instant crash fix: echo "video_driver = opengl3" > $HOME/.minetest/minetest.conf

Yomi95 commented on 2025-10-03 11:04 (UTC) (edited on 2025-10-04 09:42 (UTC) by Yomi95)

Working well on 6.16.10-zen1-1-zen

> sudo patchelf --add-needed /usr/lib/libpthread.so.0 /usr/lib/nvidia/libGL.so.340.108 Fixed Segmentation fault crash with ffmpeg and some other apps, nice work!

c0mmand0x72 commented on 2025-09-19 16:17 (UTC)

success :)

i upgraded from kernel 6.15.9 to 6.16.7 11/sep/2025 .

recompile nvdia-340xx driver , reboot , and everything works

c0mmand0x72 commented on 2025-09-19 12:53 (UTC) (edited on 2025-09-19 13:19 (UTC) by c0mmand0x72)

Kudos for you @taz-007 !!! BUT !!! i only did sudo patchelf --add-needed libpthread.so.0 /lib/nvidia/libnvidia-tls.so.340.108

tested on guake console with ffmpeg , kitty , dosbox-x , attract

tested on lxqt desktop with kitty , dosbox-x , attract no new coredumps

the solution is here in the nvidia-utils pkgbuild

https://github.com/flydiscohuebr/nvidia-304/tree/main/Archlinux/nvidia-304.137/nvidia-304xx-utils

gdb showed me that libnvidia-tls always crashed , but gdb and strace had no problem to run these apps , because they used libpthread . didnt know patchelf . a real gamechanger .

TheExplorer commented on 2025-09-15 12:45 (UTC)

@taz-007

https://github.com/flydiscohuebr/nvidia-304

Awesome stuff. With fixes, tips and tricks. Thank you for the link!

taz-007 commented on 2025-09-12 21:07 (UTC) (edited on 2025-09-12 21:07 (UTC) by taz-007)

for those having segfault issues, try running :

sudo cp /usr/lib/nvidia/libGL.so.340.108 /usr/lib/nvidia/libGL.so.340.108.orig

sudo patchelf --add-needed /usr/lib/libpthread.so.0 /usr/lib/nvidia/libGL.so.340.108

solution found from this page : https://github.com/flydiscohuebr/nvidia-304 (thanks!)

getong commented on 2025-08-20 17:00 (UTC)

The linux kernel is linux 6.16.1.arch1-1 now, this dkms does not work with it. Would you update it, my pc does not work.

c0mmand0x72 commented on 2025-08-20 14:18 (UTC)

hello again . first arch linux do everything you want . BUT you must do everything by yourself . when arch linux drop 32bit support , some people make they own 32bit arch linux !

at the moment i use strace + "programm". works very good. no big cpu/mem impact .

i think bui ld-id is a dead end , but for my and you learning

i tried to set the build id option in /etc/makepkgconf as explained here --->https://interrupt.memfault.com/blog/gnu-build-id-for-firmware

add to -> CFLAGS=" -Wl,--build-id . for a quick test try "yay sfml2" . it quickly crash compile with error "unknown build otion" if you make something wrong. to check build id , readelf -n "file"

readelf -n /opt/sfml2/lib/libsfml-graphics.so or readelf -n /bin/"yoursoftware/" ! i dont know if this is 100% correct ! know i try to compile nvidia-340