Bug 16757 - [965GM] "Output LVDS is connected to pipe B" on a Mini-PC without LFP
Summary: [965GM] "Output LVDS is connected to pipe B" on a Mini-PC without LFP
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 enhancement
Assignee: Jesse Barnes
QA Contact: Xorg Project Team
URL: https://bugs.launchpad.net/ubuntu/+so...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-17 04:17 UTC by unggnu
Modified: 2008-07-21 14:34 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
rom.bin (64.00 KB, application/octet-stream)
2008-07-21 14:07 UTC, Christian Egli
no flags Details

Description unggnu 2008-07-17 04:17:16 UTC
I'm forwarding this bug from a Ubuntu reporter.
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/233787

After starting the Xserver the screen simply goes blank and shows nothing (w/o sync, display says: "no signal"). Switching to a console is not possible, the screen remains blank. However, the system responds to ctrl+alt+del and reboots and the GDM sound appears.
This report was confirmed through three different users using a Transtec Senyo 610 Mini-PC, which has no integrated display.
The issue appears in Ubuntu Hardy 8.04 and also with Intel driver 2.3.1.
The only workaround so far is to use the vesa driver.
It looks like a Pipe problem since VGA has no connected one.

Gfx: Intel x3100 (GM965/GL960 Integrated Graphics Controller (rev 03))
Display: analog-input, connected via DVI to VGA-adapter
Video-Connectors:
1 x DVI-I
1x TV Port (S-Video)

PCI ID:      8086,2a03:1509,2f15
Xorg.0.log:  http://launchpadlibrarian.net/14644366/Xorg.0.log
xorg.conf:   http://launchpadlibrarian.net/14644360/xorg.conf
dmesg:       http://launchpadlibrarian.net/16098609/dmesg.txt
Comment 1 unggnu 2008-07-17 04:22:08 UTC
There is even no display output through DVI-D.
Comment 2 Gordon Jin 2008-07-17 22:48:00 UTC
So the problem is intel driver always assumes LVDS connected on mobile chipset. And in this case there's no local flat panel on this machine with 965GM.

We can work around it with adding a quirk. But I'm wondering if we can do better to completely resolve this kind of issues with adding LVDS detection code in the driver.

For now I suggest users to work around it by explicitly disable LVDS in xorg.conf:
1) Add
        Option          "monitor-LVDS"   "LVDS"
in Device section
2)
Section "Monitor"
        Identifier "LVDS"
        Option          "Ignore" "True"
EndSection
Comment 3 unggnu 2008-07-18 04:05:18 UTC
Thanks for your reply. I think a lvds detection would be great.
In the meantime would these lines in i830_quirks.c solve the issue or has anything else to be changed?


     /* Apple Mac mini has no lvds, but macbook pro does */
     { PCI_CHIP_I945_GM, 0x8086, 0x7270, quirk_mac_mini },
 
+    /* Transtec Senyo 610 mini pc */
+    { PCI_CHIP_I965_GM, 0x1509, 0x2f15, quirk_ignore_lvds },
+    
     /* Clevo M720R has no tv output */
     { PCI_CHIP_I965_GM, 0x1558, 0x0721, quirk_ignore_tv },
Comment 4 Gordon Jin 2008-07-18 22:43:07 UTC
reassigning to Jesse.
Comment 5 Wang Zhenyu 2008-07-21 01:05:54 UTC
(In reply to comment #3)
> Thanks for your reply. I think a lvds detection would be great.
> In the meantime would these lines in i830_quirks.c solve the issue or has
> anything else to be changed?
> 
> 
>      /* Apple Mac mini has no lvds, but macbook pro does */
>      { PCI_CHIP_I945_GM, 0x8086, 0x7270, quirk_mac_mini },
> 
> +    /* Transtec Senyo 610 mini pc */
> +    { PCI_CHIP_I965_GM, 0x1509, 0x2f15, quirk_ignore_lvds },
> +    
>      /* Clevo M720R has no tv output */
>      { PCI_CHIP_I965_GM, 0x1558, 0x0721, quirk_ignore_tv },
> 

Does this quirk fix your problem? If yes, we can apply it right now.

Comment 6 unggnu 2008-07-21 03:28:41 UTC
The xorg.conf workaround mentioned in comment #2 fixes the problem for the reporter but nobody has tested the patch yet so I can't confirm it right now.
Comment 7 unggnu 2008-07-21 04:55:05 UTC
The patch/line fixes the problem. Thanks for your support.
Comment 8 Jesse Barnes 2008-07-21 11:51:55 UTC
Fix pushed as ed0fbd016b8fbcf01eddfd17fd25e745e7af2ba4, thanks.

It would be good though if I could get the VBIOS image from this machine, I have some LVDS detection improvements that I'd like to test against it.

You can get it from sysfs:
  $ cd /sys/devices/pci0000\:00/0000\:00\:02.0/
  $ echo 1 > rom
  $ cat rom > /tmp/rom.bin
  $ echo 0 > rom

then send me the rom.bin file.

Thanks,
Jesse
Comment 9 Christian Egli 2008-07-21 14:07:32 UTC
Created attachment 17807 [details]
rom.bin

Attached rom.bin as requested by Jesse
Comment 10 Jesse Barnes 2008-07-21 14:34:17 UTC
Great, thanks.  I'm hoping we can avoid adding more quirks in the future by detecting things better... we'll see.


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.