Bug 101634

Summary: [IGT] [GLK/BSW/BDW/HSW] kms_cursor_legacy some subtest causes test assertion failure
Product: DRI Reporter: Humberto Israel Perez Rodriguez <humberto.i.perez.rodriguez>
Component: DRM/IntelAssignee: Maarten Lankhorst <bugs>
Status: CLOSED FIXED QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: normal    
Priority: high CC: intel-gfx-bugs
Version: DRI git   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard: ReadyForDev
i915 platform: BDW, BSW/CHT, CFL, GLK, HSW i915 features: display/Other
Attachments:
Description Flags
dmesg.log
none
kern.log
none
2x-nonblocking_output
none
test output none

Description Humberto Israel Perez Rodriguez 2017-06-28 20:47:53 UTC
Created attachment 132318 [details]
dmesg.log

The following test cases causes assertion failure in function on GLK with latest configuration


testlist
========================================
igt@kms_cursor_legacy@2x-nonblocking-modeset-vs-cursor-atomic
igt@kms_cursor_legacy@2x-long-nonblocking-modeset-vs-cursor-atomic


test output
========================================
cursor_legacy:1419) igt-kms-DEBUG: display: A.0: plane_set_fb(77)
(kms_cursor_legacy:1419) igt-kms-DEBUG: display: DP-1: set_pipe(any)
(kms_cursor_legacy:1419) igt-kms-DEBUG: Setting Broadcast RGB mode on connector 68 to 1
(kms_cursor_legacy:1419) igt-kms-DEBUG: display: commit {
(kms_cursor_legacy:1419) igt-kms-DEBUG: display:     populating plane data: A.0, fb 77
(kms_cursor_legacy:1419) igt-kms-DEBUG: display:     src = (0, 0) 1920 x 1080 dst = (0, 0) 1920 x 1080
(kms_cursor_legacy:1419) igt-kms-DEBUG: display:     populating plane data: A.1, fb 0
(kms_cursor_legacy:1419) igt-kms-DEBUG: display:     populating plane data: A.2, fb 0
(kms_cursor_legacy:1419) igt-kms-DEBUG: display:     populating plane data: A.3, fb 0
(kms_cursor_legacy:1419) igt-kms-DEBUG: display:     populating plane data: A.4, fb 114
(kms_cursor_legacy:1419) igt-kms-DEBUG: display:     B: Setting NULL mode
(kms_cursor_legacy:1419) igt-kms-DEBUG: display:     populating plane data: B.0, fb 112
(kms_cursor_legacy:1419) igt-kms-DEBUG: display:     populating plane data: B.1, fb 0
(kms_cursor_legacy:1419) igt-kms-DEBUG: display:     populating plane data: B.2, fb 0
(kms_cursor_legacy:1419) igt-kms-DEBUG: display:     populating plane data: B.3, fb 0
(kms_cursor_legacy:1419) igt-kms-DEBUG: display:     populating plane data: B.4, fb 114
(kms_cursor_legacy:1419) igt-kms-DEBUG: display:     populating plane data: C.0, fb 0
(kms_cursor_legacy:1419) igt-kms-DEBUG: display:     populating plane data: C.1, fb 0
(kms_cursor_legacy:1419) igt-kms-DEBUG: display:     populating plane data: C.2, fb 0
(kms_cursor_legacy:1419) igt-kms-DEBUG: display:     populating plane data: C.3, fb 0
(kms_cursor_legacy:1419) igt-kms-DEBUG: display:     populating plane data: C.4, fb 0
(kms_cursor_legacy:1419) igt-kms-DEBUG: display:     eDP-1: preparing atomic, pipe: A
(kms_cursor_legacy:1419) igt-kms-DEBUG: display:     DP-1: preparing atomic, pipe: None
(kms_cursor_legacy:1419) igt-kms-DEBUG: display:     HDMI-A-1: preparing atomic, pipe: None
(kms_cursor_legacy:1419) igt-kms-DEBUG: display:     HDMI-A-2: preparing atomic, pipe: None
(kms_cursor_legacy:1419) igt-kms-DEBUG: display: }
(kms_cursor_legacy:1419) CRITICAL: Test assertion failure function two_screens_flip_vs_cursor, file kms_cursor_legacy.c:1041:
(kms_cursor_legacy:1419) CRITICAL: Failed assertion: get_vblank(display->drm_fd, pipe, 0) == vblank_start
(kms_cursor_legacy:1419) CRITICAL: Last errno: 9, Bad file descriptor
(kms_cursor_legacy:1419) CRITICAL: error: 6293 != 6292
****  END  ****
Subtest 2x-long-nonblocking-modeset-vs-cursor-atomic: FAIL (0.420s)
(kms_cursor_legacy:1419) igt-core-DEBUG: Exiting with status code 99
(kms_cursor_legacy:1419) igt-kms-DEBUG: VT: original mode 0x0 restored
(kms_cursor_legacy:1419) igt-debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0'





======================================
             Software
======================================
architecture                : x86_64
os version                  : Ubuntu 16.10
os codename                 : yakkety
kernel driver               : i915
bios revision               : 50.51
bios release date           : 06/02/2017
ksc                         : 1.32


======================================
        Graphic drivers
======================================
Component: drm
    tag: libdrm-2.4.80-29-g7e6bf88
    commit: 7e6bf88cac315a9fa41818cf72a7b5d18a2cb1fc
Component: cairo
    tag: 1.15.4-28-g57b4050
    commit: 57b40507dda3f58dfc8635548d606b86dc7bcf51
Component: intel-gpu-tools
    tag: intel-gpu-tools-1.18-284-g9918014
    commit: 9918014df55d0393f99a31e3c398a4b38c90bb80
Component: piglit
    tag: piglit-v1
    commit: 1b8356e6dfa07480c154fccb47f6ef9c908ef652


======================================
             Kernel
======================================
commit 85a692e2c6a7cf93082044d776e838cb9e9b2146
Author:     Chris Wilson <chris@chris-wilson.co.uk>
AuthorDate: Wed Jun 28 15:25:29 2017 +0100
Commit:     Chris Wilson <chris@chris-wilson.co.uk>
CommitDate: Wed Jun 28 15:25:29 2017 +0100

======================================
             Hardware
======================================
platform                   : Geminilake
motherboard model          : Geminilake
motherboard id             : GLKRVP1DDR4(05)
form factor                : Hand Held
manufacturer               : IntelCorp.
cpu family                 : Other
cpu family id              : 6
cpu information            : Genuine Intel(R) CPU @ 1.10GHz
gpu card                   : Intel Corporation Device 3184 (rev 01) (prog-if 00 [VGA controller])
memory ram                 : 3.67 GB
max memory ram             : 16 GB
cpu thread                 : 4
cpu core                   : 4
cpu model                  : 122
cpu stepping               : 0
hard drive                 : 74GiB (80GB)
current cd clock frequency : 79200 kHz
maximum cd clock frequency : 316800 kHz
displays connected         : eDP-1 DP-1 HDMI-A-2

======================================
             Firmware
======================================
dmc fw loaded             : yes
dmc version               : 1.4
guc fw loaded             : SUCCESS
guc version wanted        : 10.56
guc version found         : 10.56

======================================
             kernel parameters
