Bug 104350

Summary: [IGT] kms_flip subtest 2x-vblank-vs-suspend-interruptible Failed with assertion: es->current_seq - es->last_seq <= 150
Product: DRI Reporter: Hector Velazquez <hector.franciscox.velazquez.suriano>
Component: DRM/IntelAssignee: Intel GFX Bugs mailing list <intel-gfx-bugs>
Status: CLOSED DUPLICATE QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: normal    
Priority: medium CC: intel-gfx-bugs
Version: DRI git   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: CNL i915 features:
Attachments:
Description Flags
otuput (piglit...)
none
dmesg -w none

Description Hector Velazquez 2017-12-20 14:16:39 UTC
Created attachment 136319 [details]
otuput (piglit...)
Comment 1 Hector Velazquez 2017-12-20 14:16:46 UTC
This tests are failing on CNL QA...

kms_flip@2x-vblank-vs-suspend-interruptible

====================================================
output sample
====================================================

**** DEBUG ****
(kms_flip:2528) DEBUG: Test requirement passed: (flags & TEST_HANG) == 0 || !is_wedged(drm_fd)
(kms_flip:2528) DEBUG: Test requirement passed: modes
(kms_flip:2528) INFO: Beginning 2x-vblank-vs-suspend-interruptible on pipe A:B, connector eDP-1:HDMI-A-1
(kms_flip:2528) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=2560, height=1440, format=0x34325258, tiling=0x0, size=0)
(kms_flip:2528) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=2, pitch=10240)
(kms_flip:2528) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=2560, height=1440, format=0x34325258, tiling=0x0, size=0)
(kms_flip:2528) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=3, pitch=10240)
(kms_flip:2528) igt-kms-INFO:   2560x1440 60 2560 2608 2640 2720 1440 1443 1448 1481 0xa 0x48 241750
(kms_flip:2528) igt-kms-INFO:   2560x1440 60 2560 2608 2640 2720 1440 1443 1448 1481 0xa 0x48 241750
(kms_flip:2528) igt-core-DEBUG: Test requirement passed: !igt_run_in_simulation()
(kms_flip:2528) igt-aux-DEBUG: Test requirement passed: (power_dir = open("/sys/power", O_RDONLY)) >= 0
(kms_flip:2528) igt-aux-DEBUG: Test requirement passed: get_supported_suspend_states(power_dir) & (1 << state)
(kms_flip:2528) igt-aux-DEBUG: Test requirement passed: test == SUSPEND_TEST_NONE || faccessat(power_dir, "pm_test", R_OK | W_OK, 0) == 0
(kms_flip:2528) igt-aux-DEBUG: Test requirement passed: ret == 0
(kms_flip:2528) igt-core-INFO: [cmd] rtcwake: assuming RTC uses UTC ...
rtcwake: wakeup from "mem" using /dev/rtc0 at Tue Dec 19 15:07:11 2017
(kms_flip:2528) DEBUG: name = vblank
last_ts = 0.000000
last_received_ts = 0.000000
last_seq = 0
current_ts = 2839.228791
current_received_ts = 2842.441589
current_seq = 79547
count = 0
seq_step = 10
(kms_flip:2528) igt-core-DEBUG: Test requirement passed: !igt_run_in_simulation()
(kms_flip:2528) igt-aux-DEBUG: Test requirement passed: (power_dir = open("/sys/power", O_RDONLY)) >= 0
(kms_flip:2528) igt-aux-DEBUG: Test requirement passed: get_supported_suspend_states(power_dir) & (1 << state)
(kms_flip:2528) igt-aux-DEBUG: Test requirement passed: test == SUSPEND_TEST_NONE || faccessat(power_dir, "pm_test", R_OK | W_OK, 0) == 0
(kms_flip:2528) igt-aux-DEBUG: Test requirement passed: ret == 0
(kms_flip:2528) igt-core-INFO: [cmd] rtcwake: assuming RTC uses UTC ...
rtcwake: wakeup from "mem" using /dev/rtc0 at Tue Dec 19 15:07:30 2017
(kms_flip:2528) DEBUG: name = vblank
last_ts = 2839.228791
last_received_ts = 2842.441589
last_seq = 79547
current_ts = 2842.593600
current_received_ts = 2846.109543
current_seq = 79627
count = 1
seq_step = 10
(kms_flip:2528) DEBUG: testing ts continuity: Current frame 79627, old frame 79547
(kms_flip:2528) INFO: 
2x-vblank-vs-suspend-interruptible on pipe A:B, connector eDP-1:HDMI-A-1: PASSED

