Bug 93347 - [BXT-P/APL] [IGT Basic] kms_pipe_crc_basic / nonblocking-crc-pipe-c-frame-sequence sometimes fails
Summary: [BXT-P/APL] [IGT Basic] kms_pipe_crc_basic / nonblocking-crc-pipe-c-frame-seq...
Status: CLOSED WORKSFORME
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: highest blocker
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-11 14:19 UTC by cprigent
Modified: 2016-01-28 20:26 UTC (History)
2 users (show)

See Also:
i915 platform: BXT
i915 features:


Attachments
dmesg.log (192.57 KB, text/plain)
2016-01-08 17:17 UTC, Humberto Israel Perez Rodriguez
no flags Details
GPU_crash_dump_file.log (25 bytes, text/plain)
2016-01-08 17:18 UTC, Humberto Israel Perez Rodriguez
no flags Details
GPU_hang.log (25 bytes, text/plain)
2016-01-08 17:18 UTC, Humberto Israel Perez Rodriguez
no flags Details
dmesg_nonblocking-crc-pipe-C-frame-sequence_10-percent-fail (156.16 KB, text/plain)
2016-01-21 15:21 UTC, cprigent
no flags Details

Description cprigent 2015-12-11 14:19:05 UTC
Q4 stack release setup:
-----------------------
Platform: Broxton P A0 Platform
CPU Name : Intel(R) @ 1.2 GHz (family: 6, model: 92, stepping: 8) – 4 cores
SoC : BROXTON-P A0
QDF : QYE2
CRB : Apollo Lake RVPC1 Fab1
Mandatory Reworks : R14 
Software
BIOS (IFWI Version): APLK_IFWI_X64_R_2015_44_3_00
Kernel: tag testing 2015-11-20 from http://cgit.freedesktop.org/drm-intel/tag/?h=drm-intel-testing&id=drm-intel-testing-2015-11-20
xorg-server-1.18.0 from http://cgit.freedesktop.org/xorg/xserver
libdrm-2.4.65 from http://cgit.freedesktop.org/mesa/drm/
xf86-video-intel 2.99.917 from http://cgit.freedesktop.org/xorg/driver/xf86-video-intel/
mesa-11.0.4 from http://cgit.freedesktop.org/mesa/mesa/
libva-1.6.1 from http://cgit.freedesktop.org/libva/
vaapi-intel-driver 1.6.1 from http://cgit.freedesktop.org/vaapi/intel-driver
cairo 1.14.4 from http://cgit.freedesktop.org/cairo
DMC 1.06 firmware from https://01.org/linuxgraphics/intel-linux-graphics-firmwares
IGT 1.13 http://cgit.freedesktop.org/xorg/app/intel-gpu-tools/tag/?id=intel-gpu-tools-1.13

Steps:
-------
Execute command:
cd <...>/intel-gpu-tools/tests
./kms_pipe_crc_basic

Actual result:
---------------
DUT crashes

Expected result:
----------------
Test is Pass
Comment 1 cprigent 2015-12-11 14:19:45 UTC
Assigned to me to provide logs
Comment 2 Humberto Israel Perez Rodriguez 2016-01-08 17:17:29 UTC
The following test keeps fail with the following configuration :

test case : ./kms_pipe_crc_basic

Attach the following logs :
GPU_hang.log
GPU_crash_dump_file.log
dmesg.log

kernel drm-intel-testing:

commit 91587c722c28c4116dedbfbf08aa874377bc76f8
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Fri Dec 4 17:35:54 2015 +0100

    drm-intel-nightly: 2015y-12m-04d-16h-35m-07s UTC integration manifest

igt tools :
branch : intel-gpu-tools-1.13
commit : 2db78a4995a8ee298ae0cd68879baf80407a0e5e

cairo version: 1.15.2 / commit :  db8a7f1 
drm version :  libdrm-2.4.66  / commit : b38a4b2 
intel-driver : 1.6.2 / commit: 683edee
libva version : libva-1.6.2 / commit : 304bc13
mesa version : mesa-11.0.8 / commit : 261daab 
xf86-video-intel version : 2.99.917  / commit : baec802 
xserver version :xorg-server-1.18.0 / commit :7921764 


