0

Literal day 1 Ubuntu/Linux user here, so I ask in advance that you explain things in the most step-by-step fashion as possible.

When I attempt to boot into Ubuntu 20.04, I get stuck at the splash screen unless I do the "nomodeset" thing in grub. I've installed (what I think are) the latest mesa drivers from oibaf, and have tried uncommenting WaylandEnable. Unfortunately, uncommenting that just leads to a black screen with a lot of "blahblahblah...[OK]" checks, and doesn't proceed from there.

System specs:

Ryzen 7 3800x
AMD RX 580
32GB DDR4 RAM
MSI b450 Gaming Pro Carbon
Running Ubuntu 20.04 off of a 50GB partition on a 2TB SSD

Thank you for your help.

1 Answers1

0

This seem to happen on systems booting up very fast. E.g. systems with a SSD or inside VirtualBox. (I never had this on systems with a regular hard disk.)

Using the "nomodeset" kernel command line option is only a temporary workaround, because you have low resolution and no multi monitor support.

To fix it, edit the the systemd startup file for your display manger (gdm on Ubuntu 20.04, lightdm on Xubuntu 20.04) and put in 1 second waiting time with the sleep command.

On Ubuntu 20.04, edit /usr/lib/systemd/system/gdm.service and put in the line with the sleep command, so it looks like this:

[Service]
ExecStartPre=/usr/share/gdm/generate-config
ExecStartPre=/usr/bin/sleep 1
ExecStart=/usr/sbin/gdm3

On Xubuntu 20.04, edit /usr/lib/systemd/system/lightdm.service and put in the line with the sleep command, so it looks like this:

[Service]
# temporary safety check until all DMs are converted to correct
# display-manager.service symlink handling
ExecStartPre=/bin/sh -c '[ "$(basename $(cat /etc/X11/default-display-manager 2>/dev/null))" = "lightdm" ]'
ExecStartPre=/usr/bin/sleep 1
ExecStart=/usr/sbin/lightdm