Package Details: nvidia-390xx-dkms 390.157-17

Git Clone URL: https://aur.archlinux.org/nvidia-390xx-utils.git (read-only, click to copy)
Package Base: nvidia-390xx-utils
Description: NVIDIA drivers - module sources
Upstream URL: https://www.nvidia.com/
Licenses: custom
Provides: NVIDIA-MODULE
Submitter: svenstaro
Maintainer: jonathon (vnctdj)
Last Packager: vnctdj
Votes: 61
Popularity: 0.68
First Submitted: 2020-03-11 17:29 (UTC)
Last Updated: 2025-06-12 22:18 (UTC)

Pinned Comments

vnctdj commented on 2025-01-24 07:37 (UTC)

Use this forum thread for discussion: https://bbs.archlinux.org/viewtopic.php?pid=1946926

jonathon commented on 2022-05-26 09:46 (UTC)

Please don't flag this package out-of-date unless a new version has been released by NVIDIA.

jonathon commented on 2021-12-26 22:44 (UTC) (edited on 2021-12-26 22:44 (UTC) by jonathon)

The DKMS package guidelines are explicit that linux-headers should not be a dependency of any DKMS package.

As a concrete example of why including that as a hard dependency is a bad idea, what happens when linux is not an installed kernel?

Latest Comments

1 2 3 4 5 6 .. 33 Next › Last »

aldolat commented on 2025-06-13 17:21 (UTC)

@vnctdj I just upgraded to 6.15.2-arch1-1 and all went fine. Thanks!

drankinatty commented on 2025-06-13 05:52 (UTC)

Build for 6.15.2-arch1-1 went just fine. Thanks.

vnctdj commented on 2025-06-12 22:25 (UTC)

I've just added drankinatty's patch. Please test again as this one was bigger than the previous ones :)

As usual, thanks to everyone who participated!

aldolat commented on 2025-06-11 03:56 (UTC)

@drankinatty your regenerated kernel-6.15.patch works fine! Thank you!

canolucas commented on 2025-06-11 02:10 (UTC)

kernel-6.15.patch works fine here as well. Compiled and installed ok, then did a fresh reboot, the graphics card is up and running :)

yars068 commented on 2025-06-11 01:09 (UTC)

@drankinatty, now everything built as needed, then I will test how "new driver" will work. Thanks!

drankinatty commented on 2025-06-11 00:48 (UTC) (edited on 2025-06-11 01:03 (UTC) by drankinatty)

Yes, for the regenerated patch, I downloaded the current Nvidia 390xx-utils package, started with fresh sources and regenerated the patch. Which matches the tweaks @aruncevil made to the original I posted.

@yars068, I've not seen those errors before, but I think you have something else going on. The patch order must be (current patches), the gcc-15.patch, kernel-6.15.patch and then kernel-4.16+-memory-encryption.patch, in that order.

I just pulled a fresh download of this source and added my patch, results were fine:

$ pmu nvidia*157-17*zst
loading packages...
warning: downgrading package nvidia-390xx-dkms (390.157-23 => 390.157-17)
warning: downgrading package nvidia-390xx-utils (390.157-23 => 390.157-17)
resolving dependencies...
looking for conflicting packages...

Packages (2) nvidia-390xx-dkms-390.157-17  nvidia-390xx-utils-390.157-17

Total Installed Size:  133.83 MiB
Net Upgrade Size:        0.00 MiB

:: Proceed with installation? [Y/n]
(2/2) checking keys in keyring                                           [########################################] 100%
(2/2) checking package integrity                                         [########################################] 100%
(2/2) loading package files                                              [########################################] 100%
(2/2) checking for file conflicts                                        [########################################] 100%
(2/2) checking available disk space                                      [########################################] 100%
:: Running pre-transaction hooks...
(1/1) Remove upgraded DKMS modules
==> dkms remove --no-depmod nvidia/390.157 -k 6.12.32-1-lts
==> dkms remove --no-depmod nvidia/390.157 -k 6.15.1-arch1-2
:: Processing package changes...
(1/2) downgrading nvidia-390xx-utils                                     [########################################] 100%
If you run into trouble with CUDA not being available, run nvidia-modprobe first.
(2/2) downgrading nvidia-390xx-dkms                                      [########################################] 100%
:: Running post-transaction hooks...
(1/7) Creating system user accounts...
(2/7) Reloading system manager configuration...
(3/7) Restarting marked services...
(4/7) Reloading device manager configuration...
(5/7) Arming ConditionNeedsUpdate...
(6/7) Install DKMS modules
==> dkms install --no-depmod nvidia/390.157 -k 6.15.1-arch1-2
==> dkms install --no-depmod nvidia/390.157 -k 6.12.32-1-lts
==> depmod 6.12.32-1-lts
==> depmod 6.15.1-arch1-2
(7/7) Updating linux initcpios...
<snip>

Your updated PKGBUILD should be New Arch 390xx PKGBUILD.

Let us know if you have problems there.

yars068 commented on 2025-06-10 23:51 (UTC)

My mistake, I thought gcc-15.patch was not needed. Now building the packages fine, but now, during building the dkms modules, I got errors about non-existence of nv-misc.h and nv-linux.h headers: https://gist.github.com/yars068/2c3b5afba204525f8fe1c365c57c4bbf

bufferunderrun commented on 2025-06-10 23:09 (UTC)

drankinatty's regenerated kernel-6.15.patch works fine as far as I can tell.

yars068 commented on 2025-06-10 22:18 (UTC)

@drankinatty, I cannot build your test patch. I dropped gcc-15.patch, and try to build, no success:

CONFTEST: is_export_symbol_gpl_refcount_inc
 CONFTEST: is_export_symbol_gpl_refcount_dec_and_test
  CC [M]  nvidia/nv-frontend.o
  CC [M]  nvidia/nv-instance.o
  CC [M]  nvidia/nv-gpu-numa.o
  CC [M]  nvidia/nv.o
  CC [M]  nvidia/nv-acpi.o
  CC [M]  nvidia/nv-chrdev.o
  CC [M]  nvidia/nv-cray.o
  CC [M]  nvidia/nv-dma.o
In file included from ././common/inc/conftest.h:5,
                 from ././common/inc/nv_stdarg.h:29,
                 from ././common/inc/os-interface.h:27,
                 from nvidia/nv-frontend.c:12:
././conftest/functions.h:15:2: ошибка: #error kmem_cache_create() conftest failed!
   15 | #error kmem_cache_create() conftest failed!
      |  ^~~~~
././conftest/functions.h:16:2: ошибка: #error on_each_cpu() conftest failed!
   16 | #error on_each_cpu() conftest failed!
      |  ^~~~~
././conftest/functions.h:17:2: ошибка: #error smp_call_function() conftest failed!
   17 | #error smp_call_function() conftest failed!
      |  ^~~~~
././conftest/functions.h:22:2: ошибка: #error acpi_walk_namespace() conftest failed!
   22 | #error acpi_walk_namespace() conftest failed!
      |  ^~~~~
././conftest/functions.h:24:2: ошибка: #error dma_mapping_error() conftest failed!
   24 | #error dma_mapping_error() conftest failed!
      |  ^~~~~
././conftest/functions.h:71:2: ошибка: #error wait_on_bit_lock() conftest failed!
   71 | #error wait_on_bit_lock() conftest failed!
      |  ^~~~~
././conftest/functions.h:76:2: ошибка: #error radix_tree_replace_slot() conftest failed!
   76 | #error radix_tree_replace_slot() conftest failed!
      |  ^~~~~

There is not a single such a error, but if need, I can provide the full make.log.