Custom kernel stuck on boot (graphics related)
I've recently started using gentoo, and got to the point of customizing my kernel. Been following the handbook: configured it via make, included everything that would be required to boot from an efi stub as a built-in (such as arguments for the kernel, efi stub support, filesystem support, etc.), created directory under EFI, where i put compiled bzImage, and added it's entry with efibootmgr.
When trying to boot into it, either naturally from boot order or from uefi interface, it hangs after it sets the backlight to max brightness; it hangs so that whatever was on the screen, stays on the screen (like firmware logo or black screen, if explicitly booting from uefi interface).
The keyboard is somewhat responsive, as in caps lock lights can be toggled, but not special fn keys. Pressing ESC doesn't show any info, as people usually say, so maybe I'm thinking it's graphical issue? I've recompiled it with nomodeset option added to the kernel arguments string, and it finally booted.
Any help would be appreciated, since i still struggle to debug and fix such problems. I feel like I've included all intel related options for my hardware in the config, could it be my nvidia card then?
Specs for those interested:
CPU: Intel I7 8650U
GPU: NVIDIA MX150
EDIT: seems I've found the issue. I didn't set default drm client to fbdev (Device drivers -> Graphics support -> Direct Rendering Manager -> Supported DRM clients) as the default drm, and instead it was set to log. After changing that, my console framebuffer is being used now and i see login tty.