after update openSUSE wont wake up from sleep

Hi all,

I’m having this problem since 13.2 came out. I updated by removing 13.1 repos and adding 13.2 repos. Thing went mostly fine but now it can’t wake up from sleep.

Steps to reproduce:

  • I put it to sleep.
  • I turn it on.
  • The “login” screen shows up, but keyboard just doesn’t work(I can’t type anything) and mouse clicks don’t work(I can’t click to anything, but mouse moves).

So basically I can’t login back after a sleep. All I can do is to move to another TTY and kill Xorg.

Please help, this is incredibly frustrating. I use this feature maybe a hundred time a day.

Thanks.

EDIT: This is KDE.

Don’t leave us to guess details about your hardware. Is is a laptop? Model? Graphics hardware?

/sbin/lspci -nnk |grep VGA -A3

Grub configuration - one way to get that

cat /var/log/Xorg.0.log|grep "Kernel command"

Does you computer resume okay, if put to sleep via one of these commands?

systemctl suspend

or

powersave -u

This is Lenovo Thinkpad T440p laptop.




➜  ~  /sbin/lspci -nnk |grep VGA -A3
00:02.0 VGA compatible controller [0300]: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller [8086:0416] (rev 06)
        Subsystem: Lenovo ThinkPad T440p [17aa:220e]
        Kernel driver in use: i915
        Kernel modules: i915


➜  ~  cat /var/log/Xorg.0.log|grep "Kernel command"
[232453.777] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.11.10-21-desktop root=UUID=cb68b25d-ccdf-466d-9b74-c385463f54e0 ro acpi_osi= resume=/dev/disk/by-id/ata-SAMSUNG_MZ7TE256HMHP-000L7_S1K7NSAF919488-part2 splash=silent quiet showopts



systemctl suspend fails in same way. Sleep works, but when I turn it on it doesn’t response to key presses or mouse clicks. (it skips the login screen though, so it directly shows my desktop but gets stuck in same way)

powersave isn’t working:




➜  ~  powersave -u                                 
Error org.freedesktop.DBus.Error.UnknownMethod: Method "Suspend" with signature "" on interface "org.freedesktop.UPower" doesn't exist



Update: This happens even without using sleep. Steps to reproduce:

  • Move to another TTY.
  • Move to TTY that runs Xorg.
  • Keyboard and mouse is not working, Xorg using 100% CPU.

Help!

Sleep and hibernate are two different things. Sleep is a suspend to RAM. It is just a low power usage state for the cpu. So if you turn off the power the info is all gone. Poof

Hibernate copies the active memory to swap and then restores things from swap on the next power up. It should actually shut things down.

So exactly what are you doing and what are you using and also what desktop

I use sleep. I never talked about hibernate in this thread. (although I’d expect that to fail too)

I’m using KDE openSUSE 13.2.

EDIT: As mentioned in my previous message, this problem happens when I just switch ttys using ctrl + alt + fn keys and then come back to tty8(the one at F8).

Shutting down (power off) while sleeping is a shut down ie nothing is preserved. Hibernate preserves your state through a shut down.

Now I’m unclear what the problem is. Is it that it does not wake if you press power button? or it wakes and things are not right??

So what video card do you have and what driver?? This is usually where the problem is.

The OP has explained that upon resume, the keyboard and mouse are unresponsive. The Intel graphics card was mentioned in post #3.

This keeps getting worse. Just happened while I was debugging something … I was just typing stuff at GDB and suddenly … keyboard and mouse stopped working and I had to kill Xorg again. I’m going to switch to another distro this weekend unless I find a solution until that time. This significantly effects my work.

This sounds like a driver issue to me.

Try this:
https://en.opensuse.org/SDB:Switch_xf86-video-intel_to_UXA
Or if you already did that once, try to remove that workaround again.

You could also try the latest Xorg/Mesa/intel versions from the [noparse]X11:XOrg[/noparse] repo:

sudo zypper ar http://download.opensuse.org/repositories/X11:/XOrg/openSUSE_13.2 xorg
sudo zypper dup --from xorg

do you have Plymouth installed?

Yes, but I don’t think that’s relevant. This is not only happening while logging in after sleep. (see the whole discussion)

just a thought
plymouth was deleted from this install a long time ago, 12.1 perhaps.
and a notice stated sleep and hibernate functions would be lost

UPDATE: I just updated drivers and Xorg using http://download.opensuse.org/repositories/X11:/XOrg/openSUSE_13.2 . I’ll give this a last chance today and install new distro if it fails again.

UPDATE: This is happening again!!! I updated Xorg and drivers using the X11 repo and things worked fine for a few days. But now it’s happening again and I really don’t have time for fresh installation!! PLEASE HELP!