======================================
drm.debug=0x1e i915.alpha_support=1 resume=/dev/sda3 fastboot i915.enable_guc_loading=2 i915.enable_guc_submission=2 log_buf_len=1M


attachments
======================================
dmesg.log
kern.log
Comment 1 Humberto Israel Perez Rodriguez 2017-06-28 20:48:04 UTC
Created attachment 132319 [details]
kern.log
Comment 2 Elizabeth 2017-06-29 14:59:28 UTC
Adding tag into "Whiteboard" field - ReadyForDev
*Status is correct
*Platform is included
*Feature is included
*Priority and Severity correctly set
*Logs included
Comment 3 Armando Antonio 2017-07-11 20:51:20 UTC
The following test fail on BSW with latest configuration

====================================================
Test list
====================================================
igt@kms_cursor_legacy@2x-long-nonblocking-modeset-vs-cursor-atomic

====================================================
Graphic Stack
====================================================
Component: drm
    tag: libdrm-2.4.81-24-g3095cc8
    commit: 3095cc8eaba1aa87ad38c04ae2b1eabe30f7e16c
Component: cairo
    tag: 1.15.6-2-g57b4050
    commit: 57b40507dda3f58dfc8635548d606b86dc7bcf51
Component: intel-gpu-tools
    tag: intel-gpu-tools-1.19-57-g6fcc8e8
    commit: 6fcc8e8b247661c7950b998e0b95141ffbd6b833
Component: piglit
    tag: piglit-v1
    commit: c8f4fd9eeb298a2ef0855927f22634f794ef3eff

======================================
             Hardware
======================================
platform                   : Braswell
motherboard model          : 10G9000NUS
motherboard id             : BRASWELL
form factor                : Desktop
manufacturer               : LENOVO
cpu family                 : Pentium
cpu family id              : 6
cpu information            : Intel(R) Pentium(R) CPU  N3700  @ 1.60GHz
gpu card                   : Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Integrated Graphics Controller (rev 21) (prog-if 00 [VGA controller])
memory ram                 : 7.68 GB
max memory ram             : 8 GB
cpu thread                 : 4
cpu core                   : 4
cpu model                  : 76
cpu stepping               : 3
socket                     : Socket BGA1155
signature                  : Type 0, Family 6, Model 76, Stepping 3
hard drive                 : 476GiB (512GB)
current cd clock frequency : 266667 kHz
maximum cd clock frequency : 320000 kHz
displays connected         : DP-1 DP-3
Comment 4 maria guadalupe 2017-07-12 16:26:42 UTC
issue is still present over BDW with the following configuration 

test
=====================================
igt@kms_cursor_legacy@2x-nonblocking-modeset-vs-cursor-atomic

 Software
======================================
kernel version              : 4.12.0-drm-tip-ww28-commit-f1619bb+
architecture                : x86_64
os version                  : Ubuntu 16.10
os codename                 : yakkety
kernel driver               : i915
bios revision               : 5.6
hardware acceleration       : disabled
swap partition              : enabled on (/dev/sda3)

======================================
        Graphic drivers
======================================
modesetting                 : enabled
modesetting compiled for    : 1.18.4 X.Org Video Driver
xorg-xserver                : 1.18.4
libdrm                      : 2.4.70
libva                       : 1.7.1-2
vaapi (intel-driver)        : 1.7.1
cairo                       : 1.14.6-1build1
intel-gpu-tools             : 1.16-1

======================================
             Hardware
======================================
platform                   : Broadwell
motherboard id             : NUC5i5MYBE
form factor                : Desktop
cpu family                 : Core i5
cpu information            : Intel(R) Core(TM) i5-5300U CPU @ 2.30GHz
gpu card                   : Intel Corporation HD Graphics 5500 (rev 09) (prog-if 00 [VGA controller])
memory ram                 : 11.62 GB
max memory ram             : 16 GB
signature                  : Type 0, Family 6, Model 61, Stepping 4
hard drive                 : 111GiB (120GB)
current cd clock frequency : 337500 kHz
maximum cd clock frequency : 540000 kHz
displays connected         : DP-1 DP-2
Comment 5 Hector Velazquez 2017-07-26 21:51:44 UTC
The following test FAIL on IVB with this configuration

Tests List:

igt@kms_cursor_legacy@2x-nonblocking-modeset-vs-cursor-atomic
igt@kms_cursor_legacy@2x-long-nonblocking-modeset-vs-cursor-atomic



This is my configuration:

====================================================
Graphic Stack
====================================================
Component: drm
    tag: libdrm-2.4.81-33-g3876bc2
    commit: 3876bc246a07070a6043159cd7623d4def9bbd4c

Component: cairo
    tag: 1.15.6-2-g57b4050
    commit: 57b40507dda3f58dfc8635548d606b86dc7bcf51

Component: intel-gpu-tools
    tag: intel-gpu-tools-1.19-112-g493151b
    commit: 493151b0768aa4ca535cef49cb7efa174a9c3a77

Component: piglit
    tag: piglit-v1
    commit: 973892687cf5c2f8e2dbe1d22998b82736643787



======================================
             Hardware
======================================
==============================================================
Essentials
==============================================================
Processor Number			i5-3330
Status					Launched
Launch Date				Q3'12
Lithography				22 nm


==============================================================
Performance
==============================================================
# of Cores				4
# of Threads				4
Processor Base Frequency		3.00 GHz
Max Turbo Frequency			3.20 GHz
Cache					6 MB SmartCache
Bus Speed				5 GT/s DMI
TDP					77 W

==============================================================
Memory Specifications
==============================================================
Max Memory Size 			32 GB
Memory Types				DDR3 1333/1600
Max # of Memory Channels		2
Max Memory Bandwidth			25.6 GB/s
ECC Memory Supported  			No

==============================================================
Graphics Specifications
==============================================================
Processor Graphics 			Intel® HD Graphics 2500
Graphics Base Frequency			650.00 MHz
Graphics Max Dynamic Frequency		1.05 GHz
Intel® Quick Sync Video 		Yes
Intel® InTru™ 3D Technology		Yes
Intel® Wireless Display 		Yes
Intel® Flexible Display Interface 	Yes
Intel® Clear Video HD Technology	Yes
# of Displays Supported 		3
Device ID				0x152
Comment 6 Hector Velazquez 2017-07-28 20:56:30 UTC
he following tests FAIL on BSW with this configuration

Tests List:

igt@kms_cursor_legacy@2x-nonblocking-modeset-vs-cursor-atomic



This is my configuration:

====================================================
Graphic Stack
====================================================
Component: drm
    tag: libdrm-2.4.81-33-g3876bc2
    commit: 3876bc246a07070a6043159cd7623d4def9bbd4c
	
Component: cairo
    tag: 1.15.6-2-g57b4050
    commit: 57b40507dda3f58dfc8635548d606b86dc7bcf51

Component: intel-gpu-tools
    tag: intel-gpu-tools-1.19-125-gf145475
    commit: f145475173b6d28e550dde27cc361cfb517cbbc3

Component: piglit
    tag: piglit-v1
    commit: 3ff4501e5b8c3f44dfb284edb60b4db7b71ed290



**************************************************************
* * * * * * * * SPECIFICATIONS * * * * * * * * * * * 
**************************************************************

