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...
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: | 60 |
Popularity: | 2.69 |
First Submitted: | 2020-03-11 17:29 (UTC) |
Last Updated: | 2024-11-25 23:34 (UTC) |
« First ‹ Previous 1 .. 9 10 11 12 13 14 15 16 17 18 19 .. 26 Next › Last »
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?
@vnctdj: Modifying the patch was not necessary. The patch expects to already be in the kernel directory, just cd into it before applying the patch. FYI, this is very common for patches like this.
@vnctdj thank you so much for your action! :-)
Pinned Comments
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?jonathon commented on 2020-10-19 12:41 (UTC) (edited on 2021-05-11 14:18 (UTC) by jonathon)
PACKAGE NEEDS LONG TERM MAINTAINER
I have adopted the 390xx packages to keep them secure. I do not run any 390xx hardware so will not notice any breakages and cannot test any changes.
Until such time as someone else steps up to maintain these packages - ideally someone who actually has 390xx hardware - I have to rely on you to tell me what changes are needed.
Don't expect a response if you post only "this doesn't work", and do not email me to complain about the package not working!
Use this forum thread for discussion: https://bbs.archlinux.org/viewtopic.php?pid=1946926
A binary package is also available in my kernel-lts unofficial user repository.