@perryhelionsemail - I am really hesitant to removing the max_cstate
boot flag: I had to set this in order to avoid random and total system
freezes. And that bug seems to be anything but fixed:
https://bugzilla.kernel.org/show_bug.cgi?id=109051

So, with due respect to curiosity – not gonna try that. ;)

However, it seems I found a solution for now for my flickering graphics
issues.

I tried Gnome Shell (Ubuntu's default DE). There I did NOT encounter any
flickering.

But Gnome Shell isn't a Desktop Environment I would want to settle on –
I'll save you my random rant about it. :) And that was not my solution.

In trying to find a fix for my previously mentioned Cinnamon login-crash
bug, I had upgraded Cinnamon to the latest stable version 3.8.3 via a
PPA (the current version in Ubuntu's repo is 3.6.7). Today, I purged the
PPA and downgraded Cinnamon to the older Ubuntu's repo version. As a
result, the flickering issues with the patched kernel seem to be gone,
so I'm mostly good for now, as far as I can see. :)

To summarize:

- The patched 4.15.0-24 kernel enables me to suspend-to-ram.
- The patched 4.15.0-24 kernel brings a new issue for me: A minute-long wait 
before I get to the Ubuntu greeter and am able to login to a DE. This does not 
happen in 4.15.0-23.
- The patched 4.15.0-24 in combination with latest Cinnamon 3.8.3 (via PPA) 
causes graphics flickering big time. This does not occur in 4.15.0-23, either.

So, while indeed restoring suspend, the patch still seems to be missing
something.

@kaihengfeng - Is there any way I might help debugging or provide
additional info?

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

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1774950

Title:
  Suspend fails in Ubuntu and Kubuntu 18.04 but works fine in Ubuntu and
  Kubuntu 17.10 (and on Kubuntu 18.04 using kernel 4.14.47)

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I have installed Kubuntu 18.04 on 3 different machines (my friend's
  and my own) with no suspend problems but my HP Pavilion 11 x360 does
  not suspend.

  It suspends fine with Ubuntu 17.10, Kubuntu 17.10, Devuan Jesse,
  Devuan ASCII and Windows 10 but fails with Ubuntu 18.04 and Kubuntu
  18.04.

  I have also tried suspend using a live USB of 18.04 on this machine
  and it fails in the same way, so does not appear to be caused by any
  additional programs that I had installed.

  By installing an older kernel (4.14) on Kubuntu 18.04 the suspend
  function works as expected.

  Running Kubuntu 18.04 with kernels 4.15, 4.16, 4.17 results in the
  suspend failure that freezes the machine and requires a hard reset.

  
  Correct behaviour is - 

  Screen goes blank, fan goes off, power LED flashes to show machine is
  in suspend. Pressing power button triggers 'resume' function.

  
  What happens - 

  Screen goes blank, fan stays on, power LED stays on. Machine stays in
  this state and does not respond to any keyboard interaction, mouse
  movement or power button presses.

  
  Ctrl + Alt + f1 (or f2, f3, f4 etc) does not get any response.

  The only way to use the machine is to shut down by holding down the
  power button.

  
  Checking the logs suggests that the machine believes it is in suspend mode 
sleep [deep] when it isn't.

  Having to hard reset to get any response means that the kernel logs
  say no more than sleep [deep]

  pm-suspend also results in the same problems with kernels 4.15 and
  4.16, but works fine with 4.14.

  It is curious that a machine that suspends fine on an earlier 4.14
  kernel no longer works with 4.15 and above, whilst 3 other machines
  (including one with pretty similar hardware) do not exhibit this
  problem.

  There are only a handful of questions about it on the forums but at
  least 3 other people have the same problem:

  https://askubuntu.com/questions/1029405/ubuntu-18-04-crashes-on-
  resuming-from-suspend

  https://askubuntu.com/questions/1041369/after-upgrading-
  from-17-10-ubuntu-18-04-wont-sleep-suspend

  I am attempting to round up anyone else with the same issue and point
  them to this bug report.

  My laptop is HP Pavilion x360 11-n013na 
  Matalaks is Acer Aspire ES1-511
  collisionTwo has XPS 9560

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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to