Re: No console anymore. How to figure this out.
"J.O. Aho" <[email protected]> Wed, 25 Mar 2026 08:05:28 +0100
| Newsgroups | gmane.linux.gentoo.user |
|---|---|
| Message-ID | <[email protected]> |
On 24/03/2026 22.25, Dale wrote:
> On 3/24/26 4:16 PM, J.O. Aho wrote:
>> On 24/03/2026 21.43, Dale wrote:
>>>
>>> Still no console. When I switched, monitors went into standby and
>>> then switched off a few seconds later.
>>>
>>> This is the options for the kernel right now.
>>>
>>> root@Gentoo-1 / # cat /proc/cmdline
>>> BOOT_IMAGE=/kernel-6.12.31-3
>>> root=PARTUUID=2c0f8a80-823d-4eb2-938d-364e6aeb51da ro video=efifb:on
>>> nvidia_drm.modeset=1 nvidia-drm.fbdev=1 ibt=off
>>> root@Gentoo-1 / #
>>>
>>> That look right? Any other ideas? Do I need to get my sledge hammer???
>>
>> It looks right, was reading the old forums post about this, so I have
>> to ask a stupid question, as I got a bit lazy after gone trough like
>> 20 posts in this thread, did you have CONFIG_FB_EFI=y ? seems to be
>> the requirement
>>
>> https://forums.gentoo.org/viewtopic-t-1174634.html
>>
>> I haven't thought too much about kernel options, as been running with
>> the pre-compiled kernel.
>
> It appears so.
>
> [*] EFI-based Framebuffer Support
>
> Or
>
> root@Gentoo-1 / # cat /usr/src/linux/.config | grep CONFIG_FB_EFI
> CONFIG_FB_EFI=y
> root@Gentoo-1 / #
Hmm...
And I guess CONFIG_DRM_FBDEV_EMULATION is set too, as otherwise you
would get the following text while compiling the driver
"CONFIG_DRM_FBDEV_EMULATION: is not set but is needed for
nvidia-drm.fbdev=1 support (see /etc/modprobe.d/nvidia.conf), may
result in a blank console/tty."
There seems to be some things in the ebuild at the end, which I have
missed and differs from my desktop distro
if ver_replacing -lt 590; then
elog "590 has changes that may or may not need attention:"
elog "1. support for Pascal, Maxwell, and Volta cards
has been dropped"
elog " (if affected, there should be a another message
about this above)"
elog "2. nvidia-drm.modeset=1 is now default regardless
of USE=wayland"
elog "3. nvidia-drm.fbdev=1 is now also tentatively
default to match upstream"
elog "(2+3 were also later changed in >=580.126.09-r1,
may already be in-use)"
elog "See /etc/modprobe.d/nvidia.conf to modify
settings if needed,"
elog "fbdev=1 *could* cause issues for the console
display with some setups."
fi
if ver_replacing -lt 595; then
elog "595 has changes that may or may not need attention:"
elog "1. USE=kernel-open was removed and is now always
enabled. If for some"
elog " reason you really need the closed variant
(e.g. Runtime D3 on Turing"
elog " GPUs), please use LTS 580.xx instead as Gentoo
has no intention to"
elog " support both variants anymore going forward"
elog "2. systemd/elogind sleep services
(nvidia-sleep.sh) were tentatively"
elog " removed and replaced by setting
NVreg_UseKernelSuspendNotifiers=1 in"
elog " /etc/modprobe.d/nvidia.conf. If using a
non-default custom"
elog " nvidia.conf, please ensure the option is set.
Also, systemd users"
elog " may want to ensure that they do not have old
sleep/suspend/resume"
elog " *nvidia* files in /etc/systemd to avoid
potential issues."
elog "3. nvidia-drm.modeset=1 was removed from
nvidia.conf because it is now"
elog " default enabled regardless (new NVIDIA default)"
Another question that I got, nvidia kernel is included in your
initramfs? (I'm not that good at what and how modules are selected for
initramfs, as it's years since I configured that part and never touched
it since then).
> At this point, I'm wondering where I put my sledge hammer. I think it
> is just inside my shop door. :/ It's easy to find. It has bright
> orange wrapping to protect the handle and make it easier to find in the
> grass or leaves. o_O
One option would be to downgrade the driver, but then you also have
limits like
nvidia-drivers-570.211.01.ebuild:MODULES_KERNEL_MAX=6.18
and of course graphics card support limits too...
--
//Aho