Bug 104004 - [IGT] kms_sink_crc_basic skips with Sink CRC is unreliable on this machine
Summary: [IGT] kms_sink_crc_basic skips with Sink CRC is unreliable on this machine
Status: CLOSED INVALID
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
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: 2017-11-30 22:49 UTC by Elizabeth
Modified: 2018-04-02 21:04 UTC (History)
1 user (show)

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


Attachments
kern_log (379.50 KB, text/plain)
2017-11-30 22:49 UTC, Elizabeth
no flags Details
new dmesg (227.47 KB, text/plain)
2018-02-23 18:44 UTC, Armando Antonio
no flags Details

Description Elizabeth 2017-11-30 22:49:23 UTC
Created attachment 135847 [details]
kern_log

Not sure if this is IGT only, so pointing it here, please move otherwise.
On CNL test igt@kms_sink_crc_basic is giving the output:

IGT-Version: 1.20-g2a1c1c0 (x86_64) (Linux: 4.14.0-drm-intel-qa-ww47-commit-79ca54c+ x86_64)
Test requirement not met in function assert_color, file kms_sink_crc_basic.c:56:
Test requirement: igt_sysfs_scanf(dir, "i915_sink_crc_eDP1", "%4x%4x%4x", &r, &g, &b) == 3
Sink CRC is unreliable on this machine. Try manual debug with --interactive-debug=no-crc
Last errno: 9, Bad file descriptor
SKIP (0.102s)
Comment 1 Elizabeth 2017-11-30 22:50:39 UTC
Test ouput with --interactive-debug=no-crc:

