4

I renctly updated to Ubuntu 17.10 and I'm not able to suspend my desktop. My screen are powered off but the fan still run and I'm not able to press the power button of my computer to resume.

I have this in /var/log/syslog :

Nov  3 04:35:57 oscar gnome-shell[3537]: JS WARNING: [/home/dougui/.local/share/gnome-shell/extensions/suspend-button@laserb/extension.js 202]: assignment to undeclared variable gnomeShellVersion
Nov  3 04:35:57 oscar NetworkManager[1050]: <info>  [1509698157.6376] manager: sleep requested (sleeping: no  enabled: yes)
Nov  3 04:35:57 oscar NetworkManager[1050]: <info>  [1509698157.6376] manager: sleeping...
Nov  3 04:35:57 oscar systemd[1]: Reached target Sleep.
Nov  3 04:35:57 oscar org.gnome.Shell.desktop[2428]: Window manager warning: Failed to set power save mode for output DVI-I-1: Not permitted
Nov  3 04:35:57 oscar org.gnome.Shell.desktop[2428]: Window manager warning: Failed to set power save mode for output HDMI-1: Not permitted
Nov  3 04:35:57 oscar gnome-shell[2428]: Screen lock is locked down, not locking
Nov  3 04:35:57 oscar systemd[1]: Starting Suspend...
Nov  3 04:35:57 oscar systemd-sleep[5572]: Selected interface 'enp4s0'
Nov  3 04:35:57 oscar systemd-sleep[5572]: OK
Nov  3 04:35:57 oscar systemd-sleep[5572]: Suspending system...

I have errors but nothing special.

Here is information about my system :

Linux oscar 4.13.0-16-lowlatency #19-Ubuntu SMP PREEMPT Wed Oct 11 19:51:52 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

EDIT

It happens when I shutdown also. When I shutdown, I have this trace :

Nov  5 12:35:55 oscar org.gnome.Shell.desktop[4021]: Window manager warning: CurrentTime used to choose focus window; focus window may not be correct.
Nov  5 12:35:55 oscar gsd-print-notif[4211]: Source ID 2 was not found when attempting to remove it
Nov  5 12:35:55 oscar systemd[3975]: Stopping D-Bus User Message Bus...
Nov  5 12:35:55 oscar kernel: [34246.603751] rfkill: input handler enabled
Nov  5 12:35:55 oscar systemd[1]: Stopping PackageKit Daemon...
Nov  5 12:35:55 oscar systemd[1]: Stopping Save/Restore Sound Card State...
Nov  5 12:35:55 oscar systemd[1]: Stopping User Manager for UID 129...
Nov  5 12:35:55 oscar org.a11y.atspi.Registry[2794]: XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":1024"
Nov  5 12:35:55 oscar org.a11y.atspi.Registry[2794]:       after 21 requests (21 known processed) with 0 events remaining.

Here is the result of lspcu :

Architecture:        x86_64
CPU op-mode(s):      32-bit, 64-bit
Byte Order:          Little Endian
CPU(s):              4
On-line CPU(s) list: 0-3
Thread(s) per core:  1
Core(s) per socket:  4
Socket(s):           1
NUMA node(s):        1
Vendor ID:           GenuineIntel
CPU family:          6
Model:               58
Model name:          Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz
Stepping:            9
CPU MHz:             3403.445
CPU max MHz:         3800.0000
CPU min MHz:         1600.0000
BogoMIPS:            6806.89
Virtualization:      VT-x
L1d cache:           32K
L1i cache:           32K
L2 cache:            256K
L3 cache:            6144K
NUMA node0 CPU(s):   0-3
Flags:               fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm cpuid_fault epb tpr_shadow vnmi flexpriority ept vpid fsgsbase smep erms xsaveopt dtherm ida arat pln pts

For lspci :

00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor DRAM Controller (rev 09)
00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller (rev 04)
00:16.0 Communication controller: Intel Corporation 7 Series/C216 Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 7 Series/C216 Chipset Family USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 7 Series/C216 Chipset Family High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 7 Series/C216 Chipset Family PCI Express Root Port 1 (rev c4)
00:1c.5 PCI bridge: Intel Corporation 82801 PCI Bridge (rev c4)
00:1c.6 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 7 (rev c4)
00:1c.7 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 8 (rev c4)
00:1d.0 USB controller: Intel Corporation 7 Series/C216 Chipset Family USB Enhanced Host Controller #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation Z77 Express Chipset LPC Controller (rev 04)
00:1f.2 IDE interface: Intel Corporation 7 Series/C210 Series Chipset Family 4-port SATA Controller [IDE mode] (rev 04)
00:1f.3 SMBus: Intel Corporation 7 Series/C216 Chipset Family SMBus Controller (rev 04)
00:1f.5 IDE interface: Intel Corporation 7 Series/C210 Series Chipset Family 2-port SATA Controller [IDE mode] (rev 04)
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Cape Verde XT [Radeon HD 7770/8760 / R7 250X]
01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Cape Verde/Pitcairn HDMI Audio [Radeon HD 7700/7800 Series]
02:00.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 41)
04:00.0 Ethernet controller: Qualcomm Atheros AR8151 v2.0 Gigabit Ethernet (rev c0)
05:00.0 USB controller: Etron Technology, Inc. EJ168 USB 3.0 Host Controller (rev 01)

And results forsudo lshw are here (Too long for SO).

  • What are your computer brand? I had HP Elitebook and I also have the same problem. – Solo Nov 3 '17 at 11:17
  • This is custom desktop. – Dougui Nov 3 '17 at 11:18
  • 1
    What CPU, Graphics, and Chipset are you using? (lscpu, lspci, sudo lshw) Also I would recommend trying with as little plugged in as possible. (Try without excess USB devices, monitors, perhaps fancy gaming keyboards or other storage devices?) – Robobenklein Nov 10 '17 at 23:49
  • Can you try booting a previous stable version of kernel from grub startup menu, check if the issue persists. – Legolas Nov 11 '17 at 11:50
  • i had same problem with Arch once. I back to stable kernal fixed the issue. – Thamaraiselvam Nov 11 '17 at 17:19
0

I finally do this for a few months :

gksudo -k -u root "sh -c 'sync && echo 1 > /sys/power/pm_trace && pm-suspend'"

I created a shortcut.

I hope it will be solved in Ubuntu 18.04.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.