Bug 101768 - [HSW] [IGT] kms_cursor_legacy@flip-vs-cursor-busy-crc-* produces a GPU hang
Summary: [HSW] [IGT] kms_cursor_legacy@flip-vs-cursor-busy-crc-* produces a GPU hang
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: IGT (show other bugs)
Version: DRI git
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Maarten Lankhorst
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-12 16:14 UTC by Luis Botello
Modified: 2018-03-05 18:39 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
dmesg (126.85 KB, text/plain)
2017-07-12 16:14 UTC, Luis Botello
no flags Details
IGToutput (4.28 KB, text/plain)
2017-07-12 16:15 UTC, Luis Botello
no flags Details
Dmesg.log (1015.80 KB, text/plain)
2017-09-05 19:40 UTC, Hector Velazquez
no flags Details
Output (....Atomic test) (14.17 KB, text/plain)
2017-09-05 19:41 UTC, Hector Velazquez
no flags Details
Output (....Legacy test) (11.43 KB, text/plain)
2017-09-05 19:41 UTC, Hector Velazquez
no flags Details

Description Luis Botello 2017-07-12 16:14:46 UTC
Created attachment 132637 [details]
dmesg

==Bug detailed description==
--------------------------------------------------
kms_cursor_legacy@flip-vs-cursor-busy-crc-* produces a GPU hang

==Steps to reproduce==
--------------------------------------------------
kms_frontbuffer_tracking --run-subtest flip-vs-cursor-busy-crc-atomic


==Actual results==
--------------------------------------------------
Test result is fail


==Expected results==
--------------------------------------------------
Test result must be pass


==Hardware configuration==
--------------------------------------------------
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                 : 7.73 GB
socket                     : Socket LGA1150
displays connected         : HDMI-A-1 DP-1


==Software configuration==
--------------------------------------------------
kernel version              : 4.12.0-drm-tip-ww28-commit-8ad9e19+
architecture                : x86_64
os version                  : Ubuntu 16.10
bios revision               : 4.6
libdrm                      : 2.4.81
cairo                       : 1.15.7
intel-gpu-tools (tag)       : intel-gpu-tools-1.19-85-g6e572cf
intel-gpu-tools (commit)    : 6e572cf


==Attachments==
--------------------------------------------------
dmesg
IGToutput
Comment 1 Luis Botello 2017-07-12 16:15:11 UTC
Created attachment 132638 [details]
IGToutput
Comment 2 Hector Velazquez 2017-09-05 19:39:45 UTC
The following tests show new FAIL on HSW 

Tests List:

igt@kms_cursor_legacy@flip-vs-cursor-busy-crc-atomic
igt@kms_cursor_legacy@flip-vs-cursor-busy-crc-legacy


======================================
        Output
======================================

(kms_cursor_legacy:5828) igt-debugfs-DEBUG: CRC mismatch at index 0: 0x87acf6a4 != 0xcdacf93b
(kms_cursor_legacy:5828) igt-debugfs-CRITICAL: Test assertion failure function igt_assert_crc_equal, file igt_debugfs.c:325:
(kms_cursor_legacy:5828) igt-debugfs-CRITICAL: Failed assertion: !mismatch
(kms_cursor_legacy:5828) igt-core-INFO: Stack trace:
(kms_cursor_legacy:5828) igt-core-INFO:   #0 [__igt_fail_assert+0x101]
(kms_cursor_legacy:5828) igt-core-INFO:   #1 [igt_assert_crc_equal+0x5d]
(kms_cursor_legacy:5828) igt-core-INFO:   #2 [flip_vs_cursor_busy_crc+0x3d5]
(kms_cursor_legacy:5828) igt-core-INFO:   #3 [__real_main1411+0x12aa]
(kms_cursor_legacy:5828) igt-core-INFO:   #4 [main+0x33]
(kms_cursor_legacy:5828) igt-core-INFO:   #5 [__libc_start_main+0xf1]
(kms_cursor_legacy:5828) igt-core-INFO:   #6 [_start+0x29]
(kms_cursor_legacy:5828) igt-core-INFO:   #7 [<unknown>+0x29]
****  END  ****
Stack trace:
  #0 [__igt_fail_assert+0x101]
  #1 [igt_assert_crc_equal+0x5d]
  #2 [flip_vs_cursor_busy_crc+0x3d5]
  #3 [__real_main1411+0x12aa]
  #4 [main+0x33]
  #5 [__libc_start_main+0xf1]
  #6 [_start+0x29]
  #7 [<unknown>+0x29]
Subtest flip-vs-cursor-busy-crc-atomic: FAIL (9.852s)
(kms_cursor_legacy:5828) igt-core-DEBUG: Exiting with status code 99


This is my configuration:

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

Component: drm
    tag: libdrm-2.4.81-52-g05a830d
    commit: 05a830d382382905d87b55af90aa109fb76e4c16

Component: cairo
    tag: 1.15.6-30-gc29db4f
    commit: c29db4f0de52727406a8b62f4da9a382084b5a79

Component: intel-gpu-tools
    tag: intel-gpu-tools-1.19-234-g490b386
    commit: 490b386ae36d393cdea514882a2437c6e964c13f

Component: piglit
    tag: piglit-v1
    commit: dab15137044c34023b1a843e72e781b03b17548b

======================================
	     Software
======================================
kernel version              : 4.13.0-drm-tip-ww36-commit-9dd459e+
hostname                    : gfx-desktop
architecture                : x86_64
os version                  : Ubuntu 16.10
os codename                 : yakkety
kernel driver               : i915
bios revision               : 4.6
bios release date           : 03/02/2017
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-234-g490b386
intel-gpu-tools (commit)    : 490b386

======================================
	     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
Comment 3 Hector Velazquez 2017-09-05 19:40:31 UTC
Created attachment 133975 [details]
Dmesg.log
Comment 4 Hector Velazquez 2017-09-05 19:41:23 UTC
Created attachment 133976 [details]
Output (....Atomic test)
Comment 5 Hector Velazquez 2017-09-05 19:41:57 UTC
Created attachment 133977 [details]
Output (....Legacy test)
Comment 6 Maarten Lankhorst 2017-09-19 09:25:41 UTC
Quite likely same issue as 102259, could you test the patch posted there?
Comment 7 Maarten Lankhorst 2017-09-20 13:05:25 UTC
commit 1043c09ccbcba8e5c2ec5f2a358a442346348bd8 (HEAD -> master, origin/master, origin/HEAD)
Author: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Date:   Tue Sep 19 13:31:13 2017 +0200

    tests/kms_cursor_legacy: Do not start collecting CRC after making FB busy


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.