I've made a patch for 6.15 kernel support, it would be nice if some will test it on real hardware.
Search Criteria
Package Details: nvidia-390xx-utils 390.157-16
Package Actions
Git Clone URL: | https://aur.archlinux.org/nvidia-390xx-utils.git (read-only, click to copy) |
---|---|
Package Base: | nvidia-390xx-utils |
Description: | NVIDIA drivers utilities |
Upstream URL: | https://www.nvidia.com/ |
Licenses: | custom |
Conflicts: | nvidia-390xx-libgl, nvidia-libgl, nvidia-utils |
Provides: | nvidia-390xx-libgl, nvidia-libgl, nvidia-utils, opengl-driver, vulkan-driver |
Submitter: | svenstaro |
Maintainer: | jonathon (vnctdj) |
Last Packager: | vnctdj |
Votes: | 61 |
Popularity: | 1.06 |
First Submitted: | 2020-03-11 17:29 (UTC) |
Last Updated: | 2025-05-10 22:07 (UTC) |
Dependencies (6)
- egl-wayland (egl-wayland-gitAUR)
- libglvnd (libglvnd-gitAUR)
- xorg-server (xorg-server-gitAUR, xorg-server-bug865-issue1578AUR, xorg-server-bug865AUR)
- nvidia-390xx-settingsAUR (optional) – configuration tool
- opencl-nvidia-390xxAUR (optional) – OpenCL support
- xorg-server-devel (xorg-server-devel-gitAUR) (optional) – nvidia-xconfig
Required by (319)
- adaptivecpp (requires nvidia-utils)
- adaptivecpp-git (requires nvidia-utils)
- agisoft-metashape (requires nvidia-utils) (optional)
- agisoft-metashape-pro (requires nvidia-utils) (optional)
- airshipper (requires vulkan-driver) (optional)
- alchemy-viewer-git (requires nvidia-utils) (optional)
- alchemy-viewer-git (requires nvidia-libgl) (optional)
- aquamarine-git (requires opengl-driver)
- ares-emu (requires vulkan-driver)
- ares-emu-git (requires vulkan-driver)
- armorpaint (requires opengl-driver)
- arrayfire-git (requires nvidia-utils) (optional)
- aurorafw-git (requires opengl-driver)
- auto-gpufreq-git (requires nvidia-utils)
- autokey-git (requires nvidia-utils) (optional)
- blackmagic-raw-sdk (requires nvidia-utils) (optional)
- btop-git (requires nvidia-utils) (optional)
- btop-gpu-git (requires nvidia-utils) (optional)
- ccdc-mercury (requires opengl-driver)
- ccminer (requires nvidia-utils)
- Show 299 more...
Sources (19)
- gcc-14.patch
- gcc-15.patch
- https://us.download.nvidia.com/XFree86/Linux-x86_64/390.157/NVIDIA-Linux-x86_64-390.157.run
- kernel-4.16+-memory-encryption.patch
- kernel-6.10.patch
- kernel-6.12.patch
- kernel-6.13.patch
- kernel-6.14.patch
- kernel-6.2.patch
- kernel-6.3.patch
- kernel-6.4.patch
- kernel-6.5.patch
- kernel-6.6.patch
- kernel-6.8.patch
- nvidia-390xx-utils.sysusers
- nvidia-390xx.rules
- nvidia-drm-outputclass.conf
- systemd-homed-override.conf
- systemd-suspend-override.conf
ventureo commented on 2025-05-20 16:32 (UTC)
vnctdj commented on 2025-05-10 22:12 (UTC)
I've just added gcc-15.patch from bufferunderrun.
Thanks to all of you who took part in patch research and testing!
susanne commented on 2025-05-10 14:46 (UTC)
just to add one more confirmation: after adding gcc-15.patch the build works perfectly here, many thanks for your work! -s
canolucas commented on 2025-05-09 20:29 (UTC) (edited on 2025-05-09 20:35 (UTC) by canolucas)
gcc-15.patch
worked fine here as well. So, it seems we can add that patch to the package right ?
Considering:
* package is broken in its current state
* the patch is required for this package to be compatible with archlinux's current version of gcc
aldolat commented on 2025-05-09 17:10 (UTC)
I just used the patch gcc-15.patch
of bufferunderrun here and upgrading to kernel 6.14.5-arch1-1 and gcc-15 was successful.
aruncveli commented on 2025-05-06 20:32 (UTC)
I could be missing something obvious,
Of course I'd forgotten to the patch
entry to prepare()
. Thanks @bufferunderrun.
And sorry to everyone else for the spam. Incredible work with the patches, investigations and brainstorming.
bufferunderrun commented on 2025-05-06 20:00 (UTC) (edited on 2025-05-06 21:08 (UTC) by bufferunderrun)
I assume you added it with a relative path and it's not adding the patch. This should work:
patch -Np1 -i "${srcdir}/gcc-15.patch" -d "${srcdir}/${_pkg}"
No issues with linux 6.14.5
EDIT: I used makepkg -sifc
aruncveli commented on 2025-05-06 16:48 (UTC) (edited on 2025-05-06 16:53 (UTC) by aruncveli)
I could be missing something obvious, since I normally use paru and haven't done this manually recently.
-
Downloaded the content of
gcc-15.patch
from @bufferunderrun, with and without the addition from @drankinatty. -
Modified
PKGBUILD
-
updpkgsums
-
makepkg -sic
pacman "succeeded", but dkms install --no-depmod nvidia/390.157 -k 6.14.4-arch1-2 exited 10
. In the make.log
, there were a lot of issues with conftest.sh
. A snippet from ~600 lines is given below:
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: #error kmem_cache_create() conftest failed!
15 | #error kmem_cache_create() conftest failed!
| ^~~~~
././conftest/functions.h:16:2: error: #error on_each_cpu() conftest failed!
16 | #error on_each_cpu() conftest failed!
| ^~~~~
././conftest/functions.h:17:2: error: #error smp_call_function() conftest failed!
17 | #error smp_call_function() conftest failed!
| ^~~~~
././conftest/functions.h:22:2: error: #error acpi_walk_namespace() conftest failed!
22 | #error acpi_walk_namespace() conftest failed!
| ^~~~~
././conftest/functions.h:24:2: error: #error dma_mapping_error() conftest failed!
24 | #error dma_mapping_error() conftest failed!
| ^~~~~
././conftest/functions.h:71:2: error: #error wait_on_bit_lock() conftest failed!
71 | #error wait_on_bit_lock() conftest failed!
| ^~~~~
././conftest/functions.h:76:2: error: #error radix_tree_replace_slot() conftest failed!
76 | #error radix_tree_replace_slot() conftest failed!
| ^~~~~
Does anyone know what could be wrong?
drankinatty commented on 2025-05-06 08:02 (UTC)
I have put a write-up on The bbs.archlinux.org discussion page outlining where I think the 6.15 kernel problem will be. If you can take a look and add any thoughts you have on the differences with the 390 driver common/inc/nv-mm.h
and how to backport the patch from the 470 driver to that file -- that is where I'm stuck.
bufferunderrun commented on 2025-05-05 14:06 (UTC)
I should add that kernel 6.15 will drop EXTRA_CFLAGS
backward compatibility, so one would need to switch to ccflags-y
when it's out. But judging from drankinatty's comments 6.15 will break quite a few other things, so people should prepare for a bumpy ride.
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?