Using makepkg -g >> PKGBUILD made the trick to fix the issue with validation in the kernel-6.4.patch file. Thanks to @SoftExpert and @Nestor_013
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.98 |
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 .. 22 23 24 25 26 27 28 29 30 31 32 .. 44 Next › Last »
erickwill commented on 2023-07-03 19:20 (UTC)
circl commented on 2023-07-03 19:19 (UTC)
@a821 Sorry!
circl commented on 2023-07-03 19:18 (UTC)
Also, to run Steam, reinstall lib32-nvidia-470xx-utils
Nestor_013 commented on 2023-07-03 16:26 (UTC) (edited on 2023-07-03 16:26 (UTC) by Nestor_013)
@erickwill I had the same kind of error. Do a makepkg -g to regenerate the validation key for the patch.
This new version sounds to be working for me so far.
erickwill commented on 2023-07-03 16:18 (UTC)
@SoftExpert @cysp74
Tried to do according the instructions, but got this: NVIDIA-Linux-x86_64-470.199.02.run ... Passed kernel-6.4.patch ... FAILED ==> ERROR: One or more files did not pass the validity check!
Here is my kernel-6.4.patch:
From 4981428cda825b415eea60313f71bf386cc9f7e1 Mon Sep 17 00:00:00 2001 From: Joan Bruguera joanbrugueram@gmail.com Date: Sat, 25 Feb 2023 10:57:26 +0000 Subject: [PATCH] Tentative fix for NVIDIA 470.199.02 driver for Linux 6.4-rc1
nvidia-drm/nvidia-drm-drv.c | 5 +++++ 1 file changed, 5 insertions(+)
--- a/nvidia-drm/nvidia-drm-drv.c +++ b/nvidia-drm/nvidia-drm-drv.c @@ -20,6 +20,7 @@ * DEALINGS IN THE SOFTWARE. */
+#include <linux/version.h> #include "nvidia-drm-conftest.h" / NV_DRM_AVAILABLE and NV_DRM_DRM_GEM_H_PRESENT /
#include "nvidia-drm-priv.h" @@ -873,9 +874,13 @@
nv_drm_driver.dumb_create = nv_drm_dumb_create;
nv_drm_driver.dumb_map_offset = nv_drm_dumb_map_offset;
+// Rel. commit "drm: remove dumb_destroy callback" (Christian König, 26 Jan 2023) +// NB: No resources are leaked, the kernel releases the same resources by default +#if LINUX_VERSION_CODE < KERNEL_VERSION(6, 4, 0) #if defined(NV_DRM_DRIVER_HAS_DUMB_DESTROY) nv_drm_driver.dumb_destroy = nv_drm_dumb_destroy; #endif / NV_DRM_DRIVER_HAS_DUMB_DESTROY / +#endif #endif / NV_DRM_ATOMIC_MODESET_AVAILABLE / }
-- 2.40.1 =================================================
Any tips are appreciated. Thanks fellas!
Sinyria commented on 2023-07-03 15:44 (UTC)
the makepkg diff by cysp74 and the instructions by SoftExpert on how to build and install helped a lot. thank you both <3 hope this gets orphaned again soon, so one of you can grab it; it was for most of Spring '23 after Menelkir left.
a821 commented on 2023-07-03 11:08 (UTC)
@circl and @SoftExpert: there's no need to send redundant orphan requests, there are already three, one is enough.
circl commented on 2023-07-03 10:03 (UTC)
Thanks SoftExpert, I hope this patch is integrated soon, was forced to use internal graphics for about 20 minutes, which may or may not be better than this GPU but oh well
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.