Bug 101906 - [IVB][IGT] kms_pipe_b_c_ivb 2 subtest failing...
Summary: [IVB][IGT] kms_pipe_b_c_ivb 2 subtest failing...
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: XOrg git
Hardware: x86-64 (AMD64) Linux (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-07-24 20:44 UTC by Hector Velazquez
Modified: 2018-04-09 10:26 UTC (History)
1 user (show)

See Also:
i915 platform: IVB
i915 features: display/LVDS


Attachments
Dmesg.log (132.60 KB, text/plain)
2017-07-24 20:44 UTC, Hector Velazquez
no flags Details
Tests Log (9.90 KB, text/plain)
2017-07-24 20:44 UTC, Hector Velazquez
no flags Details

Description Hector Velazquez 2017-07-24 20:44:12 UTC
Created attachment 132932 [details]
Dmesg.log

The following test fail on IVB with latest configuration

Tests List:

igt@kms_pipe_b_c_ivb@enable-pipe-C-while-B-has-3-lanes
kms_pipe_b_c_ivb@pipe-B-dpms-off-modeset-pipe-C


This is my configuration:

====================================================
Graphic Stack
====================================================
Component: drm
    tag: libdrm-2.4.81-33-g3876bc2
    commit: 3876bc246a07070a6043159cd7623d4def9bbd4c

Component: cairo
    tag: 1.15.6-2-g57b4050
    commit: 57b40507dda3f58dfc8635548d606b86dc7bcf51

Component: intel-gpu-tools
    tag: intel-gpu-tools-1.19-112-g493151b
    commit: 493151b0768aa4ca535cef49cb7efa174a9c3a77

Component: piglit
    tag: piglit-v1
    commit: 973892687cf5c2f8e2dbe1d22998b82736643787


======================================
             Hardware
======================================
platform                   : Ivy Bridge
motherboard model          : HPEliteBookRevolve810G1
motherboard id             : 18F8
form factor                : Notebook
manufacturer               : Hewlett-Packard
cpu family                 : Core i5
cpu family id              : 6
cpu information            : Intel(R) Core(TM) i5-3437U CPU @ 1.90GHz
gpu card                   : Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09) (prog-if 00 [VGA controller])
memory ram                 : 3.7 GB
max memory ram             : 16 GB
cpu thread                 : 4
cpu core                   : 2
cpu model                  : 58
cpu stepping               : 9
socket                     : Other
signature                  : Type 0, Family 6, Model 58, Stepping 9
hard drive                 : 119GiB (128GB)
current cd clock frequency : 400000 kHz
maximum cd clock frequency : 400000 kHz
displays connected         : LVDS-1 DP-3
Comment 1 Hector Velazquez 2017-07-24 20:44:32 UTC
Created attachment 132933 [details]
Tests Log
Comment 2 Elizabeth 2017-08-04 15:08:15 UTC
Adding tag into "Whiteboard" field - ReadyForDev
*Status is correct
*Platform is included
*Feature is included
*Priority and Severity correctly set
*Logs included
Comment 3 Elizabeth 2017-10-11 20:11:55 UTC
These tests keep failing:

$ : sudo -E ./kms_pipe_b_c_ivb --r enable-pipe-C-while-B-has-3-lanes
IGT-Version: 1.20-g136100c (x86_64) (Linux: 4.14.0-rc4-drm-intel-qa-ww41-commit-36e0e80+ x86_64)
Pipe B will use connector LVDS-1
Pipe C will use connector DP-3
(kms_pipe_b_c_ivb:2679) CRITICAL: Test assertion failure function test_fail_enable_pipe_C_while_B_has_3_lanes, file kms_pipe_b_c_ivb.c:250:
(kms_pipe_b_c_ivb:2679) CRITICAL: Failed assertion: ret != 0
(kms_pipe_b_c_ivb:2679) CRITICAL: error: 0 == 0
Stack trace:
  #0 [__igt_fail_assert+0x101]
  #1 [__real_main254+0x739]
  #2 [<unknown>+0x739]
