Bug 48740 - [ILK] HDMI TV doesn't work over HDMI cable
Summary: [ILK] HDMI TV doesn't work over HDMI cable
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Daniel Vetter
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-15 12:41 UTC by Dmitry Nezhevenko
Modified: 2017-07-24 23:02 UTC (History)
4 users (show)

See Also:
i915 platform:
i915 features:


Attachments
Xorg.log when TV is connected via HDMI cable (doesn't work) (28.74 KB, text/plain)
2012-04-15 12:42 UTC, Dmitry Nezhevenko
no flags Details
Xorg.log when TV is connected via DVI using DVI-> HDMI cable (works) (28.74 KB, text/plain)
2012-04-15 12:43 UTC, Dmitry Nezhevenko
no flags Details
dmesg while booting with drm.debug=0xe (TV is connected over HDMI) (916.76 KB, text/plain)
2012-04-15 12:44 UTC, Dmitry Nezhevenko
no flags Details
intel_reg_dumper output using HDMI cable (doesn't work) (11.65 KB, text/plain)
2012-04-15 12:45 UTC, Dmitry Nezhevenko
no flags Details
intel_reg_dumper output using DVI -> HDMI cable (works) (11.65 KB, text/plain)
2012-04-15 12:46 UTC, Dmitry Nezhevenko
no flags Details
dmesg when booted with 3.5.1 kernel and HDMI cable (doesn't work) (62.95 KB, text/plain)
2012-08-28 14:55 UTC, Dmitry Nezhevenko
no flags Details
Xorg.log when booted with 3.5.1 kernel and HDMI cable (doesn't work) (47.71 KB, text/plain)
2012-08-28 14:56 UTC, Dmitry Nezhevenko
no flags Details
intel_reg_dumper output when booted with 3.5.1 kernel and HDMI cable (doesn't work) (11.65 KB, text/plain)
2012-08-28 14:57 UTC, Dmitry Nezhevenko
no flags Details

Description Dmitry Nezhevenko 2012-04-15 12:41:42 UTC
I've got some really strange issue. I've followed GPU within ASUS MB:

00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 12)

I'm trying to attach HDMI TV to it. My motherboard has both HDMI and DVI
outputs. So when I'm using DVI output together with cheap DVI->HDMI cable,
everything works. But once I switch to HDMI->HDMI, display is detected,
but display nothing. TV shows "No signal" message.

I've tried to compare xrandr output for both cases and it looks same:

--- dvi/randr   2012-04-14 20:54:03.000000000 +0300
+++ hdmi/randr  2012-04-14 20:57:29.000000000 +0300
@@ -1,6 +1,8 @@
 Screen 0: minimum 320 x 200, current 1360 x 768, maximum 8192 x 8192
 VGA1 disconnected (normal left inverted right x axis y axis)
-HDMI1 connected 1360x768+0+0 (normal left inverted right x axis y axis)
160mm x 90mm
+HDMI1 disconnected (normal left inverted right x axis y axis)
+DP1 disconnected (normal left inverted right x axis y axis)
+HDMI2 connected 1360x768+0+0 (normal left inverted right x axis y axis)
160mm x 90mm
    1360x768       60.0*+
    1920x1080      50.0     60.0     30.0     25.0     24.0
    1280x720       50.0     60.0
@@ -11,8 +13,6 @@
    720x480        59.9
    640x480        72.8     75.0     66.7     60.0
    720x400        70.1
-DP1 disconnected (normal left inverted right x axis y axis)
-HDMI2 disconnected (normal left inverted right x axis y axis)
 HDMI3 disconnected (normal left inverted right x axis y axis)
 DP2 disconnected (normal left inverted right x axis y axis)
 DP3 disconnected (normal left inverted right x axis y axis)

(Looks like HDMI1 means DVI on my MB and HDMI2 means HDMI).

Here is link to Xorg.log for both cases:

http://dion.org.ua/uploads/2012/04/xorg_dvi.log
http://dion.org.ua/uploads/2012/04/xorg_hdmi.log

Any ideas why I can't connect TV using HDMI? I'm pretty sure that TV is
ok as well as HDMI cable. Also same TV works when connecting to laptop
with GMA4500 over HDMI.

xserver-xorg    1:7.6+12
xserver-xorg-core       2:1.11.4-1
xserver-xorg-input-evdev        1:2.7.0-1
xserver-xorg-video-fbdev        1:0.4.2-4+b2
xserver-xorg-video-intel        2:2.18.0-2
xserver-xorg-video-vesa 1:2.3.1-1

kernel 3.3.1
Comment 1 Dmitry Nezhevenko 2012-04-15 12:42:41 UTC
Created attachment 60028 [details]
Xorg.log when TV is connected via HDMI cable (doesn't work)
Comment 2 Dmitry Nezhevenko 2012-04-15 12:43:25 UTC
Created attachment 60029 [details]
Xorg.log when TV is connected via DVI using DVI-> HDMI cable (works)
Comment 3 Dmitry Nezhevenko 2012-04-15 12:44:47 UTC
Created attachment 60030 [details]
dmesg while booting with drm.debug=0xe (TV is connected over HDMI)
Comment 4 Dmitry Nezhevenko 2012-04-15 12:45:35 UTC
Created attachment 60031 [details]
intel_reg_dumper output using HDMI cable (doesn't work)
Comment 5 Dmitry Nezhevenko 2012-04-15 12:46:16 UTC
Created attachment 60032 [details]
intel_reg_dumper output using DVI -> HDMI cable (works)
Comment 6 Dmitry Nezhevenko 2012-04-15 12:47:04 UTC
intel_reg_dumper output looks like almost same. Here is diff:

--- reg_dumper_dvi.txt  2012-04-15 22:31:26.548920891 +0300
+++ reg_dumper_hdmi.txt 2012-04-15 22:31:31.212984536 +0300
@@ -150,8 +150,8 @@
                    FDI_RXB_IIR: 0x00000000
                    FDI_RXB_IMR: 0x000000ff
                       PCH_ADPA: 0x00f40018 (disabled, transcoder A, +hsync, +vsync)
-                         HDMIB: 0x80000adc (enabled pipe A 8bpc TMDS HDMI audio enabled +vsync +hsync detected)
-                         HDMIC: 0x0000001c (disabled pipe A 8bpc SDVO DVI audio disabled +vsync +hsync detected)
+                         HDMIB: 0x00000adc (disabled pipe A 8bpc TMDS HDMI audio enabled +vsync +hsync detected)
+                         HDMIC: 0x8000025c (enabled pipe A 8bpc SDVO HDMI audio enabled +vsync +hsync detected)
                          HDMID: 0x0000001c (disabled pipe A 8bpc SDVO DVI audio disabled +vsync +hsync detected)
                       PCH_LVDS: 0x40000000 (disabled, pipe B, 18 bit, 1 channel)
                      CPU_eDP_A: 0x00000018
Comment 7 Dmitry Nezhevenko 2012-04-15 12:48:51 UTC
Also I've figured out that TV also doesn't work in BIOS when connected over HDMI. So I can't see BIOS screen, GRUB, etc. When using DVI -> HDMI cable, it works too. Probably this is some BIOS issue if it initializes only first output...
Comment 8 Daniel Vetter 2012-08-22 16:11:01 UTC
Can you please retest with kernel 3.5? We've fixed an awful lot of bugs in this area since then ...
Comment 9 Dmitry Nezhevenko 2012-08-28 14:54:24 UTC
Same thing with 3.5.1 (can test other 3.5.x kernels later). This TV only works with MB when connected to DVI port using HDMI->DVI cable/adapter. When using HDMI port, TV shows "no signal" message.

I'm attaching dmesg and xorg.log from this case
Comment 10 Dmitry Nezhevenko 2012-08-28 14:55:27 UTC
Created attachment 66231 [details]
dmesg when booted with 3.5.1 kernel and HDMI cable (doesn't work)
Comment 11 Dmitry Nezhevenko 2012-08-28 14:56:11 UTC
Created attachment 66232 [details]
Xorg.log when booted with 3.5.1 kernel and HDMI cable (doesn't work)
Comment 12 Dmitry Nezhevenko 2012-08-28 14:57:30 UTC
Created attachment 66233 [details]
intel_reg_dumper output when booted with 3.5.1 kernel and HDMI cable (doesn't work)
Comment 13 Ben Widawsky 2012-08-28 15:58:32 UTC
(In reply to comment #12)
> Created attachment 66233 [details]
> intel_reg_dumper output when booted with 3.5.1 kernel and HDMI cable (doesn't
> work)

There is a new display_debug.sh script in igt/scripts. Can you please output that as well (before and after)
Comment 14 Chris Wilson 2012-12-12 16:25:03 UTC
Assuming the AVI frame fixes did their job. Please reopen if this is still not fixed, thanks.


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.