openSuSE 13.1 x-64 - Problems with sleep/suspend and wake

Hello,
I am new to openSUSE and 13.1 is the first version I installed. Until now I’ve managed to set it up to work very good with my machine which is Dell Precision M4600 workstation with i7-2760QM, 16GB ram, nVidia K2000 and IPS fullRGB led AdobeGamut display. At the moment noveau driver is running for nVidia 2000M as the rpm is not yet ready for 13.1.
Even, the machine works well I am not able to properly wake after the sleep mode. I’ve noticed that machine wakes by the led lamps and HDD and CPU activity but not the screen which remains completely turned off. As I also have an external Dell U2411H display, I’ve tried the same procedure when this monitor is connected via DisplayPort. I’ve tried several configurations:

  1. If only laptop display is connected whatever I do it won’t turn on after sleep
  2. If external DP++ display is attached then only it wakes, laptop display is always blank. With this wake case laptop keyboard and mouse are wake but there is no mouse pointer which is lost also bluetooth devices doesn’t restart.

I’ve checked pm-suspend.log and everything seams fine:

...
/usr/lib/pm-utils/sleep.d/99video suspend suspend: success.
Sat Nov 30 04:24:27 CET 2013: performing suspend
INFO: using built-in quirks database from HAL.
INFO: S2RAM_OPTS from HAL quirks: ' '.
KMS graphics driver is in use, skipping quirks.
Sat Nov 30 04:24:50 CET 2013: Awake.
Sat Nov 30 04:24:50 CET 2013: Running hooks for resume
Running hook /usr/lib/pm-utils/sleep.d/99video resume suspend:
...

I’ve tried to uninstall pm-utils but there were no effects on this behaviour. Then I’ve also installed laptop-mode-tools and tried. When go to suspend it quickly tries to wake ending up with freeze. In this case laptop display is also always blank only DP++ display is able to show something. These two post screens appear after which computer blocks and I can only do reset :

http://s17.postimg.org/l2c17jsvf/disp1.jpg](http://postimg.org/image/l2c17jsvf/) http://s28.postimg.org/r13zcx555/disp2.jpg](http://postimg.org/image/r13zcx555/)

If you can see here is written: 200.207921]nouveau E PBUS][0000:01:00.0] MMIO write off 0x000000000 FAULT at 0x1127b8 [IBUS]


200.207921]nouveau E     PBUS][0000:01:00.0] MMIO write off 0x000000000 FAULT at 0x1127b8 [IBUS]
200.240949]nouveau E     PBUS][0000:01:00.0] MMIO write off 0x000000000 FAULT at 0x112728 [IBUS]
....
200.366264]nouveau E     PDISP][0000:01:00.0]DP:0006:0344: failed to read DPCD

In this case after consulting pm-suspend.log these lines appear in the log:


