Package Details: nvidia-470xx-dkms 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: NVIDIA drivers - module sources
Upstream URL: http://www.nvidia.com/
Keywords: driver nvidia video
Licenses: custom
Conflicts: nvidia-dkms
Provides: NVIDIA-MODULE
Submitter: jonathon
Maintainer: Sinyria (cysp74, SoftExpert)
Last Packager: SoftExpert
Votes: 99
Popularity: 0.81
First Submitted: 2021-10-31 00:50 (UTC)
Last Updated: 2024-11-10 08:39 (UTC)

Latest Comments

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

erickwill commented on 2023-07-03 16:18 (UTC)

@SoftExpert @cysp74

Tried to do according the instructions, but got this: 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!

Here is my kernel-6.4.patch:

From 4981428cda825b415eea60313f71bf386cc9f7e1 Mon Sep 17 00:00:00 2001 From: Joan Bruguera joanbrugueram@gmail.com Date: Sat, 25 Feb 2023 10:57:26 +0000 Subject: [PATCH] Tentative fix for NVIDIA 470.199.02 driver for Linux 6.4-rc1


nvidia-drm/nvidia-drm-drv.c | 5 +++++ 1 file changed, 5 insertions(+)

--- a/nvidia-drm/nvidia-drm-drv.c +++ b/nvidia-drm/nvidia-drm-drv.c @@ -20,6 +20,7 @@ * DEALINGS IN THE SOFTWARE. */

+#include <linux/version.h> #include "nvidia-drm-conftest.h" / NV_DRM_AVAILABLE and NV_DRM_DRM_GEM_H_PRESENT /

#include "nvidia-drm-priv.h" @@ -873,9 +874,13 @@

 nv_drm_driver.dumb_create      = nv_drm_dumb_create;
 nv_drm_driver.dumb_map_offset  = nv_drm_dumb_map_offset;

+// Rel. commit "drm: remove dumb_destroy callback" (Christian König, 26 Jan 2023) +// NB: No resources are leaked, the kernel releases the same resources by default +#if LINUX_VERSION_CODE < KERNEL_VERSION(6, 4, 0) #if defined(NV_DRM_DRIVER_HAS_DUMB_DESTROY) nv_drm_driver.dumb_destroy = nv_drm_dumb_destroy; #endif / NV_DRM_DRIVER_HAS_DUMB_DESTROY / +#endif #endif / NV_DRM_ATOMIC_MODESET_AVAILABLE / }

-- 2.40.1 =================================================

Any tips are appreciated. Thanks fellas!

Sinyria commented on 2023-07-03 15:44 (UTC)

the makepkg diff by cysp74 and the instructions by SoftExpert on how to build and install helped a lot. thank you both <3 hope this gets orphaned again soon, so one of you can grab it; it was for most of Spring '23 after Menelkir left.

a821 commented on 2023-07-03 11:08 (UTC)

@circl and @SoftExpert: there's no need to send redundant orphan requests, there are already three, one is enough.

circl commented on 2023-07-03 10:03 (UTC)

Thanks SoftExpert, I hope this patch is integrated soon, was forced to use internal graphics for about 20 minutes, which may or may not be better than this GPU but oh well

iq2luc commented on 2023-07-03 09:53 (UTC) (edited on 2023-07-03 11:16 (UTC) by iq2luc)

Hello @SoftExpert, @cysp74

I confirm the 6.4 patch is not required on my system (with GeForce GTX 765M / GK106M), everything works OK without it.

Edit: I'm using linux package version 6.4.1-arch1-1.

Thank you, Luc

SoftExpert commented on 2023-07-02 19:23 (UTC)

@cysp74: On my system, I needed the 6.4 patch to have DKMS build the kernel module for 6.4.x kernel line. Not needed for 6.1.x-6.3.x ...

cysp74 commented on 2023-07-02 19:09 (UTC)

@SoftExpert: I don't think so *6.4.patch is necessary for having a proper build of 470.199.02. If you take a moment and look into the code, you can see since there is proper solution instead of for the problem. So, as I mentioned earlier, the PKGBUILD for 470.199.02 is quite straight. I'm still waiting for this package get orphaned....


diff --git a/PKGBUILD b/PKGBUILD
index 19037eb..fee8dfa 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,8 +6,8 @@

 pkgbase=nvidia-470xx-utils
 pkgname=('nvidia-470xx-utils' 'opencl-nvidia-470xx' 'nvidia-470xx-dkms')
-pkgver=470.182.03
-pkgrel=2
+pkgver=470.199.02
+pkgrel=1
 arch=('x86_64')
 url="http://www.nvidia.com/"
 license=('custom')
@@ -16,13 +16,11 @@ _pkg="NVIDIA-Linux-x86_64-${pkgver}"
 source=('nvidia-drm-outputclass.conf'
         'nvidia-470xx-utils.sysusers'
         'nvidia-470xx.rules'
-        "https://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/${_pkg}.run"
-        "kernel-6.3.patch")
+        "https://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/${_pkg}.run")
 sha512sums=('de7116c09f282a27920a1382df84aa86f559e537664bb30689605177ce37dc5067748acf9afd66a3269a6e323461356592fdfc624c86523bf105ff8fe47d3770'
             '4b3ad73f5076ba90fe0b3a2e712ac9cde76f469cd8070280f960c3ce7dc502d1927f525ae18d008075c8f08ea432f7be0a6c3a7a6b49c361126dcf42f97ec499'
             'e307e5fe005dfafee35c179c5f215e22a85dfd367a9b60d5092eee96f869d8ce4595fae33ce6febb74721974c6f781a53418ce1a3210768632347471ae3f5594'
-            '73619d65bd3267427acaf2deee07a2c98c490df937aa13e2c95d54cfd19ce2a82a91d3a5aa886dbe88f6230251f9cf54c38f5841cfacd77e53301e8d61fa3d7d'
-            'e7343f022263690030bdcbc9b91cd775c7c8c24da4f75e6583494464d92eeeb01965bc9e628566faaf6c91fb5519881346d44c4e7d1c7fe8b7c6da89a7620036')
+            'e1265b6266473af652e9d7bf85dcd76e312af281c5f4f158ab322e34d378738acb87c30cfff7bf1f6e1b238883e7f665d9fc5151b1e0078dd9aece5a52655405')

 create_links() {
     # create soname links
@@ -42,8 +40,6 @@ prepare() {

     cd kernel

-    patch -p1 -i "$srcdir/kernel-6.3.patch"
-
     sed -i "s/__VERSION_STRING/${pkgver}/" dkms.conf
     sed -i 's/__JOBS/`nproc`/' dkms.conf
     sed -i 's/__DKMS_MODULES//' dkms.conf

erickwill commented on 2023-07-02 18:43 (UTC)

@SoftExpert Thank you very much! I gonna do that ;)

SoftExpert commented on 2023-07-02 16:46 (UTC)

@erickwill: you can just clone this Git repository (or create an empty directory somewhere on your home directory) and then replace the PKGBUILD file contents with what I have listed. You should also create a kernel-6.4.patch file with the content I listed. Then you run makepkg and, if you had all the requirements in place, you can run makepkg -sicC to install and also clean the build directories.