Subtest enable-pipe-C-while-B-has-3-lanes failed.
**** DEBUG ****
(kms_pipe_b_c_ivb:2679) igt-kms-DEBUG: display: LVDS-1: set_pipe(None)
(kms_pipe_b_c_ivb:2679) igt-kms-DEBUG: Broadcast RGB property not found on 57
(kms_pipe_b_c_ivb:2679) igt-kms-DEBUG: display: LVDS-1: Selecting pipe None
(kms_pipe_b_c_ivb:2679) igt-kms-DEBUG: display: DP-3: set_pipe(None)
(kms_pipe_b_c_ivb:2679) igt-kms-DEBUG: Setting Broadcast RGB mode on connector 80 to 1
(kms_pipe_b_c_ivb:2679) igt-kms-DEBUG: display: DP-3: Selecting pipe None
(kms_pipe_b_c_ivb:2679) igt-kms-DEBUG: display: LVDS-1: set_pipe(None)
(kms_pipe_b_c_ivb:2679) igt-kms-DEBUG: Broadcast RGB property not found on 57
(kms_pipe_b_c_ivb:2679) igt-kms-DEBUG: display: LVDS-1: Selecting pipe None
(kms_pipe_b_c_ivb:2679) igt-kms-DEBUG: display: DP-3: set_pipe(None)
(kms_pipe_b_c_ivb:2679) igt-kms-DEBUG: Setting Broadcast RGB mode on connector 80 to 1
(kms_pipe_b_c_ivb:2679) igt-kms-DEBUG: display: DP-3: Selecting pipe None
(kms_pipe_b_c_ivb:2679) igt-kms-DEBUG: display: LVDS-1: set_pipe(None)
(kms_pipe_b_c_ivb:2679) igt-kms-DEBUG: Broadcast RGB property not found on 57
(kms_pipe_b_c_ivb:2679) igt-kms-DEBUG: display: LVDS-1: Selecting pipe None
(kms_pipe_b_c_ivb:2679) igt-kms-DEBUG: display: DP-3: set_pipe(None)
(kms_pipe_b_c_ivb:2679) igt-kms-DEBUG: Setting Broadcast RGB mode on connector 80 to 1
(kms_pipe_b_c_ivb:2679) igt-kms-DEBUG: display: DP-3: Selecting pipe None
(kms_pipe_b_c_ivb:2679) DEBUG: Test requirement passed: !(!*output1 || !*output2)
(kms_pipe_b_c_ivb:2679) INFO: Pipe B will use connector LVDS-1
(kms_pipe_b_c_ivb:2679) INFO: Pipe C will use connector DP-3
(kms_pipe_b_c_ivb:2679) igt-kms-DEBUG: display: LVDS-1: set_pipe(B)
(kms_pipe_b_c_ivb:2679) igt-kms-DEBUG: Broadcast RGB property not found on 57
(kms_pipe_b_c_ivb:2679) igt-kms-DEBUG: display: LVDS-1: Selecting pipe B
(kms_pipe_b_c_ivb:2679) igt-kms-DEBUG: Test requirement passed: plane_idx >= 0 && plane_idx < pipe->n_planes
(kms_pipe_b_c_ivb:2679) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1920, height=1080, format=0x34325258, tiling=0x0, size=0)
(kms_pipe_b_c_ivb:2679) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=1, pitch=7680)
(kms_pipe_b_c_ivb:2679) igt-kms-DEBUG: display: B.0: plane_set_fb(98)
(kms_pipe_b_c_ivb:2679) igt-kms-DEBUG: display: commit {
(kms_pipe_b_c_ivb:2679) igt-kms-DEBUG: display:     SetCrtc pipe A, disabling
(kms_pipe_b_c_ivb:2679) igt-kms-DEBUG: display:     SetPlane pipe A, plane 1, disabling
(kms_pipe_b_c_ivb:2679) igt-kms-DEBUG: display:     SetCursor pipe A, disabling
(kms_pipe_b_c_ivb:2679) igt-kms-DEBUG: display:     LVDS-1: SetCrtc pipe B, fb 98, src (0, 0), mode 1920x1080
(kms_pipe_b_c_ivb:2679) igt-kms-DEBUG: display:     SetPlane pipe B, plane 1, disabling
(kms_pipe_b_c_ivb:2679) igt-kms-DEBUG: display:     SetCursor pipe B, disabling
(kms_pipe_b_c_ivb:2679) igt-kms-DEBUG: display:     SetCrtc pipe C, disabling
(kms_pipe_b_c_ivb:2679) igt-kms-DEBUG: display:     SetPlane pipe C, plane 1, disabling
(kms_pipe_b_c_ivb:2679) igt-kms-DEBUG: display:     SetCursor pipe C, disabling
(kms_pipe_b_c_ivb:2679) igt-kms-DEBUG: display: }
(kms_pipe_b_c_ivb:2679) igt-kms-DEBUG: display: DP-3: set_pipe(C)
(kms_pipe_b_c_ivb:2679) igt-kms-DEBUG: Setting Broadcast RGB mode on connector 80 to 1
(kms_pipe_b_c_ivb:2679) igt-kms-DEBUG: display: DP-3: Selecting pipe C
(kms_pipe_b_c_ivb:2679) igt-kms-DEBUG: Test requirement passed: plane_idx >= 0 && plane_idx < pipe->n_planes
(kms_pipe_b_c_ivb:2679) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1920, height=1080, format=0x34325258, tiling=0x0, size=0)
(kms_pipe_b_c_ivb:2679) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=2, pitch=7680)
(kms_pipe_b_c_ivb:2679) igt-kms-DEBUG: display: C.0: plane_set_fb(85)
(kms_pipe_b_c_ivb:2679) igt-kms-DEBUG: display: commit {
(kms_pipe_b_c_ivb:2679) igt-kms-DEBUG: display:     DP-3: SetCrtc pipe C, fb 85, src (0, 0), mode 1920x1080
(kms_pipe_b_c_ivb:2679) igt-kms-DEBUG: display: }
(kms_pipe_b_c_ivb:2679) CRITICAL: Test assertion failure function test_fail_enable_pipe_C_while_B_has_3_lanes, file kms_pipe_b_c_ivb.c:250:
(kms_pipe_b_c_ivb:2679) CRITICAL: Failed assertion: ret != 0
(kms_pipe_b_c_ivb:2679) CRITICAL: error: 0 == 0
(kms_pipe_b_c_ivb:2679) igt-core-INFO: Stack trace:
(kms_pipe_b_c_ivb:2679) igt-core-INFO:   #0 [__igt_fail_assert+0x101]
(kms_pipe_b_c_ivb:2679) igt-core-INFO:   #1 [__real_main254+0x739]
(kms_pipe_b_c_ivb:2679) igt-core-INFO:   #2 [<unknown>+0x739]
****  END  ****
Subtest enable-pipe-C-while-B-has-3-lanes: FAIL (0.834s)


