Bug 93018 - [SKL-Y] Black screen when resuming from S4
Summary: [SKL-Y] Black screen when resuming from S4
Status: CLOSED WORKSFORME
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: high normal
Assignee: cprigent
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-19 15:17 UTC by cprigent
Modified: 2016-04-22 21:21 UTC (History)
1 user (show)

See Also:
i915 platform: SKL
i915 features: power/suspend-resume


Attachments
4.4-rc1-nightly_screen-off-when-resuming-from-S4_kern.log (393.50 KB, text/plain)
2015-11-19 15:17 UTC, cprigent
no flags Details

Description cprigent 2015-11-19 15:17:47 UTC
Created attachment 119942 [details]
4.4-rc1-nightly_screen-off-when-resuming-from-S4_kern.log

Hardware
Platform: SKY LAKE Y A0 QUAL
CPU : Intel(R) Core(TM) M5-6Y54 @ 1.10GHz 4MB (family: 6, model: 78  stepping: 3)
MCP : SKL-Y  D0   
QDF : QJ9W
CPU : SKL D0
Chipset PCH: Sunrise Point LP C0       
CRB : SKY LAKE Y LPDDR3 RVP3 CRB FAB2
Reworks : All Mandatories + FBS02 & FBS03, O-06
Software 
Linux : Ubuntu 14.04 64 bits
BIOS : SKLSE2R1.R00.B104.B01.1511110114
ME FW : 11.0.0.1191
Ksc (EC FW): 1.20
Kernel 4.4.0-rc1 nighlty 2e0db75 from git://anongit.freedesktop.org/drm-intel
  commit 2e0db751f53791a654eaeb829efd2b4125249dfc
  Author: Imre Deak <imre.deak@intel.com>
  Date:   Wed Nov 18 21:49:07 2015 +0200
  drm-intel-nightly: 2015y-11m-18d-19h-48m-48s UTC integration manifest
Mesa 11.0.5 from http://cgit.freedesktop.org/mesa/mesa/
xf86-video-intel - 2.99.917 from http://cgit.freedesktop.org/xorg/driver/xf86-video-intel/
Libdrm - 2.4.65 from http://cgit.freedesktop.org/mesa/drm/
Libva - 1.6.1 from http://cgit.freedesktop.org/libva/
vaapi intel-driver - 1.6.1 from http://cgit.freedesktop.org/vaapi/intel-driver
Cairo - 1.14.2 from http://cgit.freedesktop.org/cairo
Xorg Xserver - 1.17.2 from http://cgit.freedesktop.org/xorg/xserver

Steps:
------
1. Boot with kernel boot command line: i915.disable_power_well=1
2. Execute commands:
sudo -s
echo disk > /sys/power/state
3. Wait 60 seconds
4. Resume with keyboard

Actual result:
---------------
4. DUT resumes (DUT is responding via ssh) but screen stays off

Expected result:
----------------
4. DUT resumes with screen on
Comment 1 cprigent 2015-11-19 15:20:17 UTC
Workaround:
Screen is back after a suspend to mem
Comment 2 Imre Deak 2015-11-19 15:48:51 UTC
Looks like we don't do a full modeset after resume from S4 as we should. Perhaps the fastboot issue that got recently:

commit 7383123647566a813692bb37a1389c767ed89158
Author: Jani Nikula <jani.nikula@intel.com>
Date:   Thu Nov 19 10:26:30 2015 +0200

    Revert "drm/i915: skip modeset if compatible for everyone."

Could you try with latest nightly again?
Comment 3 cprigent 2015-11-24 17:06:08 UTC
Bug scrub:
Assigned to me. I will test again with last nightly and check results of basic tests.
Comment 4 Humberto Israel Perez Rodriguez 2015-12-10 02:58:05 UTC
This issue still happen with latest configuration on SKL-Y :

 --- Software information ---

 > Kernel version              : 4.3.0-mainline+
 > Linux distribution          : Ubuntu 15.10
 > Architecture                : x86_64
 > Mesa version                : 11.0.4 
 > xf86-video-intel version    : 2.99.917
 > Xorg-Xserver version        : 1.18.0
 > DRM version                 : 2.4.65
 > libva version               :l 1.6.2.pre1 
 > Cairo version               : 1.14.4
 > Bios revision               : 102.1
 > KSC revision                : 1.15


 --- Hardware information ---

 > Motherboard model             : Skylake Client platform
 > Motherboard type              : Skylake Y LPDDR3 RVP3 Laptop
 > Motherboard manufacturer      : Intel Corporation
 > CPU family                    : <OUT OF SPEC>
 > CPU information               : Intel(R) Core(TM) m5-6Y57 CPU @ 1.10GHz
 > GPU Card                      : Intel Corporation Sky Lake Integrated Graphics (rev 07) (prog-if 00 [VGA controller])
 > Kernel driver in use          : i915
 > Bios                          : 102.1
 > KSC                           : 1.15
 > Memory ram                    : 4 GB
 > Maximum memory ram allowed    : 16 GB
 > Hard drive capacity           : 3.88 GB
