Search Criteria
Package Details: opencl-nvidia-470xx 470.256.02-7
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: | 100 |
Popularity: | 1.15 |
First Submitted: | 2021-10-31 00:50 (UTC) |
Last Updated: | 2024-11-10 08:39 (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 (67)
- aftershotpro2 (requires opencl-nvidia) (optional)
- aftershotpro3 (requires opencl-nvidia) (optional)
- arrayfire-git (requires opencl-driver) (optional)
- bfgminer-git (requires opencl-nvidia) (optional)
- computecpp (requires opencl-driver)
- cpu-x-opencl (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)
- cuda-9.2 (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)
- Show 47 more...
Sources (11)
- 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-utils.sysusers
- nvidia-470xx.rules
- nvidia-drm-outputclass.conf
- systemd-homed-override.conf
- systemd-suspend-override.conf
Latest Comments
« First ‹ Previous 1 .. 10 11 12 13 14 15 16 17 18 19 20 .. 41 Next › Last »
caiotbc commented on 2023-08-07 02:17 (UTC)
@Sinyria and @SoftExpert sorry for replying late, just got around to trying it again. So, it seems the culprit is something to do with OVMF GPU Passthrough after all. Yesterday when I tried installing it on the bare metal arch install and it failed I incorrectly assumed it was the same error I had described on the comments below, however investigating further revealed it was some sort of conflict with the VFIO drivers loading before the nvidia ones. After messing around in mkinipcio.conf I have now successfully installed the nvidia-470xx-dkms on bare metal, it is running fine. It still refuses to install inside the arch virtual machine, I guess maybe I should seek help on the various GPU passthrough forums, or maybe just give up getting this old GPU to work on this rather specific configuration. I tried both of your suggestions inside the VM but it did not change the errors.
In any case, thank you all for your help, I would appreciate if you guys had further suggestions but I understand that it is almost 100% certainly not a fault of this package and the error has something to do with the virtual machine setup, sorry for the confusion!
Sinyria commented on 2023-08-05 17:59 (UTC) (edited on 2023-08-05 18:00 (UTC) by Sinyria)
@caiotbc: thanks indeed for the various logs.
I found
in your log, and there is this fix from here 1 :
where they changed the grub cmdline from
to
in
and that supposedly fixed it.
would be cool if you could try it and let us know how it goes. =)
best of luck, Siny
SoftExpert commented on 2023-08-05 07:29 (UTC) (edited on 2023-08-05 08:43 (UTC) by SoftExpert)
@caiotbc: Thanks for the detailed set of information!
From what I could see:
nvidia module for the kernel 6.4.8 was built (which means the kernel headers were indeed present at the time of compilation)
at boot time, the system tries to load the nvidia kernel module, but there is some issue (udev-worker)
At this point, I would be curious to experiment with the package nvidia-prime, since I saw that Prime offloading is supported.
There is also optimus-manager, which is supposed to help for configurations like yours.
Also, could you share the contents of your xorg.conf file ? The trace from Xorg.0.log is surprisingly quiet about the parameters read from xorg.conf which makes me believe there is no such file and, perhaps, you might need one.
Since my config is really different from yours, I cannot experiment or copy elements from it, and we need to take it slowly to find the real reason why the driver rejects your card.
Edit: corrected some markdown and added reference to optimus-manager.
caiotbc commented on 2023-08-04 23:39 (UTC) (edited on 2023-08-04 23:42 (UTC) by caiotbc)
@SoftExpert Thanks for the quick response. I would like to point out that this GPU is usually attached to a VM using PCI passthrough, on my first comment when I say that "no other GPUs are installed" I mean that no other GPUs are attached to the same guest. I do however have an AMD GPU running on the host, which is also arch linux, same kernel version (6.4.8-arch1-1). I've run this setup for a long time (debian host/debian guest) and saw no difference between bare metal/virtualization so it's something I usually don't even mention, however just to make sure it wasn't the issue I did try to install the same driver on the bare metal arch install and found the same issue. I've compiled a text file with the informations you asked and some others that I found relevant, it got pretty big so I've uploaded it to pastebin and divided into sections that you can CTRL+F to using the titles below:
1 - neofetch output (running nouveau)
2 - makepkg of the package
3 - install via pacman
4 - contents of /var/lib/dkms/nvidia/
5 - checking kernel and headers by trying to reinstall them
6 - lspci (running nouveau before reboot)
7 - output of /var/log/Xorg.0.log
8 - output of journalctl -b0
https://pastebin.com/NCZQnLYm
Edit: learning markdown line breaks :)
SoftExpert commented on 2023-08-04 05:26 (UTC) (edited on 2023-08-04 05:27 (UTC) by SoftExpert)
@caiotbc: According to Nvidia your card is supported by this driver.
The only issue you must have is that the kernel modules could not be compiled, which can happen for several reasons.
Is it possible to list the contents of /
var/lib/dkms/nvidia
? Also, can you tell us which version of the kernel you are using and if you installed the corresponding kernel headers ?Edit: corrected link markdown.
caiotbc commented on 2023-08-04 03:08 (UTC)
Hi! I'm a recent Arch user and am having trouble getting this package to work. It downloads and installs fine, however after rebooting X refuses to start. My GPU is a GK104 GTX680 from EVGA, this is a desktop computer and no other GPUs are installed. Nouveau drivers work out of the box. The X server log shows the following error lines:
[ 15.623] (EE) NVIDIA(GPU-0): The NVIDIA GPU at PCI:6:0:0 is not supported by the 470.199.02 [ 15.623] (EE) NVIDIA(GPU-0): NVIDIA driver. [ 15.623] (EE) NVIDIA(GPU-0): Failed to initialize the NVIDIA graphics device!
I'm confused since this GPU was working with the 470 drivers on a previous debian install, and checking the links on arch wiki my model should be supported by this driver package. What can I do to fix this?
SoftExpert commented on 2023-08-01 13:47 (UTC)
I updated the package with an additional patch that works with kernel 6.5-rc4. Usually these patches will work with the final release as well. The package will now compile with kernels 6.0.x up to (and including) 6.5.x.
Sinyria commented on 2023-07-30 20:19 (UTC)
running dkms with the correct driver version instead of a 3 year old one:
dkms install --no-depmod nvidia/470.199.02 -k 6.4.7-zen1-1-zen
works flawlessly :)
Sinyria commented on 2023-07-30 18:07 (UTC)
@Sinclaus: So first of all, one exclamation mark is enough :D
Secondly, you are compiling 470.63.01 - that driver is ancient, from like 2021, what does it have to do with this package? we are on 470.199.02 atm
SinClaus commented on 2023-07-30 06:56 (UTC)
Error on compile!!!!!!
Standard update process and compilation by
dkms install --no-depmod nvidia/470.63.01 -k 6.4.7-arch1-1
gives many errors like this: .... make[2]: *** [scripts/Makefile.build:252: /var/lib/dkms/nvidia/470.63.01/build/nvidia/nv-p2p.o] Error 1 In file included from /var/lib/dkms/nvidia/470.63.01/build/common/inc/nv-linux.h:15, from /var/lib/dkms/nvidia/470.63.01/build/common/inc/nv-pci.h:15, from /var/lib/dkms/nvidia/470.63.01/build/nvidia/nv-pci.c:13: /var/lib/dkms/nvidia/470.63.01/build/common/inc/nv.h:22:12: fatal error: stddef.h: No such file or directory 22 | #include <stddef.h> // NULL | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:252: /var/lib/dkms/nvidia/470.63.01/build/nvidia/nv-pci.o] Error 1 In file included from /var/lib/dkms/nvidia/470.63.01/build/nvidia/nv-i2c.c:15: /var/lib/dkms/nvidia/470.63.01/build/common/inc/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory 27 | #include <stdarg.h> | ^~~~~~~~~~
« First ‹ Previous 1 .. 10 11 12 13 14 15 16 17 18 19 20 .. 41 Next › Last »