I've just added a patch for the 6.8 kernel inspired by the following patch by Joan Bruguera: https://gist.github.com/joanbm/24f4d4f4ec69f0c37038a6cc9d132b43
I hope it will works when 6.8 will release!
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.31 |
First Submitted: | 2020-03-11 17:29 (UTC) |
Last Updated: | 2024-11-25 23:34 (UTC) |
« First ‹ Previous 1 .. 3 4 5 6 7 8 9 10 11 12 13 .. 27 Next › Last »
I've just added a patch for the 6.8 kernel inspired by the following patch by Joan Bruguera: https://gist.github.com/joanbm/24f4d4f4ec69f0c37038a6cc9d132b43
I hope it will works when 6.8 will release!
It's that time again...
Torvalds announced no need for an rc-8, so the 6.8 kernel will be released next week and will show up on Arch shortly thereafter. Anybody have any idea on what, if any, patch will be needed for 6.8?
Thank Goodness! I saw 6.6 go into testing as LTS and just saw 6.7 in core-testing and had that sinking feeling again.... But if no changes are required, then the kernel module Gods have smiled upon us!
My system is working fine with kernel 6.7.0-1-ck-generic-v2. It seems kernel 6.7 does not require any additional patch.
lines with DEST_MODULE_LOCATION inside /usr/src/nvidia-390.157/dkms.conf can be removed cause they are ignored and dkms overrides it with its own hardcoded location (/updates/dkms). proof: https://bugs.archlinux.org/task/73204
Great job. Both versions of the patch posted were identical in changes. Yours to paste.opensuse.org and the one posted by @Wargoth. I'll grab your PKGBUILD and compare. All I did was create the kernel-6.6.patch file and add it to prepare() just below the kernel-6.5.patch and bumbed the $pkgrel by 1. Generated the b2sums, updated the PKGBUILD with the new sums, built and then installed the new nvidia-390xx-dkms, nvidia-390xx-utils and opencl-nvidia-390xx (optional).
Then when the update with linux-6.6 hit, it was just a normal update -- just the way I like it.
I've just integrated canolucas' patch, thanks to him and to everyone who tested the patch!
@canolucas patch worked perfectly. Just did the linux-6.6.1 update, dkms built the module without complaint, on reboot, the display is up and running. Let's hope 6.7 is as tame. Great job!
@canolucas - thanks for your and Ike Devolder's efforts. nvidia-390xx-utils now compiles, installs and operates correctly against 6.6.0-arch1-1.
As a heads up to everyone, if you are going use Ike's new PKGBUILD, note the file verification change from b2sums
in the current version versus sha512sums
in the new version.
Cheers
@air-g4p looks like your build failed because of the error: ‘drm_gem_prime_handle_to_fd’ undeclared. You need to apply the patch correctly or manually remove the following line from nvidia-drm-drv.c (line 708 aprox) .prime_handle_to_fd = drm_gem_prime_handle_to_fd,
Here is a working PKGBUILD for reference: https://gitlab.com/herecura/packages/nvidia-390xx-dkms/
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.