16.04 on Lenovo, screen doesn't come on after suspend - Ask Ubuntu


a couple days ago upgraded 14.04 16.04 on lenovo z50-75. when close lid, suspends , powers down correctly; when open lid, can hear hard disk spin up, screen never comes on, , wind having power off.

won't come suspend 16.04 lts , xubuntu 16.04.1 won't wake correctly after opening lid seemed similar, followed instructions on linux daddy here , running 4.4.25 kernel, didn't help.

manually running sudo pm-suspend --quirk-dpms-on has same effect: machine powers down; pressing space or whatever causes spin up, screen never turns on.

i see other answers talk editing /etc/systemd/logind.conf; haven't changed in there (as problem on resume, not suspend). in file commented out.

i see my lenovo z40 can't recover sleep/suspend mode 16.04 on lenovo z40 (similar think z50), , 1 answer there mentions nvidia driver. however, lshw , lspci commands used here figure out nvidia card model don't nvidia card; amd radeon.

this page on help.ubuntu.com talks editing /etc/x11/xorg.conf, don't have 1 of those, , there's no "screen" section in under /usr/share/x11/xorg.conf.d/.

blank screen after resuming suspend state on ubuntu 16.04 (issue started after installing nvidia drivers) has instructions on working around installing bumblebee; did ("sort of"--see below), there warning during installation:

no nvidia card found. if have optimus system, try selecting optimus setup in bios , run: sudo dpkg-reconfigure bumblebee-nvidia 

i "sort of" did that, because step 1 & 2 switching intel graphics in nvidia-settings, and... had problem nvidia-settings installation (starting up, complained registry key file should've been installed along driver, , see readme; there no readme, either). , bumblebee isn't quite working (the bumblebee daemon isn't starting automatically?), don't think care. in case, didn't fix it, although maybe that's because didn't correctly.

the real progress i've made adding /etc/pm/sleep.d/01_switchvt script suggested in answer unable resume after suspend. after adding that, manually running pm-suspend, , hitting spacebar, machine starts properly; closing lid, waiting, & reopening (and flailing on keyboard, etc.) still doesn't turn screen on. seems step in right direction, @ least... so, seeing on this thread on fedora forums systemd might doing sleep, put similar in /lib/systemd/system-sleep/, , can see (from writing log file) it's calling chvt during suspend & resume, didn't fix it.

any idea how can suspend/resume work again?

i work 2 lenovo laptops, , each required different configuration in order suspend/resume work under ubuntu 16.10.

  • with lenovo u300s, solution add pci=nomsi grub_cmdline_linux_default string
  • while lenovo ideapad z510, solution add i915.enable_psr=0

here specific details of had configure each:

  • create appropriately-sized swap file (i typically set ~1.1x of total size, 18gb 16gb)
  • in etc/default/grub, configure grub_cmdline_linux_default include resume parameter, passing uuid of swap partition in question (e.g., grub_cmdline_linux_default="quiet splash resume=uuid=453f0121-505d-42d3-8dad-87f913e67ddc")
  • add same grub_cmdline_linux_default line either of above solutions (either pci=nomsi or i915.enable_psr=0 parameter), e.g., grub_cmdline_linux_default="quiet splash resume=uuid=453f0121-505d-42d3-8dad-87f913e67ddcpci=nomsi"
  • run sudo update-grub
  • edit /etc/systemd/logind.conf set handlelidswitch=hibernate (or similar)
  • run sudo service systemd-logind restart

while i'm not big fan of plugging in random grub parameters without understanding implications of each parameter does, may in troubleshooting/limiting scope of suspend issues on lenovo laptop.

best of luck!


Comments

Popular posts from this blog

download - Firefox cannot save files (most of the time), how to solve? - Super User

windows - "-2146893807 NTE_NOT_FOUND" when repair certificate store - Super User

sql server - "Configuration file does not exist", Event ID 274 - Super User