I am facing an issue where on cold boots on my laptop I am not seeing the screen to prompt for my LUKS Password. I can type it in blindly and after pressing Enter, start to see the splash screen and then my computer boots.
If I restart my PC, the password screen shows normally though.
I believe this may be an issue with the i915 module (which I made sure is included in my initramfs file). When I disable KMS, I get a password prompt but the resolution looks like 800x600.
Fedora 38
Kernel 6.3.12
I am using a Razer Blade 15 (2022)
Intel i7-12800H processor with built-in Iris Xe Graphics (ADL GT2)
Below are my logs (which are not different between a cold start and a reboot):
I don’t know why it would be happening on cold boots and not when restarting, but when I had an Nvidia card in my machine, I had this same issue on every boot. What helped me then was to add the “nomodeset” argument to my kernel command line (i.e. running sudo grubby --update-kernel=ALL --args="nomodeset"). It could be worth a shot if nothing else works.
Just as a heads up, the NVIDIA GPU doesn’t kick in at this point in the boot process. It’s all handled by Intel. After I enter my password, the NVIDIA GPU modules are loaded. And yes, I have made sure everything is up to date.
I had just gone thru this issue and I accidentally fixed my LUKS login screen by following a guide to enable Wayland on Fedora 38 here:
However, I think the step that made the difference is:
Setting nvidia-drm.modeset=1 to /etc/default/grub and regenerating the grub config.
I also removed duplicates in the GRUB_CMDLINE_LINUX setting and I also removed blacklist nouveau - for me I dont think I have nouveau driver installed because dmesg | grep nouveau gave me no hit.
One always has the nouveau driver installed with fedora.
Your comment about the dmesg output only shows that the nouveau driver was probably not loaded during that particular boot.
When you remove the blacklist nouveau options from the line in /etc/default/grub then it allows the nouveau drivers to be loaded instead of the nvidia drivers. Those options are to prevent the system from loading the nouveau drivers which would then prevent loading the nvidia drivers. Removing those options may lead to problems in the future since it has been determined that they are necessary to ensure the nvidia driver is loaded instead and are placed there when installing the akmod-nvidia package.
Switching between nouveau/nvidia
With recent drivers as packaged with RPM Fusion, it is possible to switch easily between
nouveau and nvidia while keeping the nvidia driver installed. When you are about to select
the kernel at the grub menu step. You can edit the kernel entry, find the linux boot
command line and manually remove the following options "rd.driver.blacklist=nouveau
modprobe.blacklist=nouveau nvidia-drm.modeset=1". This will allow you to boot using the
nouveau driver instead of the nvidia binary driver. At this time, there is no way to make
the switch at runtime.
Noted, thanks for the clarification. Perhaps other folks shouldnt remove that then. So far it works for me, loading NVIDIA driver and going into Wayland now.