Bug 103232 - [CI] igt@kms_cursor_crc@cursor-* - fail - CRC mismatch
Summary: [CI] igt@kms_cursor_crc@cursor-* - fail - CRC mismatch
Status: NEEDINFO
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: DRI git
Hardware: Other All
: high normal
Assignee: Mika Kahola
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard: ReadyForDev
Keywords:
Depends on:
Blocks: 105978
  Show dependency treegraph
 
Reported: 2017-10-12 07:35 UTC by Marta Löfstedt
Modified: 2019-03-11 10:45 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marta Löfstedt 2017-10-12 07:35:24 UTC
CI_DRM_3220 KBL-shards fail igt@kms_cursor_crc@cursor-64x64-suspend

(kms_cursor_crc:2465) igt-debugfs-CRITICAL: Test assertion failure function igt_assert_crc_equal, file igt_debugfs.c:346:
(kms_cursor_crc:2465) igt-debugfs-CRITICAL: Failed assertion: !mismatch
Subtest cursor-64x64-suspend failed.

https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_3220/shard-kbl4/igt@kms_cursor_crc@cursor-64x64-suspend.html
Comment 1 Marta Löfstedt 2017-10-27 08:08:47 UTC
CI_DRM_3287 shard-kbl1 igt@kms_cursor_crc@cursor-64x64-random

(kms_cursor_crc:2955) igt-debugfs-CRITICAL: Test assertion failure function igt_assert_crc_equal, file igt_debugfs.c:346:
(kms_cursor_crc:2955) igt-debugfs-CRITICAL: Failed assertion: !mismatch
Subtest cursor-64x64-random failed.

https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_3287/shard-kbl1/igt@kms_cursor_crc@cursor-64x64-random.html
Comment 2 Marta Löfstedt 2017-10-30 07:49:55 UTC
CI_DRM_3292 shard-kbl2 igt@kms_cursor_crc@cursor-256x256-random

(kms_cursor_crc:1879) igt-debugfs-CRITICAL: Test assertion failure function igt_assert_crc_equal, file igt_debugfs.c:346:
(kms_cursor_crc:1879) igt-debugfs-CRITICAL: Failed assertion: !mismatch
Subtest cursor-256x256-random failed.

https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_3292/shard-kbl2/igt@kms_cursor_crc@cursor-256x256-random.html
Comment 4 Marta Löfstedt 2018-01-11 08:13:10 UTC
This issue is no longer reproducible. I will close and archive
Comment 5 Marta Löfstedt 2018-03-12 12:41:58 UTC
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_3910/shard-apl8/igt@kms_cursor_crc@cursor-64x64-suspend.html

(kms_cursor_crc:1681) igt_debugfs-CRITICAL: Test assertion failure function igt_assert_crc_equal, file ../lib/igt_debugfs.c:370:
(kms_cursor_crc:1681) igt_debugfs-CRITICAL: Failed assertion: !mismatch
Subtest cursor-64x64-suspend failed.
Comment 6 Marta Löfstedt 2018-03-22 14:03:40 UTC
https://intel-gfx-ci.01.org/tree/drm-tip/IGT_4376/shard-apl4/igt@kms_cursor_crc@cursor-256x256-dpms.html


(kms_cursor_crc:1377) igt_debugfs-CRITICAL: Test assertion failure function igt_assert_crc_equal, file ../lib/igt_debugfs.c:370:
(kms_cursor_crc:1377) igt_debugfs-CRITICAL: Failed assertion: !mismatch
Subtest cursor-256x256-dpms failed.
Comment 7 Marta Löfstedt 2018-03-29 07:09:46 UTC
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_4001/shard-apl7/igt@kms_cursor_crc@cursor-128x128-dpms.html

(kms_cursor_crc:1383) igt_debugfs-CRITICAL: Test assertion failure function igt_assert_crc_equal, file ../lib/igt_debugfs.c:370:
(kms_cursor_crc:1383) igt_debugfs-CRITICAL: Failed assertion: !mismatch
Subtest cursor-128x128-dpms failed.
Comment 8 James Ausmus 2018-07-18 01:56:10 UTC
Not seeing this issue anymore on the shards, marking as WORKSFORME
Comment 9 Martin Peres 2018-07-20 10:24:16 UTC
(In reply to James Ausmus from comment #8)
> Not seeing this issue anymore on the shards, marking as WORKSFORME

You are right, it works pretty well now, since CI_DRM_4453_full (1 week, 3 days ago). However, there is still fi-gdg-551 which fails every single run:

https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_89/fi-gdg-551/igt@kms_cursor_crc@cursor-256x256-random.html

https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_89/fi-gdg-551/igt@kms_cursor_crc@cursor-128x128-sliding.html

https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_89/fi-gdg-551/igt@kms_cursor_crc@cursor-256x256-onscreen.html

https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_89/fi-gdg-551/igt@kms_cursor_crc@cursor-256x256-dpms.html

I dropped the priority to reflect that though. The next step would be to check if the CRC support works at all on this platform or if there is just an issue related to the cursor.
Comment 10 Lakshmi 2018-10-18 12:36:30 UTC
Mika, any updates here. Here is the latest results.
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_5004/shard-skl5/igt@kms_cursor_crc@cursor-size-change.html
Comment 11 Lakshmi 2018-12-07 11:17:21 UTC
This failure happens to occur mostly with Shards and drmtip. Setting the priority to High.
Comment 12 Mika Kahola 2019-01-09 12:56:46 UTC
I sent a patch series that fixes how we read crcs in a test

https://patchwork.freedesktop.org/series/54944/
Comment 13 Clinton Taylor 2019-01-11 17:33:55 UTC
Uma Shankars series https://patchwork.freedesktop.org/series/51408/ appears to resolve many of the crc failures in kms_cursor_crc.
Comment 14 Mika Kahola 2019-01-14 09:14:25 UTC
It seems that Uma's patch series improves the crc mismatch situation. There's still one test on shard runs that fails with !mismatch error

igt@kms_cursor_crc@cursor-64x21-sliding
Comment 15 CI Bug Log 2019-02-14 17:52:23 UTC
The CI Bug Log issue associated to this bug has been updated.

### New filters associated

* ICL: igt@runner@aborted - Fail - Previous test: kms_cursor_crc (cursor-256x256-suspend)
  - https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_218/fi-icl-u3/igt@runner@aborted.html
Comment 16 Mika Kahola 2019-02-15 13:28:56 UTC
Some findings today on ICL-Y. If I change the test so that it uses overlay plane instead of cursor plane and test the plane only with fully onscreen i.e. 1 and 2 pixels off screen are neglected the test passes with flying colors. I wonder with the question why cursor plane behaves differently?
Comment 17 Mika Kahola 2019-03-06 09:28:58 UTC
The patch

https://patchwork.freedesktop.org/series/57619/

seems to fix crc mismatch errors
Comment 18 Maarten Lankhorst 2019-03-11 10:45:35 UTC
commit 26eeea1506838c77524fa90c8e6f1cc246762a4a (HEAD -> drm-intel-next-queued, drm-intel/drm-intel-next-queued)
Author: Aditya Swarup <aditya.swarup@intel.com>
Date:   Wed Mar 6 18:14:12 2019 -0800

    drm/i915/icl: Fix CRC mismatch error for DP link layer compliance

Should hopefully fix this on icl, is this still an issue on other platforms?


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.