Package Details: opencl-nvidia-470xx 470.256.02-7

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)

Required by (67)

Sources (11)

Latest Comments

« First ‹ Previous 1 .. 26 27 28 29 30 31 32 33 34 35 36 .. 41 Next › Last »

lighterowl commented on 2022-11-23 22:46 (UTC)

Can confirm that 470.161.03 builds and works okay with GT 645M. Here's a PKGBUILD diff :

diff --git a/PKGBUILD b/PKGBUILD
index e259082..3202f6e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,8 +5,8 @@

 pkgbase=nvidia-470xx-utils
 pkgname=('nvidia-470xx-utils' 'opencl-nvidia-470xx' 'nvidia-470xx-dkms')
-pkgver=470.141.03
-pkgrel=2
+pkgver=470.161.03
+pkgrel=1
 arch=('x86_64')
 url="http://www.nvidia.com/"
 license=('custom')
@@ -15,13 +15,11 @@ _pkg="NVIDIA-Linux-x86_64-${pkgver}"
 source=('nvidia-drm-outputclass.conf'
         'nvidia-470xx-utils.sysusers'
         'nvidia-470xx.rules'
-        'kernel-6.0.patch'
         "https://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/${_pkg}.run")
 sha512sums=('de7116c09f282a27920a1382df84aa86f559e537664bb30689605177ce37dc5067748acf9afd66a3269a6e323461356592fdfc624c86523bf105ff8fe47d3770'
             '4b3ad73f5076ba90fe0b3a2e712ac9cde76f469cd8070280f960c3ce7dc502d1927f525ae18d008075c8f08ea432f7be0a6c3a7a6b49c361126dcf42f97ec499'
             'a0ceb0a6c240cf97b21a2e46c5c212250d3ee24fecef16aca3dffb04b8350c445b9f4398274abccdb745dd0ba5132a17942c9508ce165d4f97f41ece02b0b989'
-            'fac1ed6d07e0ad5cb4591321653cd570729552ff13e4b15a45a556c29edc2904367c463648743ef45788a718cc7aba95446308a99fa17ba97da44467df031915'
-            '07aca8ea6aac5592060b4177ef43e9a3a5b2e3bc1a2d5959bf2ae349763fc62ed80b987af5607bf2d9a48e25c4e38e64970bca0177d63bd57a703d47debf5e18')
+            '26b1640f9427847b68233ffacf5c4a07e75ed9923429dfc9e5de3d7e5c1f109dfaf0fe0a0639cbd47f056784ed3e00e2e741d5c84532df79590a0c9ffa5ba625')


 create_links() {
@@ -56,9 +54,6 @@ DEST_MODULE_LOCATION[4]="/kernel/drivers/video"' dkms.conf

     # Gift for linux-rt guys
     sed -i 's/NV_EXCLUDE_BUILD_MODULES/IGNORE_PREEMPT_RT_PRESENCE=1 NV_EXCLUDE_BUILD_MODULES/' dkms.conf
-
-    # Incomplete fix for kernel 6.0; patch has ACPI issues, YMMV.
-    patch -Np1 -i ../../kernel-6.0.patch
 }

neuromante commented on 2022-11-23 16:17 (UTC)

@jonathon New drivers out! https://forums.developer.nvidia.com/t/linux-solaris-and-freebsd-driver-470-161-03-legacy-for-gkxxx-kepler-gpus/235128 Patches are no more needed: everything has been fixed upstream.

gbr commented on 2022-11-16 23:00 (UTC) (edited on 2022-11-16 23:02 (UTC) by gbr)

Suggestion: Add a patch that fixes warnings like this:

