I’m turning an old laptop into a “desktop” of sorts. I connected an external monitor to the HDMI port, which I plan to use the laptop exclusively through.
If I connect the external monitor to the already booted up system, everything works fine. The problem is when I turn the system on with the monitor previously connected. Then the screen turns black and the boot process seems to halt.
Any ideas?
The laptop has intel graphics and I’m currently using GDM as rhe sessions manager. I’m assuming the problem is opensuse-specific, since grup shows up in the external monitor just fine, as well as Windows.
What does inxi -GSaz run from within a Gnome session report after connecting the external display post-boot?
How far into the boot process does it turn black? Do you get a Grub menu first? If yes, strike the E key, remove quiet and splash, then proceed to boot. Do you see messages that constitute clues?
After display turns black, and waiting a minute or more, does Ctrl-Alt-F3 produce a login prompt?
After seeing this, I added the “nomodeset” option to the linux line and now I get the splash screen and gdm (though I’m unable to start either a gnome session or a plasma one).
I repeat: What does inxi -GSaz run from within a Gnome session report after connecting the external display post-normal-boot?
It might be, but it might be GDM-triggered. Nomodeset’s value is primarily collecting data and implementing repairs. Gnome and Plasma both require functionality that nomodeset blocks.
How do we know GDM doesn’t try to start as soon as KMS kicks in?
Try disabling the splash, so that you can see error messages during boot as they occur.
Try booting with a 3 on kernel cmdline and external connected. If you get expected login prompts on the ttys, try logging in on 3 or 4 or 5 or 6 as root and running systemctl isolate graphical. Do you get black, or a GDM login screen, or something else?
As black happens early, this is a wild hunch, but try on a normal boot sans external logging into an X11 session instead of Wayland, so that X11 becomes the default on subsequent login attempts, then try a cold boot with the external connected to see if it makes any difference.
I found out an ugly but effective solution: since this problem happens when there’s an extra display plugged during bootup, I figured that disconnecting the laptop’s builtin display and leaving just the external monitor connected could solve the problem.
So I tried it and it did solve the problem! Now I have essentially a very thin desktop computer, which is exactly what I wanted. The builtin display was in terrible shape anyway, so I’m not losing anything of value.
Of course this doesn’t solve the actual bug, but since I no longer have a problem, I’ll just mark this as solved.