Bug 101394 - [DP] [BDW][BXT] Error testing DP_KMS_FLIP using MST dongle
Summary: [DP] [BDW][BXT] Error testing DP_KMS_FLIP using MST dongle
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: XOrg git
Hardware: x86-64 (AMD64) Linux (All)
: highest blocker
Assignee: Manasi
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard: ReadyForDev
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-12 19:52 UTC by Ricardo Madrigal
Modified: 2017-07-14 22:03 UTC (History)
2 users (show)

See Also:
i915 platform: BDW, BXT
i915 features: display/DP


Attachments
dmesg (2.08 MB, text/plain)
2017-06-12 19:52 UTC, Ricardo Madrigal
no flags Details
Kernel log (192.12 KB, text/plain)
2017-06-16 17:28 UTC, Armando Antonio
no flags Details

Description Ricardo Madrigal 2017-06-12 19:52:12 UTC
Created attachment 131898 [details]
dmesg

-------------------------------------------------
==Bug detailed description==
--------------------------------------------------
When script start for testing, send a blank screen and after the test, return information with 1 susscess test and 3 fail and the platform stops to work
This happend with configuration (mini DP to DP) + (DP to DP) with monitor 4K and a MST dongle "sunix"

-------------------------------------------------
==Steps to reproduce==
--------------------------------------------------
1. Connect platform to DP using required dongle
2. Turn device ON
3. Enter in text mode and login with your credentials
4. Get kms_flip basic test cases ..//kms_flip --list-subtests | grep -i basic > <path location>
5. Execute igt test sudo -E ./run-tests.sh `cat <path location>` 
		or run one bye one
	$sudo -E ./run-tests.sh -t kms_flip@basic-plain-flip
	$sudo -E ./run-tests.sh-t kms_flip@basic-flip-vs-dpms
	$sudo -E ./run-tests.sh-t kms_flip@basic-flip-vs-modeset
	$sudo -E ./run-tests.sh-t kms_flip@basic-flip-vs-wf_vblank


--------------------------------------------------
==Actual results==
--------------------------------------------------
Platform only send a blank screen and after the test, platform does not work.

-------------------------------------------------
==Expected results==
--------------------------------------------------
Verify that all the test executed with this test family are in pass state 

--------------------------------------------------
======================================
             Hardware
======================================
platform                   : BDW
motherboard id             : NUC5i7RYB
form factor                : Desktop
cpu family                 : Core i7
cpu family id              : 6
cpu information            : Intel(R) Core(TM) i7-5557U CPU @ 3.10GHz
gpu card                   : Intel Corporation Iris Graphics 6100 (rev 09) (prog-if 00 [VGA controller])
memory ram                 : 15.58 GB
max memory ram             : 16 GB
display resolution         : 1600x900
cpu thread                 : 4
cpu core                   : 2
cpu model                  : 61
cpu stepping               : 4
socket                     : Socket BGA1168
signature                  : Type 0, Family 6, Model 61, Stepping 4
hard drive                 : 111GiB (120GB)
current cd clock frequency : 337500 kHz
maximum cd clock frequency : 540000 kHz
displays connected         : DP-2

======================================
             Software
======================================
kernel version              : 4.12.0-rc3-drm-tip-ww22-commit-187376e+
architecture                : x86_64
os version                  : Ubuntu 17.04
os codename                 : zesty
kernel driver               : i915
bios revision               : 5.6
bios release date           : 05/11/2017


======================================
              Kernel 
======================================
commit:  187376e


--------------------------------------------------

Attaching dmesg
Comment 1 Elizabeth 2017-06-13 19:51:34 UTC
Adding tag into "Whiteboard" field - ReadyForDev
*Status is correct
*Platform is included
*Feature is included
*Priority and Severity correctly set
*Logs included
Comment 2 Armando Antonio 2017-06-16 17:24:34 UTC
This issue is happening in APL too:

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

======================================
	     Software
======================================
kernel version              : 4.12.0-rc3-drm-tip-ww22-commit-187376e+
architecture                : x86_64
os version                  : Ubuntu 17.04
os codename                 : zesty
kernel driver               : i915
bios revision               : 161.11
bios release date           : 10/24/2016
ksc                         : 1.22

======================================
	Graphic drivers
