Bug 25224 - [G45 HDMI] HDMI output not detected as connected
Summary: [G45 HDMI] HDMI output not detected as connected
Status: RESOLVED NOTABUG
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: medium major
Assignee: ykzhao
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-22 05:36 UTC by Henric Eriksson
Modified: 2010-04-22 18:27 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Xorg.0.log using driver 2.9.1 with ModeDebug turned on (92.97 KB, text/plain)
2009-11-22 05:36 UTC, Henric Eriksson
no flags Details
xorg.conf (1.84 KB, text/plain)
2009-11-22 05:38 UTC, Henric Eriksson
no flags Details
xrandr --verbose (2.64 KB, text/plain)
2009-11-22 05:38 UTC, Henric Eriksson
no flags Details
lspci -vvnn (1.77 KB, text/plain)
2009-11-22 05:39 UTC, Henric Eriksson
no flags Details
dmesg with debug=0x04 (53.16 KB, text/plain)
2010-02-15 10:24 UTC, Henric Eriksson
no flags Details
Video BIOS (64.00 KB, application/octet-stream)
2010-02-15 10:24 UTC, Henric Eriksson
no flags Details
xrandr -q --verbose (3.22 KB, text/plain)
2010-02-15 10:25 UTC, Henric Eriksson
no flags Details

Description Henric Eriksson 2009-11-22 05:36:00 UTC
Created attachment 31384 [details]
Xorg.0.log using driver 2.9.1 with ModeDebug turned on

Bug description:
I'm using an ASUS P5Q-EM motherboard with a VGA, DVI-D and HDMI connector on the back. Using the VGA and DVI, monitors are detected. Currently the DVI-D and HDMI are both connected to the same Philips HDTV (DVI to HDMI cable and plain HDMI cable respectively). The DVI connection is detected and configured with 1080p, however the HDMI connection is sort of detected but appears to not be able to read EDID data and is set as unconnected (see Xorg.0.log file).

The Xorg.0.log shows this for HDMI-2 (HDMI connector):
(II) intel(0): DVI monitor detected on HDMI-2
(II) intel(0): EDID for output HDMI-2
(II) intel(0): Output HDMI-2 disconnected

While HDMI-1 (DVI-D connector) shows this:
(II) intel(0): HDMI monitor detected on HDMI-1
(II) intel(0): EDID for output HDMI-1
... (full EDID data listing) ...
(II) intel(0): Output HDMI-1 connected

HDMI-2 output (the HDMI connector) can be forced on using xrandr by adding the 1920x1080 modeline and setting it to HDMI-2. Display when forced appears to be larger than the screen however (parts of it outside screen) and the mouse cursor disappears. When forced xrandr still reports HDMI-2 to be disconnected.

System environment:
-- chipset: G45
-- system architecture: i686 32-bit
-- xf86-video-intel: 2.9.1
-- xserver: 1.6.3.901 (1.6.4 RC 1)
-- mesa: 7.5.1
-- libdrm: 2.4.13
-- kernel: 2.6.28-hardened-r9
-- Linux distribution: Gentoo Hardened 10.0
-- Machine or mobo model: ASUS P5Q-EM
-- Display connector: HDMI

Reproducing steps:
Start X

Additional info:
I occassionally get these odds errors from the drm module:

[drm:i915_setparam] *ERROR* unknown parameter 4
[drm:i915_getparam] *ERROR* Unknown parameter 6
Comment 1 Henric Eriksson 2009-11-22 05:38:37 UTC
Created attachment 31385 [details]
xorg.conf
Comment 2 Henric Eriksson 2009-11-22 05:38:59 UTC
Created attachment 31386 [details]
xrandr --verbose
Comment 3 Henric Eriksson 2009-11-22 05:39:30 UTC
Created attachment 31387 [details]
lspci -vvnn
Comment 4 Henric Eriksson 2009-11-22 05:41:19 UTC
dmesg with debug=0x06

Became quite large, linking to it instead:

http://artamir.org/dmesg
Comment 5 ykzhao 2010-02-12 00:03:01 UTC
Hi, Henric
    Will you please try the latest kernel(2.6.33-rc7) with KMS enabled and add the boot option of "drm.debug=0x04"? After the system is booted, please run "xrandr -q --verbose" and then attach the output of dmesg.

    It will be great if you can attach the output of vbios.dump on your box, which can be obtained by using the following command:
    1. echo 1 > /sys/devices/pci0000:00/0000:00:02.0/rom
    2. cat /sys/devices/pci0000:00/0000:00:02.0/rom >vbios.dump
    3. echo 0 > /sys/devices/pci0000:00/0000:00:02.0/rom

