Hi, all: I just find that my Xiaomi Air laptop, which has skylake inside and runs OpenBSD 6.3 release, doesn't resume from suspend sometimes. My /var/log/messages says:
... Apr 15 16:32:12 openbsd-darkgeek /bsd: wskbd1: disconnecting from wsdisplay0 Apr 15 16:32:12 openbsd-darkgeek /bsd: wskbd1 detached Apr 15 16:32:12 openbsd-darkgeek /bsd: ukbd0 detached Apr 15 16:32:12 openbsd-darkgeek /bsd: uhidev0 detached Apr 15 16:32:12 openbsd-darkgeek /bsd: wsmouse0 detached Apr 15 16:32:12 openbsd-darkgeek /bsd: ums0 detached Apr 15 16:32:12 openbsd-darkgeek /bsd: uhid0 detached Apr 15 16:32:12 openbsd-darkgeek /bsd: uhid1 detached Apr 15 16:32:12 openbsd-darkgeek /bsd: uhid2 detached Apr 15 16:32:12 openbsd-darkgeek /bsd: uhid3 detached Apr 15 16:32:12 openbsd-darkgeek /bsd: uhidev1 detached Apr 15 16:32:13 openbsd-darkgeek /bsd: ugen0 detached Apr 15 16:32:14 openbsd-darkgeek /bsd: video0 detached Apr 15 16:32:14 openbsd-darkgeek /bsd: uvideo0 detached Apr 15 21:53:30 openbsd-darkgeek /bsd: uhub0 detached Apr 15 21:53:30 openbsd-darkgeek /bsd: uhub0 at usb0 configuration 1 interface 0 "Intel xHCI root hub" rev 3.00/1.00 addr 1 Apr 15 21:53:30 openbsd-darkgeek apmd: system resumed from sleep Apr 15 21:53:30 openbsd-darkgeek /bsd: uhidev0 at uhub0 port 2 configuration 1 interface 0 "Logitech USB Receiver" rev 2.00/29.01 addr 2 Apr 15 21:53:30 openbsd-darkgeek /bsd: uhidev0: iclass 3/1 Apr 15 21:53:30 openbsd-darkgeek /bsd: ukbd0 at uhidev0: 8 variable keys, 6 key codes Apr 15 21:53:31 openbsd-darkgeek /bsd: wskbd1 at ukbd0 mux 1 Apr 15 21:53:31 openbsd-darkgeek /bsd: wskbd1: connecting to wsdisplay0 Apr 15 21:53:31 openbsd-darkgeek /bsd: uhidev1 at uhub0 port 2 configuration 1 interface 1 "Logitech USB Receiver" rev 2.00/29.01 addr 2 Apr 15 21:53:31 openbsd-darkgeek /bsd: uhidev1: iclass 3/1, 17 report ids Apr 15 21:53:31 openbsd-darkgeek /bsd: ums0 at uhidev1 reportid 2: 16 buttons, Z and W dir Apr 15 21:53:31 openbsd-darkgeek /bsd: wsmouse0 at ums0 Apr 15 21:53:31 openbsd-darkgeek /bsd: mux 0 Apr 15 21:53:31 openbsd-darkgeek /bsd: uhid0 at uhidev1 reportid 3: input=4, output=0, feature=0 Apr 15 21:53:31 openbsd-darkgeek /bsd: uhid1 at uhidev1 reportid 4: input=1, output=0, feature=0 Apr 15 21:53:31 openbsd-darkgeek /bsd: uhid2 at uhidev1 reportid 16: input=6, output=6, feature=0 Apr 15 21:53:31 openbsd-darkgeek /bsd: uhid3 at uhidev1 reportid 17: input=19, output=19, feature=0 Apr 15 21:53:31 openbsd-darkgeek /bsd: ugen0 at uhub0 port 3 "Intel Bluetooth" rev 2.00/0.10 addr 3 Apr 15 21:53:32 openbsd-darkgeek /bsd: uvideo0 at uhub0 port 7 configuration 1 interface 0 "SunplusIT Inc XiaoMi USB 2.0 Webcam" rev 2.00/1.03 addr 4 Apr 15 21:53:32 openbsd-darkgeek /bsd: video0 at uvideo0 Apr 15 21:53:33 openbsd-darkgeek apmd: system suspending Apr 15 21:53:34 openbsd-darkgeek /bsd: drm:pid45076:i915_drm_suspend *ERROR* GEM idle failed, resume might fail Apr 15 21:53:34 openbsd-darkgeek /bsd: wskbd1: disconnecting from wsdisplay0 Apr 15 21:53:34 openbsd-darkgeek /bsd: wskbd1 detached Apr 15 21:53:34 openbsd-darkgeek /bsd: ukbd0 detached Apr 15 21:53:34 openbsd-darkgeek /bsd: uhidev0 detached Apr 15 21:53:34 openbsd-darkgeek /bsd: wsmouse0 detached Apr 15 21:53:34 openbsd-darkgeek /bsd: ums0 detached Apr 15 21:53:34 openbsd-darkgeek /bsd: uhid0 detached Apr 15 21:53:34 openbsd-darkgeek /bsd: uhid1 detached Apr 15 21:53:34 openbsd-darkgeek /bsd: uhid2 detached Apr 15 21:53:34 openbsd-darkgeek /bsd: uhid3 detached Apr 15 21:53:34 openbsd-darkgeek /bsd: uhidev1 detached Apr 15 21:53:35 openbsd-darkgeek apmd: system suspending Apr 15 21:53:36 openbsd-darkgeek /bsd: ugen0 detached Apr 15 21:53:37 openbsd-darkgeek /bsd: video0 detached Apr 15 21:53:37 openbsd-darkgeek /bsd: uvideo0 detached Apr 15 21:53:38 openbsd-darkgeek /bsd: uhub0 detached Apr 15 21:53:43 openbsd-darkgeek /bsd: uhub0 at usb0 configuration 1 interface 0 "Intel xHCI root hub" rev 3.00/1.00 addr 1 Apr 15 21:53:43 openbsd-darkgeek /bsd: WARNING put_domains failed at /usr/src/sys/dev/pci/drm/i915/intel_display.c:15476 Apr 15 21:53:43 openbsd-darkgeek /bsd: WARNING drm_crtc_vblank_get(crtc) == 0 failed at /usr/src/sys/dev/pci/drm/i915/intel_display.c:1451 ... Look, it says "drm:pid45076:i915_drm_suspend *ERROR* GEM idle failed, resume might fail". I have searched on Google and find a similar report this year here: http://openbsd-archive.7691.n7.nabble.com/Problems-when-resuming-on-Skylake-td326788.html So if you need more information, just tell me. Thanks. -- Justin Yang