Nov 16 19:29:34 arch systemd-udevd[290]: nvidia: Process '/usr/bin/bash -c '/usr/bin/mknod -Z -m 666 /dev/nvidiactl c $(grep nvidia-frontend /proc/devices | cut -d \  -f 1) 255'' failed with exit code 1.
Nov 16 19:29:34 arch systemd-udevd[282]: nvidia: Process '/usr/bin/bash -c 'for i in $(cat /proc/driver/nvidia/gpus/*/information | grep Minor | cut -d \  -f 4); do /usr/bin/mknod -Z -m 666 /dev/nvidia${i} c $(grep nvidia-frontend /proc/devices | cut -d \  -f 1) ${i}; done'' failed with exit code 1.

Those come from nvidia-470xx.rules, and they fail because these nodes were already created. I suggest verifying if they already exist before trying to create them. Patch:

diff --git a/nvidia-470xx.rules b/nvidia-470xx.rules
index 97218df..cd2a0a0 100644
--- a/nvidia-470xx.rules
+++ b/nvidia-470xx.rules
@@ -1,6 +1,6 @@
 # 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 '/usr/bin/mknod -Z -m 666 /dev/nvidiactl c $$(grep nvidia-frontend /proc/devices | cut -d \  -f 1) 255'"
-KERNEL=="nvidia", RUN+="/usr/bin/bash -c 'for i in $$(cat /proc/driver/nvidia/gpus/*/information | grep Minor | cut -d \  -f 4); do /usr/bin/mknod -Z -m 666 /dev/nvidia$${i} c $$(grep nvidia-frontend /proc/devices | cut -d \  -f 1) $${i}; done'"
-KERNEL=="nvidia_modeset", RUN+="/usr/bin/bash -c '/usr/bin/mknod -Z -m 666 /dev/nvidia-modeset c $$(grep nvidia-frontend /proc/devices | cut -d \  -f 1) 254'"
-KERNEL=="nvidia_uvm", RUN+="/usr/bin/bash -c '/usr/bin/mknod -Z -m 666 /dev/nvidia-uvm c $$(grep nvidia-uvm /proc/devices | cut -d \  -f 1) 0'"
-KERNEL=="nvidia_uvm", RUN+="/usr/bin/bash -c '/usr/bin/mknod -Z -m 666 /dev/nvidia-uvm-tools c $$(grep nvidia-uvm /proc/devices | cut -d \  -f 1) 1'"
+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'"

HarleyDavidson commented on 2022-11-15 07:26 (UTC)

As @Serg12344 mentioned I can confirm that nvidia-470xx-utils 470.141.03-2 is working fine with kernel x86_64 Linux 6.0.8-arch1-1 (GPU: NVIDIA GeForce GTX 780 Ti)

serg12344 commented on 2022-11-15 02:04 (UTC) (edited on 2022-11-15 03:51 (UTC) by serg12344)

@SoftExpert Please remove the out-of-date status. Package nvidia-470xx-* 470.141.03 works fine for me with GeForce GTX 780ti graphics card on linux-zen-6.0.6 and linux-zen-6.0.8 kernels and I don't see package version 470.141.10 on NVIDIA official website. Maybe they removed it

LJL commented on 2022-11-12 01:27 (UTC)

The driver version 470.141.10 is not available in Geforce 730,so please cancel to FLAG TO OUTDATE.

neuromante commented on 2022-11-03 10:33 (UTC) (edited on 2022-11-03 10:40 (UTC) by neuromante)

@XAVeRY Yes, I did that exactly locally on my archbox. Only difference is that I did not apply patch named 009*, only four of them (I've strictly followed what fedora nvidia maintainer did) . But so far so good, everything is back to a good shape.

lighterowl commented on 2022-11-03 10:28 (UTC) (edited on 2022-11-03 10:32 (UTC) by lighterowl)

  • Stock 470.141.10 does not support Linux 6.0, compilation fails on ACPI stuff.
  • Using the kernel-6.0.patch against 470.141.10 results in the module loading on 6.0.6, but failing to run with same messages as previously :
[   17.367232] NVRM: GPU 0000:01:00.0: Failed to copy vbios to system memory.
[   17.367356] NVRM: GPU 0000:01:00.0: RmInitAdapter failed! (0x30:0xffff:874)
[   17.367404] NVRM: GPU 0000:01:00.0: rm_init_adapter failed, device minor number 0
  • Applying the Debian patches to 470.141.03 makes the module load and run properly on 6.0.6.
  • 470.141.10 with Debian patches seems to work okay as well.

This was tested on my Lenovo Z500 and a GeForce GT 645M. Offload (prime-run glxgears), Vulkan (vkcube) as well as nvidia-smi are working as expected.

PKGBUILDs including the Debian patches are here :

That said, I don't think running 470.141.10 provides any value over the current version. I seem to remember some differences being there between "regular" and "datacenter" (Tesla) drivers so perhaps it's better to stay at .03. My memory might be wrong here, though, so if anybody has more actual information on this, please speak up.

SoftExpert commented on 2022-11-02 07:30 (UTC)

A new version of the driver is out 470.141.10 Also, there are some extra patches that could solve additional issues. With the current patches I was able to run all kernel 6.0.x updates without issues - maybe the new version will be more stable for a larger set of configurations ?

DanielCook30a commented on 2022-10-27 13:59 (UTC)

Updated my system only to find out this driver doesn't like 6.0, I guess thats on me for not checking first but its still a little annoying. I was able to fall back to the nouveau driver with my old GT 730 to get back to my desktop, but its not ideal. Hopefully the issue is fixed soon. The GT 730 does NOT like the nouveau driver (main issue is screen tearing, but still)