$ : sudo -E ./intel-graphics/intel-gpu-tools/tests/kms_pipe_b_c_ivb --r pipe-B-dpms-off-modeset-pipe-C
IGT-Version: 1.20-g136100c (x86_64) (Linux: 4.14.0-rc4-drm-intel-qa-ww41-commit-36e0e80+ x86_64)
Pipe B will use connector LVDS-1
Pipe C will use connector DP-3
(kms_pipe_b_c_ivb:2682) CRITICAL: Test assertion failure function test_dpms, file kms_pipe_b_c_ivb.c:158:
(kms_pipe_b_c_ivb:2682) CRITICAL: Failed assertion: ret != 0
(kms_pipe_b_c_ivb:2682) CRITICAL: error: 0 == 0
Stack trace:
  #0 [__igt_fail_assert+0x101]
  #1 [__real_main254+0x8b5]
  #2 [<unknown>+0x8b5]
Subtest pipe-B-dpms-off-modeset-pipe-C failed.
**** DEBUG ****
(kms_pipe_b_c_ivb:2682) igt-kms-DEBUG: display: LVDS-1: set_pipe(None)
(kms_pipe_b_c_ivb:2682) igt-kms-DEBUG: Broadcast RGB property not found on 57
(kms_pipe_b_c_ivb:2682) igt-kms-DEBUG: display: LVDS-1: Selecting pipe None
(kms_pipe_b_c_ivb:2682) igt-kms-DEBUG: display: DP-3: set_pipe(None)
(kms_pipe_b_c_ivb:2682) igt-kms-DEBUG: Setting Broadcast RGB mode on connector 80 to 1
(kms_pipe_b_c_ivb:2682) igt-kms-DEBUG: display: DP-3: Selecting pipe None
(kms_pipe_b_c_ivb:2682) igt-kms-DEBUG: display: LVDS-1: set_pipe(None)
(kms_pipe_b_c_ivb:2682) igt-kms-DEBUG: Broadcast RGB property not found on 57
(kms_pipe_b_c_ivb:2682) igt-kms-DEBUG: display: LVDS-1: Selecting pipe None
(kms_pipe_b_c_ivb:2682) igt-kms-DEBUG: display: DP-3: set_pipe(None)
(kms_pipe_b_c_ivb:2682) igt-kms-DEBUG: Setting Broadcast RGB mode on connector 80 to 1
(kms_pipe_b_c_ivb:2682) igt-kms-DEBUG: display: DP-3: Selecting pipe None
(kms_pipe_b_c_ivb:2682) igt-kms-DEBUG: display: LVDS-1: set_pipe(None)
(kms_pipe_b_c_ivb:2682) igt-kms-DEBUG: Broadcast RGB property not found on 57
(kms_pipe_b_c_ivb:2682) igt-kms-DEBUG: display: LVDS-1: Selecting pipe None
(kms_pipe_b_c_ivb:2682) igt-kms-DEBUG: display: DP-3: set_pipe(None)
(kms_pipe_b_c_ivb:2682) igt-kms-DEBUG: Setting Broadcast RGB mode on connector 80 to 1
(kms_pipe_b_c_ivb:2682) igt-kms-DEBUG: display: DP-3: Selecting pipe None
(kms_pipe_b_c_ivb:2682) DEBUG: Test requirement passed: !(!*output1 || !*output2)
(kms_pipe_b_c_ivb:2682) INFO: Pipe B will use connector LVDS-1
(kms_pipe_b_c_ivb:2682) INFO: Pipe C will use connector DP-3
(kms_pipe_b_c_ivb:2682) igt-kms-DEBUG: display: LVDS-1: set_pipe(B)
(kms_pipe_b_c_ivb:2682) igt-kms-DEBUG: Broadcast RGB property not found on 57
(kms_pipe_b_c_ivb:2682) igt-kms-DEBUG: display: LVDS-1: Selecting pipe B
(kms_pipe_b_c_ivb:2682) igt-kms-DEBUG: Test requirement passed: plane_idx >= 0 && plane_idx < pipe->n_planes
(kms_pipe_b_c_ivb:2682) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1920, height=1080, format=0x34325258, tiling=0x0, size=0)
(kms_pipe_b_c_ivb:2682) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=1, pitch=7680)
(kms_pipe_b_c_ivb:2682) igt-kms-DEBUG: display: B.0: plane_set_fb(87)
(kms_pipe_b_c_ivb:2682) igt-kms-DEBUG: display: commit {
(kms_pipe_b_c_ivb:2682) igt-kms-DEBUG: display:     SetCrtc pipe A, disabling
(kms_pipe_b_c_ivb:2682) igt-kms-DEBUG: display:     SetPlane pipe A, plane 1, disabling
(kms_pipe_b_c_ivb:2682) igt-kms-DEBUG: display:     SetCursor pipe A, disabling
(kms_pipe_b_c_ivb:2682) igt-kms-DEBUG: display:     LVDS-1: SetCrtc pipe B, fb 87, src (0, 0), mode 1920x1080
(kms_pipe_b_c_ivb:2682) igt-kms-DEBUG: display:     SetPlane pipe B, plane 1, disabling
(kms_pipe_b_c_ivb:2682) igt-kms-DEBUG: display:     SetCursor pipe B, disabling
(kms_pipe_b_c_ivb:2682) igt-kms-DEBUG: display:     SetCrtc pipe C, disabling
(kms_pipe_b_c_ivb:2682) igt-kms-DEBUG: display:     SetPlane pipe C, plane 1, disabling
(kms_pipe_b_c_ivb:2682) igt-kms-DEBUG: display:     SetCursor pipe C, disabling
(kms_pipe_b_c_ivb:2682) igt-kms-DEBUG: display: }
(kms_pipe_b_c_ivb:2682) igt-kms-DEBUG: display: DP-3: set_pipe(C)
(kms_pipe_b_c_ivb:2682) igt-kms-DEBUG: Setting Broadcast RGB mode on connector 80 to 1
(kms_pipe_b_c_ivb:2682) igt-kms-DEBUG: display: DP-3: Selecting pipe C
(kms_pipe_b_c_ivb:2682) igt-kms-DEBUG: Test requirement passed: plane_idx >= 0 && plane_idx < pipe->n_planes
(kms_pipe_b_c_ivb:2682) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1920, height=1080, format=0x34325258, tiling=0x0, size=0)
(kms_pipe_b_c_ivb:2682) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=2, pitch=7680)
(kms_pipe_b_c_ivb:2682) igt-kms-DEBUG: display: C.0: plane_set_fb(85)
(kms_pipe_b_c_ivb:2682) igt-kms-DEBUG: display: commit {
(kms_pipe_b_c_ivb:2682) igt-kms-DEBUG: display:     DP-3: SetCrtc pipe C, fb 85, src (0, 0), mode 1920x1080
(kms_pipe_b_c_ivb:2682) igt-kms-DEBUG: display: }
(kms_pipe_b_c_ivb:2682) CRITICAL: Test assertion failure function test_dpms, file kms_pipe_b_c_ivb.c:158:
(kms_pipe_b_c_ivb:2682) CRITICAL: Failed assertion: ret != 0
(kms_pipe_b_c_ivb:2682) CRITICAL: error: 0 == 0
(kms_pipe_b_c_ivb:2682) igt-core-INFO: Stack trace:
(kms_pipe_b_c_ivb:2682) igt-core-INFO:   #0 [__igt_fail_assert+0x101]
(kms_pipe_b_c_ivb:2682) igt-core-INFO:   #1 [__real_main254+0x8b5]
(kms_pipe_b_c_ivb:2682) igt-core-INFO:   #2 [<unknown>+0x8b5]
****  END  ****
Subtest pipe-B-dpms-off-modeset-pipe-C: FAIL (0.902s)
Comment 4 Hector Velazquez 2017-12-22 15:51:27 UTC
This tests continue failing on IVB QA

