Created attachment 136656 [details] dmesg Software Configuration: -------------- kernel version : 4.15.0-rc4dmc107+ architecture : x86_64 os version : Ubuntu 17.04 bios revision : 100.1 ksc : 1.28 libdrm : 2.4.89 cairo : 1.15.11 Hardware configuration ---------------------- motherboard model : CannonLakeClientPlatform manufacturer : IntelCorporation gpu card : Intel Corporation Device 5a49 (rev 03) (prog-if 00 [VGA controller]) cpu thread : 4 cpu core : 2 Steps: ------ 1 - Go to freeze state: # echo freeze > /sys/power/state 2 - Resume from freeze by moving mouse or pressing any key Expected Results: --------------- System should resume properly and with no errors. Actual results: --------------- Platform hangs while resuming from freeze.
Is possible to get an error state of this??
Luis, are you still reproducing this with drm-tip on recent CNL? If so, could also try without i915 loaded to see if i915 is a suitable culprit or not? With the provided logs, and description, and on unstable pre-prod machine it is so hard to blame i915. But if you remove i915 out of picture and suspend/resume starts magically working than it is our fault for sure. Thanks, Rodrigo.
First of all. Sorry about spam. This is mass update for our bugs. Sorry if you feel this annoying but with this trying to understand if bug still valid or not. If bug investigation still in progress, please ignore this and I apologize! If you think this is not anymore valid, please comment to the bug that can be closed. If you haven't tested with our latest pre-upstream tree(drm-tip), can you do that also to see if issue is valid there still and if you cannot see issue there, please comment to the bug.
I did as follow: 1 - Send platform to freeze state by doing: # echo freeze > /sys/power/state 2 - Press power button. It returns properly, no hangs on dmesg, no errors with PM: gfx@gfx-desktop:~$ dmesg | grep -i pm: [ 57.123872] PM: suspend entry (s2idle) [ 57.123875] PM: Syncing filesystems ... [ 160.341653] PM: suspend exit gfx@gfx-desktop:~$ Though if I press any key in the keyboard the platform won't wake up, only when the power button is pressed. If freeze state is supposed to work that way, then this bug can be closed. ====================================== Software ====================================== kernel version : 4.16.0-mainline-4.16 hostname : gfx-desktop architecture : x86_64 os version : Ubuntu 17.10 os codename : artful [sudo] password for gfx: kernel driver : i915 bios revision : 124.2 bios release date : 02/05/2018 ksc : 1.36 hardware acceleration : disabled swap partition : enabled on (/dev/nvme0n1p2) ====================================== Graphic drivers ====================================== mesa : 18.0.0 (git-dceb1ce807 libdrm : 2.4.91 cairo : 1.14.10 ====================================== Hardware ====================================== motherboard model : CannonLakeClientPlatform motherboard id : CannonLakeYLPDDR4RVP form factor : Laptop manufacturer : IntelCorporation cpu family : Other cpu family id : 6 cpu information : Genuine Intel(R) CPU 0000 @ 1.10GHz gpu card : Intel Corporation Device 5a41 (rev 04) (prog-if 00 [VGA controller]) memory ram : 7.63 GB max memory ram : 8 GB display resolution : 1600x900 cpu thread : 4 cpu core : 2 cpu model : 102 cpu stepping : 3 socket : Other current cd clock frequency : 336000 kHz maximum cd clock frequency : 528000 kHz displays connected : HDMI-A-1 ====================================== Firmware ====================================== dmc fw loaded : yes dmc version : 1.6 guc fw loaded : fetch NONE, load NONE guc version wanted : wanted 0.0, found 0.0 guc version found : wanted 0.0, found 0.0 ====================================== kernel parameters ====================================== splash drm.debug=0x1e i915.alpha_support=1 resume=/dev/sda2
CLosing, Imre, ok?
(In reply to Jani Saarinen from comment #5) > CLosing, Imre, ok? Yes, it doesn't seem like an i915 bug in any case, if wake-up with keyboard works. We need rtcwake functionality that could be still checked.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.