Ubuntu 18.04 won't wake after screen lock and blank / suspend / sleep
I am trying to run Ubuntu 18.04 on a laptop with an AMD A12 processor and Radeon R7 graphics. I am having nothing but problems and am very discouraged with Ubuntu though I used 12.04 for years without such problems.
I have two problems which are terrible and i'll post them separately The problems occur only on gnome and ubuntu on xorg and not on wayland However, i am told that it's best not to run gnome on wayland.
This problem is that the computer sometimes doesn't wake up from a shutdown Well, i think it does wake up because the optical drive spins and the hard drive ticks away, but i cannot login because the lock screen is a hash of colors or a distorted background without a place to login. I cannot even ctrl- alt-f1 to get to a prompt. Everything is frozen
I'm wondering if xorg is configured correctly I am running the oilaf video driver which works well under wayland so i don't know if there is a problem with xorg and that driver.
There seems to be an issue with the nouveau driver Edit the grub
file by editing it with sudo access.
sudo vim /etc/default/grub
Add nouveau.modeset=0
to the line that says GRUB_CMDLINE_LINUX=""
so that it finally looks like this GRUB_CMDLINE_LINUX="nouveau.modeset=0"
Then run
sudo update-grub
Reboot after successfully updating grub
.