Bug 103468 - [IGT] Platform hangs running IGT kms_flip
Summary: [IGT] Platform hangs running IGT kms_flip
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: high critical
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-26 14:55 UTC by Armando Antonio
Modified: 2018-02-19 21:51 UTC (History)
2 users (show)

See Also:
i915 platform: CNL
i915 features: display/Other


Attachments
kernel log (184.38 KB, text/plain)
2017-10-26 14:55 UTC, Armando Antonio
no flags Details
dmesg (52.45 KB, text/plain)
2017-10-26 14:57 UTC, Armando Antonio
no flags Details
dmesg log (253.04 KB, text/plain)
2017-10-26 17:13 UTC, Armando Antonio
no flags Details
kernel log (1.39 MB, text/plain)
2017-10-26 17:13 UTC, Armando Antonio
no flags Details
Test List (6.90 KB, text/plain)
2017-12-19 22:39 UTC, Hector Velazquez
no flags Details

Description Armando Antonio 2017-10-26 14:55:45 UTC
Created attachment 135067 [details]
kernel log

I wasn't able to run kms_flip IGT family, platform hangs and the test never finish.

Steps:
1.-Connect three screens, eDP, HDMI, DP
2.- Run kms_flip IGT family
3.-Check that platform hangs
Comment 1 Armando Antonio 2017-10-26 14:56:44 UTC
Attached platform configuration.

======================================
	     Software
======================================
kernel version              : 4.14.0-rc5-drm-tip-ww42-commit-920fa32+
hostname                    : gfx-CannonLake-Client-Platform
architecture                : x86_64
os version                  : Ubuntu 17.04
os codename                 : zesty
kernel driver               : i915
bios revision               : 100.1
bios release date           : 08/15/2017
ksc                         : 1.28
hardware acceleration       : only available on X
swap partition              : enabled on (/dev/nvme0n1p2)

======================================
	Graphic drivers
======================================
xf86-video-intel (tag)      : 2.99.917
xf86-video-intel (commit)   : 2.99.917-796-g04b4f3b
modesetting                 : enabled
modesetting compiled for    : 1.19.99.1 X.Org Video Driver
libdrm                      : 2.4.84
cairo                       : 1.15.9
intel-gpu-tools (tag)       : intel-gpu-tools-1.20-29-gd4d976de
intel-gpu-tools (commit)    : d4d976de

======================================
	     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.00GHz
gpu card                   : Intel Corporation Device 5a49 (rev 03) (prog-if 00 [VGA controller])
memory ram                 : 7.62 GB
max memory ram             : 8 GB
cpu thread                 : 4
cpu core                   : 2
cpu model                  : 102
cpu stepping               : 2
socket                     : Other
current cd clock frequency : 336000 kHz
maximum cd clock frequency : 528000 kHz
displays connected         : eDP-1

======================================
	     Firmware
======================================
dmc fw loaded             : yes
dmc version               : 1.6
guc fw loaded             : NONE
guc version wanted        : 0.0
guc version found         : 0.0

======================================
	     kernel parameters
======================================
quiet splash i915.enable_guc_submission=2 i915.enable_guc_loading=2 i915.alpha_support=1
Comment 2 Armando Antonio 2017-10-26 14:57:00 UTC
Created attachment 135068 [details]
dmesg
Comment 3 Armando Antonio 2017-10-26 17:13:05 UTC
Created attachment 135081 [details]
dmesg log
Comment 4 Armando Antonio 2017-10-26 17:13:26 UTC
Created attachment 135082 [details]
kernel log
Comment 5 Armando Antonio 2017-10-27 19:32:49 UTC
The following message appear frequently on dmesg

[    4.078911] [drm:drm_atomic_set_crtc_for_plane [drm]] Link plane state ffff941cdf33c400 to [NOCRTC]
[    4.078918] [drm:drm_atomic_set_fb_for_plane [drm]] Set [NOFB] for plane state ffff941cdf33c400
Comment 6 Hector Velazquez 2017-12-19 22:38:59 UTC
This tests are passing on CNL QA, no hangging detected...

