Bug 96608

Summary: [KBL] igt / kms_sink_crc_basic [regression]
Product: DRI Reporter: Luis Botello <luis.botello.ortega>
Component: DRM/IntelAssignee: Intel GFX Bugs mailing list <intel-gfx-bugs>
Status: CLOSED FIXED QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: blocker    
Priority: highest CC: intel-gfx-bugs
Version: XOrg git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: KBL i915 features: display/Other
Attachments:
Description Flags
dmesg none

Description Luis Botello 2016-06-20 22:56:35 UTC
Created attachment 124630 [details]
dmesg

Bug description
==================
kms_psr_sink_crc --run-subtest psr_basic is failing

Hardware information
=====================
Platform		KBL
Motherboard model	RVP 7
Motherboard manufacturer	Intel Corp.
GPU Card	Intel Corporation Device 5a84 (rev 03) (prog-if 00 [VGA controller])

Software information
======================
Linux distribution : Ubuntu 16.04
Architecture       : 64-bit
 --> Component : drm 
	 url : http://cgit.freedesktop.org/mesa/drm 
	 tag : libdrm-2.4.68 
	 commit : fc09c5a 
 --> Component : mesa 
	 url : http://cgit.freedesktop.org/mesa/mesa 
	 tag : mesa-12.0.0-rc3 
	 commit : 7d41c8a 
 --> Component : xf86-video-intel 
	 url : http://cgit.freedesktop.org/xorg/driver/xf86-video-intel 
	 tag : 2.99.917 
	 commit : baec802 
 --> Component : libva 
	 url : http://cgit.freedesktop.org/libva/ 
	 tag : libva-1.7.1.pre1 
	 commit : 453876f 
 --> Component : vaapi (intel-driver) 
	 url : http://cgit.freedesktop.org/vaapi/intel-driver 
	 tag : 1.7.1.pre1 
	 commit : 0d8d3bd 
 --> Component : cairo 
	 url : http://cgit.freedesktop.org/cairo 
	 tag : 1.15.2 
	 commit : db8a7f1 
 --> Component : xserver 
	 url :  http://cgit.freedesktop.org/xorg/xserver 
	 tag : xorg-server-1.18.3 
	 commit : 9454cd5 
 --> Component : intel-gpu-tools 
	 url : http://cgit.freedesktop.org/xorg/app/intel-gpu-tools 
	 tag : intel-gpu-tools-1.15-29-gc344044 
	 commit : c344044 

kernel
=========
commit f586720edd865745aaca6f612615ef14c77e6091
Kernel version : 4.7.0-rc4
Architecture : source amd64 all

IGT output
================
# ./kms_psr_sink_crc --run-subtest psr_basic
IGT-Version: 1.15-gc344044 (x86_64) (Linux: 4.4.0-24-generic x86_64)
(kms_psr_sink_crc:1329) igt-aux-CRITICAL: Test assertion failure function igt_save_module_param, file igt_aux.c:1137:
(kms_psr_sink_crc:1329) igt-aux-CRITICAL: Failed assertion: fd >= 0
(kms_psr_sink_crc:1329) igt-aux-CRITICAL: Last errno: 2, No such file or directory
Stack trace:
  #0 [__igt_fail_assert+0x101]
  #1 [igt_set_module_param+0x25b]
  #2 [igt_set_module_param_int+0x4a]
  #3 [main+0x37e]
  #4 [__libc_start_main+0xf0]
Comment 1 Luis Botello 2016-06-20 23:54:34 UTC
adding IGT ouptut for latest kernel - nightly (4.7.0-rc4-drm-intel-nightly-ww26-commit-f586720+ x86_64):

IGT-Version: 1.15-gc344044 (x86_64) (Linux: 4.7.0-rc4-drm-intel-nightly-ww26-commit-f586720+ x86_64)
(kms_sink_crc_basic:1240) CRITICAL: Test assertion failure function assert_color, file kms_sink_crc_basic.c:80:
(kms_sink_crc_basic:1240) CRITICAL: Failed assertion: 0 == r
(kms_sink_crc_basic:1240) CRITICAL: error: 0 != 32638
Stack trace:
  #0 [__igt_fail_assert+0x101]
  #1 [assert_color+0x16e]
  #2 [<unknown>+0x16e]
