Bug 18124

Summary: [945GM DVI-I] Screen reports "no input signal" when starting X
Product: xorg Reporter: Michael Melcher <Michael.Melcher82>
Component: Driver/intelAssignee: Wang Zhenyu <zhenyu.z.wang>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium Keywords: NEEDINFO
Version: 7.4 (2008.09)   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Xorg.1.log with debug informations
none
LVDS quirk patch
none
use EDID info for SDVO detect
none
Check EDID info for DVI-I none

Description Michael Melcher 2008-10-19 14:48:03 UTC
Created attachment 19750 [details]
Xorg.1.log with debug informations

I have a Maxdata Favorite 100xs
When I start X the monitor says "no input signal" and then goes into standby mode
The screen is a 22" TFT from BLUE H connected with a vga cable and an adapter to the DVI port of the box


here's the output of lspci and lspci -vvv:

lspci
---------------------
00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)
00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation 82801GHM (ICH7-M DH) LPC Interface Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 02)
00:1f.2 SATA controller: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA AHCI Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)
02:00.0 Ethernet controller: Intel Corporation 82573E Gigabit Ethernet Controller (Copper)
03:00.0 Ethernet controller: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01)
04:0b.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 05)
04:0b.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 22)
04:0b.2 System peripheral: Ricoh Co Ltd R5C843 MMC Host Controller (rev 12)
04:0b.3 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 12)

---------------------
lspci -vvv (truncated, only for Display Controller)
---------------------

00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03) (prog-if 00 [VGA controller])
        Subsystem: FIRST INTERNATIONAL Computer Inc Device 4530
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0
        Interrupt: pin A routed to IRQ 10
        Region 0: Memory at d0300000 (32-bit, non-prefetchable) [size=512K]
        Region 1: I/O ports at 1800 [size=8]
        Region 2: Memory at c0000000 (32-bit, prefetchable) [size=256M]
  
        Capabilities: [90] Message Signalled Interrupts: Mask- 64bit- Count=1/1 Enable-
                Address: 00000000  Data: 0000
        Capabilities: [d0] Power Management version 2
                Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
        Kernel driver in use: intelfb
                                
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
        Subsystem: FIRST INTERNATIONAL Computer Inc Device 4530
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0
        Region 0: Memory at d0380000 (32-bit, non-prefetchable) [size=512K]
        Capabilities: [d0] Power Management version 2
                Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
                                                                                                                

---------------------

Driver Version:
*  x11-drivers/xf86-video-i810
      Latest version available: 2.4.2-r2
      Latest version installed: 2.4.2-r2

---------------------

Xorg:
*  x11-base/xorg-x11
      Latest version available: 7.4
      Latest version installed: 7.4

*  x11-base/xorg-server
      Latest version available: 1.5.2
      Latest version installed: 1.5.2
                                    
---------------------

System:
Gentoo Base System release 2.0.0
# uname -srvmpio
Linux 2.6.27-gentoo #6 PREEMPT Sat Oct 18 17:47:00 CEST 2008 i686 Intel(R) Celeron(R) M CPU 440 @ 1.86GHz GenuineIntel GNU/Linux


---------------------


Attached files:
Xorg.1.log
Comment 1 Keith Packard 2008-10-19 15:14:20 UTC
Looks like this box needs a quirk to disable LVDS, and then we need a better way to figure out that the DVI connector carries both TMDS and VGA signals.

Please send the lspci -nv output so we can stick the numeric device IDs into the driver and disable the LVDS output (we cannot detect that it is disconnected in hardware)
Comment 2 Gordon Jin 2008-10-19 18:20:43 UTC
I think both the LVDS detection issue (the driver wrongly assumed your machine has a local flat panel since it's mobile chipset 945gm) and the DVI-I issue (detected both DVI and VGA output but actually there's only one) have been fixed in 2.5 driver release. 
Could you try http://xorg.freedesktop.org/archive/individual/driver/xf86-video-intel-2.4.98.0.tar.gz or the upcoming 2.5 release?

Comment 3 Wang Zhenyu 2008-11-26 19:54:55 UTC
Created attachment 20620 [details] [review]
LVDS quirk patch

With this patch your VGA should work then.
Comment 4 Wang Zhenyu 2008-12-03 21:45:09 UTC
Created attachment 20804 [details] [review]
use EDID info for SDVO detect

This one trys to do same as integrated DVI for SDVO DVI, to check EDID type bit for output detect.
Comment 5 Wang Zhenyu 2008-12-08 21:58:57 UTC
Comment on attachment 20620 [details] [review]
LVDS quirk patch

I've pushed LVDS detect patch to git master, so it should obselete quirk patch. Please help to test it.
Comment 6 Wang Zhenyu 2008-12-16 18:46:10 UTC
ping? The test needs recent git master or 2.6 rc1 with sdvo detect here I attached here.
Comment 7 Wang Zhenyu 2009-01-08 18:34:26 UTC
ping again?
Comment 8 Wang Zhenyu 2009-02-08 18:48:31 UTC
Created attachment 22698 [details] [review]
Check EDID info for DVI-I

Updated patch.
Comment 9 Wang Zhenyu 2009-02-15 21:19:53 UTC
Patch is pushed. Close this one.

commit 37c67088a887e6380571e6eec8a8f058e3e24717
Author: Zhenyu Wang <zhenyu.z.wang@intel.com>
Date:   Wed Feb 11 15:15:27 2009 +0800

    SDVO: check EDID info for DVI-I
    
    For SDVO DVI-I, check EDID info for digital output,
    otherwise mark it to be disconnected as analog output
    is driven by VGA then.

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.