Bug 89606

Summary: [BSW] DVI screen is black on some modes when running testdisplay
Product: DRI Reporter: Jeff Zheng <jeff.zheng>
Component: DRM/IntelAssignee: Elio <elio.martinez.monroy>
Status: CLOSED FIXED QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: normal    
Priority: medium CC: christophe.prigent, intel-gfx-bugs
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: BSW/CHT i915 features: display/DP
Attachments:
Description Flags
dmesg log
none
dmesg with patch 50934 none

Description Jeff Zheng 2015-03-17 08:23:46 UTC
Created attachment 114378 [details]
dmesg log

==System Environment==
--------------------------
DVI monitor: ASUS PA238Q
BIOS: V59 
Regression: No. First run with DP->DVI adapter

Non-working platforms: BSW

==kernel==
--------------------------
-testing: drm-intel-testing-2015-03-13 (fails)

==Bug detailed description==
-----------------------------
I connected to DVI monitor with DP->DVI cable and run "testdisplay -a", the screen is black with following modes:
CRTC(20):[2]  1280x1024 75 1280 1296 1440 1688 1024 1025 1028 1066 0x5 0x40 135000
CRTC(20):[5]  1440x900 60 1440 1488 1520 1600 900 903 909 926 0x9 0x40 88750
CRTC(20):[9]  1024x768 75 1024 1040 1136 1312 768 769 772 800 0x5 0x40 78800
CRTC(20):[10]  1024x768 70 1024 1048 1184 1328 768 771 777 806 0xa 0x40 75000


FYI: I connected the DP-DVI cable to DP port in DUT and DVI port in monitor. "testdisplay -i" shows that there is a "HDMI" connection:
34      33      connected       HDMI-A  510x290         22


==Reproduce steps==
---------------------------- 
1. Connect DVI monitors with DP->DVI adapter and boot
2. testdisplay -a
Comment 1 Jeff Zheng 2015-04-13 07:19:16 UTC
exists on drm-intel-testing-2015-04-10
Comment 2 Jeff Zheng 2015-04-29 06:28:37 UTC
Exists on drm-intel-testing-2015-04-23.

It only appears on PA238Q. ASUS VS239HR works fine.
Comment 3 Jeff Zheng 2015-05-25 08:41:15 UTC
exists on drm-intel-testing-2015-05-22  with PA238Q
Comment 4 Ander Conselvan de Oliveira 2015-06-02 12:22:22 UTC
Does this patch help?

http://patchwork.freedesktop.org/patch/50934/
Comment 5 Jeff Zheng 2015-06-04 07:01:26 UTC
Created attachment 116278 [details]
dmesg with patch 50934

Apply the patch to drm-intel-testing-2015-05-22. The issue still exists. Attached is the dmesg log.
Comment 6 Dhinakaran Pandiyan 2016-06-22 22:19:19 UTC
Bug still exists on 

drm-intel-nightly @commit 9201a72678f7320974c28b9f704b802b2c1a43c1
Author: Jani Nikula <jani.nikula@intel.com>
Date:   Wed Jun 22 00:27:00 2016 +0300

    drm-intel-nightly: 2016y-06m-21d-21h-26m-35s UTC integration manifest


