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
Git Clone URL: | https://aur.archlinux.org/nvidia-390xx-utils.git (read-only, click to copy) |
---|---|
Package Base: | nvidia-390xx-utils |
Description: | OpenCL implemention for NVIDIA |
Upstream URL: | https://www.nvidia.com/ |
Licenses: | custom |
Conflicts: | opencl-nvidia |
Provides: | opencl-driver, opencl-nvidia |
Submitter: | svenstaro |
Maintainer: | jonathon (vnctdj) |
Last Packager: | vnctdj |
Votes: | 61 |
Popularity: | 3.25 |
First Submitted: | 2020-03-11 17:29 (UTC) |
Last Updated: | 2024-11-25 23:34 (UTC) |
« First ‹ Previous 1 .. 10 11 12 13 14 15 16 17 18 19 20 .. 27 Next › Last »
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! :-)
I've just updated the PKGBUILD with the following solution : https://bbs.archlinux.org/viewtopic.php?pid=2083699#p2083699
Thanks to everyone who participated!
@Piezo
Unbelievable!!echo "/usr/lib/tls" > /etc/ld.so.conf.d/nvidia.conf ; ldconfig
really worked for me!Thank you a lot
The maintainer @jonathon has passed away, the new maintainer will probably get note of the provided solution from @Piezo. Thanks Piezo for the solution
@vnctdj please can you update the pkgbuild and apply any of the solutions discussed in this forum thread: https://bbs.archlinux.org/viewtopic.php?pid=2083569
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.