Bug 91715

Summary: [SKL] crash after serveral hibernate-resume iterations
Product: DRI Reporter: Jairo Miramontes <jairo.daniel.miramontes.caton>
Component: DRM/IntelAssignee: Intel GFX Bugs mailing list <intel-gfx-bugs>
Status: CLOSED FIXED QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: normal    
Priority: medium CC: intel-gfx-bugs
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: SKL i915 features: power/suspend-resume
Attachments:
Description Flags
S4_SKL_Tests.zip none

Description Jairo Miramontes 2015-08-21 15:22:06 UTC
Created attachment 117839 [details]
S4_SKL_Tests.zip

Bug description:
------------------
After running "suspend_stress_test.shell" script the platform hangs after several S4 iterations 

System environment:
------------------

Hardware
Platform: SKY LAKE Y A0 
CPU : Intel(R) Core(TM) m3-6Y30 CPU @ 0.8GHz 4MB (family: 6, model: 78  stepping: 3)
MCP : SKL-Y  D1  2+2 (ou ULX-D1)
QDF : QYV3 
CPU : SKL D0
Chipset PCH: Sunrise Point LP C1       
CRB : SKY LAKE Y LPDDR3 RVP3 CRB FAB2
Reworks : All Mandatories + FBS02 & FBS03, O-06


Graphic stack:
cairo: (HEAD, tag: 1.14.2) 93422b3cb5e0ef8104b8194c8873124ce2f5ea2d from git://git.freedesktop.org/git/cairo
drm: (HEAD, origin/master, origin/HEAD, master) 2a34176123b1dbf55d129248a431afb185e6a37c from git://git.freedesktop.org/git/mesa/drm
intel-driver: (HEAD, origin/master, origin/HEAD, master) 7c47a8f74878904e0d2fbb5da966552f783d74ab from git://git.freedesktop.org/git/vaapi/intel-driver
libva: (HEAD, origin/master, origin/HEAD, master) fdd6ee00c916f530e4d0aa1b250633643999dcf1 from git://git.freedesktop.org/git/vaapi/libva
mesa: (HEAD, origin/10.6) 99793e2541510fe208d29e69fedf97a6fff006f8 from git://git.freedesktop.org/git/mesa/mesa
xf86-video-intel: (HEAD, origin/master, origin/HEAD, master) 9b0ed16385ae076c262a2e09639822d9488ccf57 from git://git.freedesktop.org/git/xorg/driver/xf86-video-intel
xserver: (HEAD, origin/master, origin/HEAD, master) 533fb627398e20f863234d780f4463e37007515b from git://git.freedesktop.org/git/xorg/xserver


Software :
Linux distribution: Ubuntu 14.04.02 X64
BIOS : SKLSE2R1.R00.X093.B02.1507222151
ME FW : 11.0.0.1163
Ksc (EC FW): 1.15
Firmware: skl_guc_ver3.2-signed-1.0.0.1137
Kernel : drm-intel-nightly 30263ef782e0548c114fb6f2771b58b27c56ba0d 4.2.0-rc7 from git://anongit.freedesktop.org/drm-intel 


Kernel commit log:
commit 30263ef782e0548c114fb6f2771b58b27c56ba0d 
Author: Jani Nikula 
Date: Mon Aug 17 10:19:43 2015 +0300 
drm-intel-nightly: 2015y-08m-17d-07h-19m-25s UTC integration manifest
rendercheck: (HEAD, tag: rendercheck-1.5, origin/master, origin/HEAD, master) 604e3bbe6d8d96bec284a83c08c5cc5f159a243c from git://git.freedesktop.org/git/xorg/app/rendercheck


Display Configuration : 
-----------------------
Display connector > eDP


Reproducing steps:
------------------
1-Boot the system only with eDP connected
2-Download the script attached called "suspend_stress_test.shell" and execute the following command as root: 
#./suspend_stress_test.shell --iterations=2000 --mode=disk --suspend=55-65 --wake=25-35 --abort=none --display=error --file=disk-results

Current results:
-----------------
After several S4 iterations the DUT hangs, around 750 in our case.

Expected results :
-----------------
The DUT should complete hibernate stress tests script after 2000 iterations

Additional info:
------------------
The file "S4_SKL_Tests.zip" contains the following :
-suspend_stress_test.shell ;  which is the script to run the tests
-dmesg.rtf , GPU_crash_dump_file, GPU_hang, Xorg ; logs grabbed from the DUT
-disk-results.rtf ; which contains the S4 results.
Comment 1 Elio 2015-09-23 18:03:05 UTC
Same behavior with following configuration:
System enviroment
------------------------------

Platform: SKL-U
OS: Ubuntu 14.04
Kernel = 4.2 drm-intel-testing 2015-08-28.
Mesa = 10.6.7
xf86-video-intel = 2.99.917 
libdrm = 2.4.64 
libva = 1.6.1 
vaapi-intel-driver = 1.6.1
Cairo = 1.14.2 
Xorg Xserver = 1.17.2 
intel-gpu-tools = v1.12
Comment 2 Imre Deak 2016-09-27 12:35:55 UTC
Could you try the same test by booting with
modprobe.blacklist=i915,snd_hda_intel ?
Comment 3 Jairo Miramontes 2016-10-28 14:12:44 UTC
This test is no longer failing, tested 500 s4 iterations and test passes, closing the bug

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.