Bug 104873 - [CI] igt@kms_cursor_legacy@2x-long-flip-vs-cursor-* - fail - Test assertion failure function two_screens_flip_vs_cursor - Failed assertion: vbl.sequence == vblank_start + 1
Summary: [CI] igt@kms_cursor_legacy@2x-long-flip-vs-cursor-* - fail - Test assertion f...
Status: RESOLVED MOVED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: XOrg git
Hardware: Other All
: medium normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard: ReadyForDev
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-31 07:57 UTC by Marta Löfstedt
Modified: 2019-11-29 17:34 UTC (History)
1 user (show)

See Also:
i915 platform: CFL, CNL, HSW, I965G, ICL, ILK, SKL
i915 features: display/Other


Attachments
kernel log (CNL QA) (50 bytes, text/plain)
2018-03-06 17:21 UTC, Hector Velazquez
no flags Details
dmesg -w (CNL QA) (248.76 KB, text/plain)
2018-03-06 17:22 UTC, Hector Velazquez
no flags Details

Description Marta Löfstedt 2018-01-31 07:57:55 UTC
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_3703/shard-hsw8/igt@kms_cursor_legacy@2x-long-flip-vs-cursor-legacy.html

(kms_cursor_legacy:6027) CRITICAL: Test assertion failure function two_screens_flip_vs_cursor, file kms_cursor_legacy.c:976:
(kms_cursor_legacy:6027) CRITICAL: Failed assertion: vbl.sequence == vblank_start + 1
(kms_cursor_legacy:6027) CRITICAL: Last errno: 25, Inappropriate ioctl for device
(kms_cursor_legacy:6027) CRITICAL: error: 18197 != 18196
Subtest 2x-long-flip-vs-cursor-legacy failed.
Comment 1 Marta Löfstedt 2018-02-02 07:15:34 UTC
https://intel-gfx-ci.01.org/tree/drm-tip/IGT_4210/shard-hsw1/igt@kms_cursor_legacy@2x-long-flip-vs-cursor-atomic.html

	
(kms_cursor_legacy:7786) CRITICAL: Test assertion failure function two_screens_flip_vs_cursor, file kms_cursor_legacy.c:976:
(kms_cursor_legacy:7786) CRITICAL: Failed assertion: vbl.sequence == vblank_start + 1
(kms_cursor_legacy:7786) CRITICAL: Last errno: 25, Inappropriate ioctl for device
(kms_cursor_legacy:7786) CRITICAL: error: 31890 != 31889
Subtest 2x-long-flip-vs-cursor-atomic failed.
Comment 2 Hector Velazquez 2018-03-06 17:20:19 UTC
This tests has failing on CNL QA 
Tests List:
igt@kms_cursor_legacy@2x-long-flip-vs-cursor-legacy

output sample:
. . .
(kms_cursor_legacy:834) CRITICAL: Test assertion failure function two_screens_flip_vs_cursor, file kms_cursor_legacy.c:976:
(kms_cursor_legacy:834) CRITICAL: Failed assertion: vbl.sequence == vblank_start + 1
(kms_cursor_legacy:834) CRITICAL: Last errno: 25, Inappropriate ioctl for device
(kms_cursor_legacy:834) CRITICAL: error: 364 != 363
(kms_cursor_legacy:834) igt-core-INFO: Stack trace:
(kms_cursor_legacy:834) igt-core-INFO:   #0 [__igt_fail_assert+0x101]
(kms_cursor_legacy:834) igt-core-INFO:   #1 [two_screens_flip_vs_cursor+0x85c]
(kms_cursor_legacy:834) igt-core-INFO:   #2 [<unknown>+0x85c]
. . .

software:
IGT-Version: 1.21-g68fb759 (x86_64) (Linux: 4.16.0-rc4-drm-intel-qa-ww10-commit-a994c52+ x86_64)
Comment 3 Hector Velazquez 2018-03-06 17:21:53 UTC
Created attachment 137831 [details]
kernel log (CNL QA)
Comment 4 Hector Velazquez 2018-03-06 17:22:36 UTC
Created attachment 137832 [details]
dmesg -w (CNL QA)
Comment 5 Marta Löfstedt 2018-03-12 12:33:15 UTC
Interesting, now also on 2X machine CFL-s2