log :
-------------------------------------------------------------
./kms_pipe_crc_basic
IGT-Version: 1.13-g2db78a4 (x86_64) (Linux: 4.4.0-rc3-testing+ x86_64)
Subtest bad-pipe: SUCCESS (0.000s)
Subtest bad-source: SUCCESS (0.000s)
Subtest bad-nb-words-1: SUCCESS (0.000s)
Subtest bad-nb-words-3: SUCCESS (0.000s)
read-crc-pipe-A: Testing connector eDP-1 using pipe A
Subtest read-crc-pipe-A: SUCCESS (3.146s)
read-crc-pipe-A-frame-sequence: Testing connector eDP-1 using pipe A
Subtest read-crc-pipe-A-frame-sequence: SUCCESS (4.117s)
rtcwake: assuming RTC uses UTC ...
rtcwake: wakeup from "mem" using /dev/rtc0 at Fri Jan  8 23:18:55 2016
rtcwake: assuming RTC uses UTC ...
rtcwake: wakeup from "mem" using /dev/rtc0 at Fri Jan  8 23:18:57 2016
Comment 3 Humberto Israel Perez Rodriguez 2016-01-08 17:17:50 UTC
Created attachment 120901 [details]
dmesg.log
Comment 4 Humberto Israel Perez Rodriguez 2016-01-08 17:18:26 UTC
Created attachment 120902 [details]
GPU_crash_dump_file.log
Comment 5 Humberto Israel Perez Rodriguez 2016-01-08 17:18:42 UTC
Created attachment 120903 [details]
GPU_hang.log
Comment 6 cprigent 2016-01-08 17:34:13 UTC
Probably due to https://bugs.freedesktop.org/show_bug.cgi?id=93329 ?
Comment 7 cprigent 2016-01-21 15:20:40 UTC
kms_pipe_crc_basic / nonblocking-crc-pipe-c-frame-sequence fails with last setup. It failed when executing all igt basic tests and then it failed when executed individually several times, reproducible around 10%.

Platform: Broxton P A0 Platform 
CPU Name : Intel(R) @ 1.2 GHz (family: 6, model: 92, stepping: 8) – 4 cores
SoC : BROXTON-P A0
QDF : QYE2
CRB : Apollo Lake RVPC1 Fab1
Mandatory reworks : R14, R06C and R16
Software 
BIOS (IFWI Version): APLK_IFWI_X64_R_2015_41_5_02
BIOS : 
CSE FW :
KSC :

Software
Linux distribution: Ubuntu 15.10 64 bits
Kernel: drm-intel-nightly 4.4.0 8114b00 from http://cgit.freedesktop.org/drm-intel/
drm: tag libdrm-2.4.66 e342c0f from http://cgit.freedesktop.org/mesa/drm/
mesa: tag mesa-11.0.8 261daab from http://cgit.freedesktop.org/mesa/mesa/
cairo: tag 1.15.2 db8a7f1 from http://cgit.freedesktop.org/cairo
waffle: master bb29b2a from https://github.com/waffle-gl/waffle
xorg-server-macros: master d7acec2 from git://git.freedesktop.org/git/xorg/util/macros
libva: tag libva-1.6.1 cb418f6 from http://cgit.freedesktop.org/libva/
vaapi-intel-driver: tag 1.6.1 2110b3a from http://cgit.freedesktop.org/vaapi/intel-driver
intel-gpu-tool: tag intel-gpu-tools-1.13 51e965f from http://cgit.freedesktop.org/xorg/app/intel-gpu-tools/


./kms_pipe_crc_basic --run-subtest nonblocking-crc-pipe-C-frame-sequence
IGT-Version: 1.13-NOT-GIT (x86_64) (Linux: 4.4.0-nightly+ x86_64)
nonblocking-crc-pipe-C-frame-sequence: Testing connector DP-1 using pipe C
(kms_pipe_crc_basic:1409) CRITICAL: Test assertion failure function test_read_crc_for_output, file kms_pipe_crc_basic.c:172:
(kms_pipe_crc_basic:1409) CRITICAL: Failed assertion: n_crcs <= 3 + 1
(kms_pipe_crc_basic:1409) CRITICAL: Last errno: 11, Resource temporarily unavailable
(kms_pipe_crc_basic:1409) CRITICAL: error: 5 > 4
Stack trace:
  #0 [__igt_fail_assert+0xf1]
  #1 [test_read_crc.constprop.1+0x519]
  #2 [__real_main232+0x37d]
  #3 [main+0x29]
  #4 [__libc_start_main+0xf0]
  #5 [_start+0x29]
  #6 [<unknown>+0x29]