Thanks.
   Yakui
Comment 6 Henric Eriksson 2010-02-15 10:23:17 UTC
Hello Yakui,

I've tried the latest kernel 2.6.33-rc7 as you asked and booted with the following boot options:

i915.modeset=1 drm.debug=0x04

I'll attach VBIOS, xrandr output and dmesg for that try. As far as I can see, the actual HDMI connector is still seen as "disconnected" while the DVI connector is working properly.

/Henric
Comment 7 Henric Eriksson 2010-02-15 10:24:17 UTC
Created attachment 33316 [details]
dmesg with debug=0x04
Comment 8 Henric Eriksson 2010-02-15 10:24:57 UTC
Created attachment 33317 [details]
Video BIOS
Comment 9 Henric Eriksson 2010-02-15 10:25:29 UTC
Created attachment 33318 [details]
xrandr -q --verbose
Comment 10 ykzhao 2010-03-08 00:29:39 UTC
Hi, Henric
    Sorry for the late response.
    It is strange that the HDMI monitor is not detected on your box. Can you only use the HDMI to connector your HDTV monitor and see whether it is detected?(that means that the DVI is not used).
    
     I have a Asus P5Q-EM mainboard in my hand. In my test the HDMI monitor can be detected correctly. I don't know why the HDMI monitor can't be detected on your box.

thanks.
    Yakui
Comment 11 Henric Eriksson 2010-03-10 08:57:23 UTC
Hello Yakui,

I tried with only the HDMI display plugged in and as expected I get this in Xorg.0.log:

(II) intel(0): DVI monitor detected on HDMI-2
(II) intel(0): EDID for output HDMI-2
(II) intel(0): Output VGA disconnected
(II) intel(0): Output HDMI-1 disconnected
(II) intel(0): Output HDMI-2 disconnected
(WW) intel(0): No outputs definitely connected, trying again...
(II) intel(0): Output VGA disconnected
(II) intel(0): Output HDMI-1 disconnected
(II) intel(0): Output HDMI-2 disconnected
(WW) intel(0): Unable to find initial modes
(EE) intel(0): No valid modes.

Followed by a "no screens found".

Could this be a result of a defect board? I have been getting other strange issues with it as well such as newer versions of GRUB failing to start because it is unable to detect any upper memory at all.

/Henric
Comment 12 ykzhao 2010-03-10 21:36:39 UTC
> 
> Could this be a result of a defect board? I have been getting other strange
> issues with it as well such as newer versions of GRUB failing to start because
> it is unable to detect any upper memory at all.

Hi, Henric
   It is very interesting that the HDMI output can't be detected. From the log it seems that the EDID can't be obtained.
   Maybe this issue is related with the mainboard. Do you have an opportunity to try windows on this machine and see whether the HDMI output can be detected as expected? 
   
thanks
   Yakui
> 
> /Henric
> 

Comment 13 Henric Eriksson 2010-03-10 23:21:56 UTC
Hello Yakui,

I'm afraid Windows is out of the question on this machine. It is in part my home server (hence the Gentoo Hardened distro).

/Henric
Comment 14 ykzhao 2010-03-11 17:36:28 UTC
(In reply to comment #13)
> Hello Yakui,
> 
> I'm afraid Windows is out of the question on this machine. It is in part my
> home server (hence the Gentoo Hardened distro).

Thanks for the updating. 
As the windows can't be tested, we have no way to compare the difference between windows and Linux about this issue.

Maybe the issue is related with the mainboard. Can you contact with the other vendor about this issue?

Thanks.

> 
> /Henric
> 

Comment 15 Henric Eriksson 2010-04-17 14:50:05 UTC
Hello Yakui,

Sorry for the long time since last reply. I just today figured the whole thing out and it was not a software issue at all but rather a faulty HDMI cable (doh!). I guess I should've tried that earlier but only today I put a graphics card with HDMI out in another computer and tried that same cable and couldn't get any video out. New cable solved that problem and so I tried the same in my linux-box and everything worked!

Thanks for your time anyway. I'm closing this "bug".

/Henric
Comment 16 ykzhao 2010-04-22 18:27:20 UTC
Hi, Henric
    Thanks for updating the bug status.
    It is good news that the HDMI can be detected correctly after changing the HDMI cable.

Thanks
   Yakui


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.