https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_3903/fi-cfl-s2/igt@kms_cursor_legacy@2x-long-flip-vs-cursor-legacy.html

(kms_cursor_legacy:1984) CRITICAL: Test assertion failure function two_screens_flip_vs_cursor, file kms_cursor_legacy.c:976:
(kms_cursor_legacy:1984) CRITICAL: Failed assertion: vbl.sequence == vblank_start + 1
(kms_cursor_legacy:1984) CRITICAL: Last errno: 25, Inappropriate ioctl for device
(kms_cursor_legacy:1984) CRITICAL: error: 6793 != 6792
Subtest 2x-long-flip-vs-cursor-legacy failed.
Comment 6 Hector Velazquez 2018-04-12 15:13:13 UTC
This tests was failing on CNL QA

Test list:
igt@kms_cursor_legacy@2x-long-flip-vs-cursor-atomic
igt@kms_cursor_legacy@2x-long-flip-vs-cursor-legacy
igt@kms_cursor_legacy@2x-nonblocking-modeset-vs-cursor-atomic

output sample:
. . .
(kms_cursor_legacy:1570) CRITICAL: Test assertion failure function two_screens_flip_vs_cursor, file kms_cursor_legacy.c:976:
(kms_cursor_legacy:1570) CRITICAL: Failed assertion: vbl.sequence == vblank_start + 1
(kms_cursor_legacy:1570) CRITICAL: error: 6796 != 6795
Subtest 2x-long-flip-vs-cursor-atomic failed.
. . .

software:
IGT-Version: 1.22-g2ef96ec (x86_64) (Linux: 4.16.0-rc7-drm-tip-ww15-commit-d123888+ x86_64)
Comment 7 Marta Löfstedt 2018-04-13 07:23:25 UTC
https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_18/fi-cfl-s3/igt@kms_cursor_legacy@2x-flip-vs-cursor-atomic.html

(kms_cursor_legacy:3181) CRITICAL: Test assertion failure function two_screens_flip_vs_cursor, file ../tests/kms_cursor_legacy.c:976:
(kms_cursor_legacy:3181) CRITICAL: Failed assertion: vbl.sequence == vblank_start + 1
(kms_cursor_legacy:3181) CRITICAL: Last errno: 25, Inappropriate ioctl for device
(kms_cursor_legacy:3181) CRITICAL: error: 13435 != 13434
Subtest 2x-flip-vs-cursor-atomic failed.
Comment 8 Martin Peres 2018-05-28 16:31:41 UTC
https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_42/fi-skl-6770hq/igt@kms_cursor_legacy@2x-long-flip-vs-cursor-atomic.html

(kms_cursor_legacy:1796) CRITICAL: Test assertion failure function two_screens_flip_vs_cursor, file ../tests/kms_cursor_legacy.c:976:
(kms_cursor_legacy:1796) CRITICAL: Failed assertion: vbl.sequence == vblank_start + 1
(kms_cursor_legacy:1796) CRITICAL: Last errno: 25, Inappropriate ioctl for device
(kms_cursor_legacy:1796) CRITICAL: error: 12435 != 12434
Subtest 2x-long-flip-vs-cursor-atomic failed.
Comment 9 CI Bug Log 2019-01-28 10:24:52 UTC
A CI Bug Log filter associated to this bug has been updated:

{- HSW,SKL,KBL,GLK,CFL: igt@kms_cursor_legacy@2x-(long-)flip-vs-cursor-* - Failed assertion: vbl.sequence == vblank_start + 1 -}
{+ ILK HSW,SKL,KBL,GLK,CFL: igt@kms_cursor_legacy@2x-(long-)flip-vs-cursor-* - Failed assertion: vbl.sequence == vblank_start + 1 +}

New failures caught by the filter:

