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.86
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 .. 6 7 8 9 10 11 12 13 14 15 16 .. 58 Next › Last »

visious commented on 2022-12-22 18:16 (UTC) (edited on 2022-12-22 19:39 (UTC) by visious)

Hi, does the 0011-kernel-6.0.patch is working for linux kernel 6.1.1.arch1-1, or I have to wait for new 0012-kernel-6.1.patch?

Note: If someone you get me a solution, how to build the driver manually and fix this error, it whould be good to know. I wont disturbed you with the same question again. Here is the PKGBUILD: https://pastebin.com/ypZAUE07

==> Entering fakeroot environment... chmod: cannot access '/home/visious/Downloads/Nvidia-340.108/Nvidia-340xx-dkms/pkg': No such file or directory /usr/bin/fakeroot: line 178: 65206 User defined signal 1 FAKEROOTKEY=$FAKEROOTKEY LD_LIBRARY_PATH="$PATHS" LD_PRELOAD="$FAKEROOT_LIB" "$@"

hackins commented on 2022-12-17 18:44 (UTC)

Did anyone compile the driver for Linux 6.0.12.arch1-1, is it okay?

freeartist commented on 2022-12-04 00:48 (UTC) (edited on 2022-12-04 00:49 (UTC) by freeartist)

offtopic

SOLVED!

previously i am install runit init

now i am move back to sysv init

and now driver installation complete without errors on Devuan

visious commented on 2022-12-01 21:26 (UTC) (edited on 2022-12-01 21:30 (UTC) by visious)

@freeartist Yes I have trouble to build dkms manually. The original script is on top right of the page:

Package Actions

View PKGBUILD

I guess report your problem to Devuan Community, maybe there are able to help you.

freeartist commented on 2022-12-01 21:08 (UTC)

@visious5d Hello! I am using inttf-nvidia-patcher.sh on Devuan(Debian fork) This patcher script using patches from here. Usually all works well. But now after kernel updated to 6.0.0.5 i have error at compiling DKMS. Also driver working without dkms. But i whant go deeper:) I whant to know why exactly this error happens? I thout may be here i get answer? I see you have trouble too building dkms manually? Where is you got this script https://pastebin.com/ypZAUE07

visious commented on 2022-12-01 18:39 (UTC) (edited on 2022-12-01 19:36 (UTC) by visious)

@freeartist Hi, let me understand. You are using arch linux patches on fedora system, right?. These patches are already loaded in driver, see the sources above. The only difference is I don't know what is doing the "inttf-nvidia-patcher.sh". I can't answer to you in this question, because I'm not maintainer or contributor. I'm arch linux user.

freeartist commented on 2022-12-01 13:34 (UTC)

Devuan, kernel 6.0.0.5 DKMS compilation error https://imgur.com/a/WFW84UC https://pastebin.com/JqQBYX6V https://pastebin.com/MuzLMj3w

i use this script https://www.if-not-true-then-false.com/2020/inttf-nvidia-patcher/?amp=1 that uses that patch, its patch or script error?

visious commented on 2022-10-30 06:32 (UTC) (edited on 2022-10-30 13:15 (UTC) by visious)

Hi again, I just upgrade my system and the driver from AUR is working well, here is the proof:

$ cpu-x -D

System <<<<<<<<<<

***** Operating System *****
      Kernel: Linux 6.0.5-arch1-1
Distribution: Arch Linux
    Hostname: archlinux
      Uptime: 0 days, 0 hours, 11 minutes, 41 seconds
    Compiler: cc (GCC) 12.2.0

***** Memory *****
        Used: 1.46 GiB / 7.75 GiB
     Buffers: 0.09 GiB / 7.75 GiB
      Cached: 1.06 GiB / 7.75 GiB
        Free: 5.15 GiB / 7.75 GiB
        Swap: 0.00 MiB / 1024.00 MiB

Graphics <<<<<<<<<<

***** Card 0 *****
      Vendor: NVIDIA
      Driver: nvidia
 UMD Version: NVIDIA 340.108
       Model: GT218M [GeForce G 105M]
Compute Unit: 
    DeviceID: 0x0A68:0xA2

VBIOS Version: 70.18.1F.00.2F Interface: Temperature: 59.00°C Usage: [Not Supported]% Core Voltage: Power Avg: GPU clock: Memory clock: Memory Used: 166 MiB / 511 MiB Resizable BAR: Disabled Vulkan RT: Disabled OpenGL Version: 3.30 NVIDIA via Cg compiler Vulkan Version: OpenCL Version:

Now can you please tell me why I can't build the same package from my computer and getting this error:

==> Entering fakeroot environment... chmod: cannot access '/home/visious/Downloads/Nvidia-340.108/Nvidia-340xx-dkms/pkg': No such file or directory /usr/bin/fakeroot: line 178: 65206 User defined signal 1 FAKEROOTKEY=$FAKEROOTKEY LD_LIBRARY_PATH="$PATHS" LD_PRELOAD="$FAKEROOT_LIB" "$@"

What should I do to fix it? Here is the PKGBUILD: https://pastebin.com/ypZAUE07

KrisKorn commented on 2022-10-14 22:03 (UTC)

Hi! I have successful manual installation from https://github.com/archlinux-jerry/nvidia-340xx

but have an error from pacman-manager installer on Manjaro:

 ./scripts/check-local-export /mnt/hd/Comp_Temp/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-chrdev.o
make[2]: *** [scripts/Makefile.build:250: /mnt/hd/Comp_Temp/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-acpi.o] Error 1
make[2]: *** Se espera a que terminen otras tareas....
make[1]: *** [Makefile:1852: /mnt/hd/Comp_Temp/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel] Error 2
make[1]: se sale del directorio '/usr/lib/modules/6.0.0-1-MANJARO/build'
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make: *** [Makefile:202: nvidia.ko] Error 1
==> ERROR: Se produjo un fallo en build().
    Cancelando... 

holyArch commented on 2022-10-14 14:56 (UTC) (edited on 2022-10-14 14:57 (UTC) by holyArch)

The new patch is working with kernel 6.0.1.