Bug 13968 - [G35 HDMI] HDMI->DVI no display in X
Summary: [G35 HDMI] HDMI->DVI no display in X
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: 7.3 (2007.09)
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Hong Liu
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
: 14787 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-01-08 05:57 UTC by Kevin DeKorte
Modified: 2008-06-05 18:15 UTC (History)
11 users (show)

See Also:
i915 platform:
i915 features:


Attachments
xorg.conf (842 bytes, text/plain)
2008-01-08 06:05 UTC, Kevin DeKorte
no flags Details
Xorg Log file (81.22 KB, text/plain)
2008-01-08 06:06 UTC, Kevin DeKorte
no flags Details
Xorg.0.log with intel driver and working DVI connected monitor (44.27 KB, text/plain)
2008-01-15 07:03 UTC, Benjamin Pineau
no flags Details
xorg.conf intel driver and working DVI out (used to get above logs) (2.36 KB, application/octet-stream)
2008-01-15 07:04 UTC, Benjamin Pineau
no flags Details
xrandr --verbose with intel driver and working DVI out (4.43 KB, text/plain)
2008-01-15 07:05 UTC, Benjamin Pineau
no flags Details
lspci -vvvxx with working DVI out (and after upgrade to BIOS 0405) (23.14 KB, text/plain)
2008-01-15 07:06 UTC, Benjamin Pineau
no flags Details
"sudo lspci -vvvxxxx" with new bios and working DVI (36.55 KB, text/plain)
2008-01-15 07:55 UTC, Benjamin Pineau
no flags Details
This is the lspci -vvvxx from a machine with a non-working HDMI (40.17 KB, text/plain)
2008-01-15 08:46 UTC, Kevin DeKorte
no flags Details
This is after upgrading to BIOS 405 (26.76 KB, text/plain)
2008-01-15 10:05 UTC, Kevin DeKorte
no flags Details
Xorg.0.log after BIOS upgrade from 301 to 405 (79.88 KB, text/plain)
2008-01-15 10:12 UTC, Kevin DeKorte
no flags Details
With debug enabled (105.83 KB, text/plain)
2008-01-15 10:43 UTC, Kevin DeKorte
no flags Details
Xorg.0.log : working and connected DVI, with Option "ModeDebug" "yes" (65.94 KB, text/plain)
2008-01-18 10:13 UTC, Benjamin Pineau
no flags Details
intel_reg_dumper run in 1280x1024 mode (8.29 KB, text/plain)
2008-02-19 12:26 UTC, Kevin DeKorte
no flags Details
intel_reg_dumper run in 1280x1024 mode with vesa driver (8.36 KB, text/plain)
2008-02-19 12:27 UTC, Kevin DeKorte
no flags Details
This is same system, but with a ADD2 card installed (8.27 KB, text/plain)
2008-02-28 15:24 UTC, Kevin DeKorte
no flags Details
Xorg.0.log with working DVI (36.48 KB, text/x-log)
2008-03-14 08:07 UTC, Otakar Truněček
no flags Details
output of 'xrandr --prop' (789 bytes, text/plain)
2008-03-14 08:09 UTC, Otakar Truněček
no flags Details

Description Kevin DeKorte 2008-01-08 05:57:33 UTC
I just got an ASUS P5E-VM motherboard with a VGA and HDMI output on it
(x3500 is what the box said).

I'm using a HDMI->DVI converter that came with the motherboard.
When the machine boots, I can get a picture on the DVI interface from
the monitor, until X kicks in. I've tried the intel driver shipped with
Fedora 8 (x86_64) and git of the driver as of today. Both give me the
same results. xrandr shows the monitor on the DVI interface properly
when I hook it up and another monitor on VGA. I have also setup my xorg.conf to disable the VGA interface and at that point xrandr showed that the VGA interface was disabled, but still the picture only showed on the VGA output.

I have tried the driver that ships with Fedora 8 and the driver from git and I get the same result.

This same DVI cable and monitor were working fine on an Asus MiniPC with an i915 chipset, until the machine died.

I have also tried this display setup with the VESA driver in xorg.conf and using that driver the HDMI outputs something.

 xrandr
Screen 0: minimum 320 x 200, current 1680 x 1050, maximum 1680 x 1680
VGA connected 1680x1050+0+0 (normal left inverted right x axis y axis) 450mm x 280mm
   1680x1050      60.0*+   60.0  
   1280x1024      75.0     59.9  
   1440x900       75.0     59.9  
   1152x864       75.0     74.8     69.8     60.0  
   1024x768       75.1     70.1     60.0  
   832x624        74.6  
   800x600        72.2     75.0     60.3     56.2  
   640x480        75.0     72.8     66.7     60.0  
   720x400        70.1  
TMDS-1 connected 1680x1050+0+0 (normal left inverted right x axis y axis) 450mm x 280mm
   1680x1050      60.0*+   60.0  
   1280x1024      75.0     59.9  
   1024x768       75.1     70.1     60.0     59.9  
   832x624        74.6  
   800x600        72.2     75.0     60.3     56.2  
   640x480        75.0     72.8     66.7     60.0  
   720x400        70.1
Comment 1 Kevin DeKorte 2008-01-08 06:05:09 UTC
Log files are with VGA output "ignored", but with output still going to the VGA output
Comment 2 Kevin DeKorte 2008-01-08 06:05:43 UTC
Created attachment 13587 [details]
xorg.conf

VGA output is ignored
Comment 3 Kevin DeKorte 2008-01-08 06:06:30 UTC
Created attachment 13588 [details]
Xorg Log file