igt@kms_pipe_b_c_ivb@enable-pipe-C-while-B-has-3-lanes
igt@kms_pipe_b_c_ivb@pipe-B-dpms-off-modeset-pipe-C

IGT-Version: 1.20-gbeb26d8 (x86_64) (Linux: 4.15.0-rc4-drm-tip-ww51-commit-34783c4+ x86_64)

(kms_pipe_b_c_ivb:19841) CRITICAL: Test assertion failure function test_fail_enable_pipe_C_while_B_has_3_lanes, file kms_pipe_b_c_ivb.c:250:
(kms_pipe_b_c_ivb:19841) CRITICAL: Failed assertion: ret != 0
(kms_pipe_b_c_ivb:19841) CRITICAL: error: 0 == 0
Comment 5 Elizabeth 2018-03-06 16:45:12 UTC
Still an issue:

igt@kms_pipe_b_c_ivb@enable-pipe-C-while-B-has-3-lanes

Stdout	
IGT-Version: 1.21-gbddfb8d (x86_64) (Linux: 4.16.0-rc3-drm-intel-qa-ww9-commit-b2e10fd+ x86_64)
Pipe B will use connector LVDS-1
Pipe C will use connector DP-3
Stack trace:
  #0 [__igt_fail_assert+0x101]
  #1 [__real_main254+0x739]
  #2 [<unknown>+0x739]