IGT-Version: 1.20-gac6739b (x86_64) (Linux: 4.15.0-rc1-drm-intel-qa-ww48-commit-6d6c48b+ x86_64)
(kms_sink_crc_basic:1568) igt-core-DEBUG: Test requirement passed: !igt_run_in_simulation()
(kms_sink_crc_basic:1568) drmtest-DEBUG: Test requirement passed: !(fd<0)
(kms_sink_crc_basic:1568) igt-debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0'
(kms_sink_crc_basic:1568) drmtest-DEBUG: Test requirement passed: drmSetMaster(fd) == 0
(kms_sink_crc_basic:1568) igt-kms-DEBUG: VT: graphics mode set (mode was 0x0)
(kms_sink_crc_basic:1568) igt-kms-DEBUG: display: init {
(kms_sink_crc_basic:1568) igt-kms-DEBUG: display:     eDP-1: Selecting pipe A
(kms_sink_crc_basic:1568) igt-kms-DEBUG: display:     DP-1: Selecting pipe A
(kms_sink_crc_basic:1568) igt-kms-DEBUG: display:     HDMI-A-1: Selecting pipe A
(kms_sink_crc_basic:1568) igt-kms-DEBUG: display:     DP-2: Selecting pipe A
(kms_sink_crc_basic:1568) igt-kms-DEBUG: display: }
(kms_sink_crc_basic:1568) igt-kms-DEBUG: display: eDP-1: set_pipe(A)
(kms_sink_crc_basic:1568) igt-kms-DEBUG: display: eDP-1: Selecting pipe A
(kms_sink_crc_basic:1568) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=2560, height=1440, format=0x34325258, tiling=0x100000000000001, size=0)
(kms_sink_crc_basic:1568) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) && has_known_intel_chipset(fd)
(kms_sink_crc_basic:1568) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=1, pitch=10240)
(kms_sink_crc_basic:1568) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=2560, height=1440, format=0x34325258, tiling=0x100000000000001, size=0)
(kms_sink_crc_basic:1568) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) && has_known_intel_chipset(fd)
(kms_sink_crc_basic:1568) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=2, pitch=10240)
(kms_sink_crc_basic:1568) igt-kms-DEBUG: Test requirement passed: plane_idx >= 0 && plane_idx < pipe->n_planes
(kms_sink_crc_basic:1568) igt-debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0'
(kms_sink_crc_basic:1568) igt-kms-DEBUG: display: A.0: plane_set_fb(101)
(kms_sink_crc_basic:1568) igt-kms-DEBUG: display: A.0: plane_set_size (2560x1440)
(kms_sink_crc_basic:1568) igt-kms-DEBUG: display: A.0: fb_set_position(0,0)
(kms_sink_crc_basic:1568) igt-kms-DEBUG: display: A.0: fb_set_size(2560x1440)
(kms_sink_crc_basic:1568) igt-kms-DEBUG: display: commit {
(kms_sink_crc_basic:1568) igt-kms-DEBUG: display:     Fixing up initial rotation pipe A, plane 0
(kms_sink_crc_basic:1568) igt-kms-DEBUG: display:     eDP-1: SetCrtc pipe A, fb 101, src (0, 0), mode 2560x1440
(kms_sink_crc_basic:1568) igt-kms-DEBUG: display:     Fixing up initial rotation pipe A, plane 1
(kms_sink_crc_basic:1568) igt-kms-DEBUG: display:     SetPlane pipe A, plane 1, disabling
(kms_sink_crc_basic:1568) igt-kms-DEBUG: display:     SetProp plane A.1 "rotation" to 0x1/1
(kms_sink_crc_basic:1568) igt-kms-DEBUG: display:     Fixing up initial rotation pipe A, plane 2
(kms_sink_crc_basic:1568) igt-kms-DEBUG: display:     SetPlane pipe A, plane 2, disabling
(kms_sink_crc_basic:1568) igt-kms-DEBUG: display:     SetProp plane A.2 "rotation" to 0x1/1
(kms_sink_crc_basic:1568) igt-kms-DEBUG: display:     Fixing up initial rotation pipe A, plane 3
(kms_sink_crc_basic:1568) igt-kms-DEBUG: display:     SetPlane pipe A, plane 3, disabling
(kms_sink_crc_basic:1568) igt-kms-DEBUG: display:     SetProp plane A.3 "rotation" to 0x1/1
(kms_sink_crc_basic:1568) igt-kms-DEBUG: display:     Fixing up initial rotation pipe A, plane 4
(kms_sink_crc_basic:1568) igt-kms-DEBUG: display:     SetCursor pipe A, disabling
(kms_sink_crc_basic:1568) igt-kms-DEBUG: display:     MoveCursor pipe A, (0, 0)
(kms_sink_crc_basic:1568) igt-kms-DEBUG: display:     Fixing up initial rotation pipe B, plane 0
(kms_sink_crc_basic:1568) igt-kms-DEBUG: display:     SetCrtc pipe B, disabling
(kms_sink_crc_basic:1568) igt-kms-DEBUG: display:     Fixing up initial rotation pipe B, plane 1
(kms_sink_crc_basic:1568) igt-kms-DEBUG: display:     SetPlane pipe B, plane 1, disabling
(kms_sink_crc_basic:1568) igt-kms-DEBUG: display:     SetProp plane B.1 "rotation" to 0x1/1
(kms_sink_crc_basic:1568) igt-kms-DEBUG: display:     Fixing up initial rotation pipe B, plane 2
(kms_sink_crc_basic:1568) igt-kms-DEBUG: display:     SetPlane pipe B, plane 2, disabling
(kms_sink_crc_basic:1568) igt-kms-DEBUG: display:     SetProp plane B.2 "rotation" to 0x1/1
(kms_sink_crc_basic:1568) igt-kms-DEBUG: display:     Fixing up initial rotation pipe B, plane 3
(kms_sink_crc_basic:1568) igt-kms-DEBUG: display:     SetPlane pipe B, plane 3, disabling
(kms_sink_crc_basic:1568) igt-kms-DEBUG: display:     SetProp plane B.3 "rotation" to 0x1/1
(kms_sink_crc_basic:1568) igt-kms-DEBUG: display:     Fixing up initial rotation pipe B, plane 4
(kms_sink_crc_basic:1568) igt-kms-DEBUG: display:     SetCursor pipe B, disabling
(kms_sink_crc_basic:1568) igt-kms-DEBUG: display:     MoveCursor pipe B, (0, 0)
(kms_sink_crc_basic:1568) igt-kms-DEBUG: display:     Fixing up initial rotation pipe C, plane 0
(kms_sink_crc_basic:1568) igt-kms-DEBUG: display:     SetCrtc pipe C, disabling
(kms_sink_crc_basic:1568) igt-kms-DEBUG: display:     Fixing up initial rotation pipe C, plane 1
(kms_sink_crc_basic:1568) igt-kms-DEBUG: display:     SetPlane pipe C, plane 1, disabling
(kms_sink_crc_basic:1568) igt-kms-DEBUG: display:     SetProp plane C.1 "rotation" to 0x1/1
(kms_sink_crc_basic:1568) igt-kms-DEBUG: display:     Fixing up initial rotation pipe C, plane 2
(kms_sink_crc_basic:1568) igt-kms-DEBUG: display:     SetPlane pipe C, plane 2, disabling
(kms_sink_crc_basic:1568) igt-kms-DEBUG: display:     SetProp plane C.2 "rotation" to 0x1/1
(kms_sink_crc_basic:1568) igt-kms-DEBUG: display:     Fixing up initial rotation pipe C, plane 3
(kms_sink_crc_basic:1568) igt-kms-DEBUG: display:     SetPlane pipe C, plane 3, disabling
(kms_sink_crc_basic:1568) igt-kms-DEBUG: display:     SetProp plane C.3 "rotation" to 0x1/1
(kms_sink_crc_basic:1568) igt-kms-DEBUG: display:     Fixing up initial rotation pipe C, plane 4
(kms_sink_crc_basic:1568) igt-kms-DEBUG: display:     SetCursor pipe C, disabling
(kms_sink_crc_basic:1568) igt-kms-DEBUG: display:     MoveCursor pipe C, (0, 0)
(kms_sink_crc_basic:1568) igt-kms-DEBUG: display: }
Test requirement not met in function assert_color, file kms_sink_crc_basic.c:56:
Test requirement: igt_sysfs_scanf(dir, "i915_sink_crc_eDP1", "%4x%4x%4x", &r, &g, &b) == 3
Sink CRC is unreliable on this machine. Try manual debug with --interactive-debug=no-crc
Last errno: 9, Bad file descriptor
(kms_sink_crc_basic:1568) igt-core-DEBUG: Exiting with status code 77
SKIP (0.098s)
(kms_sink_crc_basic:1568) igt-kms-DEBUG: VT: original mode 0x0 restored
(kms_sink_crc_basic:1568) igt-debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0'
Comment 2 Armando Antonio 2018-02-23 18:44:18 UTC
this issue still failing on CNL with latest configurations:

