Bug 104409 - [IGT] kms_flip some subtests failed with assertion: (do_wait_for_vblank(o, o->pipe, target_seq, &vbl_reply)) == 0
Summary: [IGT] kms_flip some subtests failed with assertion: (do_wait_for_vblank(o, o-...
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: DRI git
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-28 22:37 UTC by Hector Velazquez
Modified: 2018-03-08 19:00 UTC (History)
1 user (show)

See Also:
i915 platform: CFL
i915 features:


Attachments
output (3.44 KB, text/plain)
2017-12-28 22:37 UTC, Hector Velazquez
no flags Details
kernel log (206.27 MB, text/plain)
2017-12-28 22:40 UTC, Hector Velazquez
no flags Details
CFL-Kern-Log (160.35 MB, text/plain)
2018-01-29 21:33 UTC, Ricardo Perez
no flags Details

Description Hector Velazquez 2017-12-28 22:37:17 UTC
Created attachment 136435 [details]
output
Comment 1 Hector Velazquez 2017-12-28 22:37:57 UTC
The following test has failing on CFL QA 

Tests List:

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

======================================
        output Sample
======================================
**** DEBUG ****
(kms_flip:2900) DEBUG: Test requirement passed: (flags & TEST_HANG) == 0 || !is_wedged(drm_fd)
(kms_flip:2900) DEBUG: Test requirement passed: modes
(kms_flip:2900) INFO: Beginning 2x-vblank-vs-suspend on pipe A:B, connector eDP-1:DP-2
(kms_flip:2900) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1920, height=1080, format=0x34325258, tiling=0x0, size=0)
(kms_flip:2900) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=2, pitch=7680)
(kms_flip:2900) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1920, height=1080, format=0x34325258, tiling=0x0, size=0)
(kms_flip:2900) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=3, pitch=7680)
(kms_flip:2900) igt-kms-INFO:   1920x1080 60 1920 1936 1952 2104 1080 1083 1097 1116 0xa 0x48 141000
(kms_flip:2900) igt-kms-INFO:   1920x1080 60 1920 2008 2052 2200 1080 1084 1089 1125 0xa 0x40 148500
(kms_flip:2900) igt-core-DEBUG: Test requirement passed: !igt_run_in_simulation()
(kms_flip:2900) igt-aux-DEBUG: Test requirement passed: (power_dir = open("/sys/power", O_RDONLY)) >= 0
(kms_flip:2900) igt-aux-DEBUG: Test requirement passed: get_supported_suspend_states(power_dir) & (1 << state)
(kms_flip:2900) igt-aux-DEBUG: Test requirement passed: test == SUSPEND_TEST_NONE || faccessat(power_dir, "pm_test", R_OK | W_OK, 0) == 0
(kms_flip:2900) igt-aux-DEBUG: Test requirement passed: ret == 0
(kms_flip:2900) igt-core-INFO: [cmd] rtcwake: wakeup from "mem" using /dev/rtc0 at Thu Dec 28 01:01:41 2017
(kms_flip:2900) DEBUG: name = vblank
last_ts = 0.000000
last_received_ts = 0.000000
last_seq = 0
current_ts = 1226.576916
current_received_ts = 1231.574614
current_seq = 65155
count = 0
seq_step = 10
(kms_flip:2900) CRITICAL: Test assertion failure function run_test_step, file kms_flip.c:804:
(kms_flip:2900) CRITICAL: Failed assertion: (do_wait_for_vblank(o, o->pipe, target_seq, &vbl_reply)) == 0
(kms_flip:2900) CRITICAL: Last errno: 22, Invalid argument
(kms_flip:2900) igt-core-INFO: Stack trace:
(kms_flip:2900) igt-core-INFO:   #0 [__igt_fail_assert+0x101]
(kms_flip:2900) igt-core-INFO:   #1 [run_test_on_crtc_set.constprop.14+0x1fab]
(kms_flip:2900) igt-core-INFO:   #2 [run_pair+0x34f]
(kms_flip:2900) igt-core-INFO:   #3 [main+0x219]
(kms_flip:2900) igt-core-INFO:   #4 [__libc_start_main+0xf1]
(kms_flip:2900) igt-core-INFO:   #5 [_start+0x29]
(kms_flip:2900) igt-core-INFO:   #6 [<unknown>+0x29]
****  END  ****

This is my configuration:

======================================
        Graphic stack
======================================

Component: drm
    tag: libdrm-2.4.88-42-g831036a
    commit: 831036a6f62005da9fb4a75fe043bd96ce672d27

Component: cairo
    tag: 1.15.8-76-g6b05938
    commit: 6b0593827b072abd701ea47448981bcc9bdde9f3

Component: intel-gpu-tools
    tag: intel-gpu-tools-1.20-258-g4cd4cc4
    commit: 4cd4cc4873fc1c916b6bf7b058b12294e16dfd98

Component: piglit
    tag: piglit-v1
    commit: 75ba8aea0e6eff0bc30821df9640ee4053dd98b6

======================================
	     Software
======================================
kernel version              : 4.15.0-rc5-drm-tip-ww52-commit-42a41a5+
hostname                    : CFL-1
architecture                : x86_64
os version                  : Ubuntu 16.10
os codename                 : yakkety
kernel driver               : i915
bios revision               : 95.4
bios release date           : 07/24/2017
ksc                         : 1.5
hardware acceleration       : disabled
swap partition              : enabled on (/dev/sda3)

======================================
	Graphic drivers