======================================
mesa                        : 17.2.0-devel (git-18efb404cf
modesetting                 : modesetting_drv.so
xorg-xserver                : 1.19.3
libdrm                      : 2.4.81
vaapi (intel-driver)        : Intel i965 driver for Intel(R) Broxton - 1.7.3
cairo                       : 1.14.8
xserver                     : X.Org X Server 1.19.99.1
intel-gpu-tools (tag)       : intel-gpu-tools-1.18-211-g00ce341b
intel-gpu-tools (commit)    : 00ce341b

======================================
	     Hardware
======================================
motherboard model          : BroxtonP
motherboard id             : ApollolakeRVP1A
form factor                : Hand Held
manufacturer               : IntelCorp.
cpu family                 : Other
cpu family id              : 6
cpu information            : 06/5c
gpu card                   : Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series Integrated Graphics Controller (rev 0a) (prog-if 00 [VGA controller])
memory ram                 : 7.61 GB
max memory ram             : 16 GB
display resolution         : 3840x1080
cpu thread                 : 4
cpu core                   : 4
cpu model                  : 92
cpu stepping               : 9
socket                     : Other
hard drive                 : 111GiB (120GB)
current cd clock frequency : 288000 kHz
maximum cd clock frequency : 624000 kHz
displays connected         : DP-1 DP-2
Comment 3 Armando Antonio 2017-06-16 17:28:21 UTC
Created attachment 132006 [details]
Kernel log
Comment 4 Ricardo Madrigal 2017-06-23 20:24:53 UTC
This issue happens in HSW too.

This is my configuration:
======================================
             Software
======================================
kernel version              : 4.12.0-rc3-drm-tip-ww22-commit-187376e+
architecture                : x86_64
os version                  : Ubuntu 17.04
os codename                 : zesty
kernel driver               : i915
bios revision               : 4.6
bios release date           : 03/02/2017
hardware acceleration       : disabled
swap partition              : enabled on (/dev/sda2)

======================================
        Graphic drivers
======================================
mesa                        : 17.0.3
modesetting                 : enabled
modesetting compiled for    : 1.19.3 X.Org Video Driver
xorg-xserver                : 1.19.3
libdrm                    : 2.4.76
libva                       : 1.7.3-2
vaapi (intel-driver)        : 1.7.3
cairo                       : 1.14.8-1
intel-gpu-tools             : 1.17-1

======================================
             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                 : 3.79 GB
max memory ram             : 16 GB
display resolution         : 1600x900
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-2 DP-3 DP-6
Comment 5 Manasi 2017-07-13 21:21:14 UTC
Is this seen only with this specific dongle? Or I can use any MST dongle to reproduce this?

Manasi
Comment 6 Ricardo Madrigal 2017-07-14 14:02:51 UTC
I can reproduce this behavior with any MTS dongles. 

Actually I used several MST dongles and several monitors to reproduce this behavior and the result always is the same.
Comment 7 Manasi 2017-07-14 18:10:16 UTC
When you boot the system for the first time, do you see any display on the monitor if so, could you attach the dmesg for that? Just on boot

Manasi
Comment 8 Ricardo Madrigal 2017-07-14 22:02:25 UTC
I changed to  kernel version   4.12.0 + and i ran the test successfully 

This is the log
====================================================================
gfx@gfx-desktop:~/intel-graphics/intel-gpu-tools/scripts$ sudo -E ./run-tests.sh -t kms_flip@basic-plain-flip
[1/1] pass: 1
Thank you for running Piglit!
Results have been written to /home/gfx/intel-graphics/intel-gpu-tools/results
gfx@gfx-desktop:~/intel-graphics/intel-gpu-tools/scripts$ sudo -E ./run-tests.sh -t kms_flip@basic-flip-vs-dpms
[1/1] pass: 1
Thank you for running Piglit!
Results have been written to /home/gfx/intel-graphics/intel-gpu-tools/results
gfx@gfx-desktop:~/intel-graphics/intel-gpu-tools/scripts$ sudo -E ./run-tests.sh -t kms_flip@basic-flip-vs-modeset
/home/gfx/intel-graphics/intel-gpu-tools/piglit/framework/dmesg.py:194: RuntimeWarning: Cannot check dmesg for timestamp support. If you do not have timestamps enabled in your kernel you get incomplete dmesg captures
  "get incomplete dmesg captures", RuntimeWarning)
[1/1] pass: 1
Thank you for running Piglit!
Results have been written to /home/gfx/intel-graphics/intel-gpu-tools/results
gfx@gfx-desktop:~/intel-graphics/intel-gpu-tools/scripts$ sudo -E ./run-tests.sh -t kms_flip@basic-flip-vs-wf_vblank
/home/gfx/intel-graphics/intel-gpu-tools/piglit/framework/dmesg.py:194: RuntimeWarning: Cannot check dmesg for timestamp support. If you do not have timestamps enabled in your kernel you get incomplete dmesg captures
  "get incomplete dmesg captures", RuntimeWarning)
[1/1] pass: 1
Thank you for running Piglit!
Results have been written to /home/gfx/intel-graphics/intel-gpu-tools/results


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.