Summary: | x11-drivers/nvidia-drivers-565.77 - failed to build with sys-kernel/gentoo-sources-6.13.0 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Leonid Kopylov <leonchik1976> |
Component: | Current packages | Assignee: | Ionen Wolkens <ionen> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | brettalcox, bugs, christian, gaweal, harrisl, ionen, me, paessler, soap |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log.xz
linux-6.13.patch |
Description
Leonid Kopylov
2025-01-21 06:51:35 UTC
Created attachment 917195 [details]
build.log.xz
Already known, and it's fixed in 550.142 (which is more recent than 565.77, but lacks the wayland improvement that 565 has). As the build.log message hints at, there is no plans to carry patches for 565.77+6.13 at the moment (may reconsider if new release takes a long time). So if want to use a bleeding edge kernel will either have to patch it yourself or use 550.142. From the build.log for reference: * *** WARNING *** * * nvidia-drivers is known to break easily with new kernel versions and, * with the current kernel (6.13.0-gentoo-amd64), it was either hardly * tested or is known broken. It is recommended to use one of: * * <=sys-kernel/gentoo-kernel-6.12.x or * <=sys-kernel/gentoo-sources-6.12.x * * or equivalent rather than file downstream bug reports if run into * issues, then wait for upstream fixes and a new release. Ideally, * with out-of-tree modules, use an LTS (Long Term Support) kernel * branch[1]. If in doubt, Gentoo's stable kernels are always LTS * and can be easily used even on ~testing systems. (on a side-note, the build failure is not the only issue -- if fix it, it'll still fail to detect some other fbdev-related bits and possibly more and then may have some problems at runtime depending on usage) Just little OT: there is an hypothetical date of 6.12 stabilization? Created attachment 917256 [details, diff]
linux-6.13.patch
as for "patch it yourself", I made 565.77 (at least) compile (i.e have not rebooted into that, yet) with 6.13
(In reply to CyberGuerro from comment #4) > Just little OT: there is an hypothetical date of 6.12 stabilization? No idea, it'll be when a gentoo kernel maintainer decides it's time. For comparison, gentoo-sources-6.6.x wasn't stabilized until 6.6.13 but it could be earlier or later than that. (In reply to Ionen Wolkens from comment #2) > Already known, and it's fixed in 550.142 Oops, meant to say fixed in 550.144.03 there. note: The patch posted does not fix when using open-source modules. There are still errors in buf(DMA) instead of buf("DMA") and the use of crypto_akcipher_verify, which no longer exists in 6.13 (In reply to Harris Landgarten from comment #8) > note: The patch posted does not fix when using open-source modules. There > are still errors in buf(DMA) instead of buf("DMA") and the use of > crypto_akcipher_verify, which no longer exists in 6.13 Right, per comment #3, part of why I (further) rather not take responsibility for what likely incomplete patches do and recommend to either keep using a LTS kernel or use the production 550 branch which NVIDIA seem to have mostly fixed themselves (it also fixes bug #948212). Fixes may not be that bad, but it needs proper investigation rather than a "works for me" patch, i.e. checking bug reports on nvidia forums+github, compare conftest.sh results (important), diff 550.135 with 550.144.03 for nvidia's own fixes, and such. Just hoping that it won't be too long until next >=565 release, albeit hard to say given pretty sure next release will be a new branch (570.x) and it could drag, perhaps it'll come as a beta first but I'll likely add it keyworded anyway due to CVEs more than kernel 6.13. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec9b84a5c8ba327f67ecf360848c33dddec0a5d6 commit ec9b84a5c8ba327f67ecf360848c33dddec0a5d6 Author: Ionen Wolkens <ionen@gentoo.org> AuthorDate: 2025-01-30 16:09:17 +0000 Commit: Ionen Wolkens <ionen@gentoo.org> CommitDate: 2025-01-30 16:33:12 +0000 x11-drivers/nvidia-drivers: add 570.86.16 (beta) Adding keyworded despite beta due for being needed for several reasons (on top of the two bugs). Bug: https://bugs.gentoo.org/948212 Closes: https://bugs.gentoo.org/948478 Signed-off-by: Ionen Wolkens <ionen@gentoo.org> x11-drivers/nvidia-drivers/Manifest | 8 + x11-drivers/nvidia-drivers/files/nvidia-570.conf | 45 ++ .../nvidia-drivers/nvidia-drivers-570.86.16.ebuild | 606 +++++++++++++++++++++ 3 files changed, 659 insertions(+) |