Found the problem.
On line 59 of PKGBUILD it must be:
patch -Np1 -i ../../kernel-6.3.patch
instead of:
patch -Np1 -i ../kernel-6.3.patch
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.80 |
First Submitted: | 2020-03-11 17:29 (UTC) |
Last Updated: | 2025-03-29 10:40 (UTC) |
« First ‹ Previous 1 .. 12 13 14 15 16 17 18 19 20 21 22 .. 29 Next › Last »
Found the problem.
On line 59 of PKGBUILD it must be:
patch -Np1 -i ../../kernel-6.3.patch
instead of:
patch -Np1 -i ../kernel-6.3.patch
@vnctdj, the patch doesn't works here:
patch: **** Can't open patch file ../kernel-6.3.patch : No such file or directory
I've pushed a new version of the PKGBUILD.
Thanks for providing the new patch and for testing it. Unfortunately I don't have the time to test it myself for the moment...
@vnctdj can you please add the following patch to the PKGBUILD: https://gitlab.com/herecura/packages/nvidia-390xx-dkms/-/blob/36af321ae3f3a1e177dd36c92ccd8f7ae3c8f1aa/kernel-6.3.patch
it is neccecsary for making this driver compatible with linux kernel v6.3 thank you so much for maintaining the driver so far !
@BlackIkeEagle,it works fine on linux6.3.0-x64v1-xanmod1-1
Since it looks like 6.3 will be out next week, anybody confirmed the 6.3 patch results in a working driver?
a patch for the upcoming 6.3 kernel: https://gitlab.com/herecura/packages/nvidia-390xx-dkms/-/blob/36af321ae3f3a1e177dd36c92ccd8f7ae3c8f1aa/kernel-6.3.patch
I have no idea if that makes the drivers work, it makes them build on 6.3rc6
Tested and everything works fine with linux kernel 6.2.6 and Nvidia 390.157-3 with Kernel 6.2 patch, but for some reason I get this older linux headers error.
ERROR: Missing 6.1.8-arch1-1 kernel modules tree for module nvidia/390.157
Since we are in need of a long-term maintainer, and since @vnctd did such a good job handling the patches for glibc-2.37 and the 6.2 kernel patch, I would nominate @vnctd as the new maintainer -- if he will do it.
I fumbled around getting the package to build without the patch to the point of drm failure, but then would have been stuck until I could find an existing patch for it. I know C and understood the errors
nv-acpi.c:77:19: error: initialization of XXX from incompatible pointer type YYY
77 | .remove = nv_acpi_remove_two_args,
and
nvidia-drm-drv.c:244:21: error: ‘struct drm_mode_config’ has no member named ‘fb_base’
244 | dev->mode_config.fb_base = 0;
However, it would likely have taken me a bit more time to arrive at a full solution -- so I'm not the guy. Anyone else have a 2nd or other thoughts?
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?