======================================
             Software
======================================
kernel version              : 4.13.0-rc2-drm-tip-ww30-commit-1eb8669+
/bin/bash: BSW-1-BRASWELL: command not found
architecture                : x86_64
os version                  : Ubuntu 16.10
os codename                 : yakkety
kernel driver               : i915
bios revision               : 0.33
bios release date           : 08/12/2015
ksc                         : 0.16
hardware acceleration       : disabled
swap partition              : enabled on (/dev/sda3)

======================================
        Graphic drivers
======================================
modesetting                 : enabled
modesetting compiled for    : 1.18.4 X.Org Video Driver
xorg-xserver                : 1.18.4
libdrm                      : 2.4.82
cairo                       : 1.15.7
intel-gpu-tools (tag)       : intel-gpu-tools-1.19-125-gf145475
intel-gpu-tools (commit)    : f145475

======================================
             Hardware
======================================
platform                   : Braswell
motherboard model          : 10G9000NUS
motherboard id             : BRASWELL
form factor                : Desktop
manufacturer               : LENOVO
cpu family                 : Pentium
cpu family id              : 6
cpu information            : Intel(R) Pentium(R) CPU  N3700  @ 1.60GHz
gpu card                   : Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Integrated Graphics Controller (rev 21) (prog-if 00 [VGA controller])
memory ram                 : 7.68 GB
max memory ram             : 8 GB
cpu thread                 : 4
cpu core                   : 4
cpu model                  : 76
cpu stepping               : 3
socket                     : Socket BGA1155
signature                  : Type 0, Family 6, Model 76, Stepping 3
hard drive                 : 74GiB (80GB)
current cd clock frequency : 266667 kHz
maximum cd clock frequency : 320000 kHz
displays connected         : DP-1 DP-3

======================================
             Firmware
======================================

======================================
             kernel parameters
======================================
quiet drm.debug=0x1e resume=/dev/sda3 fastboot
Comment 7 maria guadalupe 2017-08-08 21:32:30 UTC
These tests are still failing over GLK with the following configuration 

testlist
========================================
igt@kms_cursor_legacy@2x-nonblocking-modeset-vs-cursor-atomic
igt@kms_cursor_legacy@2x-long-nonblocking-modeset-vs-cursor-atomic

  Software
======================================
kernel version              : 4.13.0-rc4-drm-tip-ww32-commit-ef8894e+
hostname                    : gfx-desktop
architecture                : x86_64
os version                  : Ubuntu 17.04
os codename                 : zesty
kernel driver               : i915
bios revision               : 52.23
bios release date           : 06/24/2017
ksc                         : 1.36
hardware acceleration       : disabled
swap partition              : enabled on (/dev/sda2)

======================================
        Graphic drivers
======================================
intel-gpu-tools             : 1.17-1

======================================
             Hardware
======================================
platform                   : Geminilake
motherboard model          : Geminilake
motherboard id             : GLKRVP1DDR4(05)
form factor                : Hand Held
manufacturer               : IntelCorp.
cpu family                 : Other
cpu family id              : 6
cpu information            : Genuine Intel(R) CPU @ 1.10GHz
gpu card                   : Intel Corporation Device 3184 (rev 01) (prog-if 00 [VGA controller])
memory ram                 : 5.64 GB
max memory ram             : 16 GB
cpu thread                 : 4
cpu core                   : 4
cpu model                  : 122
cpu stepping               : 0
socket                     : Other
hard drive                 : 223GiB (240GB)
current cd clock frequency : 79200 kHz
maximum cd clock frequency : 316800 kHz
Comment 8 Elizabeth 2017-08-23 16:45:59 UTC
igt@kms_cursor_legacy@2x-nonblocking-modeset-vs-cursor-atomic
igt@kms_cursor_legacy@2x-long-nonblocking-modeset-vs-cursor-atomic

Still failing on GLK with:
commit ad6ab9f96437f0cb1f4d8a7840fd9eeb894eb12e
Author:     Gustavo Padovan <gustavo.padovan@collabora.com>
AuthorDate: Fri Aug 18 15:26:42 2017 -0300
Commit:     Gustavo Padovan <gustavo.padovan@collabora.com>
CommitDate: Fri Aug 18 15:26:42 2017 -0300

    drm-tip: 2017y-08m-18d-18h-21m-46s UTC integration manifest
Comment 9 Hector Velazquez 2017-08-25 19:32:02 UTC
The following tests Fail on HSW with this configuration

Tests List:

igt@kms_cursor_legacy@2x-long-nonblocking-modeset-vs-cursor-atomic
igt@kms_cursor_legacy@2x-nonblocking-modeset-vs-cursor-atomic


This is my configuration:

**************************************************************
* * * * * * * * HARDWARE SPECIFICATIONS * * * * * * * * * * * 
**************************************************************
======================================
        Graphic stack
======================================

Component: drm
    tag: libdrm-2.4.81-51-gf19dbb7
    commit: f19dbb79fe54994ecd505ac67ad15d19f591933a

Component: cairo
    tag: 1.15.6-23-g74c6e3a
    commit: 74c6e3ae1d356e8bb4c7043cb9d3897c45cc0f79

Component: intel-gpu-tools
    tag: intel-gpu-tools-1.19-202-g37641a5
    commit: 37641a5032b2cb2dcdb04a28d3ac3cebd01b8363

Component: piglit
    tag: piglit-v1
    commit: 465dbc57b01cc60eb74880f161663644720a57f6


======================================
	     Software