....
/usr/lib/pm-utils/sleep.d/02rtcwake resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/01laptop-mode resume suspend:
/usr/sbin/laptop_mode: line 239: .: /etc/laptop-mode/conf.d/board-specific: is a directory
Warning: Configuration file /etc/laptop-mode/conf.d/board-specific/* is not readable, skipping.
Laptop mode 
enabled, not active
/usr/share/laptop-mode-tools/modules/cpufreq: line 11: echo: write error: Invalid argument
SETTING OF KERNEL PARAMETER FAILED: echo ondemand \> /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
/usr/share/laptop-mode-tools/modules/cpufreq: line 11: echo: write error: Invalid argument
SETTING OF KERNEL PARAMETER FAILED: echo ondemand \> /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor
/usr/share/laptop-mode-tools/modules/cpufreq: line 11: echo: write error: Invalid argument
SETTING OF KERNEL PARAMETER FAILED: echo ondemand \> /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor
/usr/share/laptop-mode-tools/modules/cpufreq: line 11: echo: write error: Invalid argument
SETTING OF KERNEL PARAMETER FAILED: echo ondemand \> /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor
/usr/share/laptop-mode-tools/modules/cpufreq: line 11: echo: write error: Invalid argument
SETTING OF KERNEL PARAMETER FAILED: echo ondemand \> /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor
/usr/share/laptop-mode-tools/modules/cpufreq: line 11: echo: write error: Invalid argument
SETTING OF KERNEL PARAMETER FAILED: echo ondemand \> /sys/devices/system/cpu/cpu5/cpufreq/scaling_governor
/usr/share/laptop-mode-tools/modules/cpufreq: line 11: echo: write error: Invalid argument
SETTING OF KERNEL PARAMETER FAILED: echo ondemand \> /sys/devices/system/cpu/cpu6/cpufreq/scaling_governor
/usr/share/laptop-mode-tools/modules/cpufreq: line 11: echo: write error: Invalid argument
SETTING OF KERNEL PARAMETER FAILED: echo ondemand \> /sys/devices/system/cpu/cpu7/cpufreq/scaling_governor
....

Everything else in these logs seams OK with succeeded on end of line.

Can you please help me to correct these problems with sleep/suspend ? or suggest me what should I do.
Also, is this a problem of nouveau nvidia drivers available in openSUSE or in kernel, will installation of nVidia drivers correct this. Thanks

will installation of nVidia drivers correct this.
Looks worth a try

Similar problem here as well.

DELL XPS L502 Laptop
OpenSUSE 13.1 (64 bit)

I have removed all the nVIDIA related packages and installed Bumblebee from this link:
http://smithfarm-thebrain.blogspot.de/2013/10/opensuse-131-nvidia-optimus-bumblebee.html

It works fine, all is set well.

Problem comes when I leave the laptop idle for the time till the laptop goes on SLEEP mode. Wakeup by pressing the power button brings just the wall paper of OpenSUSE and no other things like login/password etc. So I am left with the only option of “manual restart”.

But this problem is not there when the laptop is gone sleep mode by “closing screen lid”

What to do ?

you are experiencing a completely different problem.
That’s a bug in KDE’s screen locker, and should be fixed in kdebase4-workspace-4.11.9 already available in the KDE:Current repo. It should be released as online update for openSUSE 13.1 as well soon.

As a workaround for now, just disable “Lock screen on resume” in the Powermanagement settings (“Advanced”) f.e., or enable “Require Password after” in the Screen Locker settings.
or switch to a text console (Ctrl+Alt+F1), and “killall kscreenlocker_greet” to make the password input field appear.

See also:
http://forums.opensuse.org/showthread.php/495223-After-suspend-sleep-can-t-login
https://bugzilla.novell.com/show_bug.cgi?id=864305

@wolfi323

Thanks, it worked :slight_smile:

I have a Lenovo Laptop W530 running Opensuse 13.1. I dock it on a proper lenovo docking station which has two external monitors. I have a host of problems related to the external monitors as well as suspend:
-when I logout my laptop suspends. I have suspend on close lid set off and have experimented with the PM settings to no avail. I have to power back on to log back in, though it does log me off.
-When I remove the laptop from the docking station I get a variety of problems from no desktop at all to one which is in an unreachable screen/screen location and I have to kill the x server.
-when I reconnect the laptop to the docking station I usually get dp2 on dp1’s monitor and the laptop screen is located, geographically, a long way from whichever DP monitor is working. So I start the monitor settings applet and then fiddle around trying to get it on a visible bit of monitor! When I relocate dp2’s display area from dp1 to dp2 the taskbar frequently stays on dp1, underneath dp1’s taskbar where its hard to get at. I have to move it by hand to dp2.
-when I simply reboot the machine the login window comes up on the laptop (which is closed) but I can still type the password to logon. Somtimes it comes back correctly, but about 30 percent of the time it has to be manually reconfigured.

I’m a lone Linux fan in a large group of Mac and Windows co-workers and all this drama makes Linux and Opensuse a laughing stock at my company.

I’m a software architect/developer myself but I already work too many hours, but if the packages responsible for all these terrible behaviors are not too difficult to get a grip on I would be willing to take a run at fixing them. Is there anyone out there who can give me a leg up?

wcn

KDE or Gnome?