Package Details: nvidia-390xx-utils 390.157-14

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: 60
Popularity: 0.44
First Submitted: 2020-03-11 17:29 (UTC)
Last Updated: 2025-01-24 07:30 (UTC)

Dependencies (6)

Required by (317)

Sources (17)

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

« First ‹ Previous 1 .. 3 4 5 6 7 8 9 10 11 12 13 .. 28 Next › Last »

sfranchi commented on 2024-05-15 09:43 (UTC)

@Minty95 I use the linux-zen kernel, so I added the following line to pacman.conf

IgnorePkg = linux-zen linux-zen-headers

Remove the "-zen" part of the names if you use the standard kernel

Minty95 commented on 2024-05-15 07:53 (UTC) (edited on 2024-05-15 10:21 (UTC) by Minty95)

sfranchi : Kernel and headers packages added to my pacman ignore list what exactly did you add ? so that I can do this as well,Thank :)

Many thanks did that, works perfectly. I'll now will wait until the maintainer has time to update the kernel

sfranchi commented on 2024-05-14 14:48 (UTC)

Thanks for the heads-up @drankinatty. Kernel and headers packages added to my pacman ignore list until the patch is out.

drankinatty commented on 2024-05-14 08:40 (UTC) (edited on 2024-05-14 08:40 (UTC) by drankinatty)

Oh Joy, the Linux 6.9 kernel was just released by Linus and crew, so we should probably start looking for patches. Arch is probably a week or two away from getting the package out. I'll start looking at the current driver changes. If anybody comes up with a 6.9 kernel patch -- post a link.

loup commented on 2024-05-14 06:26 (UTC)

@rodrigorc thank's to share.

Work's fine on my system.

quivenda commented on 2024-05-12 04:38 (UTC) (edited on 2024-05-13 18:36 (UTC) by quivenda)

I got an error dkms error WARNING:dkms install --no-depmod nvidia/390.157 -k 6.8.8-arch1-1' exited 10`.

I don't understand why dkms still building with kernel 6.8.8 when I'm using kernel 6.8.9 but with kernel 6.8.9-arch-1-2 building successfully but OpenGL not working at all. :/

Back to nouveau for now.

EDIT: removed old modules from /usr/lib/modules and compiled this package again with @aruncveli linked patch, now work. :)

rodrigorc commented on 2024-05-10 12:39 (UTC)

I hadn't read this thread, so I fixed it myself, with this patch:

--- a/kernel/Kbuild
+++ b/kernel/Kbuild
@@ -63,7 +63,7 @@

 EXTRA_CFLAGS += -I$(src)/common/inc
 EXTRA_CFLAGS += -I$(src)
-EXTRA_CFLAGS += -Wall -MD $(DEFINES) $(INCLUDES) -Wsign-compare -Wno-cast-qual -Wno-error
+EXTRA_CFLAGS += -Wall -MD $(DEFINES) $(INCLUDES) -Wsign-compare -Wno-cast-qual -Wno-error -fpermissive
 EXTRA_CFLAGS += -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"390.157\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Wno-sign-compare -Wno-format-extra-args
 EXTRA_CFLAGS += $(call cc-option,-Werror=undef,)
 EXTRA_CFLAGS += -DNV_SPECTRE_V2=$(NV_SPECTRE_V2)
@@ -101,7 +101,9 @@
 NV_CONFTEST_CMD := /bin/sh $(NV_CONFTEST_SCRIPT) \
  "$(CC)" "$(HOST_CC)" $(ARCH) $(NV_KERNEL_SOURCES) $(NV_KERNEL_OUTPUT)

-NV_CONFTEST_CFLAGS := $(shell $(NV_CONFTEST_CMD) build_cflags)
+NV_CFLAGS_FROM_CONFTEST := $(shell $(NV_CONFTEST_CMD) build_cflags)
+
+NV_CONFTEST_CFLAGS = $(NV_CFLAGS_FROM_CONFTEST) $(EXTRA_CFLAGS) -fno-pie

 NV_CONFTEST_COMPILE_TEST_HEADERS := $(obj)/conftest/macros.h
 NV_CONFTEST_COMPILE_TEST_HEADERS += $(obj)/conftest/functions.h

I think this is more proper, GCC itself recommends using -fpermissive if there is need for the legacy behavior: https://gcc.gnu.org/gcc-14/porting_to.html

The change about NV_CONFTEST_CFLAGS I copied from the nvidia-470xx-utils file. They are mostly identical, but this one were missing that extra bit that forwards the extra flags to the conftest script.

drankinatty commented on 2024-05-10 04:28 (UTC)

Thank you @aruncveli - that patch does work. I thought it would take much more than that? But I just built the package with the patch (applied - patch -Np2 -i ../../gcc-14.patch) and both LTS and the normal kernel modules built fine. This patch works.

aruncveli commented on 2024-05-09 15:36 (UTC) (edited on 2024-05-09 15:44 (UTC) by aruncveli)

For the build issue on 6.8.9-arch1-2, this patch worked for me.

If someone else can confirm too, maybe it can be added to this repo.

Thanks.