========================
Platform configurations
========================

======================================
             Software
======================================
kernel version              : 4.16.0-rc2-drm-tip-ww8-commit-e09e4db+
hostname                    : gfx-desktop
architecture                : x86_64
os version                  : Ubuntu 17.10
os codename                 : artful
kernel driver               : i915
bios revision               : 124.2
bios release date           : 02/05/2018
ksc                         : 1.36
hardware acceleration       : disabled
swap partition              : enabled on (/dev/nvme0n1p2)

======================================
        Graphic drivers
======================================
libdrm                      : 2.4.90
cairo                       : 1.15.11
intel-gpu-tools (tag)       : intel-gpu-tools-1.21-124-g960e55a8
intel-gpu-tools (commit)    : 960e55a8

======================================
             Hardware
======================================
motherboard model          : CannonLakeClientPlatform
motherboard id             : CannonLakeYLPDDR4RVP
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.63 GB
max memory ram             : 8 GB
cpu thread                 : 4
cpu core                   : 2
cpu model                  : 102
cpu stepping               : 2
socket                     : Other
current cd clock frequency : 168000 kHz
maximum cd clock frequency : 528000 kHz
displays connected         : eDP-1

======================================
             Firmware
======================================
dmc fw loaded             : yes
dmc version               : 1.7
Comment 3 Armando Antonio 2018-02-23 18:44:56 UTC
Created attachment 137562 [details]
new dmesg
Comment 4 Jani Saarinen 2018-03-29 07:09:58 UTC
First of all. Sorry about spam.
This is mass update for our bugs. 

Sorry if you feel this annoying but with this trying to understand if bug still valid or not.
If bug investigation still in progress, please ignore this and I apologize!

If you think this is not anymore valid, please comment to the bug that can be closed.
If you haven't tested with our latest pre-upstream tree(drm-tip), can you do that also to see if issue is valid there still and if you cannot see issue there, please comment to the bug.
Comment 5 Elizabeth 2018-04-02 21:04:44 UTC
Closing since isn't a failure.


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.