(kms_flip:2528) INFO: Beginning 2x-vblank-vs-suspend-interruptible on pipe A:C, connector eDP-1:HDMI-A-1
(kms_flip:2528) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=2560, height=1440, format=0x34325258, tiling=0x0, size=0)
(kms_flip:2528) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=2, pitch=10240)
(kms_flip:2528) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=2560, height=1440, format=0x34325258, tiling=0x0, size=0)
(kms_flip:2528) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=3, pitch=10240)
(kms_flip:2528) igt-kms-INFO:   2560x1440 60 2560 2608 2640 2720 1440 1443 1448 1481 0xa 0x48 241750
(kms_flip:2528) igt-kms-INFO:   2560x1440 60 2560 2608 2640 2720 1440 1443 1448 1481 0xa 0x48 241750
(kms_flip:2528) igt-core-DEBUG: Test requirement passed: !igt_run_in_simulation()
(kms_flip:2528) igt-aux-DEBUG: Test requirement passed: (power_dir = open("/sys/power", O_RDONLY)) >= 0
(kms_flip:2528) igt-aux-DEBUG: Test requirement passed: get_supported_suspend_states(power_dir) & (1 << state)
(kms_flip:2528) igt-aux-DEBUG: Test requirement passed: test == SUSPEND_TEST_NONE || faccessat(power_dir, "pm_test", R_OK | W_OK, 0) == 0
(kms_flip:2528) igt-aux-DEBUG: Test requirement passed: ret == 0
(kms_flip:2528) igt-core-INFO: [cmd] rtcwake: assuming RTC uses UTC ...
rtcwake: wakeup from "mem" using /dev/rtc0 at Tue Dec 19 15:07:51 2017
(kms_flip:2528) DEBUG: name = vblank
last_ts = 0.000000
last_received_ts = 0.000000
last_seq = 0
current_ts = 2847.666128
current_received_ts = 2852.181685
current_seq = 79744
count = 0
seq_step = 10
(kms_flip:2528) igt-core-DEBUG: Test requirement passed: !igt_run_in_simulation()
(kms_flip:2528) igt-aux-DEBUG: Test requirement passed: (power_dir = open("/sys/power", O_RDONLY)) >= 0
(kms_flip:2528) igt-aux-DEBUG: Test requirement passed: get_supported_suspend_states(power_dir) & (1 << state)
(kms_flip:2528) igt-aux-DEBUG: Test requirement passed: test == SUSPEND_TEST_NONE || faccessat(power_dir, "pm_test", R_OK | W_OK, 0) == 0
(kms_flip:2528) igt-aux-DEBUG: Test requirement passed: ret == 0
(kms_flip:2528) igt-core-INFO: [cmd] rtcwake: assuming RTC uses UTC ...
rtcwake: wakeup from "mem" using /dev/rtc0 at Tue Dec 19 15:08:12 2017
(kms_flip:2528) DEBUG: name = vblank
last_ts = 2847.666128
last_received_ts = 2852.181685
last_seq = 79744
current_ts = 2852.344429
current_received_ts = 2856.890145
current_seq = 79902
count = 1
seq_step = 10
(kms_flip:2528) CRITICAL: Test assertion failure function check_state, file kms_flip.c:508:
(kms_flip:2528) CRITICAL: Failed assertion: es->current_seq - es->last_seq <= 150
(kms_flip:2528) CRITICAL: Last errno: 25, Inappropriate ioctl for device
(kms_flip:2528) CRITICAL: unexpected vblank seq 79902, should be < 79894
(kms_flip:2528) igt-core-INFO: Stack trace:
(kms_flip:2528) igt-core-INFO:   #0 [__igt_fail_assert+0x101]
(kms_flip:2528) igt-core-INFO:   #1 [check_state+0x352]
(kms_flip:2528) igt-core-INFO:   #2 [<unknown>+0x352]
****  END  ****


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 2 Hector Velazquez 2017-12-20 14:18:45 UTC
Created attachment 136320 [details]
dmesg -w
Comment 3 Elizabeth 2017-12-20 16:20:46 UTC

*** This bug has been marked as a duplicate of bug 102662 ***

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.