======================================
kernel version              : 4.13.0-rc6-drm-tip-ww34-commit-428dc37+
hostname                    : gfx-desktop
architecture                : x86_64
os version                  : Ubuntu 17.04
os codename                 : zesty
kernel driver               : i915
bios revision               : 4.6
bios release date           : 03/02/2017
hardware acceleration       : [93monly available on X[0m
swap partition              : [92menabled[0m on (/dev/sda2)

======================================
	Graphic drivers
======================================
libdrm                      : 2.4.83
cairo                       : 1.15.7
intel-gpu-tools (tag)       : intel-gpu-tools-1.19-202-g37641a50
intel-gpu-tools (commit)    : 37641a50

======================================
	     Hardware
======================================
platform                   : Haswell-Nuc
motherboard id             : D54250WYK
form factor                : Desktop
cpu family                 : Core i5
cpu family id              : 6
cpu information            : Intel(R) Core(TM) i5-4250U CPU @ 1.30GHz
gpu card                   : Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 09) (prog-if 00 [VGA controller])
memory ram                 : 1.83 GB
max memory ram             : 16 GB
cpu thread                 : 4
cpu core                   : 2
cpu model                  : 69
cpu stepping               : 1
socket                     : Socket LGA1150
signature                  : Type 0, Family 6, Model 69, Stepping 1
hard drive                 : 223GiB (240GB)
current cd clock frequency : 450000 kHz
maximum cd clock frequency : 450000 kHz
displays connected         : DP-1

======================================
	     Firmware
======================================

======================================
	     kernel parameters
======================================
quiet splash drm.debug=0x1e
Comment 10 Elizabeth 2017-09-13 22:37:26 UTC
Created attachment 134206 [details]
2x-nonblocking_output

On GLK with IGT-Version: 1.19-g1c6e20d (x86_64) (Linux: 4.13.0-drm-tip-ww37-commit-694f07d+ x86_64), test igt@kms_cursor_legacy@2x-nonblocking-modeset-vs-cursor-atomic is NO more failing, while igt@kms_cursor_legacy@2x-long-nonblocking-modeset-vs-cursor-atomic still fails showing the assertion:

(kms_cursor_legacy:2209) CRITICAL: Test assertion failure function two_screens_flip_vs_cursor, file kms_cursor_legacy.c:1040:
(kms_cursor_legacy:2209) CRITICAL: Failed assertion: get_vblank(display->drm_fd, pipe, 0) == vblank_start
(kms_cursor_legacy:2209) CRITICAL: Last errno: 9, Bad file descriptor
(kms_cursor_legacy:2209) CRITICAL: error: 696355 != 696353
(kms_cursor_legacy:2209) igt-core-INFO: Stack trace:
(kms_cursor_legacy:2209) igt-core-INFO:   #0 [__igt_fail_assert+0x101]
(kms_cursor_legacy:2209) igt-core-INFO:   #1 [two_screens_flip_vs_cursor+0x6cd]
(kms_cursor_legacy:2209) igt-core-INFO:   #2 [<unknown>+0x6cd]

======================================
             Software
======================================
kernel version              : 4.13.0-drm-tip-ww37-commit-694f07d+
hostname                    : gfx-desktop
architecture                : x86_64
os version                  : Ubuntu 16.10
os codename                 : yakkety
kernel driver               : i915
bios revision               : 59.41
bios release date           : 08/03/2017
ksc                         : 1.41
hardware acceleration       : disabled
swap partition              : enabled on (/dev/sda3)

======================================
        Graphic drivers
======================================
grep: /opt/X11R7/var/log/Xorg.0.log: No such file or directory
libdrm                      : 2.4.83
cairo                       : 1.15.9
intel-gpu-tools (tag)       : intel-gpu-tools-1.19-284-g1c6e20d
intel-gpu-tools (commit)    : 1c6e20d

======================================
             Hardware
======================================
platform                   : Geminilake
motherboard model          : Geminilake
motherboard id             : GLKRVP1DDR4(05)
form factor                : Hand Held
manufacturer               : IntelCorp.
cpu family                 : Other
cpu family id              : 6
cpu information            : Genuine Intel(R) CPU @ 1.10GHz
gpu card                   : Intel Corporation Device 3185 (rev 03) (prog-if 00 [VGA controller])
memory ram                 : 3.7 GB
max memory ram             : 16 GB
cpu thread                 : 2
cpu core                   : 2
cpu model                  : 122
cpu stepping               : 1
socket                     : Other
hard drive                 : 74GiB (80GB)
current cd clock frequency : 316800 kHz
maximum cd clock frequency : 316800 kHz
displays connected         : eDP-1 DP-1 HDMI-A-2

======================================
             Firmware
======================================
dmc fw loaded             : yes
dmc version               : 1.4
guc fw loaded             : SUCCESS
guc version wanted        : 10.56
guc version found         : 10.56

======================================
             kernel parameters
======================================
quiet drm.debug=0xe i915.enable_guc_loading=2 i915.enable_guc_submission=2 intel_iommu=igfx_off
Comment 11 vladimir.campos 2017-09-18 15:10:52 UTC
moving from MEDIUM to High due to FAIL on GLK and PASS on other gen9 (discussed on Bug scrubbing)
Comment 12 Armando Antonio 2017-09-19 21:56:48 UTC
The following test cases are failing on CFL with latest configuration

======================================= 
Test List
=======================================
igt@kms_cursor_legacy@2x-long-nonblocking-modeset-vs-cursor-atomic
igt@kms_cursor_legacy@2x-nonblocking-modeset-vs-cursor-atomic


======================================
             Software
======================================
kernel version              : 4.14.0-rc1-drm-tip-ww38-commit-099f750+
hostname                    : CFL-CNP
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
======================================
grep: /opt/X11R7/var/log/Xorg.0.log: No such file or directory
libdrm                      : 2.4.83
cairo                       : 1.15.9
intel-gpu-tools (tag)       : intel-gpu-tools-1.19-304-g93f72b2
intel-gpu-tools (commit)    : 93f72b2

======================================
             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                 : 111GiB (120GB)
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.1
guc fw loaded             : SUCCESS
guc version wanted        : 9.14
guc version found         : 9.14
huc fw loaded             : yes

======================================
             kernel parameters
======================================
quiet drm.debug=0x1e pci=pcie_bus_safe intel_iommu=igfx_off auto panic=1 nmi_watchdog=panic i915.alpha_support=1 i915.enable_guc_loading=2 i915.enable_guc_submission=2 resume=/dev/sda3 fastboot

======================================
Output summary
======================================
(kms_cursor_legacy:1634) CRITICAL: Test assertion failure function two_screens_flip_vs_cursor, file kms_cursor_legacy.c:1040:
(kms_cursor_legacy:1634) CRITICAL: Failed assertion: get_vblank(display->drm_fd, pipe, 0) == vblank_start
(kms_cursor_legacy:1634) CRITICAL: Last errno: 9, Bad file descriptor
(kms_cursor_legacy:1634) CRITICAL: error: 12815 != 12814
(kms_cursor_legacy:1634) igt-core-INFO: Stack trace:
(kms_cursor_legacy:1634) igt-core-INFO:   #0 [__igt_fail_assert+0x101]
(kms_cursor_legacy:1634) igt-core-INFO:   #1 [two_screens_flip_vs_cursor+0x6cd]
(kms_cursor_legacy:1634) igt-core-INFO:   #2 [<unknown>+0x6cd]
****  END  ****
Subtest 2x-nonblocking-modeset-vs-cursor-atomic: FAIL (0.612s)
Comment 13 Hector Velazquez 2017-09-20 16:20:49 UTC
This test still fail on GLK QA

igt@kms_cursor_legacy@2x-long-nonblocking-modeset-vs-cursor-atomic

====================================================
Output
====================================================
. . .
**** DEBUG ****
(kms_cursor_legacy:1687) igt-kms-DEBUG: display:     populating plane data: B.4, fb 150
(kms_cursor_legacy:1687) igt-kms-DEBUG: display:     populating plane data: C.0, fb 0
(kms_cursor_legacy:1687) igt-kms-DEBUG: display:     populating plane data: C.1, fb 0
(kms_cursor_legacy:1687) igt-kms-DEBUG: display:     populating plane data: C.2, fb 0
(kms_cursor_legacy:1687) igt-kms-DEBUG: display:     populating plane data: C.3, fb 0
(kms_cursor_legacy:1687) igt-kms-DEBUG: display:     populating plane data: C.4, fb 0
(kms_cursor_legacy:1687) igt-kms-DEBUG: display:     eDP-1: preparing atomic, pipe: A
(kms_cursor_legacy:1687) igt-kms-DEBUG: display:     DP-1: preparing atomic, pipe: None
(kms_cursor_legacy:1687) igt-kms-DEBUG: display:     HDMI-A-1: preparing atomic, pipe: None
(kms_cursor_legacy:1687) igt-kms-DEBUG: display:     HDMI-A-2: preparing atomic, pipe: None
(kms_cursor_legacy:1687) igt-kms-DEBUG: display: }
(kms_cursor_legacy:1687) igt-kms-DEBUG: Test requirement passed: plane_idx >= 0 && plane_idx < pipe->n_planes
(kms_cursor_legacy:1687) igt-kms-DEBUG: display: A.0: plane_set_fb(92)
(kms_cursor_legacy:1687) igt-kms-DEBUG: display: DP-1: set_pipe(B)
(kms_cursor_legacy:1687) igt-kms-DEBUG: Setting Broadcast RGB mode on connector 84 to 1
(kms_cursor_legacy:1687) igt-kms-DEBUG: display: DP-1: Selecting pipe B
(kms_cursor_legacy:1687) igt-kms-DEBUG: display: commit {
(kms_cursor_legacy:1687) igt-kms-DEBUG: display:     populating plane data: A.0, fb 92
(kms_cursor_legacy:1687) igt-kms-DEBUG: display:     src = (0, 0) 1920 x 1080 dst = (0, 0) 1920 x 1080
(kms_cursor_legacy:1687) igt-kms-DEBUG: display:     populating plane data: A.1, fb 0
(kms_cursor_legacy:1687) igt-kms-DEBUG: display:     populating plane data: A.2, fb 0
(kms_cursor_legacy:1687) igt-kms-DEBUG: display:     populating plane data: A.3, fb 0
(kms_cursor_legacy:1687) igt-kms-DEBUG: display:     populating plane data: A.4, fb 150
(kms_cursor_legacy:1687) igt-kms-DEBUG: display:     B: Setting mode 1920x1200 from DP-1
(kms_cursor_legacy:1687) igt-kms-DEBUG: display:     populating plane data: B.0, fb 145
(kms_cursor_legacy:1687) igt-kms-DEBUG: display:     populating plane data: B.1, fb 0
(kms_cursor_legacy:1687) igt-kms-DEBUG: display:     populating plane data: B.2, fb 0
(kms_cursor_legacy:1687) igt-kms-DEBUG: display:     populating plane data: B.3, fb 0
(kms_cursor_legacy:1687) igt-kms-DEBUG: display:     populating plane data: B.4, fb 150
(kms_cursor_legacy:1687) igt-kms-DEBUG: display:     populating plane data: C.0, fb 0
(kms_cursor_legacy:1687) igt-kms-DEBUG: display:     populating plane data: C.1, fb 0
(kms_cursor_legacy:1687) igt-kms-DEBUG: display:     populating plane data: C.2, fb 0
(kms_cursor_legacy:1687) igt-kms-DEBUG: display:     populating plane data: C.3, fb 0
(kms_cursor_legacy:1687) igt-kms-DEBUG: display:     populating plane data: C.4, fb 0
(kms_cursor_legacy:1687) igt-kms-DEBUG: display:     eDP-1: preparing atomic, pipe: A
(kms_cursor_legacy:1687) igt-kms-DEBUG: display:     DP-1: preparing atomic, pipe: B
(kms_cursor_legacy:1687) igt-kms-DEBUG: display:     HDMI-A-1: preparing atomic, pipe: None
(kms_cursor_legacy:1687) igt-kms-DEBUG: display:     HDMI-A-2: preparing atomic, pipe: None
(kms_cursor_legacy:1687) igt-kms-DEBUG: display: }
(kms_cursor_legacy:1687) igt-kms-DEBUG: display: commit {
(kms_cursor_legacy:1687) igt-kms-DEBUG: display:     A: Setting mode 1920x1080 from eDP-1
(kms_cursor_legacy:1687) igt-kms-DEBUG: display:     populating plane data: A.0, fb 92
(kms_cursor_legacy:1687) igt-kms-DEBUG: display:     populating plane data: A.1, fb 0
(kms_cursor_legacy:1687) igt-kms-DEBUG: display:     populating plane data: A.2, fb 0
(kms_cursor_legacy:1687) igt-kms-DEBUG: display:     populating plane data: A.3, fb 0
(kms_cursor_legacy:1687) igt-kms-DEBUG: display:     populating plane data: A.4, fb 150
(kms_cursor_legacy:1687) igt-kms-DEBUG: display:     B: Setting mode 1920x1200 from DP-1
(kms_cursor_legacy:1687) igt-kms-DEBUG: display:     populating plane data: B.0, fb 145
(kms_cursor_legacy:1687) igt-kms-DEBUG: display:     populating plane data: B.1, fb 0
(kms_cursor_legacy:1687) igt-kms-DEBUG: display:     populating plane data: B.2, fb 0
(kms_cursor_legacy:1687) igt-kms-DEBUG: display:     populating plane data: B.3, fb 0
(kms_cursor_legacy:1687) igt-kms-DEBUG: display:     populating plane data: B.4, fb 150
(kms_cursor_legacy:1687) igt-kms-DEBUG: display:     populating plane data: C.0, fb 0
(kms_cursor_legacy:1687) igt-kms-DEBUG: display:     populating plane data: C.1, fb 0
(kms_cursor_legacy:1687) igt-kms-DEBUG: display:     populating plane data: C.2, fb 0
(kms_cursor_legacy:1687) igt-kms-DEBUG: display:     populating plane data: C.3, fb 0
(kms_cursor_legacy:1687) igt-kms-DEBUG: display:     populating plane data: C.4, fb 0
(kms_cursor_legacy:1687) igt-kms-DEBUG: display:     eDP-1: preparing atomic, pipe: A
(kms_cursor_legacy:1687) igt-kms-DEBUG: display:     DP-1: preparing atomic, pipe: B
(kms_cursor_legacy:1687) igt-kms-DEBUG: display:     HDMI-A-1: preparing atomic, pipe: None
(kms_cursor_legacy:1687) igt-kms-DEBUG: display:     HDMI-A-2: preparing atomic, pipe: None
(kms_cursor_legacy:1687) igt-kms-DEBUG: display: }
(kms_cursor_legacy:1687) igt-kms-DEBUG: Test requirement passed: plane_idx >= 0 && plane_idx < pipe->n_planes
(kms_cursor_legacy:1687) igt-kms-DEBUG: display: A.0: plane_set_fb(92)
(kms_cursor_legacy:1687) igt-kms-DEBUG: display: DP-1: set_pipe(any)
(kms_cursor_legacy:1687) igt-kms-DEBUG: Setting Broadcast RGB mode on connector 84 to 1
(kms_cursor_legacy:1687) igt-kms-DEBUG: display: commit {
(kms_cursor_legacy:1687) igt-kms-DEBUG: display:     populating plane data: A.0, fb 92
(kms_cursor_legacy:1687) igt-kms-DEBUG: display:     src = (0, 0) 1920 x 1080 dst = (0, 0) 1920 x 1080
(kms_cursor_legacy:1687) igt-kms-DEBUG: display:     populating plane data: A.1, fb 0
(kms_cursor_legacy:1687) igt-kms-DEBUG: display:     populating plane data: A.2, fb 0
(kms_cursor_legacy:1687) igt-kms-DEBUG: display:     populating plane data: A.3, fb 0
(kms_cursor_legacy:1687) igt-kms-DEBUG: display:     populating plane data: A.4, fb 150
(kms_cursor_legacy:1687) igt-kms-DEBUG: display:     B: Setting NULL mode
(kms_cursor_legacy:1687) igt-kms-DEBUG: display:     populating plane data: B.0, fb 145
(kms_cursor_legacy:1687) igt-kms-DEBUG: display:     populating plane data: B.1, fb 0
(kms_cursor_legacy:1687) igt-kms-DEBUG: display:     populating plane data: B.2, fb 0
(kms_cursor_legacy:1687) igt-kms-DEBUG: display:     populating plane data: B.3, fb 0
(kms_cursor_legacy:1687) igt-kms-DEBUG: display:     populating plane data: B.4, fb 150
(kms_cursor_legacy:1687) igt-kms-DEBUG: display:     populating plane data: C.0, fb 0
(kms_cursor_legacy:1687) igt-kms-DEBUG: display:     populating plane data: C.1, fb 0
(kms_cursor_legacy:1687) igt-kms-DEBUG: display:     populating plane data: C.2, fb 0
(kms_cursor_legacy:1687) igt-kms-DEBUG: display:     populating plane data: C.3, fb 0
(kms_cursor_legacy:1687) igt-kms-DEBUG: display:     populating plane data: C.4, fb 0
(kms_cursor_legacy:1687) igt-kms-DEBUG: display:     eDP-1: preparing atomic, pipe: A
(kms_cursor_legacy:1687) igt-kms-DEBUG: display:     DP-1: preparing atomic, pipe: None
(kms_cursor_legacy:1687) igt-kms-DEBUG: display:     HDMI-A-1: preparing atomic, pipe: None
(kms_cursor_legacy:1687) igt-kms-DEBUG: display:     HDMI-A-2: preparing atomic, pipe: None
(kms_cursor_legacy:1687) igt-kms-DEBUG: display: }
(kms_cursor_legacy:1687) CRITICAL: Test assertion failure function two_screens_flip_vs_cursor, file kms_cursor_legacy.c:1040:
(kms_cursor_legacy:1687) CRITICAL: Failed assertion: get_vblank(display->drm_fd, pipe, 0) == vblank_start
(kms_cursor_legacy:1687) CRITICAL: Last errno: 9, Bad file descriptor
(kms_cursor_legacy:1687) CRITICAL: error: 61930 != 61921
(kms_cursor_legacy:1687) igt-core-INFO: Stack trace:
(kms_cursor_legacy:1687) igt-core-INFO:   #0 [__igt_fail_assert+0x101]
(kms_cursor_legacy:1687) igt-core-INFO:   #1 [two_screens_flip_vs_cursor+0x6cd]
(kms_cursor_legacy:1687) igt-core-INFO:   #2 [<unknown>+0x6cd]
****  END  ****
. . .

This is my configuration:

====================================================
Graphic Stack
====================================================
Component: drm
    tag: libdrm-2.4.81-55-g76418c2
    commit: 76418c244d4c52a8dd20809e3e8b4e70501fc76f

Component: cairo
    tag: 1.15.6-38-g1220e3c
    commit: 1220e3c6b8f94a00ac7afee15f21e6782655d97c

Component: intel-gpu-tools
    tag: intel-gpu-tools-1.19-312-gda197b5
    commit: da197b5f3cb516aaaea72d0d60b0f5c1c81081dd

Component: piglit
    tag: piglit-v1
    commit: 2753955998d7deb90f681cf4cb1253c4519dfd1d


======================================
             Software
======================================
kernel version              : 4.14.0-rc1-drm-tip-ww38-commit-ab2e3a0+
hostname                    : gfx-desktop
architecture                : x86_64
os version                  : Ubuntu 16.10
os codename                 : yakkety
kernel driver               : i915
bios revision               : 62.30
bios release date           : 08/22/2017
ksc                         : 1.48
hardware acceleration       : disabled
swap partition              : enabled on (/dev/sda3)

======================================
        Graphic drivers
======================================
grep: /opt/X11R7/var/log/Xorg.0.log: No such file or directory
libdrm                      : 2.4.83
cairo                       : 1.15.9
intel-gpu-tools (tag)       : intel-gpu-tools-1.19-312-gda197b5
intel-gpu-tools (commit)    : da197b5

======================================
             Hardware
======================================
. . .
======================================
             Firmware
======================================
dmc fw loaded             : yes
dmc version               : 1.4
guc fw loaded             : SUCCESS
guc version wanted        : 10.56
guc version found         : 10.56
huc fw loaded             : yes

======================================
             kernel parameters
======================================
quiet splash drm.debug=0xe i915.enable_guc_submission=2 i915.enable_guc_loading=2 i915.alpha_support=1 resume=/dev/sda3
Comment 14 Hector Velazquez 2017-09-29 19:33:32 UTC
This test is passing on CFL-S-1 QA

Tests List:

igt@kms_cursor_legacy@2x-nonblocking-modeset-vs-cursor-atomic



This test are failing on CFL-S-1 QA

Tests List:

igt@kms_cursor_legacy@2x-long-nonblocking-modeset-vs-cursor-atomic


====================================================
Output
====================================================
. . .
**** DEBUG ****
(kms_cursor_legacy:2500) igt-kms-DEBUG: display: DP-1: set_pipe(any)
(kms_cursor_legacy:2500) igt-kms-DEBUG: Setting Broadcast RGB mode on connector 56 to 1
(kms_cursor_legacy:2500) igt-kms-DEBUG: display: commit {
(kms_cursor_legacy:2500) igt-kms-DEBUG: display:     populating plane data: A.0, fb 74
(kms_cursor_legacy:2500) igt-kms-DEBUG: display:     src = (0, 0) 1920 x 1080 dst = (0, 0) 1920 x 1080
(kms_cursor_legacy:2500) igt-kms-DEBUG: display:     populating plane data: A.1, fb 0
(kms_cursor_legacy:2500) igt-kms-DEBUG: display:     populating plane data: A.2, fb 80
(kms_cursor_legacy:2500) igt-kms-DEBUG: display:     B: Setting NULL mode
(kms_cursor_legacy:2500) igt-kms-DEBUG: display:     populating plane data: B.0, fb 79
(kms_cursor_legacy:2500) igt-kms-DEBUG: display:     populating plane data: B.1, fb 0
(kms_cursor_legacy:2500) igt-kms-DEBUG: display:     populating plane data: B.2, fb 80
(kms_cursor_legacy:2500) igt-kms-DEBUG: display:     eDP-1: preparing atomic, pipe: A
(kms_cursor_legacy:2500) igt-kms-DEBUG: display:     DP-1: preparing atomic, pipe: None
(kms_cursor_legacy:2500) igt-kms-DEBUG: display:     DP-2: preparing atomic, pipe: None
(kms_cursor_legacy:2500) igt-kms-DEBUG: display:     HDMI-A-1: preparing atomic, pipe: None
(kms_cursor_legacy:2500) igt-kms-DEBUG: display:     DP-3: preparing atomic, pipe: None
(kms_cursor_legacy:2500) igt-kms-DEBUG: display:     HDMI-A-2: preparing atomic, pipe: None
(kms_cursor_legacy:2500) igt-kms-DEBUG: display: }
(kms_cursor_legacy:2500) igt-kms-DEBUG: display: commit {
(kms_cursor_legacy:2500) igt-kms-DEBUG: display:     A: Setting mode 1920x1080 from eDP-1
(kms_cursor_legacy:2500) igt-kms-DEBUG: display:     populating plane data: A.0, fb 74
(kms_cursor_legacy:2500) igt-kms-DEBUG: display:     populating plane data: A.1, fb 0
(kms_cursor_legacy:2500) igt-kms-DEBUG: display:     populating plane data: A.2, fb 80
(kms_cursor_legacy:2500) igt-kms-DEBUG: display:     B: Setting NULL mode
(kms_cursor_legacy:2500) igt-kms-DEBUG: display:     populating plane data: B.0, fb 79
(kms_cursor_legacy:2500) igt-kms-DEBUG: display:     populating plane data: B.1, fb 0
(kms_cursor_legacy:2500) igt-kms-DEBUG: display:     populating plane data: B.2, fb 80
(kms_cursor_legacy:2500) igt-kms-DEBUG: display:     eDP-1: preparing atomic, pipe: A
(kms_cursor_legacy:2500) igt-kms-DEBUG: display:     DP-1: preparing atomic, pipe: None
(kms_cursor_legacy:2500) igt-kms-DEBUG: display:     DP-2: preparing atomic, pipe: None
(kms_cursor_legacy:2500) igt-kms-DEBUG: display:     HDMI-A-1: preparing atomic, pipe: None
(kms_cursor_legacy:2500) igt-kms-DEBUG: display:     DP-3: preparing atomic, pipe: None
(kms_cursor_legacy:2500) igt-kms-DEBUG: display:     HDMI-A-2: preparing atomic, pipe: None
(kms_cursor_legacy:2500) igt-kms-DEBUG: display: }
(kms_cursor_legacy:2500) igt-kms-DEBUG: Test requirement passed: plane_idx >= 0 && plane_idx < pipe->n_planes
(kms_cursor_legacy:2500) igt-kms-DEBUG: display: A.0: plane_set_fb(74)
(kms_cursor_legacy:2500) igt-kms-DEBUG: display: DP-1: set_pipe(B)
(kms_cursor_legacy:2500) igt-kms-DEBUG: Setting Broadcast RGB mode on connector 56 to 1
(kms_cursor_legacy:2500) igt-kms-DEBUG: display: DP-1: Selecting pipe B
(kms_cursor_legacy:2500) igt-kms-DEBUG: display: commit {
(kms_cursor_legacy:2500) igt-kms-DEBUG: display:     populating plane data: A.0, fb 74
(kms_cursor_legacy:2500) igt-kms-DEBUG: display:     src = (0, 0) 1920 x 1080 dst = (0, 0) 1920 x 1080
(kms_cursor_legacy:2500) igt-kms-DEBUG: display:     populating plane data: A.1, fb 0
(kms_cursor_legacy:2500) igt-kms-DEBUG: display:     populating plane data: A.2, fb 80
(kms_cursor_legacy:2500) igt-kms-DEBUG: display:     B: Setting mode 1024x768 from DP-1
(kms_cursor_legacy:2500) igt-kms-DEBUG: display:     populating plane data: B.0, fb 79
(kms_cursor_legacy:2500) igt-kms-DEBUG: display:     populating plane data: B.1, fb 0
(kms_cursor_legacy:2500) igt-kms-DEBUG: display:     populating plane data: B.2, fb 80
(kms_cursor_legacy:2500) igt-kms-DEBUG: display:     eDP-1: preparing atomic, pipe: A
(kms_cursor_legacy:2500) igt-kms-DEBUG: display:     DP-1: preparing atomic, pipe: B
(kms_cursor_legacy:2500) igt-kms-DEBUG: display:     DP-2: preparing atomic, pipe: None
(kms_cursor_legacy:2500) igt-kms-DEBUG: display:     HDMI-A-1: preparing atomic, pipe: None
(kms_cursor_legacy:2500) igt-kms-DEBUG: display:     DP-3: preparing atomic, pipe: None
(kms_cursor_legacy:2500) igt-kms-DEBUG: display:     HDMI-A-2: preparing atomic, pipe: None
(kms_cursor_legacy:2500) igt-kms-DEBUG: display: }
(kms_cursor_legacy:2500) igt-kms-DEBUG: display: commit {
(kms_cursor_legacy:2500) igt-kms-DEBUG: display:     A: Setting mode 1920x1080 from eDP-1
(kms_cursor_legacy:2500) igt-kms-DEBUG: display:     populating plane data: A.0, fb 74
(kms_cursor_legacy:2500) igt-kms-DEBUG: display:     populating plane data: A.1, fb 0
(kms_cursor_legacy:2500) igt-kms-DEBUG: display:     populating plane data: A.2, fb 80
(kms_cursor_legacy:2500) igt-kms-DEBUG: display:     B: Setting mode 1024x768 from DP-1
(kms_cursor_legacy:2500) igt-kms-DEBUG: display:     populating plane data: B.0, fb 79
(kms_cursor_legacy:2500) igt-kms-DEBUG: display:     populating plane data: B.1, fb 0
(kms_cursor_legacy:2500) igt-kms-DEBUG: display:     populating plane data: B.2, fb 80
(kms_cursor_legacy:2500) igt-kms-DEBUG: display:     eDP-1: preparing atomic, pipe: A
(kms_cursor_legacy:2500) igt-kms-DEBUG: display:     DP-1: preparing atomic, pipe: B
(kms_cursor_legacy:2500) igt-kms-DEBUG: display:     DP-2: preparing atomic, pipe: None
(kms_cursor_legacy:2500) igt-kms-DEBUG: display:     HDMI-A-1: preparing atomic, pipe: None
(kms_cursor_legacy:2500) igt-kms-DEBUG: display:     DP-3: preparing atomic, pipe: None
(kms_cursor_legacy:2500) igt-kms-DEBUG: display:     HDMI-A-2: preparing atomic, pipe: None
(kms_cursor_legacy:2500) igt-kms-DEBUG: display: }
(kms_cursor_legacy:2500) igt-kms-DEBUG: Test requirement passed: plane_idx >= 0 && plane_idx < pipe->n_planes
(kms_cursor_legacy:2500) igt-kms-DEBUG: display: A.0: plane_set_fb(74)
(kms_cursor_legacy:2500) igt-kms-DEBUG: display: DP-1: set_pipe(any)
(kms_cursor_legacy:2500) igt-kms-DEBUG: Setting Broadcast RGB mode on connector 56 to 1
(kms_cursor_legacy:2500) igt-kms-DEBUG: display: commit {
(kms_cursor_legacy:2500) igt-kms-DEBUG: display:     populating plane data: A.0, fb 74
(kms_cursor_legacy:2500) igt-kms-DEBUG: display:     src = (0, 0) 1920 x 1080 dst = (0, 0) 1920 x 1080
(kms_cursor_legacy:2500) igt-kms-DEBUG: display:     populating plane data: A.1, fb 0
(kms_cursor_legacy:2500) igt-kms-DEBUG: display:     populating plane data: A.2, fb 80
(kms_cursor_legacy:2500) igt-kms-DEBUG: display:     B: Setting NULL mode
(kms_cursor_legacy:2500) igt-kms-DEBUG: display:     populating plane data: B.0, fb 79
(kms_cursor_legacy:2500) igt-kms-DEBUG: display:     populating plane data: B.1, fb 0
(kms_cursor_legacy:2500) igt-kms-DEBUG: display:     populating plane data: B.2, fb 80
(kms_cursor_legacy:2500) igt-kms-DEBUG: display:     eDP-1: preparing atomic, pipe: A
(kms_cursor_legacy:2500) igt-kms-DEBUG: display:     DP-1: preparing atomic, pipe: None
(kms_cursor_legacy:2500) igt-kms-DEBUG: display:     DP-2: preparing atomic, pipe: None
(kms_cursor_legacy:2500) igt-kms-DEBUG: display:     HDMI-A-1: preparing atomic, pipe: None
(kms_cursor_legacy:2500) igt-kms-DEBUG: display:     DP-3: preparing atomic, pipe: None
(kms_cursor_legacy:2500) igt-kms-DEBUG: display:     HDMI-A-2: preparing atomic, pipe: None
(kms_cursor_legacy:2500) igt-kms-DEBUG: display: }
(kms_cursor_legacy:2500) CRITICAL: Test assertion failure function two_screens_flip_vs_cursor, file kms_cursor_legacy.c:954:
(kms_cursor_legacy:2500) CRITICAL: Failed assertion: get_vblank(display->drm_fd, pipe, 0) == vblank_start
(kms_cursor_legacy:2500) CRITICAL: Last errno: 9, Bad file descriptor
(kms_cursor_legacy:2500) CRITICAL: error: 33563 != 33554
(kms_cursor_legacy:2500) igt-core-INFO: Stack trace:
(kms_cursor_legacy:2500) igt-core-INFO:   #0 [__igt_fail_assert+0x101]
(kms_cursor_legacy:2500) igt-core-INFO:   #1 [two_screens_flip_vs_cursor+0x6cd]
(kms_cursor_legacy:2500) igt-core-INFO:   #2 [<unknown>+0x6cd]
****  END  ****
. . .


This is my configuration:

======================================
        Graphic stack
======================================
Component: drm
    tag: libdrm-2.4.81-56-g7c71188
    commit: 7c71188610b4ceba0339c2bc884320bcb749adee

Component: cairo
    tag: 1.15.6-42-gdccbed7
    commit: dccbed7d78d32bd3b912e8810379451dd94e6a1f

Component: intel-gpu-tools
    tag: intel-gpu-tools-1.19-334-g2885b10
    commit: 2885b10f99b4beeb046e75af8b8488c229f629d3

Component: piglit
    tag: piglit-v1
    commit: e1f66fb2fb8ad781ca755831983b6662c4c440d4
	
======================================
	     Software
======================================
kernel version              : 4.14.0-rc2-drm-tip-ww39-commit-85932e1+
hostname                    : CFL-S-1
architecture                : x86_64
os version                  : Ubuntu 16.10
os codename                 : yakkety
kernel driver               : i915
bios revision               : 104.3
bios release date           : 09/14/2017
ksc                         : 1.5
hardware acceleration       : disabled
swap partition              : enabled on (/dev/sda3
/dev/nvme0n1p3)

======================================
	Graphic drivers
======================================
libdrm                      : 2.4.83
cairo                       : 1.15.9
intel-gpu-tools (tag)       : intel-gpu-tools-1.19-334-g2885b10
intel-gpu-tools (commit)    : 2885b10

======================================
	     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                 : 111GiB (120GB)
current cd clock frequency : 337500 kHz
maximum cd clock frequency : 675000 kHz
displays connected         : eDP-1 DP-1

======================================
	     Firmware
======================================
dmc fw loaded             : yes
dmc version               : 1.1
guc fw loaded             : SUCCESS
guc version wanted        : 9.14
guc version found         : 9.14

======================================
	     kernel parameters
======================================
quiet drm.debug=0xe pci=pcie_bus_safe intel_iommu=igfx_off auto panic=1 nmi_watchdog=panic i915.alpha_support=1 i915.enable_guc_loading=2 i915.enable_guc_submission=2 resume=/dev/sda3 fastboot
Comment 15 Hector Velazquez 2017-10-03 15:12:32 UTC
This tests still failing on GLK QA

Tests List:

igt@kms_cursor_legacy@2x-long-nonblocking-modeset-vs-cursor-atomic


====================================================
Output 
====================================================
. . .


This is my configuration:

======================================
        Graphic stack
======================================
Component: drm
    tag: libdrm-2.4.81-57-g1dd84e0
    commit: 1dd84e01a972b1759839a7326009be24ab3e6de2

Component: cairo
    tag: 1.15.6-42-gdccbed7
    commit: dccbed7d78d32bd3b912e8810379451dd94e6a1f

Component: intel-gpu-tools
    tag: intel-gpu-tools-1.19-357-g1e99f8b
    commit: 1e99f8b8d2563d7f5c4e82932bab15abc5eacaef

Component: piglit
    tag: piglit-v1
    commit: 5aa6eea37f44f818632a3dad4c1a7478085bd56d

	
======================================
	     Software
======================================
kernel version              : 4.14.0-rc3-drm-tip-ww40-commit-2f14e31+
hostname                    : GLK-1-GLKRVP1DDR405
architecture                : x86_64
os version                  : Ubuntu 16.10
os codename                 : yakkety
kernel driver               : i915
bios revision               : 62.30
bios release date           : 08/22/2017
ksc                         : 1.41
hardware acceleration       : disabled
swap partition              : enabled on (/dev/sda3)

======================================
	Graphic drivers
======================================
libdrm                      : 2.4.83
cairo                       : 1.15.9
intel-gpu-tools (tag)       : intel-gpu-tools-1.19-357-g1e99f8b
intel-gpu-tools (commit)    : 1e99f8b

======================================
	     Hardware
======================================
. . .

======================================
	     Firmware
======================================
dmc fw loaded             : yes
dmc version               : 1.4
guc fw loaded             : SUCCESS
guc version wanted        : 10.56
guc version found         : 10.56

======================================
	     kernel parameters
======================================
quiet drm.debug=0x1e pci=pcie_bus_safe intel_iommu=igfx_off auto panic=1 nmi_watchdog=panic i915.alpha_support=1 i915.enable_guc_loading=2 i915.enable_guc_submission=2 resume=/dev/sda3 fastboot
Comment 16 Maarten Lankhorst 2017-10-18 10:55:12 UTC
https://patchwork.freedesktop.org/series/32202/
Comment 17 Maarten Lankhorst 2017-12-08 11:24:18 UTC
https://patchwork.freedesktop.org/series/35032/
Comment 18 Maarten Lankhorst 2018-01-02 08:46:39 UTC
commit d86d53b072b50172309abf21ecb521bd70c5fc73 (HEAD, origin/master, origin/HEAD)
Author: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Date:   Wed Oct 18 12:38:20 2017 +0200

    tests/kms_cursor_legacy: Rework the 2x-*-vs-cursor-* tests.

This bug can hopefully be closed now, can you confirm?
Comment 19 Armando Antonio 2018-01-05 17:00:25 UTC
Verified fixed, now these tests are working fine
Comment 20 Armando Antonio 2018-01-05 17:01:08 UTC
Created attachment 136572 [details]
test output

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.