======================================
libdrm                      : 2.4.89
cairo                       : 1.15.11
intel-gpu-tools (tag)       : intel-gpu-tools-1.20-258-g4cd4cc4
intel-gpu-tools (commit)    : 4cd4cc4

======================================
	     Hardware
======================================
motherboard model          : CoffeeLakeClientPlatform
motherboard id             : CoffeeLakeSUDIMMRVP
form factor                : Desktop
manufacturer               : IntelCorporation
cpu family                 : Other
cpu family id              : 6
cpu information            : Genuine Intel(R) CPU 0000 @ 3.60GHz
gpu card                   : Intel Corporation Device 3e92 (prog-if 00 [VGA controller])
memory ram                 : 15.58 GB
max memory ram             : 32 GB
cpu thread                 : 12
cpu core                   : 6
cpu model                  : 158
cpu stepping               : 10
socket                     : Other
hard drive                 : 447GiB (480GB)
current cd clock frequency : 337500 kHz
maximum cd clock frequency : 675000 kHz
displays connected         : eDP-1 DP-1 DP-2

======================================
	     Firmware
======================================
dmc fw loaded             : yes
dmc version               : 1.4
guc fw loaded             : fetch SUCCESS, load SUCCESS
guc version wanted        : wanted 9.39, found 9.39
guc version found         : wanted 9.39, found 9.39

======================================
	     kernel parameters
======================================
quiet drm.debug=0x1e intel_iommu=igfx_off auto panic=1 nmi_watchdog=panic i915.alpha_support=1 i915.enable_guc=-1 resume=/dev/sda3 fastboot
Comment 2 Hector Velazquez 2017-12-28 22:40:03 UTC
Created attachment 136436 [details]
kernel log
Comment 3 Hector Velazquez 2018-01-05 15:30:28 UTC
This tests has a fail on CFL QA

igt@kms_flip@vblank-vs-suspend
igt@kms_flip@flip-vs-modeset-interruptible
igt@kms_flip@2x-rcs-wf_vblank-vs-modeset-interruptible
igt@kms_flip@2x-rcs-wf_vblank-vs-dpms-interruptible
igt@kms_flip@2x-flip-vs-panning
igt@kms_flip@flip-vs-rmfb-interruptible
igt@kms_flip@2x-vblank-vs-suspend-interruptible
igt@kms_flip@2x-flip-vs-panning-interruptible
igt@kms_flip@2x-flip-vs-panning-vs-hang-interruptible

IGT-Version: 1.20-gd86d53b (x86_64) (Linux: 4.15.0-rc5-drm-tip-config-intel-turbo-ww1-commit-16432d3+ x86_64)

(kms_flip:13056) CRITICAL: Test assertion failure function run_test_step, file kms_flip.c:839:
(kms_flip:13056) CRITICAL: Failed assertion: set_mode(o, o->fb_ids[o->current_fb_id], x_ofs, 0) == 0
(kms_flip:13056) CRITICAL: Last errno: 22, Invalid argument
(kms_flip:13056) CRITICAL: failed to pan (1920x1080@60Hz)+10: Invalid argument
Comment 4 Ricardo Perez 2018-01-29 21:31:06 UTC
For CoffeeLake S UDIMM RVP QA systems, the following tests are failing:

igt@kms_flip@2x-plain-flip-ts-check-interruptible
igt@kms_flip@2x-plain-flip-fb-recreate-interruptible

Running:

IGT-Version: 1.21-g37bd27f (x86_64) (Linux: 4.15.0-rc9-drm-intel-qa-ww4-commit-59275f1+ x86_64)
Comment 5 Ricardo Perez 2018-01-29 21:33:43 UTC
Created attachment 137038 [details]
CFL-Kern-Log

CoffeeLake S UDIMM RVP Kernel Log File
Comment 6 Ricardo Perez 2018-01-31 08:35:34 UTC
For CFL S UDIMM RVP QA system, the following test has a warn:

igt@kms_flip@2x-flip-vs-panning

Running:
IGT-Version: 1.21-g37bd27f (x86_64) (Linux: 4.15.0-drm-intel-qa-ww5-commit-5f9f363+ x86_64)

(kms_flip:32220) igt-kms-WARNING: connector 56/DP-1 has no modes
(kms_flip:32220) igt-kms-WARNING: connector 56/DP-1 has no modes
(kms_flip:32220) igt-kms-WARNING: connector 56/DP-1 has no modes
(kms_flip:32220) igt-kms-WARNING: connector 56/DP-1 has no modes
Comment 7 Octavio 2018-03-06 21:58:11 UTC
This tests are NOT failing in CFL 

2x-flip-vs-panning
igt@kms_flip@2x-flip-vs-panning-interruptible
igt@kms_flip@2x-flip-vs-panning-vs-hang
igt@kms_flip@2x-flip-vs-panning-vs-hang-interruptible
igt@kms_flip@flip-vs-rmfb-interruptible

IGT-Version: 1.21-g68fb759 (x86_64) (Linux: 4.16.0-rc4-drm-intel-qa-ww10-commit-a994c52+ x86_64)
Using monotonic timestamps
Beginning 2x-flip-vs-panning-vs-hang on pipe A:B, connector eDP-1:DP-1
  1920x1080 60 1920 1966 1996 2080 1080 1082 1086 1112 0xa 0x48 138780
  1920x1080 60 1920 2008 2052 2200 1080 1084 1089 1125 0x9 0x48 148500

2x-flip-vs-panning-vs-hang on pipe A:B, connector eDP-1:DP-1: PASSED

Subtest 2x-flip-vs-panning-vs-hang: SUCCESS (33.281s)


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.