Bug 22465 - HDMI is reported as DVI1 in KMS
Summary: HDMI is reported as DVI1 in KMS
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: 7.4 (2008.09)
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Jesse Barnes
QA Contact: Xorg Project Team
URL: https://bugs.launchpad.net/ubuntu/+so...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-25 02:01 UTC by Oleksij Rempel
Modified: 2009-10-05 11:06 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
xorg.log (169.25 KB, text/plain)
2009-06-25 22:38 UTC, Oleksij Rempel
no flags Details
dmesg (46.18 KB, text/plain)
2009-06-25 22:38 UTC, Oleksij Rempel
no flags Details
xrandr (810 bytes, text/plain)
2009-06-25 22:39 UTC, Oleksij Rempel
no flags Details
Xorg.0.log, lspci and xrandr output on X200s (15.29 KB, application/x-gzip)
2009-09-29 08:11 UTC, Luka Renko
no flags Details

Description Oleksij Rempel 2009-06-25 02:01:53 UTC
After KMS was enabled by default my display setup was lost. With xrandr i found what instead of HDMI-1 and HDMI-2 i have DVI1 and DVI2.

Each time i switch between kms and nonkms boot it switch the names.
so to setup my display on nonKMS boot i use:
xrandr --output HDMI-1 --mode 1920x1080 --output HDMI-2 --mode 1280x1024 --left-of HDMI-1
and with KMS:
xrandr --output DVI1 --mode 1920x1080 --output DVI2 --mode 1280x1024 --left-of DVI1

I think it should be fixed for compatibility reasons.

lsb_release -rd
Description: Ubuntu karmic (development branch)
Release: 9.10

apt-cache policy xserver-xorg-video-intel
xserver-xorg-video-intel:
  Installiert: 2:2.7.99.901+git20090624.f0270bbb-0ubuntu0sarvatt
  Kandidat: 2:2.7.99.901+git20090624.f0270bbb-0ubuntu0sarvatt
  Versions-Tabelle:
 *** 2:2.7.99.901+git20090624.f0270bbb-0ubuntu0sarvatt 0
        500 http://ppa.launchpad.net karmic/main Packages
        100 /var/lib/dpkg/status
     2:2.7.99.1+git20090602.ec2fde7c-0ubuntu2 0
        500 http://de.archive.ubuntu.com karmic/main Packages
Comment 1 Gordon Jin 2009-06-25 02:32:13 UTC
I guess this is not a bug, and it may even be deliberate. Jesse should be able to give a stronger reason than me.
Comment 2 Oleksij Rempel 2009-06-25 02:49:40 UTC
Probably true, but it's make annoying to test KMS. specially it's not really stable on my PC.
Comment 3 Gordon Jin 2009-06-25 18:24:53 UTC
(In reply to comment #2)
> Probably true, but it's make annoying to test KMS. specially it's not really
> stable on my PC.
> 

We are more interested in those true KMS issues which make you feel unstable.
Could you file them according to http://intellinuxgraphics.org/how_to_report_bug.html?

For the name, I think "1" and "-1" won't be fixed, but "HDMI" -> "DVI" may be a problem. Could you elaborate your board model, and which output interfaces it provide and used by you?
Comment 4 Oleksij Rempel 2009-06-25 22:37:42 UTC
I have Intel board DG45ID with with G45 graphic. There is one DVI-I and one HDMI connectors on this board. To the HDMI interface attached iiyama ProLite B2409HDS monitor and to DVI iijama ProLite E1700S. For the BIOS DVI is the primary interface - i case there is two monitors attached it will display on DVI all BIOS configurations. For the intel-linux driver HDMI is the primary interface.
Comment 5 Oleksij Rempel 2009-06-25 22:38:16 UTC
Created attachment 27145 [details]
xorg.log
Comment 6 Oleksij Rempel 2009-06-25 22:38:37 UTC
Created attachment 27146 [details]
dmesg
Comment 7 Oleksij Rempel 2009-06-25 22:39:02 UTC
Created attachment 27147 [details]
xrandr
Comment 8 Gordon Jin 2009-08-10 00:33:16 UTC
Jesse, this problem does exist in the latest kernel. Can we fix it in Q3?
Comment 9 Luka Renko 2009-09-29 08:11:37 UTC
Created attachment 29941 [details]
Xorg.0.log, lspci and xrandr output on X200s

I have the same/similar problem on my Lenovo Thinkpad X200s running up-to-date Kubuntu Karmic. My system sometimes boots with KMS (fast) and sometimes with non-KMS (slow) - I do not understand what is causing this, but in general I would say it boots 70% in KMS, the rest in non-KMS.

My laptop has only VGA port, but docking station has DisplayPort. When booted in KMS mode, DisplayPort interface is reported as "DVI2", while in non-KMS it is reported as HDMI-2. Also note that laptop's panel is reported differently: LVDS1 (KMS) and LVDS (KMS).
Comment 10 Jesse Barnes 2009-10-05 11:06:14 UTC
The DVI vs HDMI issue should be fixed by this commit (queued up in drm-intel-next for 2.6.32):

commit 8d91104aac6e21e6ca2a56124e2e47b0db043ea8
Author: Adam Jackson <ajax@redhat.com>
Date:   Wed Sep 23 15:08:29 2009 -0400

    drm/i915: Initialize HDMI outputs as HDMI connectors, not DVI.

I think there's a separate RFE open for the compatibility names (short story is that moving to the kernel changed the names for all drivers, but at least they all agree now, unlike with the various UMS drivers).


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.