Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 827870 - x11-drivers/nvidia-drivers-495.44: Console does not update during boot on kernel 5.15.x with nvidia-drivers 495.44
Summary: x11-drivers/nvidia-drivers-495.44: Console does not update during boot on ker...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-30 00:41 UTC by dave knippers
Modified: 2021-11-30 23:09 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge info (emerge_info_5.15.5,6.11 KB, text/plain)
2021-11-30 00:42 UTC, dave knippers
Details
dmesg from 5.14.8 (dmesg_5.14.8,76.37 KB, text/plain)
2021-11-30 00:42 UTC, dave knippers
Details
dmesg from 5.15.5 (dmesg_5.15.5,76.85 KB, text/plain)
2021-11-30 00:43 UTC, dave knippers
Details
kernel config from 5.15.5 (config_5.15.5,136.58 KB, text/plain)
2021-11-30 00:44 UTC, dave knippers
Details
kernel config from 5.14.8 (config_5.14.8,135.65 KB, text/plain)
2021-11-30 00:44 UTC, dave knippers
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dave knippers 2021-11-30 00:41:52 UTC
After updating to kernel 5.15.x (I tried both linux-5.15.0-gentoo and linux-5.15.5-gentoo) from kernel 5.14.8, the console does not continue updating from "Starting vmlinuz-5.15.x-gentoo ... Using load options ''". However, the system does boot and I'm able to ssh in. I'm using nvidia-drivers 495.44. I'm able to roll back to 5.14.8 without issue on those same drivers. Changing VTs does nothing. it just stops updating.

After reading some other bug reports, I double checked to make sure CONFIG_DRM_KMS_HELPER was set. I don't see anything about blacklight controls.

Reproducible: Always

Steps to Reproduce:
1. compile, install and boot 5.15.x
Actual Results:  
it does not do text on my screen

Expected Results:  
i should see text scrolling
Comment 1 dave knippers 2021-11-30 00:42:19 UTC
Created attachment 757023 [details]
emerge info
Comment 2 dave knippers 2021-11-30 00:42:52 UTC
Created attachment 757024 [details]
dmesg from 5.14.8
Comment 3 dave knippers 2021-11-30 00:43:10 UTC
Created attachment 757025 [details]
dmesg from 5.15.5
Comment 4 dave knippers 2021-11-30 00:44:00 UTC
Created attachment 757026 [details]
kernel config from 5.15.5
Comment 5 dave knippers 2021-11-30 00:44:16 UTC
Created attachment 757027 [details]
kernel config from 5.14.8
Comment 6 Matt Turner gentoo-dev 2021-11-30 18:48:54 UTC
I think you need to incorporate the nvidia kernel modules into an initramfs in order for the kernel messages to appear at that stage. Are you doing that?
Comment 7 Ionen Wolkens gentoo-dev 2021-11-30 18:56:27 UTC
nvidia-drivers don't do anything for console, it doesn't have a framebuffer driver

Typically rely on efifb or simplefb, and nvidia-drivers will at most just restore this mode when switching back from Xorg or similar

So I don't think this has anything to do with nvidia, unless the display manager also failed to launch (if one is setup), which may have its own errors.
Comment 8 Ionen Wolkens gentoo-dev 2021-11-30 18:59:53 UTC
(In reply to Ionen Wolkens from comment #7)
> nvidia-drivers don't do anything for console, it doesn't have a framebuffer
> driver
And nvidia-drm.modeset=1 also can't be used for this, just to clarify.

Should avoid having drivers on an initramfs at all, it just complicates updates that must not mismatch with system libraries.
Comment 9 dave knippers 2021-11-30 19:01:15 UTC
I don't run an initramfs.

I don't think I communicated this correctly. it's not that I'm not getting kernel messages, I'm not getting any video output. the framebuffer transition (to the one with the cute penguins on top) never occurs and I'm stuck seeing "Starting vmlinuz-5.15.x-gentoo ... Using load options ''". I use startx to start X11 so I have no idea if that works. but, i can ssh in just fine so I know the system's up.

when i revert to 5.14.8 everything still works. as far as i know, the method i use to compile the kernel and deploy it to /boot hasn't changed at all.
Comment 10 dave knippers 2021-11-30 19:10:01 UTC
(In reply to Ionen Wolkens from comment #7)
> nvidia-drivers don't do anything for console, it doesn't have a framebuffer
> driver
> 
> Typically rely on efifb or simplefb, and nvidia-drivers will at most just
> restore this mode when switching back from Xorg or similar
> 
> So I don't think this has anything to do with nvidia, unless the display
> manager also failed to launch (if one is setup), which may have its own
> errors.

i'll investigate this, maybe one of them got disabled in my configuration. thank you for the hint.
Comment 11 dave knippers 2021-11-30 19:18:32 UTC
I think I figured it out. thank you for your help.

FB_SIMPLE was enabled on both 5.14.8 and 5.15.5

X86_SYSFB was enabled on 5.14.8: "Mark VGA/VBE/EFI FB as generic system framebuffer"

it does not exist in 5.15.5. it changed to SYSFB_SIMPLEFB. SYSFB_SIMPLEFB was not enabled in 5.15.5.