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.037485
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 .. 8 9 10 11 12 13 14 15 16 17 18 .. 59 Next › Last »

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.

visious commented on 2022-10-14 11:07 (UTC) (edited on 2022-10-14 14:00 (UTC) by visious)

Hi everyone. Can you please tell me why the driver from AUR is working and from my computer is not working? I have edited the PKGBUILD a little bit. Here it is:

https://paste.rs/x0o.bash

Now I'm 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: 3298711 User defined signal 1 FAKEROOTKEY=$FAKEROOTKEY LD_LIBRARY_PATH="$PATHS" LD_PRELOAD="$FAKEROOT_LIB" "$@"

I don't know what does means this.

sayonalion commented on 2022-10-14 01:52 (UTC)

@JerryXiao The patch for kernel 6.0 works. Thanks.

hceldop commented on 2022-10-14 01:09 (UTC) (edited on 2024-03-12 03:50 (UTC) by hceldop)

It's working! Thanks @JerryXiao!

Here is how I made it work on a fresh Manjaro install:

# install prerequisites
sudo pacman -S yay patch make linux60 linux60-headers

# [optional] clean the aur cache, N, Y, Y
yay -Scc

# install aur prerequisites
yay -S nvidia-340xx-utils lib32-nvidia-340xx-utils

# remove linux61
yay -R linux61

# restart
sudo restart

# link lib modules to /usr/src/linux
cd /lib/modules/$(uname -r)/build/ | echo $(uname -r) \
  | sudo tee /lib/modules/$(uname -r)/build/version > /dev/null \
  | sudo ln -s /lib/modules/$(uname -r)/build /usr/src/linux

# remove conflicting folder before installing the nvidia-340xx package
sudo rm -rf /usr/lib/modules/$(uname -r)/extramodules/

# install the drivers
yay -S nvidia-340xx

# copy nvidia xorg config
sudo cp /etc/X11/xorg.conf.d/20-nvidia.conf /usr/share/nvidia-340xx/20-nvidia.conf

# restart
sudo reboot

KrisKorn commented on 2022-10-13 23:54 (UTC)

@JerryXiao Yes is working!! I Try dkms version and is working so far with kernel 6.0

Thanks, you work is very appreciated.!!

lmh69 commented on 2022-10-13 18:36 (UTC) (edited on 2022-10-13 18:39 (UTC) by lmh69)

Hi @JerryXiao It works well here with the (standard/"no dkms" version). Checked with the standard 6.0.1 kernel and the system upgraded to the current packages. I tested with glxgears, an old opengl game, youtube videos, and vdpau using mplayer. Checked dmesg, journalctl and xorg.log. All seems ok.

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

Lostless commented on 2022-10-10 15:07 (UTC)

304.108 driver patch not working on 6.0.