Package Details: nvidia-470xx-utils 470.256.02-7.95

Git Clone URL: https://aur.archlinux.org/nvidia-470xx-utils.git (read-only, click to copy)
Package Base: nvidia-470xx-utils
Description: NVIDIA drivers utilities
Upstream URL: http://www.nvidia.com/
Keywords: driver nvidia video
Licenses: custom
Conflicts: nvidia-libgl, nvidia-utils
Provides: nvidia-libgl, nvidia-utils, opengl-driver, vulkan-driver
Submitter: jonathon
Maintainer: Sinyria (cysp74, SoftExpert)
Last Packager: SoftExpert
Votes: 103
Popularity: 1.17
First Submitted: 2021-10-31 00:50 (UTC)
Last Updated: 2025-02-03 19:42 (UTC)

Dependencies (6)

Required by (319)

Sources (12)

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.

Latest Comments

« First ‹ Previous 1 .. 20 21 22 23 24 25 26 27 28 29 30 .. 44 Next › Last »

dough.mean commented on 2023-07-05 17:06 (UTC)

@SoftExpert

It turns out that I just had to uninstall the package, modify PKGBUILD to use 470.199.02, remove the patches and reinstall again.

There might be additional packages, like lib32-nvidia-470xx-utils and lib32-opencl-nvidia-470xx.

It seems that the lib32 one was already updated to 470.199.02 earlier upstream. Not sure what the opencl packages are supposed to be though. paru -Qs opencl yields only ocl-icd and lib32-ocl-icd.

DKMS will nob behave with 6.4.x kernel, unless the patch was used (it declares a function that is otherwise missing).

I'm on 6.4, and no issues so far. Tested some applications that hard depends on Vulkan and it's working perfectly fine.

SoftExpert commented on 2023-07-05 16:50 (UTC)

@dough.mean: nvidia-470xx-utils builds 3 packages: - nvidia-470xx-utils - nvidia-470xx-dkms - opencl-nvidia-470xx

All of them need to be installed on your system, based on the same version of the driver. There might be additional packages, like lib32-nvidia-470xx-utils and lib32-opencl-nvidia-470xx. All of them must be based on the same Nvidia version. DKMS will nob behave with 6.4.x kernel, unless the patch was used (it declares a function that is otherwise missing).

dough.mean commented on 2023-07-05 16:23 (UTC) (edited on 2023-07-05 16:50 (UTC) by dough.mean)

@cysp74 I tried your method of simply removing the patch, but I'm getting this error when installing:

warning: cannot resolve "nvidia-470xx-utils=470.199.02", a dependency of "nvidia-470xx-dkms"
:: The following package cannot be upgraded due to unresolvable dependencies:
      nvidia-470xx-dkms

EDIT: I had to remove the nvidia-470xx-dkms package I had installed, reinstall the new modified package and now everything is working fine.

I think @cysp74 is right, if you're on kernel 6.4, you don't need any additional patches to have 470.199.02 working.

simplecard commented on 2023-07-05 10:48 (UTC) (edited on 2023-07-05 10:49 (UTC) by simplecard)

@circl @SoftExpert I was able to build and install the package successfully. Thank you so much for your help!

circl commented on 2023-07-05 10:30 (UTC)

Or use makepkg -g @simplecard

circl commented on 2023-07-05 10:29 (UTC)

Basically, take the sha512sum of the kernel-6.3.patch file and replace with it the last checksum in the PKGBUILD file

simplecard commented on 2023-07-05 10:16 (UTC) (edited on 2023-07-05 10:17 (UTC) by simplecard)

@SoftExpert I cloned this repo, replaced your PKGBUILD and created your patch file. After running makepkg it fails:

