Reading the initial bug report I see kolAflash said

>  nomodeset seems to be essential, but not sufficient.

When I added nomodeset to /etc/default/grub (
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset" ) then I can boot
without issues, but suspend does not work. To reiterate:

 * the TTY1 screen is not blank on boot
 * sleep works
 * suspend does not work - you get this bug

Given this error in syslog:

> kernel: [    0.047848] You have booted with nomodeset. This means your GPU 
> drivers are DISABLED
> kernel: [    0.047849] Unless you actually understand what nomodeset does, 
> you should reboot without enabling it
> [    0.047849] Any video related functionality will be severely degraded, and 
> you may not even be able to suspend the system properly
> [    0.047849] Unless you actually understand what nomodeset does, you should 
> reboot without enabling it

I tried a few things without nomodeset in grub options. In this case:

  * the default screen, TTY1, (CTRL-ALT-F1)  is blank on boot (or has the HP 
logo only)
  * sleep works
  * suspend doesn't seem to work. If you leave the laptop in suspend mode for a 
long time it does not resume. The screen is black with just a white underscore 
on it. The last log lines in /var/log/syslog is

 systemd[1]: Reached target Sleep.
 systemd[1]: Starting Suspend...
 systemd-sleep[8263]: Suspending system...
 kernel: [ 9425.088936] PM: suspend entry (s2idle)


As a workaround for the default screen being blank on boot, you can go to TTY2 
(CTRL-ALT-F2),  log in and run startx from the command prompt.

Some tests:

* This does not seem to be the same issue as
https://bugzilla.kernel.org/show_bug.cgi?id=204241

because the following command works just fine.

for i in $(seq 30); do sudo rtcwake -m mem -s 5; sleep 15; done

* I've tried adding GRUB_GFXMODE=1920x1080 to /etc/default/grub but that
doesn't seem to solve the issue with the screen on TTY1 being blank on
boot.

The commands pm-hibernate and pm-suspend give the errors in /var/log/syslog 
> [ 2566.154192] Lockdown: grep: hibernation is restricted; see man 
> kernel_lockdown.7
and nothing happens

The command pm-powersave gives the same "hibernation is restricted"
error in /var/log/syslog but the system goes blank and the is
unresponsive.

** Bug watch added: Linux Kernel Bug Tracker #204241
   https://bugzilla.kernel.org/show_bug.cgi?id=204241

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1881494

Title:
  [amdgpu] suspend to ram (standby) crashes amdgpu (Ryzen-7 Vega - HP
  Envy x360)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1881494/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to