Package Details: nvidia-470xx-dkms 470.256.02-6

Git Clone URL: https://aur.archlinux.org/nvidia-470xx-utils.git (read-only, click to copy)
Package Base: nvidia-470xx-utils
Description: NVIDIA drivers - module sources
Upstream URL: http://www.nvidia.com/
Keywords: driver nvidia video
Licenses: custom
Conflicts: nvidia-dkms
Provides: NVIDIA-MODULE
Submitter: jonathon
Maintainer: Sinyria (cysp74, SoftExpert)
Last Packager: SoftExpert
Votes: 98
Popularity: 1.19
First Submitted: 2021-10-31 00:50 (UTC)
Last Updated: 2024-07-21 07:12 (UTC)

Latest Comments

« First ‹ Previous 1 .. 13 14 15 16 17 18 19 20 21 22 23 .. 39 Next › Last »

SoftExpert commented on 2023-07-07 05:15 (UTC)

@ukase: You need the patch from this comment

ukase commented on 2023-07-06 23:53 (UTC)

was running everything fine until i installed some packages and update the sys ive tried to install again with yay but it aint even compiling here the make.log that generates in /var/lib/dkms/nvidia/nvidia-version/build https://gist.github.com/sjakk/d0d7bbc789a0580e488d559c56f73273 anyone some suggestion?

SoftExpert commented on 2023-07-06 17:59 (UTC) (edited on 2023-07-06 18:01 (UTC) by SoftExpert)

@SinClaus:

  1. you can clone this repository or you can start from scratch

  2. the PKGBUILD file references the following files, in the same folder, and there are no symlinks involved; you have to use the PKGBUILD from the previous comment

  3. nvidia-drm-outputclass.conf

Section "OutputClass"
    Identifier "nvidia"
    MatchDriver "nvidia-drm"
    Driver "nvidia"
    Option "AllowEmptyInitialConfiguration"
    ModulePath "/usr/lib/nvidia/xorg"
    ModulePath "/usr/lib/xorg/modules"
EndSection
  • nvidia-470xx-utils.sysusers
u nvidia-persistenced 143 'NVIDIA Persistence Daemon'
  • nvidia-470xx.rules
# Make sure device nodes are present even when the DDX is not started for the Wayland/EGLStream case
KERNEL=="nvidia", RUN+="/usr/bin/bash -c 'if [ ! -c /dev/nvidiactl ]; then /usr/bin/mknod -Z -m 666 /dev/nvidiactl c $$(grep nvidia-frontend /proc/devices | cut -d \  -f 1) 255; fi'"
KERNEL=="nvidia", RUN+="/usr/bin/bash -c 'for i in $$(cat /proc/driver/nvidia/gpus/*/information | grep Minor | cut -d \  -f 4); do if [ ! -c /dev/nvidia$${i} ]; then /usr/bin/mknod -Z -m 666 /dev/nvidia$${i} c $$(grep nvidia-frontend /proc/devices | cut -d \  -f 1) $${i}; fi; done'"
KERNEL=="nvidia_modeset", RUN+="/usr/bin/bash -c 'if [ ! -c /dev/nvidia-modeset ]; then /usr/bin/mknod -Z -m 666 /dev/nvidia-modeset c $$(grep nvidia-frontend /proc/devices | cut -d \  -f 1) 254; fi'"
KERNEL=="nvidia_uvm", RUN+="/usr/bin/bash -c 'if [ ! -c /dev/nvidia-uvm ]; then /usr/bin/mknod -Z -m 666 /dev/nvidia-uvm c $$(grep nvidia-uvm /proc/devices | cut -d \  -f 1) 0; fi'"
KERNEL=="nvidia_uvm", RUN+="/usr/bin/bash -c 'if [ ! -c /dev/nvidia-uvm-tools ]; then /usr/bin/mknod -Z -m 666 /dev/nvidia-uvm-tools c $$(grep nvidia-uvm /proc/devices | cut -d \  -f 1) 1; fi'"
  • NVIDIA-Linux-x86_64-470.199.02.run <= will be downloaded by the package

  • kernel-6.4.patch <= you already got its contents from a previous comment

  • you can execute makepkg -g to obtain the output for the checksums collection; then you can replace in the PKGBUILD file the corresponding sums

  • now you can run makepkg

Good luck !

edited: fixed typo, made clearer which PKGBUILD to use

erfahren commented on 2023-07-06 17:42 (UTC)

I have a GeForce GT 730 and used the kernel-6.4.patch provided. I changed the patch number and its sha512sum in the "sources" of the PKGBUILD and the .SRCINFO

The way I do it is disable my display manager service so I can reboot without X starting and then do the makepkg to install the driver with the patch and it worked.

The same kernel-6.4.patch is here: https://gist.github.com/joanbm/77f0650d45747b9a4dc8e330ade2bf5c

SinClaus commented on 2023-07-06 13:31 (UTC)

I have cloned Nvidia folder, try to use patch from ubuntu but 1. SHA512 don't work. 2.I chaged sum but pkgbuild ask me what file file I want to patch.

SinClaus commented on 2023-07-06 10:49 (UTC)

Hmmm.... 1. From where I have to clone this folder? 2. AUR is Arch repo, I'm using Arch with kernel 6.4.1, command - makepkg (PKGBUILD is for this ommand, no?) All commands are executed in a 470.182.03/build folder with nvidia-470xx-utils.install as simlink of NVIDIA-Linux-x86_64-470.199.02.run

SoftExpert commented on 2023-07-06 10:33 (UTC)

@SinClaus: This is the content of my folder where I build the package. You need to clone the repository and then modify the PKGBUILD file with the elements you see on the given example.

8,0K kernel-6.3.patch
4,0K kernel-6.4.patch
 27M nvidia-470xx-dkms-470.199.02-1-x86_64.pkg.tar.zst
4,0K nvidia-470xx.rules
192M nvidia-470xx-utils-470.199.02-1-x86_64.pkg.tar.zst
4,0K nvidia-470xx-utils.install
4,0K nvidia-470xx-utils.sysusers
4,0K nvidia-drm-outputclass.conf
261M NVIDIA-Linux-x86_64-470.199.02.run
 27M opencl-nvidia-470xx-470.199.02-1-x86_64.pkg.tar.zst
 16K PKGBUILD

At this point, I don't know a lot of useful things, like: + what OS are you on + what kernel version are you using as target and what other kernels are on the machine + what commands you executed before getting the error message.

Without these elements, impossible to know what is happening.

SinClaus commented on 2023-07-06 10:07 (UTC)

PGBUILD cant find nvidia-drm-outputclass.install in nvidia catalogs, me too.

SoftExpert commented on 2023-07-06 09:04 (UTC)

@circl: No worries! The decision is not mine ... I'm waiting, the same as you are ...

circl commented on 2023-07-06 08:51 (UTC)

@SoftExpert Once again I apologize for the multiple requests, I only requests orphan not becoming the maintainer, because I thought it was similar to the voting system on the AUR, I have made a duplicate report to yours, sorry