VGA output is ignored, and the log shows this, but output is still going to the VGA cable
Comment 4 Kevin DeKorte 2008-01-08 06:07:14 UTC
xrandr --prop
Screen 0: minimum 320 x 200, current 1680 x 1050, maximum 1680 x 1680
TMDS-1 connected 1680x1050+0+0 (normal left inverted right x axis y axis) 450mm x 280mm
        EDID_DATA:
                00ffffffffffff001ef98a0896410000
                350f0103802d1c78eaee95a3544c9926
                0f5054bfef0081806140b30001010101
                0101010101012d399030621a274068b0
                6e01c2181100001e000000fc00465044
                32313835570a20202020000000fd0038
                4c1f5110000a202020202020000000ff
                005435432035304e203136373930001e
   1680x1050      60.0*+   60.0  
   1280x1024      75.0     59.9  
   1024x768       75.1     70.1     60.0     59.9  
   832x624        74.6  
   800x600        72.2     75.0     60.3     56.2  
   640x480        75.0     72.8     66.7     60.0  
   720x400        70.1  
Comment 5 Benjamin Pineau 2008-01-10 07:19:24 UTC
Other users of the G35 chipset reported the same problem on Ubuntu forums :
See http://ubuntuforums.org/showthread.php?t=647449&page=3

To sum up, with this G35 / X3500 based motherboard :

* HDMI connection to monitors works well
* VGA  connection to monitors works well
* DVI  connection to monitors works well under console and framebuffer
* DVI  connection to monitors works well under Windows
* DVI  connection to monitors works well under Xorg with the VESA driver
* DVI  connection to monitors does not work under Xorg with the Intel driver 


