Bug 16903 - [G33] screens uninitialized if using DVI/HDMI
Summary: [G33] screens uninitialized if using DVI/HDMI
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: medium blocker
Assignee: Wang Zhenyu
QA Contact: Xorg Project Team
Depends on:
Blocks: intel-2.5
  Show dependency treegraph
Reported: 2008-07-30 04:43 UTC by David Amiel
Modified: 2008-08-19 18:15 UTC (History)
0 users

See Also:
i915 platform:
i915 features:

Xorg log testing DVI -> DVI LCD monitor with modedebug = true (102.35 KB, text/plain)
2008-07-30 04:43 UTC, David Amiel
no flags Details
xorg.log, debugmode=true, HDMI -> DVI monitor (100.15 KB, text/plain)
2008-07-30 22:40 UTC, David Amiel
no flags Details

Description David Amiel 2008-07-30 04:43:57 UTC
Created attachment 17997 [details]
Xorg log testing DVI -> DVI LCD monitor with modedebug = true


the HDMI and DVI outputs of my Gigabyte G33M-S2H motherboard do not work with xorg.
I've tried both outputs with each following devices :
- DVI LCD monitor
- DVI LCD video projector

the result is the same for all the devices : I've got the picture until Xorg starts, after that the screen doesn't receive any more data. Everything seems to be well discovered by xorg but screens remain uninitialized.
All the tests are done with only one output connected from the computer.

Everything works well using VGA output on the TV and the monitor.

My setup :
- Intel GMA X3100
- 2.4.0 drivers
- X.Org X Server

You can find in attachment the xorg.log with mode debug activated with the computer hooked through its DVI output to a DVI LCD Monitor.


Comment 1 Gordon Jin 2008-07-30 18:09:20 UTC
Thanks for the report. Was this ever working (at least for DVI) with the previous intel driver?
Comment 2 Wang Zhenyu 2008-07-30 20:54:55 UTC
Could you upload HDMI only X log with modedebug? It looks this board use sil1392, and DVI, HDMI can only be one active. Any setting in BIOS relate to output config?
Comment 3 Wang Zhenyu 2008-07-30 20:57:19 UTC
Looks this board has integrate HDMI-to-DVI adapter internally, so please try HDMI first.
Comment 4 David Amiel 2008-07-30 22:40:28 UTC
Created attachment 18024 [details]
xorg.log, debugmode=true, HDMI -> DVI monitor
Comment 5 David Amiel 2008-07-30 22:56:27 UTC
here the xorg.log after booting with HDMI output.

In the bios I can do 3 things about the graphic card :
- activate it or not (Yes)
- choose the amount of ram reserved for it (256 mb)
- overclock it (normal)

With anterior version of the drivers (2.X) the HDMI output did work about 5 times for 15 starts. With 2.4.0 drivers the HDMI output did work once among 25 reboots. I didn't touch anything between the reboots and I let the parameters to be autodiscovered (except the option modedebug forced)

PS : I'm leaving in holidays for 2 weeks since now, I'll able to answer your questions with delay, but will not be able to do any test during this period.
Comment 6 Wang Zhenyu 2008-07-30 23:33:52 UTC
It looks our asus p5e-vm hdmi board has same hdmi chip "sil1392" like gigabyte. HDMI works fine here.

Does HDMI-to-HDMI link work?
Comment 7 David Amiel 2008-07-31 10:54:44 UTC
I must have tried 5 or 6 times with 2.4.0 drivers with a hdmi -> hdmi link, and it has worked once.
Comment 8 Wang Zhenyu 2008-08-04 22:31:16 UTC
Does it work if you comment out these two lines?

In src/i830_sdvo.c, i830_sdvo_mode_set() function.

    if (dev_priv->encode.hdmi_rev) 
        i830_sdvo_set_avi_infoframe(output, mode);
Comment 9 David Amiel 2008-08-08 11:54:45 UTC
I'll be back to home on wednesday and then available to do some tests.

Comment 10 David Amiel 2008-08-13 02:33:01 UTC
OK I'm back from vacation.

I did some more tests :

- HDMI output -> HDMI TV :
  - it didn't work because I'm overclocking my cpu. If I'm using it at its original frequence xorg starts everytime using 2.4.0 drivers with or without your patch. I didn't think about this before because the VGA output works well with the cpu overclocked or not. To overclock my cpu I'm using a regular FSB (200->333mhz) so timings should be goods/regulars everywhere, it looks strange that HDMI output has problems with this.

- HDMI output -> DVI monitor :
  - cpu overclocked or not, with your patch or not, there screen becomes black when xorg starts

Comment 11 Wang Zhenyu 2008-08-13 17:44:15 UTC
Could you try current xf86-video-intel-2.4-branch and attach debug log in DVI?
Comment 12 Wang Zhenyu 2008-08-13 19:27:26 UTC
Tested on asus board with sil1392, and 2.4-branch works fine with HDMI-DVI link through SDVO driver. Although this is 965-ish chip, let me know if 2.4-branch still fail on your G33.
Comment 13 David Amiel 2008-08-19 08:22:19 UTC
I have done some tests with 2.4.1 drivers and it works just fine with hdmi output (hooked to a DVI or HDMI screen) :)

thanks for your help.

Do you steel need I provide you xorg log ?
Comment 14 Wang Zhenyu 2008-08-19 18:15:36 UTC
Nice, thanks for your report!

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.