@unixv: did you read any of the latest comments / workarounds? If so, what did you try?
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 .. 7 8 9 10 11 12 13 14 15 16 17 .. 44 Next › Last »
a821 commented on 2024-05-12 07:22 (UTC)
unixv commented on 2024-05-12 03:34 (UTC) (edited on 2024-05-12 03:36 (UTC) by unixv)
it's failed to compile and I'm no longer able to use my nvidia-470xx card .
(5/6) Install DKMS modules
==> dkms install --no-depmod nvidia/470.239.06 -k 6.6.30-2-lts
Error! Bad return status for module build on kernel: 6.6.30-2-lts (x86_64)
Consult /var/lib/dkms/nvidia/470.239.06/build/make.log for more information.
==> WARNING:
dkms install --no-depmod nvidia/470.239.06 -k 6.6.30-2-lts' exited 10
`
Mechanicus commented on 2024-05-11 15:33 (UTC)
@SoftExpert, older GCC will also work with -fpermissive
flag, it is supported since GCC-4 version
SoftExpert commented on 2024-05-11 09:14 (UTC)
@TechXero: We will update as soon as consensus is reached towards the needed patch - I still see that some differences allow to solve edge cases. We also want to avoid breaking currently working configurations. Can someone confirm that the patch will not break the build processus with older GCC ?
dimytch commented on 2024-05-11 09:04 (UTC)
https://bbs.archlinux.org/viewtopic.php?id=295600 Does not compile without hands for current LTS kernel too.
lalala_233 commented on 2024-05-11 05:53 (UTC)
rodrigorc's patch workds for the kernel 6.8.9-arch1-2 gcc version 14.1.1 20240507.
fuan_k commented on 2024-05-10 19:33 (UTC)
Confirming rodrigorc's patch works for the LTS kernel 6.6.30-2-lts gcc version 14.1.1 20240507
I have not seen errors for the 6.8.9-arch1-2 kernel either.
meadow commented on 2024-05-10 15:34 (UTC)
Confirming TechXero's patch works for the LTS kernel
6.6.30-2-lts gcc version 14.1.1 20240507
rodrigorc commented on 2024-05-10 12:35 (UTC)
I hadn't found this solution, so I went and fixed it myself with a slightly different patch:
--- a/Kbuild
+++ b/Kbuild
@@ -68,7 +68,7 @@
EXTRA_CFLAGS += -I$(src)/common/inc
EXTRA_CFLAGS += -I$(src)
-EXTRA_CFLAGS += -Wall -MD $(DEFINES) $(INCLUDES) -Wno-cast-qual -Wno-error -Wno-format-extra-args
+EXTRA_CFLAGS += -Wall -MD $(DEFINES) $(INCLUDES) -Wno-cast-qual -Wno-error -Wno-format-extra-args -fpermissive
EXTRA_CFLAGS += -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"470.239.06\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE
EXTRA_CFLAGS += $(call cc-option,-Werror=undef,)
EXTRA_CFLAGS += -DNV_SPECTRE_V2=$(NV_SPECTRE_V2)
I think this is more proper, GCC itself recommends using -fpermissive
if there is need for the legacy behavior: https://gcc.gnu.org/gcc-14/porting_to.html
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.