==> Making package: nvidia-470xx-utils 470.199.02-1 (Wed 05 Jul 2023 12:15:07 PM CEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found nvidia-drm-outputclass.conf
  -> Found nvidia-470xx-utils.sysusers
  -> Found nvidia-470xx.rules
  -> Found NVIDIA-Linux-x86_64-470.199.02.run
  -> Found kernel-6.4.patch
==> Validating source files with sha512sums...
    nvidia-drm-outputclass.conf ... Passed
    nvidia-470xx-utils.sysusers ... Passed
    nvidia-470xx.rules ... Passed
    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!

SoftExpert commented on 2023-07-05 09:58 (UTC)

@simplecard: You are missing the fix provided by the patch for the kernel 6.4. Please review the comments from the past

simplecard commented on 2023-07-05 09:33 (UTC) (edited on 2023-07-05 09:35 (UTC) by simplecard)

@SoftExpert My apologies. It was actually error 2.

CC [M]  /var/lib/dkms/nvidia/470.182.03/build/nvidia-uvm/uvm_pmm_sysmem_test.o
  CC [M]  /var/lib/dkms/nvidia/470.182.03/build/nvidia-uvm/uvm_perf_events_test.o
  CC [M]  /var/lib/dkms/nvidia/470.182.03/build/nvidia-uvm/uvm_perf_module_test.o
  CC [M]  /var/lib/dkms/nvidia/470.182.03/build/nvidia-uvm/uvm_get_rm_ptes_test.o
  CC [M]  /var/lib/dkms/nvidia/470.182.03/build/nvidia-uvm/uvm_fault_buffer_flush_test.o
  CC [M]  /var/lib/dkms/nvidia/470.182.03/build/nvidia-uvm/uvm_mmu_test.o
  CC [M]  /var/lib/dkms/nvidia/470.182.03/build/nvidia-uvm/uvm_peer_identity_mappings_test.o
  CC [M]  /var/lib/dkms/nvidia/470.182.03/build/nvidia-uvm/uvm_va_block_test.o
  CC [M]  /var/lib/dkms/nvidia/470.182.03/build/nvidia-uvm/uvm_range_group_tree_test.o
  CC [M]  /var/lib/dkms/nvidia/470.182.03/build/nvidia-uvm/uvm_thread_context_test.o
  CC [M]  /var/lib/dkms/nvidia/470.182.03/build/nvidia-uvm/uvm_rb_tree_test.o
  CC [M]  /var/lib/dkms/nvidia/470.182.03/build/nvidia-modeset/nvidia-modeset-linux.o
  CC [M]  /var/lib/dkms/nvidia/470.182.03/build/nvidia-modeset/nv-kthread-q.o
  CC [M]  /var/lib/dkms/nvidia/470.182.03/build/nvidia-drm/nvidia-drm.o
  CC [M]  /var/lib/dkms/nvidia/470.182.03/build/nvidia-drm/nvidia-drm-drv.o
  CC [M]  /var/lib/dkms/nvidia/470.182.03/build/nvidia-drm/nvidia-drm-utils.o
/var/lib/dkms/nvidia/470.182.03/build/nvidia-drm/nvidia-drm-drv.c: In function ‘nv_drm_update_drm_driver_features’:
/var/lib/dkms/nvidia/470.182.03/build/nvidia-drm/nvidia-drm-drv.c:876:18: error: ‘struct drm_driver’ has no member named ‘dumb_destroy’
  876 |     nv_drm_driver.dumb_destroy     = nv_drm_dumb_destroy;
      |                  ^
make[2]: *** [scripts/Makefile.build:252: /var/lib/dkms/nvidia/470.182.03/build/nvidia-drm/nvidia-drm-drv.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [Makefile:2026: /var/lib/dkms/nvidia/470.182.03/build] Error 2
make: *** [Makefile:80: modules] Error 2

SoftExpert commented on 2023-07-05 08:53 (UTC)

@giniu: the solution is described in the comments posted a few days ago. Just browse the comments. To summarize: - use the latest version of the driver 470.199.02 - apply the patch for kernel 6.4