Bug 20758

Summary: [KMS] The hdmi was wrongly detected as DVI and shown as connected though it is disconnected actually
Product: DRI Reporter: zhao jian <jian.j.zhao>
Component: DRM/IntelAssignee: Jesse Barnes <jbarnes>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: medium CC: gordon.jin
Version: XOrg git   
Hardware: Other   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
xorg.0.log none

Description zhao jian 2009-03-19 19:34:51 UTC
Created attachment 24065 [details]
xorg.0.log

System Environment:
----------------------
Platform:               gm45
Arch:           i386
OSD:            Fedora release 10 (Cambridge)
Kernel_version:         2.6.29-rc7-KMS
Libdrm: (master)2e2e8575b1ed4703653a72ac2b60b75316c388d7
Mesa: (mesa_7_4_branch)a8528a2e8653b5237c1d1d66fe98c6e031d007f9
Xserver: (server-1.6-branch)60c161545af80eb78eb790a05bde79409dfdf16e
Xf86_video_intel: (2.7)238c2c40afd9f8b61479b8640d53f20d52fd7ddf
Kernel: (for-airlied)dc529a4fe1ae4667c819437a94185e8581e1e680

Bug Description:
---------------------
With KMS kernel and I have nothing connected to it, start x(both in uxa and exa) and query with "xrandr -q", it will wrongly detected hdmi as DVI, and there are two DVIs detected with one being connected. But if with non-KMS kernel, it will be detected rightly. As following shows. And this issue also has some effect when I start gnome, it will displayed on left top.  
1.(With KMS) xrandr -q
Screen 0: minimum 320 x 200, current 1280 x 800, maximum 8192 x 8192
VGA1 disconnected (normal left inverted right x axis y axis)
LVDS1 connected 1280x800+0+0 (normal left inverted right x axis y axis) 261mm x 163mm
   1280x800       60.0*+
DVI1 disconnected (normal left inverted right x axis y axis)
DVI2 connected 1024x768+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
   1024x768       60.0*
   800x600        60.3
   640x480        59.9
TV1 disconnected (normal left inverted right x axis y axis)

2.(With non-KMS) xrandr -q
Screen 0: minimum 320 x 200, current 1280 x 800, maximum 4096 x 4096
VGA disconnected (normal left inverted right x axis y axis)
LVDS connected 1280x800+0+0 (normal left inverted right x axis y axis) 261mm x 163mm
   1280x800       60.0*+
   1024x768       85.0     75.0     70.1     60.0
   832x624        74.6
   800x600        85.1     72.2     75.0     60.3     56.2
   640x480        85.0     72.8     75.0     59.9
   720x400        85.0
   640x400        85.1
   640x350        85.1
HDMI-1 disconnected (normal left inverted right x axis y axis)
TV disconnected (normal left inverted right x axis y axis)

Reproduce Steps:
---------------------
1. xinit&
2. xrandr -q
Comment 1 Gordon Jin 2009-03-22 18:14:48 UTC

*** This bug has been marked as a duplicate of bug 20619 ***
Comment 2 zhao jian 2009-06-04 01:54:02 UTC
It now works well on gm45. With the following commit: 
Libdrm:            (master)dbffeadcfca7cb4e3905ec0b8573d10e0418295e
Mesa:              (mesa_7_5_branch)1aef032d438aaa40ec28bf279ad5c089370773f0
Xserver:           (server-1.6-branch)5cd5a01259ba349f1868ca4af04207cf120d69e4
Xf86_video_intel:  (master)704771f1c595df481d244a6f074e9f5620d4a720
Kernel:            (for-linus)07f4f3e8a24138ca2f3650723d670df25687cd05
Comment 3 Elizabeth 2017-10-06 14:55:01 UTC
Closing old verified.

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.