@ukase: You need the patch from this comment
Search Criteria
Package Details: opencl-nvidia-470xx 470.256.02-7.95
Package Actions
Git Clone URL: | https://aur.archlinux.org/nvidia-470xx-utils.git (read-only, click to copy) |
---|---|
Package Base: | nvidia-470xx-utils |
Description: | OpenCL implemention for NVIDIA |
Upstream URL: | http://www.nvidia.com/ |
Keywords: | driver nvidia video |
Licenses: | custom |
Conflicts: | opencl-nvidia |
Provides: | opencl-driver, opencl-nvidia |
Submitter: | jonathon |
Maintainer: | Sinyria (cysp74, SoftExpert) |
Last Packager: | SoftExpert |
Votes: | 103 |
Popularity: | 1.94 |
First Submitted: | 2021-10-31 00:50 (UTC) |
Last Updated: | 2025-02-03 19:42 (UTC) |
Dependencies (2)
- zlib (zlib-ng-compat-gitAUR, zlib-gitAUR, zlib-ng-compat)
- opencl-headers (opencl-headers-gitAUR) (optional) – headers necessary for OpenCL development
Required by (66)
- aftershotpro3 (requires opencl-nvidia) (optional)
- arrayfire-git (requires opencl-driver) (optional)
- bfgminer-git (requires opencl-driver) (optional)
- computecpp (requires opencl-driver)
- cpu-x-opencl (requires opencl-driver) (optional)
- crark (requires opencl-driver) (optional)
- cuda-10.0 (requires opencl-nvidia)
- cuda-10.2 (requires opencl-nvidia)
- cuda-11.1 (requires opencl-nvidia)
- cuda-11.7 (requires opencl-nvidia)
- cuda-8.0 (requires opencl-nvidia)
- cuda-9.0 (requires opencl-nvidia)
- cuda11.1 (requires opencl-nvidia)
- cuda11.4 (requires opencl-nvidia)
- cuda11.4-versioned (requires opencl-nvidia)
- cuda12.0 (requires opencl-nvidia)
- cuda12.0-versioned (requires opencl-nvidia)
- cytoscape (requires opencl-driver) (optional)
- davinci-resolve (requires opencl-driver)
- davinci-resolve-beta (requires opencl-driver)
- Show 46 more...
Sources (12)
- 0001-Fix-conftest-to-ignore-implicit-function-declaration.patch
- 0002-Fix-conftest-to-use-a-short-wchar_t.patch
- 0003-Fix-conftest-to-use-nv_drm_gem_vmap-which-has-the-se.patch
- https://us.download.nvidia.com/XFree86/Linux-x86_64/470.256.02/NVIDIA-Linux-x86_64-470.256.02.run
- kernel-6.10.patch
- kernel-6.12.patch
- nvidia-470xx-fix-linux-6.13.patch
- nvidia-470xx-utils.sysusers
- nvidia-470xx.rules
- nvidia-drm-outputclass.conf
- systemd-homed-override.conf
- systemd-suspend-override.conf
Latest Comments
« First ‹ Previous 1 .. 18 19 20 21 22 23 24 25 26 27 28 .. 44 Next › Last »
SoftExpert commented on 2023-07-07 05:15 (UTC)
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:
-
you can clone this repository or you can start from scratch
-
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
-
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
Pinned Comments
SoftExpert commented on 2025-02-09 10:20 (UTC)
For the beginners in need of assistance, first take a look at this recommended guide https://github.com/korvahannu/arch-nvidia-drivers-installation-guide - maybe it helps to solve the issues your are having with this version of the driver.