Summary: | x11-drivers/nvidia-drivers: No working tty/framebuffer on a machine with two GPUs (any other DRM driver loaded) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | zurabid2016 |
Component: | Current packages | Assignee: | Ionen Wolkens <ionen> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | soap |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://bugzilla.kernel.org/show_bug.cgi?id=216303 https://github.com/NVIDIA/open-gpu-kernel-modules/issues/341 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
zurabid2016
2023-07-08 12:08:01 UTC
Even if checked for DRM devices, there's no guarantee they are even being used and it'd just be noise (similar deal for FB but the scope is more limited). And wouldn't want to be noisy about this for everyone with every emerges. At best could add something to the README.gentoo, not that I have any dual gpu setups myself to test what I'd be talking about. Things like this feel better suited for the wiki written by people affected by the issue. README.gentoo already points there. My preferred solution to the ebuild would be to drop all the current FB warnings, and refer users to the wiki if they have framebuffer issues more clearly in README.gentoo. But that's assuming someone updates it. wrt simplefb, I did have issues with it myself last I tried and know a few others who did as well -- but heard it was fine for others, so I remained vague in the message ("may", "feel free to ignore"). May need to retest sometime though. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7ea967d210c66a14adf12c5c6b177a76aba6b1b commit f7ea967d210c66a14adf12c5c6b177a76aba6b1b Author: Ionen Wolkens <ionen@gentoo.org> AuthorDate: 2023-07-08 14:02:56 +0000 Commit: Ionen Wolkens <ionen@gentoo.org> CommitDate: 2023-07-08 14:16:14 +0000 x11-drivers/nvidia-drivers: drop additional framebuffer/drm warnings Warnings were mostly added to help the transition to newer kernels for unsuspecting users. May have helped in some cases, not in others. But with 6.1.x being stable for a while, there's little reason to keep this wall of warnings *here* and try to keep it accurate and updated -- especially when we can't tell what's really in-use or what the user needs (this was just vague suggestions). For initial setting up issues, it sounds better to refer to the Wiki. So if anyone has anything to share with their experience with FB (or other issues) feel free to edit it and improve it so it can help others. Also drop the "builtin" nouveau check that was part of this block. Module is already blacklisted and, if users went out of their way to make it builtin, then let's assume they know what they're doing. Closing #910058 but rather than a fix it's more of a dissociation. Closes: https://bugs.gentoo.org/910058 Signed-off-by: Ionen Wolkens <ionen@gentoo.org> .../nvidia-drivers/nvidia-drivers-390.157.ebuild | 68 +--------------------- .../nvidia-drivers-470.199.02.ebuild | 68 +--------------------- .../nvidia-drivers-525.125.06.ebuild | 68 +--------------------- .../nvidia-drivers/nvidia-drivers-525.47.27.ebuild | 68 +--------------------- .../nvidia-drivers/nvidia-drivers-535.54.03.ebuild | 68 +--------------------- 5 files changed, 15 insertions(+), 325 deletions(-) So, I reworked a wiki page the bit (https://wiki.gentoo.org/wiki/NVIDIA/nvidia-drivers), including some more recommendations about required kernel configuration. This very issue is fixed by kernel commit 5ae3716cfdcd286268133867f67d0803847acefc ("video/aperture: Only remove sysfb on the default vga pci device")[see https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=5ae3716cfdcd286268133867f67d0803847acefc], which should be present in 6.5 kernels and may be backported to linux-stable (it isn't yet). Many thanks for your work on the wiki. And yeah, I've seen the reply the github issue wrt the commit. Haven't tested but glad to hear should have less to worry about. |