Rebooting with closed laptop lid and external monitor disconnects monitor after LUKs password interface

When using X11 and nvidia drivers, I’m able to get great performance on my macbook with fedora gnome. The issue is that whenever I reboot, the external display disconnects after requiring my LUKS password. My laptop screen seems to wake (apple logo lights up) after entering my LUKS password, despite the lid being closed and then sleeps again and this supersedes all. If I open my laptop and replug the external monitor, it behaves well when I close the lid again.

Is there a way to overcome this reboot experience?

Which screen is configured as primary in the display settings panel.?
It would seem that the monitor is not getting properly configured during boot with the lid closed and you would need to find out why and how to get past that step.

I’ve updated the external monitor as primary but same outcome.

I’ve noticed when I turn off nvidia (uses x11) and re-allow nouveau in grub, i’ll be able to make it through the success path of not disconnecting after luks. I installed nvidia drivers for the 750m since I was noticing lag issues with wayland/nouveau especially on my 4k monitor.

I have autologin setup too if that makes any sort of difference

I’ve done a fresh install, and it seems like it’s only with the nvidia modset turned on. I’m using gpu-switcher to go between nouveau, nvidia and the intel Iris iGPU using an apple spoof EFI file. With nvidia, I’ll reboot and see grub on the external monitor and the LUKS screen, after passing in my LUKS password, I get the fedora logo and animating lines at the bottom indicating the graphics card is in use. At that point, the apple logo turns on/off a couple times and my monitor disconnects. If there’s any way to keep it alive I’m all ears. New to linux and have been fiddling with it all day. Thank you!

What happens if you remove gpu-switcher? This sounds distinctly like the additional tool you have installed is interfering with proper loading and use of the nvidia drivers.

The nvidia driver works with no additional tools for me.
Nouveau seems to not support hardware acceleration for the GPUs, which may be why you are forced to disable modeset. This then means that even if you were able to use the nvidia gpu that the system would be forced to use the CPU for all graphics rendering which defeats the purpose of a GPU that has hardware acceleration available.

An optimus system seems to work very well in normal mode, but when additional tools are added it may interfere. The default gpu used with wayland is the iGPU and the user may select to use the dGPU with each app when launched.

With X11 the user may set the nvidia dGPU to always be used as primary by following the instructions here. Once that is done then simply switching between wayland and X11 at login time would determine which gpu is used as primary.