see kms_flip test list in the file attached (KmsFlip-UsedTestList.txt)

====================================================
igt@kms_flip . . . results...
====================================================

[167/167] skip: 4, pass: 162, fail: 1


This is my configuration:

======================================
	     Software
======================================
kernel version              : 4.15.0-rc4-drm-tip-ww51-commit-cd7e144+
hostname                    : gfx-desktop
architecture                : x86_64
os version                  : Ubuntu 17.04
os codename                 : zesty
kernel driver               : i915
bios revision               : 114.4
bios release date           : 11/30/2017
ksc                         : 1.33
hardware acceleration       : enabled
swap partition              : enabled on (/dev/nvme0n1p2)

======================================
	Graphic drivers
======================================
mesa                        : 17.4.0-devel (git-8d00e63ca8
modesetting                 : enabled
modesetting compiled for    : 1.19.99.1 X.Org Video Driver
libdrm                      : 2.4.89
cairo                       : 1.15.11
intel-gpu-tools (tag)       : intel-gpu-tools-1.20-232-gc0be3310
intel-gpu-tools (commit)    : c0be3310

======================================
	     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.00GHz
gpu card                   : Intel Corporation Device 5a49 (rev 03) (prog-if 00 [VGA controller])
memory ram                 : 7.61 GB
max memory ram             : 8 GB
display resolution         : 4480x1440
cpu thread                 : 4
cpu core                   : 2
cpu model                  : 102
cpu stepping               : 2
socket                     : Other
current cd clock frequency : 336000 kHz
maximum cd clock frequency : 528000 kHz
displays connected         : eDP-1 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
======================================
quiet splash drm.debug=0xe i915.alpha_support=1 resume=/dev/nvme0n1p2
Comment 7 Hector Velazquez 2017-12-19 22:39:19 UTC
Created attachment 136304 [details]
Test List
Comment 8 krisman 2017-12-28 04:07:32 UTC
(In reply to Armando Antonio from comment #3)
> Created attachment 135081 [details]
> dmesg log

Your dmesg seems incomplete.  It does not give the information of which test was run nor much information on what happened.  You need to collect the kernel log after running the test, during the kernel hang.  You can use a crash kernel, a sysrq or any other method to collect the information when the bug triggers.  

I suggest marking it as needinfo until we have more data.
Comment 9 Armando Antonio 2018-02-19 21:42:32 UTC
This tests are working as expected on CNL with the following configuration, 

======================================
             Software
======================================
kernel version              : 4.16.0-rc1-drm-tip-ww8-commit-6e9c17e+
architecture                : x86_64
os version                  : Ubuntu 17.10
os codename                 : artful
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
======================================
libdrm                      : 2.4.90
intel-gpu-tools (tag)       : intel-gpu-tools-1.21-103-gbf777c92
intel-gpu-tools (commit)    : bf777c92

======================================
             Hardware
======================================
motherboard model          : CannonLakeClientPlatform
motherboard id             : CannonLakeYLPDDR4RVP
cpu family id              : 6
cpu information            : Genuine Intel(R) CPU 0000 @ 1.00GHz
gpu card                   : Intel Corporation Device 5a49 (rev 03) (prog-if 00 [VGA controller])
memory ram                 : 7.63 GB
max memory ram             : 8 GB
cpu thread                 : 4
cpu core                   : 2
cpu model                  : 102
cpu stepping               : 2
current cd clock frequency : 168000 kHz
maximum cd clock frequency : 528000 kHz
displays connected         : eDP-1

======================================
             Firmware
======================================
dmc fw loaded             : yes
dmc version               : 1.7
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
Comment 10 Armando Antonio 2018-02-19 21:51:01 UTC
closing since tests doesn't hang the platform anymore


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.