Package Details: nvidia-340xx 340.108-38

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: 73
Popularity: 1.20
First Submitted: 2019-06-07 10:29 (UTC)
Last Updated: 2025-05-15 00:39 (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 .. 62 Next › Last »

Yomi95 commented on 2025-07-11 10:28 (UTC) (edited on 2025-07-11 12:28 (UTC) by Yomi95)

Same issues as the users bellow with Kernel 6.15+:

In file included from nv-linux.h:14, from nv.c:13: nv.h:15:10: fatal error: nvtypes.h: No such file or directory 15 | #include <nvtypes.h>

I then changed the #include <nvtypes.h> to #include "nvtypes.h" in /usr/src/nvidia-340.108/nv.h hoping for an easy fix only to be presented with a much bigger make.log filled with many many different errors...

The patch is probably being worked on by now so I'm mainly typing this to say thanks for still supporting such old hardware <3

Kanogul commented on 2025-07-10 01:31 (UTC)

Any info related to aitzkora's comment from 2025-06-11? I am having the same issue after the kernel update to 6.15.4-arch2-1...

TheHitMan commented on 2025-07-08 19:08 (UTC)

Does anyone happen to know if the driver version 340.108-38 also supports HDMI audio?

aitzkora commented on 2025-06-11 17:08 (UTC) (edited on 2025-06-11 17:09 (UTC) by aitzkora)

Hi,
this is the first time, I did not manage to compile that package. Sadly my quadro fx 37000 is a little bit old

   cc -Wp,-MMD,./.nv.o.d -nostdinc -I/usr/lib/modules/6.15.1-arch1-2/build/arch/x86/include -I/usr/lib/modules/6.15.1-arch1-2/build/arch/x86/include/generated -I/usr/lib/modules/6.15.1-arch1-2/build/include -I/usr/lib/modules/6.15.1-arch1-2/build/include -I/usr/lib/modules/6.15.1-arch1-2/build/arch/x86/include/uapi -I/usr/lib/modules/6.15.1-arch1-2/build/arch/x86/include/generated/uapi -I/usr/lib/modules/6.15.1-arch1-2/build/include/uapi -I/usr/lib/modules/6.15.1-arch1-2/build/include/generated/uapi -include /usr/lib/modules/6.15.1-arch1-2/build/include/linux/compiler-version.h -include /usr/lib/modules/6.15.1-arch1-2/build/include/linux/kconfig.h -include /usr/lib/modules/6.15.1-arch1-2/build/include/linux/compiler_types.h -D__KERNEL__ -std=gnu11 -fshort-wchar -funsigned-char -fno-common -fno-PIE -fno-strict-aliasing -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=branch -fno-jump-tables -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -march=x86-64 -mtune=generic -mno-red-zone -mcmodel=kernel -mstack-protector-guard-reg=gs -mstack-protector-guard-symbol=__ref_stack_chk_guard -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -mfunction-return=thunk-extern -fno-jump-tables -mharden-sls=all -fpatchable-function-entry=16,16 -fno-delete-null-pointer-checks -O2 -fno-allow-store-data-races -fstack-protector-strong -ftrivial-auto-var-init=zero -fzero-init-padding-bits=all -fno-stack-clash-protection -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -fmin-function-alignment=16 -fstrict-flex-arrays=3 -fno-strict-overflow -fno-stack-check -fconserve-stack -fno-builtin-wcslen -Wall -Wextra -Wundef -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Werror=strict-prototypes -Wno-format-security -Wno-trigraphs -Wno-frame-address -Wno-address-of-packed-member -Wmissing-declarations -Wmissing-prototypes -Wframe-larger-than=2048 -Wno-main -Wno-dangling-pointer -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-unterminated-string-initialization -Wno-array-bounds -Wno-stringop-overflow -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wenum-conversion -Wunused -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-packed-not-aligned -Wno-format-overflow -Wno-format-truncation -Wno-stringop-truncation -Wno-override-init -Wno-missing-field-initializers -Wno-type-limits -Wno-shift-negative-value -Wno-maybe-uninitialized -Wno-sign-compare -Wno-unused-parameter -g -gdwarf-5  -DMODULE  -DKBUILD_BASENAME='"nv"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia -c -o nv.o nv.c
    In file included from nv-linux.h:14,
             from nv.c:13:
  nv.h:15:10: fatal error: nvtypes.h: No such file or directory
     15 | #include <nvtypes.h>
        |          ^~~~~~~~~~~
  compilation terminated.
  make[4]: *** [/usr/lib/modules/6.15.1-arch1-2/build/scripts/Makefile.build:203: nv.o] Error 1
  make[3]: *** [/usr/lib/modules/6.15.1-arch1-2/build/Makefile:2003: .] Error 2
  make[2]: *** [/usr/lib/modules/6.15.1-arch1-2/build/Makefile:248: __sub-make] Error 2
  make[2]: Leaving directory '/home/fux/sources/build_packages/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel'
  make[1]: *** [Makefile:248: __sub-make] Error 2
  make[1]: Leaving directory '/usr/lib/modules/6.15.1-arch1-2/build'
  NVIDIA: left KBUILD.

TheExplorer commented on 2025-05-22 08:25 (UTC)

@Anakiev No, I'm staying with the 5.15 and 6.6 LTS kernels on my machines at the moment and I'm happy. Do not plan to move right now. But thank you for your efforts. The community needs you.

Linus Torvalds is the creator and the developer of the Linux Kernel

Nice one :) You made my day.

Cheers!

Anakiev commented on 2025-05-22 07:33 (UTC) (edited on 2025-05-22 15:09 (UTC) by Anakiev)

@TheExplorer Did you try it? I use the DRM enabled driver the last 6 days without any problems. FYI the patch I've added already exists in the nvidia-390xx version here and here. The drm_legacy.h is directly downloaded from the Linus Torvalds's GitHub page. Linus Torvalds is the creator and the developer of the Linux Kernel. So there is nothing to be scared of.

TheExplorer commented on 2025-05-16 16:03 (UTC)

@Anakiev I can see that the 0006-kernel-5.14.patch in your repo still has +#include <drm/drm_legacy.h> and not +#include /drm_legacy.h

TheExplorer commented on 2025-05-16 15:59 (UTC)

@Anakiev What does the line date = "20150116"do to the code and why it should be removed?