@aparthy I use zen too, I just removed and reinstalled the package (after cleaning up any sort of cache) and it builds and installs without any issue. Do you have custom CFLAGS? I've noticed you're forcing the dkms autoinstall, is there something preventing you from just installing this package? Dkms should trigger and install the modules by default just fine.
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 .. 25 26 27 28 29 30 31 32 33 34 35 .. 44 Next › Last »
<deleted-account> commented on 2023-03-18 21:18 (UTC)
aparthy commented on 2023-03-18 20:47 (UTC) (edited on 2023-03-19 13:14 (UTC) by aparthy)
❯ less /var/lib/dkms/nvidia/470.161.03/build/make.log
DKMS make.log for nvidia-470.161.03 for kernel 6.2.6-zen1-1-zen (x86_64)
Sa 18. Mär 21:18:26 CET 2023
warning: the compiler differs from the one used to build the kernel
The kernel was built by: gcc (GCC) 12.2.1 20230201
You are using: cc (GCC) 12.2.1 20230201
...
/var/lib/dkms/nvidia/470.161.03/build/nvidia/nv-acpi.c:84:19: error: initializatio
n of ‘void (*)(struct acpi_device *)’ from incompatible pointer type ‘int (*)(stru
ct acpi_device *, int)’ [-Werror=incompatible-pointer-types]
84 | .remove = nv_acpi_remove_two_args,
| ^~~~~~~~~~~~~~~~~~~~~~~
<deleted-account> commented on 2023-03-12 19:20 (UTC)
I don't know if there's a proper way to make it right, because there's many kernels and also many linux-headers. Holding linux-headers as dependency will force to install the main linux-headers even if a person only uses linux-headers-lts or linux-headers-zen.
dough.mean commented on 2023-03-12 19:17 (UTC)
I had to run pacman -S linux-headers
so that I don't get any missing kernel headers errors.
Shouldn't linux-headers
be added to the dependencies?
shrigma commented on 2023-03-01 20:24 (UTC) (edited on 2023-03-01 20:26 (UTC) by shrigma)
Any ideas?
Error! Bad return status for module build on kernel: 6.2.1-arch1-1 (x86_64) Consult /var/lib/dkms/nvidia/470.161.03/build/make.log for more information.
cat /var/lib/dkms/nvidia/470.161.03/build/make.log
warning: the compiler differs from the one used to build the kernel
The kernel was built by: gcc (GCC) 12.2.1 20230201 You are using: cc (GCC) 12.2.1 20230201
wizzard2002 commented on 2023-03-01 00:23 (UTC) (edited on 2023-03-01 00:23 (UTC) by wizzard2002)
My Solution (for the moment)
-
downgrade to Kernel 6.1.12-arch1-1
-
install the driver via this git-repo: https://github.com/Frogging-Family/nvidia-all
Now i'm back on track :-)
spikespi commented on 2023-02-28 15:30 (UTC)
@Menelkir seems i found problem. its my vfio setup broken in 6.* kernel. after remove vfio modules from mkinitcpio.conf, regenerate initram, and adjust xorg.conf(second gpu now visible to nvidia driver). tty console start work normal.
<deleted-account> commented on 2023-02-28 14:52 (UTC)
It seems the system is having issues to load the module. You can try loading by hand before Xorg starts (or using some other ways) or add to your initrd (which doesn't hurt but it'll increase your initrd size).
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.