Subtest enable-pipe-C-while-B-has-3-lanes: FAIL (0.816s)
Stderr	
(kms_pipe_b_c_ivb:28406) CRITICAL: Test assertion failure function test_fail_enable_pipe_C_while_B_has_3_lanes, file kms_pipe_b_c_ivb.c:250:
(kms_pipe_b_c_ivb:28406) CRITICAL: Failed assertion: ret != 0
(kms_pipe_b_c_ivb:28406) CRITICAL: Last errno: 25, Inappropriate ioctl for device
(kms_pipe_b_c_ivb:28406) CRITICAL: error: 0 == 0
Subtest enable-pipe-C-while-B-has-3-lanes failed.

igt@kms_pipe_b_c_ivb@pipe-B-dpms-off-modeset-pipe-C

Stdout	
IGT-Version: 1.21-gbddfb8d (x86_64) (Linux: 4.16.0-rc3-drm-intel-qa-ww9-commit-b2e10fd+ x86_64)
Pipe B will use connector LVDS-1
Pipe C will use connector DP-3
Stack trace:
  #0 [__igt_fail_assert+0x101]
  #1 [__real_main254+0x8b5]
  #2 [<unknown>+0x8b5]
Subtest pipe-B-dpms-off-modeset-pipe-C: FAIL (0.869s)
Stderr	
(kms_pipe_b_c_ivb:28046) CRITICAL: Test assertion failure function test_dpms, file kms_pipe_b_c_ivb.c:158:
(kms_pipe_b_c_ivb:28046) CRITICAL: Failed assertion: ret != 0
(kms_pipe_b_c_ivb:28046) CRITICAL: Last errno: 25, Inappropriate ioctl for device
(kms_pipe_b_c_ivb:28046) CRITICAL: error: 0 == 0
Subtest pipe-B-dpms-off-modeset-pipe-C failed.
Comment 6 Jani Saarinen 2018-03-29 07:11:32 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 7 Elizabeth 2018-04-06 21:28:25 UTC
This seems to be fixed now:

Results for igt@kms_pipe_b_c_ivb@enable-pipe-C-while-B-has-3-lanes
Result: pass

Out	
IGT-Version: 1.21-ge3a0ed9 (x86_64) (Linux: 4.16.0-rc7-drm-intel-qa-ww14-commit-c46052c+ x86_64)
Pipe B will use connector VGA-1
Pipe C will use connector HDMI-A-1
Subtest enable-pipe-C-while-B-has-3-lanes: SUCCESS (0.125s)

Results for igt@kms_pipe_b_c_ivb@pipe-B-dpms-off-modeset-pipe-C
Result: pass

Out	
IGT-Version: 1.21-ge3a0ed9 (x86_64) (Linux: 4.16.0-rc7-drm-intel-qa-ww14-commit-c46052c+ x86_64)
Pipe B will use connector VGA-1
Pipe C will use connector HDMI-A-1
Subtest pipe-B-dpms-off-modeset-pipe-C: SUCCESS (0.171s)


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.