Comment 5 Humberto Israel Perez Rodriguez 2016-02-29 19:38:19 UTC
This issue does not happen with latest configuration on SKL


Platform details
=======================
Kernel version	4.5.0-rc6-drm-intel-nightly-ww10-commit-2bcc9ac+
Linux distribution	Ubuntu 15.10
Architecture	64-bit
Mesa version	11.2.0-rc2 (git-33b0456
xf86-video-intel version	2.99.917
Xorg-Xserver version	1.18.1
DRM version	2.4.67
Cairo version	1.15.2
Intel GPU Tools version	
Kernel driver in use	i915
Bios revision	1
	
Platform	SKL
Motherboard model	Inspiron 15-7568
Motherboard type	02HK88 Laptop
Motherboard manufacturer	Dell Inc.
CPU family	Core i7
CPU information	Intel(R) Core(TM) i7-6500U CPU @ 2.50GHz
GPU Card	Intel Corporation Sky Lake Integrated Graphics (rev 07) (prog-if 00 [VGA controller])


gfx user space
=======================
 --> Component : drm 
	 url : http://cgit.freedesktop.org/mesa/drm 
	 tag : libdrm-2.4.67 
	 commit : d49efb5 
	 author : Rob Clark <robclark@freedesktop.org> 
	 age : 2 weeks ago 
 --> Component : mesa 
	 url : http://cgit.freedesktop.org/mesa/mesa 
	 tag : mesa-11.2.0-rc2 
	 commit : 33b0456 
	 author : Emil Velikov <emil.velikov@collabora.com> 
	 age : 6 hours ago 
 --> Component : xf86-video-intel 
	 url : http://cgit.freedesktop.org/xorg/driver/xf86-video-intel 
	 tag : 2.99.917 
	 commit : baec802 
	 author : Chris Wilson <chris@chris-wilson.co.uk> 
	 age : 1 year 2 months ago 
 --> Component : libva 
	 url : http://cgit.freedesktop.org/libva/ 
	 tag : kbl-alpha 
	 commit : 0f88b7e 
	 author : peng.chen <peng.c.chen@intel.com> 
	 age : 5 weeks ago 
 --> Component : vaapi (intel-driver) 
	 url : http://cgit.freedesktop.org/vaapi/intel-driver 
	 tag : kbl-alpha 
	 commit : c4deca0 
	 author : peng.chen <peng.c.chen@intel.com> 
	 age : 5 weeks ago 
 --> Component : cairo 
	 url : http://cgit.freedesktop.org/cairo 
	 tag : 1.15.2 
	 commit : db8a7f1 
	 author : Bryce Harrington <bryce@osg.samsung.com> 
	 age : 3 months ago 
 --> Component : xserver 
	 url :  http://cgit.freedesktop.org/xorg/xserver 
	 tag : xorg-server-1.18.1 
	 commit : 23e60f9 
	 author : Adam Jackson <ajax@redhat.com> 
	 age : 3 weeks ago 
 --> Component : intel-gpu-tools 
	 url : http://cgit.freedesktop.org/xorg/app/intel-gpu-tools 
	 tag : intel-gpu-tools-1.13-240-g925e5e1 
	 commit : 925e5e1 
	 author : Chris Wilson <chris@chris-wilson.co.uk> 
	 age : 3 hours ago 


kernel
=======================

commit 2bcc9acb90918139a5fe52e366eb9efb89d6ebb0
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Mon Feb 29 16:29:44 2016 +0100

    drm-intel-nightly: 2016y-02m-29d-15h-28m-47s UTC integration manifest


Additional configuration
=======================
Guc : 4.3
Dmc : 1.26
Comment 6 Humberto Israel Perez Rodriguez 2016-02-29 19:45:23 UTC
as this issue is not longer reproducible with latest configuration, i'll proceed to close it, open if is needed


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.