(By the way, if you're testing this hardware: that xorg bug seems also to 
affect all G35 users : http://bugs.freedesktop.org/show_bug.cgi?id=11311 ).
Comment 6 Benjamin Pineau 2008-01-15 07:00:37 UTC
Got it working!

I had the same problem (last time verified: saturday, 3 days ago), with the
same Asus P5E-VM HDMI motherboard. But today I re-tested "DVI out with intel 
driver" and...  it works, now! I didn't any change in xorg.conf, didn't 
updated the kernel nor any xorg driver/server since saturday.

The only change I can think of: I upgraded the motherboard BIOS (from
revision 0202 to revision 0405). Could you test this too ?

Notes:
- I use Ubuntu Hardy (development version), wich has recent git versions of
  the drivers : linux kernel 2.6.24-rc6, xserver-xorg-video-intel version
  2.2.0+git20080107-1ubuntu1, xserver-xorg-core 1.4.1~git20080105-1ubuntu1,
  mesa 7.0.2-3ubuntu1, libxrandr2 1.2.2
- As stated above, when DVI wasn't working with intel xorg driver, VGA worked
  with intel driver, and DVI worked fine using the vesa xorg driver. Now
  everything work as expected.
- Attached xorg.conf, Xorg.0.log, and xrandr --verbose output using intel
  driver with DVI attached monitor.
- With DVI (but not with VGA), fonts are somehow blurry, and colors too pinky
  (maybe because my monitor is limited, but the "autoconfig" button does not
  work with dvi)
- I still need `Option "AccelMethod" "XAA"` else fonts and icons aren't
  displayed (same problem with VGA).
- In case it rings a bell: the HDMI+DVI adapter/transmitter chipset used in
  this G35/GMA X3500 based motherboard is a Silicon Image SILC SiI1392. See :
  http://www.siliconimage.com/products/product.aspx?id=106
  and the photo here :
  http://plusd.itmedia.co.jp/pcuser/articles/0711/30/news070.html
- DVI works, but the xorg logs reports a few errors related to SDVO :


ben$egrep '(EE|WW)' /var/log/Xorg.0.log | grep -v AIGLX
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
(II) Loading extension MIT-SCREEN-SAVER
(WW) intel: No matching Device section for instance (BusID PCI:0:2:1) found
(EE) intel(0): Unable to write to SDVOCTRL_E for SDVOB Slave 0x70.
(WW) intel(0): Register 0x70180 (DSPACNTR) changed from 0x14000000 to
0x58000000
(WW) intel(0): DSPACNTR before: disabled, pipe A
(WW) intel(0): DSPACNTR after: disabled, pipe A
(WW) intel(0): Failed to set up write-combining range (0xd0000000,0x10000000)
(EE) intel(0): Unable to write to SDVOCTRL_E for SDVOB Slave 0x70.
(EE) intel(0): Unable to write to SDVOCTRL_E for SDVOB Slave 0x70.
(EE) intel(0): Unable to write to SDVOCTRL_E for SDVOB Slave 0x70.
(EE) intel(0): Unable to write to SDVOCTRL_E for SDVOB Slave 0x70.
(EE) intel(0): Unable to write to SDVOCTRL_E for SDVOB Slave 0x70.
Comment 7 Benjamin Pineau 2008-01-15 07:03:38 UTC
Created attachment 13721 [details]
Xorg.0.log with intel driver and working DVI connected monitor
Comment 8 Benjamin Pineau 2008-01-15 07:04:32 UTC
Created attachment 13722 [details]
xorg.conf intel driver and working DVI out (used to get above logs)
Comment 9 Benjamin Pineau 2008-01-15 07:05:36 UTC
Created attachment 13723 [details]
xrandr --verbose with intel driver and working DVI out
Comment 10 Benjamin Pineau 2008-01-15 07:06:32 UTC
Created attachment 13724 [details]
lspci -vvvxx with working DVI out (and after upgrade to BIOS 0405)
Comment 11 Benjamin Pineau 2008-01-15 07:10:22 UTC
Forgot to ask for this : Kevin, 
if you use another BIOS version (and before you upgrade), could 
you please run as root : "lspci -vvvxx" and compare/diff with
my version attached to this bug ? Thanks.
Comment 12 Benjamin Pineau 2008-01-15 07:55:01 UTC
Too bad I didn't save a lspci before upgrading the BIOS.
Anyway, I saved a pre BIOS upgrade Xorg.0.log, and the
"PCI Scan" section has only one little difference :

before (bios 202, non working dvi):
(II) PCI: 00:1b:0: chip 8086,293e card 1043,8277 rev 02 class 04,03,00 hdr 00
after (bios 405, working dvi):
(II) PCI: 00:1b:0: chip 8086,293e card 1043,829f rev 02 class 04,03,00 hdr 00

So after bios update, "card 1043,8277" became "card 1043,829f" for this
device. Oddly, this 00:1b seems to be the audio controller:

ben$ lspci -s 00:1b
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio
Controller (rev 02)

Note this is using HDMI-to-DVI, and that on this motherboard, the audio
chipset supports digital audio through HDMI.

Could the audio chipset configuration affect xorg DVI output ?
If so, could this problem find a workaround in kernel/xorg so
users of an older BIOS revision don't hit the bug ?

I attach a more detailed "sudo lspci -vvvxxxx" (with 4 "x" rather than 2,
and 3 "v" rather than 2), that would better show the differences (Kevin,
if you could attach the a "-vvvxxxx" rather than the previously asked
"-vvxx", that'd be nice, thanks).
Comment 13 Benjamin Pineau 2008-01-15 07:55:55 UTC
Created attachment 13725 [details]
"sudo lspci -vvvxxxx" with new bios and working DVI
Comment 14 Kevin DeKorte 2008-01-15 08:46:44 UTC
Created attachment 13729 [details]
This is the lspci -vvvxx from a machine with a non-working HDMI
Comment 15 Kevin DeKorte 2008-01-15 10:03:51 UTC
I upgraded my BIOS to 405 like Ben and I still have issues.
Comment 16 Kevin DeKorte 2008-01-15 10:05:13 UTC
Created attachment 13731 [details]
This is after upgrading to BIOS 405 

Note: if I try to disable HD Audio on my machine, the machine will not boot.
Comment 17 Kevin DeKorte 2008-01-15 10:12:01 UTC
Created attachment 13732 [details]
Xorg.0.log after BIOS upgrade from 301 to 405

Xorg.0.log after BIOS upgrade from 301 to 405
Comment 18 Kevin DeKorte 2008-01-15 10:25:54 UTC
intel driver appears to know that the DVI cable is connected and disconnected...

xrandr outputs with disconnected and connected

 xrandr
Screen 0: minimum 320 x 200, current 1680 x 1050, maximum 1680 x 1680
VGA connected 1680x1050+0+0 (normal left inverted right x axis y axis) 450mm x 280mm
   1680x1050      60.0*+   60.0  
   1280x1024      75.0     59.9  
   1440x900       75.0     59.9  
   1152x864       75.0     74.8     69.8     60.0  
   1024x768       75.1     70.1     60.0  
   832x624        74.6  
   800x600        72.2     75.0     60.3     56.2  
   640x480        75.0     72.8     66.7     60.0  
   720x400        70.1  
TMDS-1 disconnected 1680x1050+0+0 (normal left inverted right x axis y axis) 450mm x 280mm
[kdekorte@quad ~]$ xrandr
Screen 0: minimum 320 x 200, current 1680 x 1050, maximum 1680 x 1680
VGA connected 1680x1050+0+0 (normal left inverted right x axis y axis) 450mm x 280mm
   1680x1050      60.0*+   60.0  
   1280x1024      75.0     59.9  
   1440x900       75.0     59.9  
   1152x864       75.0     74.8     69.8     60.0  
   1024x768       75.1     70.1     60.0  
   832x624        74.6  
   800x600        72.2     75.0     60.3     56.2  
   640x480        75.0     72.8     66.7     60.0  
   720x400        70.1  
TMDS-1 connected 1680x1050+0+0 (normal left inverted right x axis y axis) 450mm x 280mm
   1680x1050      60.0*+   60.0  
   1280x1024      75.0     59.9  
   1024x768       75.1     70.1     60.0     59.9  
   832x624        74.6  
   800x600        72.2     75.0     60.3     56.2  
   640x480        75.0     72.8     66.7     60.0  
   720x400        70.1  
Comment 19 Keith Packard 2008-01-15 10:30:05 UTC
I suspect the BIOS is configuring the hardware differently now. We can fix the driver to do the same thing if we know what the differences are. If you add

Option "ModeDebug" "yes"

to the Device section of your xorg.conf file, it will dump lots of register information to the log file. Comparing broken vs non-broken machines may uncover something that we've neglected to configure in the driver.
Comment 20 Kevin DeKorte 2008-01-15 10:43:46 UTC
Created attachment 13733 [details]
With debug enabled

Log with ModeDebug enabled
Comment 21 Kevin DeKorte 2008-01-15 13:23:28 UTC
Keith, is there anything else I can provide to help solve this?
Comment 22 Kevin DeKorte 2008-01-18 09:23:34 UTC
Ben and I have been chatting and we're wondering if some of the problems could be due to Ben running in 32bit mode, while I'm running in 64bit mode. Could that be the reason why my hdmi interface does not work and his does?
Comment 23 Benjamin Pineau 2008-01-18 10:13:01 UTC
Created attachment 13776 [details]
Xorg.0.log : working and connected DVI, with Option "ModeDebug" "yes"
Comment 24 Benjamin Pineau 2008-01-18 10:23:21 UTC
Here is a Xorg.0.log with debug on my _working_ DVI out setup,
to compare with the Kevin's (broken DVI) one.

At the end of the day, the BIOS version seems unrelated to the pb.
Kevin (and someone else on the Ubuntu forums) upgraded to the same 
version than me, but that didn't fixed the problem. So I don't know 
what I changed to get the DVI out working. Very sorry.
 
Note that even if DVI is working here, the display with DVI isn't 
very good : everything is blurry (esp. the fonts), and the colors 
pinky (esp. the greys parts). Switching back to VGA (with no config 
change), and everything displays properly and clearly again.

Another weird difference with Kevin : I need to explicitly force XAA
accel, else (with EXA) I get unusable display (no font and no icons 
are rendered, for instance). On the opposite, Kevin told me XAA is 
broken on his setup but EXA works well for him.

Comment 25 Kevin DeKorte 2008-01-22 05:39:13 UTC
I've been reading about this board on the Asus forums and it seems there are even problems with Vista and the HDMI->DVI convertor. So I decided, I'll take the HDMI->DVI convertor out of the equation. So I went to the local BestBuy and got a brand new HDMI->DVI cable. 

Booted up the machine and the Bios screen works and the kernel messages work, until the intel driver is loaded. After that no signal.

Anything else I can provide?
Comment 26 Kevin DeKorte 2008-01-26 19:09:27 UTC
I was reading the asus forum for this bug and I found this post and response.

http://vip.asus.com/forum/view.aspx?id=20080122073058906&board_id=1&model=P5E-VM+HDMI&page=1&SLanguage=en-us

It points to a fix for the EDID parser in the Windows driver that is updated here

http://support.intel.com/support/graphics/sb/CS-028366.htm

Is this possibly related to this bug. I would assume that the EDID parser in the Linux driver has be checked for this problem.

Comment 27 Michael Fu 2008-02-02 21:01:32 UTC
This bug has got a lot of information from our reporters. thanks!

I'm re-assign this bug to Hong.
Comment 28 Kevin DeKorte 2008-02-19 12:26:56 UTC
Created attachment 14424 [details]
intel_reg_dumper run in 1280x1024 mode

Run after reboot, with drivers from git and VGA and HDMI->DVI adapter plugged in
Comment 29 Kevin DeKorte 2008-02-19 12:27:45 UTC
Created attachment 14425 [details]
intel_reg_dumper run in 1280x1024 mode with vesa driver

Run after reboot with VGA and HDMI->DVI cables plugged in to same monitor
Comment 30 Hong Liu 2008-02-27 00:13:26 UTC
(In reply to comment #28)
> Created an attachment (id=14424) [details]
> intel_reg_dumper run in 1280x1024 mode
> 
> Run after reboot, with drivers from git and VGA and HDMI->DVI adapter plugged
> in
> 

SDVOB: 0x40080084 (disabled, pipe B, stall disabled, detected)

The SDVOB output is disabled when using intel driver while it is enabled in the vesa driver. It is weird since driver enabled it during startup.

What is the output of xrandr when SDVOB is disabled?
Or can you try to run intel_reg_dump frequently to see when the SDVOB is disabled?

in comment 18
> intel driver appears to know that the DVI cable is connected and
> disconnected...
So you are connect/disconnect the DVI cable and xrandr reports the correct states?









Comment 31 Kevin DeKorte 2008-02-27 05:11:11 UTC
> 
> in comment 18
> > intel driver appears to know that the DVI cable is connected and
> > disconnected...
> So you are connect/disconnect the DVI cable and xrandr reports the correct
> states?
> 

Yes, that is correct. I can plug in the HDMI/DVI cable and xrandr will show the connection as active and I can unplug it and it show the connection as disabled
Comment 32 Kevin DeKorte 2008-02-27 05:13:25 UTC
(In reply to comment #30)
> (In reply to comment #28)
> > Created an attachment (id=14424) [details] [details]
> > intel_reg_dumper run in 1280x1024 mode
> > 
> > Run after reboot, with drivers from git and VGA and HDMI->DVI adapter plugged
> > in
> > 
> 
> SDVOB: 0x40080084 (disabled, pipe B, stall disabled, detected)
> 
> The SDVOB output is disabled when using intel driver while it is enabled in the
> vesa driver. It is weird since driver enabled it during startup.
> 
> What is the output of xrandr when SDVOB is disabled?

The output of xrandr when SDVOB is disabled and connected is that the display is plugged in and it does show the right monitor values. Just like in comment #1


> Or can you try to run intel_reg_dump frequently to see when the SDVOB is
> disabled?

How would you recommend doing this?
Comment 33 Hong Liu 2008-02-27 17:39:00 UTC
(In reply to comment #32)
> How would you recommend doing this?
> 

The disable of SDVOB causes the no display issue. But it should be enabled by our driver, not sure why this is disabled.

Have you ever disabled the TMDS-1 output by xrandr?

Thanks,
Hong

Comment 34 Kevin DeKorte 2008-02-27 20:39:01 UTC
No I have not disabled TMDS-1. I have however ran the following commands and still not got a picture

xrandr --output TMDS-1 --auto

xrandr --output TMDS-1 --same-as VGA

Comment 35 Kevin DeKorte 2008-02-28 15:24:17 UTC
Created attachment 14669 [details]
This is same system, but with a ADD2 card installed

Things to note here. The TMDS-1 card is now the DVI connector and not the HDMI connector (where did the hdmi connector go?)

 xrandr --verbose
Screen 0: minimum 320 x 200, current 1680 x 1050, maximum 1920 x 1920
VGA disconnected (normal left inverted right x axis y axis)
	Identifier: 0x3b
	Timestamp:  33135
	Subpixel:   unknown
	Clones:    
	CRTCs:      0 1
TMDS-1 connected 1680x1050+0+0 (0x3d) normal (normal left inverted right x axis y axis) 450mm x 280mm
	Identifier: 0x3c
	Timestamp:  33135
	Subpixel:   horizontal rgb
	Clones:    
	CRTC:       0
	CRTCs:      0 1
	EDID_DATA:
		00ffffffffffff001ef98a0896410000
		350f0103802d1c78eaee95a3544c9926
		0f5054bfef0081806140b30001010101
		0101010101012d399030621a274068b0
		6e01c2181100001e000000fc00465044
		32313835570a20202020000000fd0038
		4c1f5110000a202020202020000000ff
		005435432035304e203136373930001e
  1680x1050 (0x3d)  146.4MHz +HSync +VSync
        h: width  1680 start 1784 end 1960 total 2240 skew    0 clock   65.3KHz
        v: height 1050 start 1056 end 1086 total 1089           clock   60.0Hz
  1920x1200 (0x3e)  154.0MHz +HSync -VSync
        h: width  1920 start 1968 end 2000 total 2080 skew    0 clock   74.0KHz
        v: height 1200 start 1203 end 1209 total 1235           clock   60.0Hz
  1920x1080 (0x3f)  138.5MHz +HSync -VSync
        h: width  1920 start 1968 end 2000 total 2080 skew    0 clock   66.6KHz
        v: height 1080 start 1083 end 1088 total 1111           clock   59.9Hz
  1680x1050 (0x40)  146.2MHz -HSync +VSync
        h: width  1680 start 1784 end 1960 total 2240 skew    0 clock   65.3KHz
        v: height 1050 start 1053 end 1059 total 1089           clock   60.0Hz
  1680x1050 (0x41)  119.0MHz +HSync -VSync
        h: width  1680 start 1728 end 1760 total 1840 skew    0 clock   64.7KHz
        v: height 1050 start 1053 end 1059 total 1080           clock   59.9Hz
  1600x1024 (0x42)  103.1MHz +HSync +VSync
        h: width  1600 start 1600 end 1656 total 1664 skew    0 clock   62.0KHz
        v: height 1024 start 1024 end 1029 total 1030           clock   60.2Hz
  1400x1050 (0x43)  155.8MHz +HSync +VSync
        h: width  1400 start 1464 end 1784 total 1912 skew    0 clock   81.5KHz
        v: height 1050 start 1052 end 1064 total 1090           clock   74.8Hz
  1400x1050 (0x44)  151.0MHz +HSync +VSync
        h: width  1400 start 1464 end 1656 total 1960 skew    0 clock   77.0KHz
        v: height 1050 start 1051 end 1054 total 1100           clock   70.0Hz
  1400x1050 (0x45)  145.1MHz -HSync +VSync
        h: width  1400 start 1496 end 1648 total 1896 skew    0 clock   76.5KHz
        v: height 1050 start 1051 end 1054 total 1093           clock   70.0Hz
  1400x1050 (0x46)  122.0MHz +HSync +VSync
        h: width  1400 start 1488 end 1640 total 1880 skew    0 clock   64.9KHz
        v: height 1050 start 1052 end 1064 total 1082           clock   60.0Hz
  1280x1024 (0x47)  135.0MHz +HSync +VSync
        h: width  1280 start 1296 end 1440 total 1688 skew    0 clock   80.0KHz
        v: height 1024 start 1025 end 1028 total 1066           clock   75.0Hz
  1280x1024 (0x48)  109.0MHz -HSync +VSync
        h: width  1280 start 1368 end 1496 total 1712 skew    0 clock   63.7KHz
        v: height 1024 start 1027 end 1034 total 1063           clock   59.9Hz
  1280x1024 (0x49)  108.0MHz +HSync +VSync
        h: width  1280 start 1328 end 1440 total 1688 skew    0 clock   64.0KHz
        v: height 1024 start 1025 end 1028 total 1066           clock   60.0Hz
  1440x900 (0x4a)  106.5MHz -HSync +VSync
        h: width  1440 start 1520 end 1672 total 1904 skew    0 clock   55.9KHz
        v: height  900 start  903 end  909 total  934           clock   59.9Hz
  1280x960 (0x4b)  108.0MHz +HSync +VSync
        h: width  1280 start 1376 end 1488 total 1800 skew    0 clock   60.0KHz
        v: height  960 start  961 end  964 total 1000           clock   60.0Hz
  1360x768 (0x4c)   84.8MHz -HSync +VSync
        h: width  1360 start 1432 end 1568 total 1776 skew    0 clock   47.7KHz
        v: height  768 start  771 end  781 total  798           clock   59.8Hz
  1360x768 (0x4d)   72.0MHz +HSync -VSync
        h: width  1360 start 1408 end 1440 total 1520 skew    0 clock   47.4KHz
        v: height  768 start  771 end  781 total  790           clock   60.0Hz
  1280x800 (0x4e)  107.2MHz -HSync +VSync
        h: width  1280 start 1360 end 1496 total 1712 skew    0 clock   62.6KHz
        v: height  800 start  801 end  804 total  835           clock   75.0Hz
  1280x800 (0x4f)   98.9MHz -HSync +VSync
        h: width  1280 start 1352 end 1488 total 1696 skew    0 clock   58.3KHz
        v: height  800 start  801 end  804 total  833           clock   70.0Hz
  1280x800 (0x50)   83.5MHz -HSync +VSync
        h: width  1280 start 1344 end 1480 total 1680 skew    0 clock   49.7KHz
        v: height  800 start  801 end  804 total  828           clock   60.0Hz
  1152x864 (0x51)  108.0MHz +HSync +VSync
        h: width  1152 start 1216 end 1344 total 1600 skew    0 clock   67.5KHz
        v: height  864 start  865 end  868 total  900           clock   75.0Hz
  1152x864 (0x52)  105.0MHz -HSync +VSync
        h: width  1152 start 1224 end 1352 total 1552 skew    0 clock   67.6KHz
        v: height  864 start  865 end  868 total  902           clock   75.0Hz
  1152x864 (0x53)   96.8MHz -HSync +VSync
        h: width  1152 start 1224 end 1344 total 1536 skew    0 clock   63.0KHz
        v: height  864 start  865 end  868 total  900           clock   70.0Hz
  1152x864 (0x54)   81.6MHz -HSync +VSync
        h: width  1152 start 1216 end 1336 total 1520 skew    0 clock   53.7KHz
        v: height  864 start  865 end  868 total  895           clock   60.0Hz
  1280x768 (0x55)  103.0MHz -HSync +VSync
        h: width  1280 start 1360 end 1496 total 1712 skew    0 clock   60.2KHz
        v: height  768 start  769 end  772 total  802           clock   75.0Hz
  1280x768 (0x56)   95.0MHz -HSync +VSync
        h: width  1280 start 1352 end 1488 total 1696 skew    0 clock   56.0KHz
        v: height  768 start  769 end  772 total  800           clock   70.0Hz
  1280x768 (0x57)   80.1MHz -HSync +VSync
        h: width  1280 start 1344 end 1480 total 1680 skew    0 clock   47.7KHz
        v: height  768 start  769 end  772 total  795           clock   60.0Hz
  1280x720 (0x58)   95.7MHz -HSync +VSync
        h: width  1280 start 1352 end 1488 total 1696 skew    0 clock   56.4KHz
        v: height  720 start  721 end  724 total  752           clock   75.0Hz
  1280x720 (0x59)   89.0MHz -HSync +VSync
        h: width  1280 start 1352 end 1488 total 1696 skew    0 clock   52.5KHz
        v: height  720 start  721 end  724 total  750           clock   70.0Hz
  1280x720 (0x5a)   74.5MHz -HSync +VSync
        h: width  1280 start 1336 end 1472 total 1664 skew    0 clock   44.8KHz
        v: height  720 start  721 end  724 total  746           clock   60.0Hz
  1024x768 (0x5b)   78.8MHz +HSync +VSync
        h: width  1024 start 1040 end 1136 total 1312 skew    0 clock   60.1KHz
        v: height  768 start  769 end  772 total  800           clock   75.1Hz
  1024x768 (0x5c)   78.8MHz +HSync +VSync
        h: width  1024 start 1040 end 1136 total 1312 skew    0 clock   60.0KHz
        v: height  768 start  769 end  772 total  800           clock   75.0Hz
  1024x768 (0x5d)   75.0MHz -HSync -VSync
        h: width  1024 start 1048 end 1184 total 1328 skew    0 clock   56.5KHz
        v: height  768 start  771 end  777 total  806           clock   70.1Hz
  1024x768 (0x5e)   65.0MHz -HSync -VSync
        h: width  1024 start 1048 end 1184 total 1344 skew    0 clock   48.4KHz
        v: height  768 start  771 end  777 total  806           clock   60.0Hz
  1024x768 (0x5f)   63.5MHz -HSync +VSync
        h: width  1024 start 1072 end 1176 total 1328 skew    0 clock   47.8KHz
        v: height  768 start  771 end  775 total  798           clock   59.9Hz
  832x624 (0x60)   57.3MHz -HSync -VSync
        h: width   832 start  864 end  928 total 1152 skew    0 clock   49.7KHz
        v: height  624 start  625 end  628 total  667           clock   74.6Hz
  800x600 (0x61)   50.0MHz +HSync +VSync
        h: width   800 start  856 end  976 total 1040 skew    0 clock   48.1KHz
        v: height  600 start  637 end  643 total  666           clock   72.2Hz
  800x600 (0x62)   49.5MHz +HSync +VSync
        h: width   800 start  816 end  896 total 1056 skew    0 clock   46.9KHz
        v: height  600 start  601 end  604 total  625           clock   75.0Hz
  800x600 (0x63)   40.0MHz +HSync +VSync
        h: width   800 start  840 end  968 total 1056 skew    0 clock   37.9KHz
        v: height  600 start  601 end  605 total  628           clock   60.3Hz
  800x600 (0x64)   36.0MHz +HSync +VSync
        h: width   800 start  824 end  896 total 1024 skew    0 clock   35.2KHz
        v: height  600 start  601 end  603 total  625           clock   56.2Hz
  640x480 (0x65)   31.5MHz -HSync -VSync
        h: width   640 start  656 end  720 total  840 skew    0 clock   37.5KHz
        v: height  480 start  481 end  484 total  500           clock   75.0Hz
  640x480 (0x66)   31.5MHz -HSync -VSync
        h: width   640 start  664 end  704 total  832 skew    0 clock   37.9KHz
        v: height  480 start  489 end  491 total  520           clock   72.8Hz
  640x480 (0x67)   31.5MHz -HSync -VSync
        h: width   640 start  664 end  704 total  832 skew    0 clock   37.9KHz
        v: height  480 start  489 end  492 total  520           clock   72.8Hz
  640x480 (0x65)   31.5MHz -HSync -VSync
        h: width   640 start  656 end  720 total  840 skew    0 clock   37.5KHz
        v: height  480 start  481 end  484 total  500           clock   75.0Hz
  640x480 (0x68)   30.2MHz -HSync -VSync
        h: width   640 start  704 end  768 total  864 skew    0 clock   35.0KHz
        v: height  480 start  483 end  486 total  525           clock   66.7Hz
  640x480 (0x69)   25.2MHz -HSync -VSync
        h: width   640 start  656 end  752 total  800 skew    0 clock   31.5KHz
        v: height  480 start  490 end  492 total  525           clock   60.0Hz
  640x480 (0x6a)   25.2MHz -HSync -VSync
        h: width   640 start  656 end  752 total  800 skew    0 clock   31.5KHz
        v: height  480 start  490 end  492 total  525           clock   59.9Hz
  720x400 (0x6b)   28.3MHz -HSync +VSync
        h: width   720 start  738 end  846 total  900 skew    0 clock   31.5KHz
        v: height  400 start  412 end  414 total  449           clock   70.1Hz
Comment 36 Eric Anholt 2008-03-07 14:37:47 UTC
bf6d59ee98127ac6447848c4202c54d861a510d4 on master is likely to fix this bug
Comment 37 Keith Brindley 2008-03-10 13:14:53 UTC
Running a build taken Sunday night (GMT) but still no luck here even with those commit changes.

Anything useful I can collect? From what I can see, the TVs problem is the refresh rate.

As a side issue (may or may not be related), any attempts to change the mode with xrandr result in the command line coming back with no changes. (Running via remote desktop at this point - but when running on VGA,xrandr mode changes trigger a refresh of the remote desktop and redraw of the whole lot.)
Comment 38 Otakar Truněček 2008-03-14 06:38:42 UTC
I have the same motherboard and DVI output over HDMI->DVI converter works fine in X. I'm running current Arch Linux, xorg-server version 1.4.0.90, xf86-video-intel 2.2.1, motherboard bios version 301.
Comment 39 Kevin DeKorte 2008-03-14 06:52:35 UTC
(In reply to comment #38)
> I have the same motherboard and DVI output over HDMI->DVI converter works fine
> in X. I'm running current Arch Linux, xorg-server version 1.4.0.90,
> xf86-video-intel 2.2.1, motherboard bios version 301.
> 

Can you please post your Xorg.0.log file and the output of 'xrandr --prop'

Thanks
Comment 40 Otakar Truněček 2008-03-14 08:07:03 UTC
Created attachment 15120 [details]
Xorg.0.log with working DVI
Comment 41 Otakar Truněček 2008-03-14 08:09:05 UTC
Created attachment 15121 [details]
output of 'xrandr --prop'
Comment 42 Daniel J Blueman 2008-03-16 09:38:13 UTC
With my G35 Asus P5E-VM running Ubuntu 8.04 pre-rel x86-64 with Intel driver 2.2.1, I am seeing two symptoms, using the HDMI port w/ HDMI->DVI adapter:

 - dual-link DVI cable to projector
  -> unable to lock, so blank screen

 - single-link DVI cable to Belinea 1600x1200 LCD
  -> consistent off-by-2 Y size

It seems entirely conceivable that my projector doesn't accept resolutions that aren't expected and untested via the DVI-D connection; I can readily see this happening on HDMI/DVI TVs which support only particular resolutions and possibly on particular digital monitors.

Observations which make me tie the bug to the Intel driver:
 - during BIOS init and before Linux takes over, we see:
  - 640x480

 - during Ubuntu's booting and VESA framebuffer use:
  - 640x480

 - in X, testing various resolutions, the monitor reports:
  - 1600x1198
  - 1280x1022
  - 1280x958
  - 1152x862
  - 1024x766
  - 800x598
  - 640x478

All output in /var/log/Xorg.0.log, xrandr etc, points the correct resolution being used, so it seems like a chip configuration/register setup issue.

Let me know of useful information I can get and contribute!
Comment 43 Daniel J Blueman 2008-03-16 09:40:58 UTC
There is a good chance of this being caused by a simple off-by-1 or 2 coding error; what debug do I need to dump the relevant register writes, or register state?
Comment 44 Keith Brindley 2008-03-17 16:12:23 UTC
(In reply to comment #42)

>  - in X, testing various resolutions, the monitor reports:
>   - 1600x1198
>   - 1280x1022
>   - 1280x958
>   - 1152x862
>   - 1024x766
>   - 800x598
>   - 640x478
> 
> All output in /var/log/Xorg.0.log, xrandr etc, points the correct resolution
> being used, so it seems like a chip configuration/register setup issue.
> 
> Let me know of useful information I can get and contribute!
> 

I'm not convinced it's as simple as the -2 theory. Running the VESA driver on mine, the driver thinks it's running at 1024x768 but the TV reckons 1026x769 (complete with annoying bright purple line for those 2 extra pixels!). The Intel driver has reverted back to completely refusing to work.

Current setup:
 xorg server 1.3.0 (Gutsy standard)
 intel driver 1 week old git checkout (9th March)
 BIOS 405.

I'm hoping to get hold of a DVI compatible PC monitor tomorrow on loan and then plan on having a play with the monitor and TV on different BIOS revisions to see if there is any difference there (assuming the monitor is happy enough with slightly off resolutions!)

If anyone can think of other tests of information gathering that would be useful please let me know.

Could there be something in xorg server 1.4.0 that's helping it? I could be wrong but of the working reports I've seen they seem to generally (if not all) be running 1.4.0 or above.
Comment 45 Michael Fu 2008-03-27 02:19:35 UTC
(In reply to comment #35)
> Created an attachment (id=14669) [details]
> This is same system, but with a ADD2 card installed
> 
> Things to note here. The TMDS-1 card is now the DVI connector and not the HDMI
> connector (where did the hdmi connector go?)
> 

Kevin, could you explain more about the ADD2 card? I assume it's a SDVO DVI card, right?

>This same DVI cable and monitor were working fine on an Asus MiniPC with an
>i915 chipset, until the machine died.

in your comment# 1, you mentioned a Asus MiniPC. It sounds to me it also has a HDMI port ( and you connect it to the same monitor using the same HDMI->DVI cable, right?) Do you have a log of it with "modedebug" turns on?
Comment 46 Kevin DeKorte 2008-03-27 06:07:07 UTC
(In reply to comment #45)
> 
> Kevin, could you explain more about the ADD2 card? I assume it's a SDVO DVI
> card, right?

Yes the ADD2 card is an SDVO DVI card.

Got mine off ebay and it looks like this

http://cgi.ebay.com/Silicon-Image-Orion-ADD2-N-Dual-Pad-x16-PCIe-X8760_W0QQitemZ180225854325QQihZ008QQcategoryZ3762QQssPageNameZWDVWQQrdZ1QQcmdZViewItem


> 
> >This same DVI cable and monitor were working fine on an Asus MiniPC with an
> >i915 chipset, until the machine died.
> 
> in your comment# 1, you mentioned a Asus MiniPC. It sounds to me it also has a
> HDMI port ( and you connect it to the same monitor using the same HDMI->DVI
> cable, right?) Do you have a log of it with "modedebug" turns on?
> 

No, the minipc had only a DVI ouput on it. I do not have that machine anymore so unfortunately I can't run any tests on it.
Comment 47 Michael Fu 2008-03-27 19:35:51 UTC
*** Bug 14787 has been marked as a duplicate of this bug. ***
Comment 48 Michael Fu 2008-04-02 00:49:32 UTC
(In reply to comment #46)
> (In reply to comment #45)
> > 
> > Kevin, could you explain more about the ADD2 card? I assume it's a SDVO DVI
> > card, right?
> 
> Yes the ADD2 card is an SDVO DVI card.
> 
> Got mine off ebay and it looks like this
> 
> http://cgi.ebay.com/Silicon-Image-Orion-ADD2-N-Dual-Pad-x16-PCIe-X8760_W0QQitemZ180225854325QQihZ008QQcategoryZ3762QQssPageNameZWDVWQQrdZ1QQcmdZViewItem
> 
> 
> > 
> > >This same DVI cable and monitor were working fine on an Asus MiniPC with an
> > >i915 chipset, until the machine died.
> > 
> > in your comment# 1, you mentioned a Asus MiniPC. It sounds to me it also has a
> > HDMI port ( and you connect it to the same monitor using the same HDMI->DVI
> > cable, right?) Do you have a log of it with "modedebug" turns on?
> > 
> 
> No, the minipc had only a DVI ouput on it. I do not have that machine anymore
> so unfortunately I can't run any tests on it.
> 

Hmm..you said "using the same cable", then I assume you are using the HDMI->DVI cable . If the MiniPC doesn't have a HDMI port, how do you connect the HDMI->DVI cable to the machine?
Comment 49 Kevin DeKorte 2008-04-02 05:41:08 UTC
The cable I had was a dual link DVI cable. The Asus MB comes with a HDMI->DVI adapter. So it was the same cable, but with the adapter attached.
Comment 50 M. Egmond 2008-04-10 11:45:42 UTC
I also had trouble with the HDMI/DVI output on this motherboard in combination with a Dell 24" screen (2405FPW). When connecting via the HDMI-DVI converter included with the motherboard, and a DVI cable, there is no image on the DVI, and the monitor actually 'locks up' because it cannot handle the signal sent to it (you have to pull out the cable in order to change the input choice or get the on screen menu).

Reading about the SDVO cards I thought I'd give that a try as last resort. So I got one and plugged in in, and connecting the DVI cable directly to this card I have no problems running the panel at full resolution (and with a sharp image).

If there is any logging that I can add that may help to fix the initial issue, let me know. I'm not an expert, but I have played around the xorg.conf and even managed to compile/install a driver myself, so I should be ok with moderate care :) [Though I must also add that I had some problems reverting back to an packaged driver so I'm not 100% sure my system is sufficiently clean to give good results. Will upgrade with a clean system once Kubuntu Hardy is out, should be soon]
Comment 51 Tomasz Potega 2008-04-10 13:11:17 UTC
A similar problem with an Asus P5E-V (ATX variant of the P5E-VM) + Asus MW221U LCD display.

When connecting the monitor using the bundled HDMI/DVI converter, I get slightly blurry image, with the display reporting 1680x1049 (this time only one scanline less than expected, but the resolution is lower, too).

Environment: 32 bit Fedora 8 with all the updates applied, various git driver checkouts.

If there is more information that might be of any value (logs, dumps) - I'll grab it and post here.
Comment 52 Hein-Pieter van Braam 2008-04-26 13:06:57 UTC
I have the same problems described above with my Asus P5E-V HDMI motherboard. If there is anything I can test, please let me know. This machine isn't particularly useful for me if I can't get the second head to work, so I might as well do some debugging should that be required.

I am trying to get my VGA and HDMI->DVI attached LCD panels to be dual-screen, as of yet I have been unable to get any output on the second (HDMI->DVI) head as soon as X starts, the screen goed blank and will not display anything, including the OSD, which to me suggests a bad mode of sorts.

Comment 53 M. Egmond 2008-04-27 03:54:57 UTC
(In reply to comment #50)
I did a clean boot of the official Ubuntu 8.04 'desktop' release (live CD) and both with the SDVO card and without the result is a complete lockup of the PC (black screen, LCD recons the resolution is 640x480, tapping num/capslock does not do anything, cannot switch to Ctrl-Alt-F1, etc.). This is on amd64 platform. The lockup seems to occur right after you can see it 'starting CUPS' in textmode, not 100% sure whether this is driver related (no logs available from the live boot), although it seems to match the result I got when upgrading the xorg/intel packages on a 7.10 install to those included with Hardy...

With a clean reinstall of the official 7.10 release it works fine with the SDVO card as mentioned before using the included 'intel' driver (1920x1200, no blurred images).
Comment 54 Allison Lortie (desrt) 2008-04-29 23:34:41 UTC
See also the possibly-quite-related bug 15370.
Comment 55 niQo 2008-06-05 14:35:43 UTC
I alos had the same problems with my Asus P5E-V HDMI motherboard. But HDMI -> DVI output is now working with intel git versions of  the drivers from today.
I think it was related to this bug : #15766
Comment 56 Hong Liu 2008-06-05 17:45:42 UTC
(In reply to comment #55)
> I alos had the same problems with my Asus P5E-V HDMI motherboard. But HDMI ->
> DVI output is now working with intel git versions of  the drivers from today.
> I think it was related to this bug : #15766
> 

Thanks for the finding, can anyone try the latest driver to see if HDMI->DVI is working?

Thanks,
Hong
Comment 57 Allison Lortie (desrt) 2008-06-05 18:15:11 UTC
G35 on ASUS P5E-VM here with a DELL 20" DVI monitor (hooked up via the HDMI->DVI dongle).

this fix nails it.  thanks so much.


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.