Bug 17812 - [gm965 TV]driver can not detect TV but it connected, when only TV is connected.
Summary: [gm965 TV]driver can not detect TV but it connected, when only TV is connected.
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: git
Hardware: Other Linux (All)
: highest blocker
Assignee: Wang Zhenyu
QA Contact: Xorg Project Team
Depends on:
Blocks: intel-2.5
  Show dependency treegraph
Reported: 2008-09-27 23:32 UTC by liuhaien
Modified: 2008-10-09 00:25 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:

xorg.0.log (21.68 KB, text/plain)
2008-09-27 23:32 UTC, liuhaien
no flags Details
xorg conf file (3.51 KB, text/plain)
2008-09-27 23:33 UTC, liuhaien
no flags Details

Description liuhaien 2008-09-27 23:32:28 UTC
Created attachment 19268 [details]

System Environment:

--Platform: gm965
--Architecture(32-bit,64-bit,compatiblity): 32-bit
--2D driver: xf86-video-intel-2.5-branch
--3D driver: intel-2008-q3 branch e636f5b76bbcfef95092d21646c844c0dfe770e0
--DRM:shipped with kernel 2.6.27-rc6
--libdrm: master 2db8e0c8ef8c7a66460fceda129533b364f6418c
--Xserver: 1.5.1
--Kernel: 2.6.27-rc2

Bug detailed description:
connect Tv to system,X can not start up with below error:
0: X(xf86SigHandler+0x79) [0x80bbdd9]
1: [0xffffe400]
2: X(xf86InitialConfiguration+0xf56) [0x80e1226]
3: /opt/X11R7/lib/xorg/modules/drivers//intel_drv.so [0xb7ad005a]
4: /opt/X11R7/lib/xorg/modules/drivers//intel_drv.so [0xb7ad19f5]
5: X(InitOutput+0x965) [0x80a1e55]
6: X(main+0x261) [0x806bfa1]
7: /lib/i686/cmov/libc.so.6(__libc_start_main+0xe5) [0xb7bd8455]
8: X(FontFileCompleteXLFD+0x1e9) [0x806b591]

Fatal server error:
Caught signal 11.  Server aborting
Xorg.0.log shows that :
(II) intel(0): Output VGA disconnected
(II) intel(0): Output TMDS-1 disconnected
(WW) intel(0): No outputs definitely connected, trying again...
(II) intel(0): Output VGA disconnected
(II) intel(0): Output TMDS-1 disconnected

reproduce steps:
1.connect TV to system
Comment 1 liuhaien 2008-09-27 23:33:11 UTC
Created attachment 19269 [details]
xorg conf file
Comment 2 liuhaien 2008-09-27 23:35:25 UTC
btw,this issue also exists on master tip.
Comment 3 liuhaien 2008-09-27 23:50:51 UTC
and GM45 also has the same issue with D-connect.
Comment 4 liuhaien 2008-10-06 23:37:49 UTC
this issue works well with xf86-video-intel-2.4-branch.
Comment 5 liuhaien 2008-10-07 01:06:10 UTC
I try to bisect ,but there are so many commit which will build fail,so I just get a good commit on master:
commit 2aaa207db2cea03ba05c439b5074807689f2c5be
Merge: 2049ba2... 76eb8e6...
Author: Jesse Barnes <jbarnes@hobbes.lan>
Date:   Thu Jul 31 13:10:19 2008 -0700

    Merge branch 'master' of ssh://git.freedesktop.org/git/xorg/driver/xf86-vide



Comment 6 Wang Zhenyu 2008-10-08 00:43:24 UTC
Fixed in master:

commit 74571363539426abeb0a1af11f3bb545d91ed6c2
Author: Zhenyu Wang <zhenyu.z.wang@intel.com>
Date:   Wed Oct 8 15:36:10 2008 +0800

    Put forware VBIOS data parsing
    i830_bios_init() is called too late after output init, which
    makes bios data mostly useless, and caused all TV init fail as
    tv_present flag is not set.
Comment 7 liuhaien 2008-10-09 00:25:04 UTC

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.