Subtest nonblocking-crc-pipe-C-frame-sequence failed.
**** DEBUG ****
(kms_pipe_crc_basic:1409) DEBUG: Test requirement passed: !(pipe >= data->display.n_pipes)
(kms_pipe_crc_basic:1409) INFO: nonblocking-crc-pipe-C-frame-sequence: Testing connector DP-1 using pipe C
(kms_pipe_crc_basic:1409) igt-kms-DEBUG: display: DP-1: set_pipe(C)
(kms_pipe_crc_basic:1409) igt-kms-DEBUG: display: commit {
(kms_pipe_crc_basic:1409) igt-kms-DEBUG: display:     DP-1: Selecting pipe C
(kms_pipe_crc_basic:1409) igt-kms-DEBUG: display: }
(kms_pipe_crc_basic:1409) DEBUG: Clearing the fb with color (0.00,1.00,0.00)
(kms_pipe_crc_basic:1409) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=3840, height=2160, format=0x34325258 [bpp=32], tiling=0x0, size=0)
(kms_pipe_crc_basic:1409) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=1, pitch=15360)
(kms_pipe_crc_basic:1409) igt-kms-DEBUG: display: C.0: plane_set_fb(80)
(kms_pipe_crc_basic:1409) igt-kms-DEBUG: display: commit {
(kms_pipe_crc_basic:1409) igt-kms-DEBUG: display:     DP-1: Selecting pipe C
(kms_pipe_crc_basic:1409) igt-kms-DEBUG: display:     DP-1: SetCrtc pipe C, fb 80, panning (0, 0), mode 3840x2160
(kms_pipe_crc_basic:1409) igt-kms-DEBUG: display: }
(kms_pipe_crc_basic:1409) CRITICAL: Test assertion failure function test_read_crc_for_output, file kms_pipe_crc_basic.c:172:
(kms_pipe_crc_basic:1409) CRITICAL: Failed assertion: n_crcs <= 3 + 1
(kms_pipe_crc_basic:1409) CRITICAL: Last errno: 11, Resource temporarily unavailable
(kms_pipe_crc_basic:1409) CRITICAL: error: 5 > 4
****  END  ****
Subtest nonblocking-crc-pipe-C-frame-sequence: FAIL (0.520s)
Comment 8 cprigent 2016-01-21 15:21:58 UTC
Created attachment 121183 [details]
dmesg_nonblocking-crc-pipe-C-frame-sequence_10-percent-fail
Comment 9 Rami 2016-01-28 17:33:04 UTC
Test pass with last setup:

Setup:
======
Platform: Broxton P A0 Platform
CPU Name : Intel(R) @ 1.2 GHz (family: 6, model: 92, stepping: 8) – 4 cores
SoC : BROXTON-P A0
CRB : Apollo Lake LPDDR3 RVP2B
Reworks : R17, R18, PNP3

Software:
=========
BIOS (IFWI Version): APLK_IFWI_X64_R_2015_44_3_00
KSC : 1.05
Linux distribution: Ubuntu 15.10 64 bits
Kernel: drm-intel-nightly 4.4.0 8fe9e785 from http://cgit.freedesktop.org/drm-intel/
drm: tag libdrm-2.4.66 e342c0f from http://cgit.freedesktop.org/mesa/drm/
mesa: tag mesa-11.0.8 261daab from http://cgit.freedesktop.org/mesa/mesa/
cairo: tag 1.15.2 db8a7f1 from http://cgit.freedesktop.org/cairo
waffle: master bb29b2a from https://github.com/waffle-gl/waffle
xorg-server-macros: master d7acec2 from git://git.freedesktop.org/git/xorg/util/macros
libva: tag libva-1.6.1 cb418f6 from http://cgit.freedesktop.org/libva/
vaapi-intel-driver: tag 1.6.1 2110b3a from http://cgit.freedesktop.org/vaapi/intel-driver

Tools
=====
intel-gpu-tools: (HEAD, origin/master, origin/HEAD) d63e72f0ad281f295b058a572741b995a5a0f64a from git://git.freedesktop.org/git/xorg/app/intel-gpu-tools
Comment 10 cprigent 2016-01-28 20:26:11 UTC
So closed as not reproduced on RVP2B with last version of IGT


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.