Test kms_sink_crc_basic failed.
**** DEBUG ****
(kms_sink_crc_basic:1240) igt-core-DEBUG: Test requirement passed: !igt_run_in_simulation()
(kms_sink_crc_basic:1240) drmtest-DEBUG: Test requirement passed: fd >= 0
(kms_sink_crc_basic:1240) drmtest-DEBUG: Test requirement passed: fd >= 0
(kms_sink_crc_basic:1240) drmtest-DEBUG: Test requirement passed: drmSetMaster(fd) == 0
(kms_sink_crc_basic:1240) igt-kms-DEBUG: VT: graphics mode set (mode was 0x0)
(kms_sink_crc_basic:1240) igt-kms-DEBUG: display: init {
(kms_sink_crc_basic:1240) igt-kms-DEBUG: display:     eDP-1: Selecting pipe A
(kms_sink_crc_basic:1240) igt-kms-DEBUG: display: }
(kms_sink_crc_basic:1240) igt-kms-DEBUG: display: eDP-1: set_pipe(any)
(kms_sink_crc_basic:1240) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=3200, height=1800, format=0x34325258, tiling=0x100000000000001, size=0)
(kms_sink_crc_basic:1240) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) && has_known_intel_chipset(fd)
(kms_sink_crc_basic:1240) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) && has_known_intel_chipset(fd)
(kms_sink_crc_basic:1240) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=1, pitch=12800)
(kms_sink_crc_basic:1240) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=3200, height=1800, format=0x34325258, tiling=0x100000000000001, size=0)
(kms_sink_crc_basic:1240) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) && has_known_intel_chipset(fd)
(kms_sink_crc_basic:1240) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) && has_known_intel_chipset(fd)
(kms_sink_crc_basic:1240) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=2, pitch=12800)
(kms_sink_crc_basic:1240) igt-kms-DEBUG: display: A.0: plane_set_fb(54)
(kms_sink_crc_basic:1240) igt-kms-DEBUG: display: commit {
(kms_sink_crc_basic:1240) igt-kms-DEBUG: display:     eDP-1: Selecting pipe A
(kms_sink_crc_basic:1240) igt-kms-DEBUG: display:     eDP-1: SetCrtc pipe A, fb 54, panning (0, 0), mode 3200x1800
(kms_sink_crc_basic:1240) igt-kms-DEBUG: display: }
(kms_sink_crc_basic:1240) DEBUG: Test requirement passed: file
(kms_sink_crc_basic:1240) DEBUG: Test requirement passed: ret > 0
(kms_sink_crc_basic:1240) CRITICAL: Test assertion failure function assert_color, file kms_sink_crc_basic.c:80:
(kms_sink_crc_basic:1240) CRITICAL: Failed assertion: 0 == r
(kms_sink_crc_basic:1240) CRITICAL: error: 0 != 32638
****  END  ****
FAIL (0.103s)
Comment 2 yann 2016-07-15 09:22:47 UTC
Updating priority accordingly: basic test failure
Comment 3 yann 2016-07-15 09:23:43 UTC
Luis, since you are indicating regression, can you confirm commit where it was passing? Bisect?
Comment 4 Luis Botello 2016-07-15 23:29:57 UTC
This issue is not seen anymore with the following config:

 (Graphic Stack) IntelĀ® Graphics for Linux* | 01.org

 Software information
============================================
Kernel version                  : 4.7.0-rc7drm-intel-nightly-30eabca
Kernel Commit:                  : 30eabcaa6dcea5ca21f7e6c00da7ab4b1910396c
Linux distribution              : Ubuntu 16.04 LTS
Architecture                    : 64-bit
Mesa version                    : 12.0.1 (git-04277f0
xf86-video-intel version        : 2.99.917
Xorg-Xserver version            : 1.18.3
DRM version                     : 2.4.68
VAAPI version                   : Intel i965 driver for Intel(R) Kabylake - 1.7.1
Cairo version                   : 1.15.2
Intel GPU Tools version         : Tag [intel-gpu-tools-1.15-110-g2038b24] / Commit [2038b24]
Kernel driver in use            : i915
Hardware acceleration           : Enabled
Bios revision                   : 38.7
KSC revision                    : 1.20


 Hardware information
============================================
Platform                        : KBL (RVP7)
Motherboard model               : Kabylake Client platform
Motherboard type                : Skylake U DDR3L RVP7 Laptop
Motherboard manufacturer        : Intel Corporation
GPU Card                        : Intel Corporation Device 5916 (prog-if 00 [VGA controller])
DMC version                     : 1.1

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.