The display connected via DVI to the DP->DVI adapter does not light up for any resolution.
Comment 7 Jani Nikula 2016-06-23 08:51:02 UTC
(In reply to Dhinakaran Pandiyan from comment #6)
> Bug still exists on 
> 
> drm-intel-nightly @commit 9201a72678f7320974c28b9f704b802b2c1a43c1
> Author: Jani Nikula <jani.nikula@intel.com>
> Date:   Wed Jun 22 00:27:00 2016 +0300
> 
>     drm-intel-nightly: 2016y-06m-21d-21h-26m-35s UTC integration manifest
> 
> 
> The display connected via DVI to the DP->DVI adapter does not light up for
> any resolution.

Please attach the dmesg. The last ones are more than a year old...
Comment 8 Ricardo 2017-02-21 16:42:26 UTC
I will ask Elio to try to reproduce this bug and update with logs or close the bug
Comment 9 Elio 2017-03-31 17:20:08 UTC
The problem is not present following hardware configuration with latest available kernel and GFX stack:

Component         : drm
	url       : http://cgit.freedesktop.org/mesa/drm
	tag       : libdrm-2.4.75
	commit    : d4b8344363b4e0f0e831e5722b6df5cc0bb08df8
	author    : Chad Versace <chadversary@chromium.org>
	age       : 6 weeks ago
	comment   : Bump version for 2.4.75 release

For Intel explicit fencing.

Signed-off-by: Chad Versace <chadversary@chromium.org> 

Component         : mesa
	url       : http://cgit.freedesktop.org/mesa/mesa
	tag       : mesa-17.0.1
	commit    : 8fee1d348cc3d91a88319c0d72689acabaa2bf47
	author    : Emil Velikov <emil.velikov@collabora.com>
	age       : 9 days ago
	comment   : docs: add release notes for 17.0.1

Signed-off-by: Emil Velikov <emil.velikov@collabora.com> 

Component         : xf86-video-intel
	url       : http://cgit.freedesktop.org/xorg/driver/xf86-video-intel
	tag       : 2.99.917-767-g7e9e92c
	commit    : 7e9e92c86b0fc4c848d164fe571798add5e1e36e
	author    : Chris Wilson <chris@chris-wilson.co.uk>
	age       : 4 hours ago
	comment   : sna: No hw scaling for Baytrail sprites

Ville regrets to inform me that we don't have hardware scaling on
Valleyview either and so we need to employ the GPU as a scaler instead.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Ville Syrjala <ville.syrjala@linux.intel.com> 

Component         : libva
	url       : http://cgit.freedesktop.org/libva
	tag       : 1.8.0.pre1
	commit    : 156c3d8ce747f00e6b886af247f69552650a36d9
	author    : Xiang Haihao <haihao.xiang@intel.com>
	age       : 8 days ago
	comment   : Update NEWS for 1.8.0.pre1

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com> 

Component         : intel-driver
	url       : http://cgit.freedesktop.org/vaapi/intel-driver
	tag       : 1.8.0.pre1
	commit    : d24d79f0999e3a161c52ac98eb96d8511cfb0716
	author    : Xiang Haihao <haihao.xiang@intel.com>
	age       : 7 days ago
	comment   : Update NEWS for 1.8.0.pre1

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com> 

Component         : cairo
	url       : http://cgit.freedesktop.org/cairo
	tag       : 1.15.4
	commit    : 9fe6683cb105354e86ea649ba7a13052c7edc757
	author    : Bryce Harrington <bryce@osg.samsung.com>
	age       : 3 months ago
	comment   : 1.15.4 release 

Component         : xserver
	url       : http://cgit.freedesktop.org/xorg/xserver
	tag       : xorg-server-1.19.2
	commit    : f23e65f96365706c69fa781b2c6cbf3203619c9f
	author    : Adam Jackson <ajax@redhat.com>
	age       : 11 days ago
	comment   : xserver 1.19.2, no, really

Signed-off-by: Adam Jackson <ajax@redhat.com> 

Component         : macros
	url       : https://cgit.freedesktop.org/xorg/util/macros
	tag       : util-macros-1.19.1-2-g39f07f7
	commit    : 39f07f7db58ebbf3dcb64a2bf9098ed5cf3d1223
	author    : Emil Velikov <emil.veliko@collabora.com>
	age       : 4 weeks ago
	comment   : Rework INSTALL_CMD to touch/echo >&2 only as needed

Analogous to previous commit.

With this commit we no longer get the following erroneous messages
during `make distcheck'.

"
failed to copy INSTALL from util-macros: installing possibly empty INSTALL.
...
failed to copy INSTALL from util-macros: installing possibly empty INSTALL.
"

Cc: Gaetan Nadon <memsize@videotron.ca>
Cc: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 

Component         : intel-gpu-tools
	url       : https://cgit.freedesktop.org/xorg/app/intel-gpu-tools
	tag       : intel-gpu-tools-1.18
	commit    : bb97a0542adf2ae2adab946b2e3fee396d54063a
	author    : Petri Latvala <petri.latvala@intel.com>
	age       : 6 hours ago
	comment   : Update NEWS, bump version to 1.18.

Signed-off-by: Petri Latvala <petri.latvala@intel.com> 

Component         : rendercheck
	url       : https://cgit.freedesktop.org/xorg/app/rendercheck
	tag       : rendercheck-1.5
	commit    : 604e3bbe
	author    : Dave Airlie <airlied@redhat.com>
	age       : 1 year, 9 months ago
	comment   : rendercheck 1.5

Signed-off-by: Dave Airlie <airlied@redhat.com> 

Component         : piglit
	url       : https://cgit.freedesktop.org/piglit
	tag       : piglit-v1
	commit    : 7a6474d3a2fd58ada4bd003e309b4bf018d28ea0
	author    : Constantine Charlamov <Hi-Angel@yandex.ru>
	age       : 10 days ago
	comment   : README: correct flags for 32-on-64 build



commit 6aefe8d3baa2d94246dd20ba33c77758b6de9ccc
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Mon Mar 20 08:22:25 2017 +0100

    drm-tip: 2017y-03m-20d-07h-21m-17s UTC integration manifest


Kernel version : 4.11.0-rc2-6aefe8d
Architecture : source amd64 all

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.