* https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_179/fi-ilk-650/igt@kms_cursor_legacy@2x-flip-vs-cursor-legacy.html
Comment 10 CI Bug Log 2019-01-28 10:25:17 UTC
A CI Bug Log filter associated to this bug has been updated:

{- ILK HSW,SKL,KBL,GLK,CFL: igt@kms_cursor_legacy@2x-(long-)flip-vs-cursor-* - Failed assertion: vbl.sequence == vblank_start + 1 -}
{+ ILK, HSW,SKL,KBL,GLK,CFL: igt@kms_cursor_legacy@2x-(long-)flip-vs-cursor-* - Failed assertion: vbl.sequence == vblank_start + 1 +}

 No new failures caught with the new filter
Comment 11 CI Bug Log 2019-01-29 07:08:04 UTC
A CI Bug Log filter associated to this bug has been updated:

{- ILK, HSW,SKL,KBL,GLK,CFL: igt@kms_cursor_legacy@2x-(long-)flip-vs-cursor-* - Failed assertion: vbl.sequence == vblank_start + 1 -}
{+ ILK, HSW,SKL,KBL,GLK,CFL: igt@kms_cursor_legacy@2x-(long-)flip-vs-cursor-* - Failed assertion: vbl.sequence == vblank_start + 1 +}

New failures caught by the filter:

* https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_198/fi-icl-u2/igt@kms_cursor_legacy@2x-long-flip-vs-cursor-atomic.html
Comment 12 CI Bug Log 2019-01-29 07:08:49 UTC
A CI Bug Log filter associated to this bug has been updated:

{- ILK, HSW,SKL,KBL,GLK,CFL: igt@kms_cursor_legacy@2x-(long-)flip-vs-cursor-* - Failed assertion: vbl.sequence == vblank_start + 1 -}
{+ ILK, HSW,SKL,KBL,GLK,CFL, ICL: igt@kms_cursor_legacy@2x-(long-)flip-vs-cursor-* - Failed assertion: vbl.sequence == vblank_start + 1 +}

 No new failures caught with the new filter
Comment 14 CI Bug Log 2019-04-09 08:04:12 UTC
A CI Bug Log filter associated to this bug has been updated:

{- ILK, HSW,SKL,KBL,GLK,CFL, ICL: igt@kms_cursor_legacy@2x-(long-)flip-vs-cursor-* - Failed assertion: vbl.sequence == vblank_start + 1 -}
{+ BWR, ILK, HSW,SKL,KBL,GLK,CFL, ICL: igt@kms_cursor_legacy@2x-(long-)flip-vs-cursor-* - Failed assertion: vbl.sequence == vblank_start + 1 +}

New failures caught by the filter:

* https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_248/fi-bwr-2160/igt@kms_cursor_legacy@2x-long-flip-vs-cursor-legacy.html
Comment 15 Jani Saarinen 2019-04-22 14:15:14 UTC
From Maarten:
We try to make sure that when we do a page flip on a different screen, the cursor update is still simultaneous. What happens here is that we are probably too strict and sometimes miss a pageflip and it then takes 2 vblanks. This can happen in userspace too. I wouldn't say this has a high impact.

It's very likely that disabling all power saving features would result in not seeing this bug, because a source of random delays is removed.
Comment 16 CI Bug Log 2019-07-22 11:26:38 UTC
A CI Bug Log filter associated to this bug has been updated:

{- BWR, ILK, HSW,SKL,KBL,GLK,CFL, ICL: igt@kms_cursor_legacy@2x-(long-)flip-vs-cursor-* - Failed assertion: vbl.sequence == vblank_start + 1 -}
{+ BWR, ILK, HSW,SKL,KBL,GLK,CFL, CML, ICL: igt@kms_cursor_legacy@2x-(long-)flip-vs-cursor-* - Failed assertion: vbl.sequence == vblank_start + 1 +}

New failures caught by the filter:

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_328/fi-cml-u2/igt@kms_cursor_legacy@2x-flip-vs-cursor-legacy.html
Comment 17 Martin Peres 2019-11-29 17:34:57 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/drm/intel/issues/72.


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.