Created attachment 77488 [details] Xorg.0.log I have a PanelPC with a graphic card "Intel 945GM" inside. Centos Release : CentOS release 6.3 (Final) Intel driver Package : xorg-x11-drv-intel-2.20.2-2.el6.i686 When I connect an external VGA monitor, LVDS appear disconnected. # xrandr -q Screen 0: minimum 320 x 200, current 1024 x 768, maximum 4096 x 4096 VGA1 connected 1024x768+0+0 (normal left inverted right x axis y axis) 304mm x 228mm 800x600 72.2 + 75.0 60.3 56.2 1024x768 75.1* 70.7 70.1 60.0 832x624 74.6 640x480 72.8 75.0 66.7 60.0 LVDS1 disconnected (normal left inverted right x axis y axis) And it reconnects when I disconnect the VGA monitor. # xrandr -q Screen 0: minimum 320 x 200, current 1280 x 800, maximum 4096 x 4096 VGA1 disconnected (normal left inverted right x axis y axis) LVDS1 connected 1280x800+0+0 (normal left inverted right x axis y axis) 0mm x 0mm 1280x800 59.8*+ 59.9 1280x1024 59.7 + 1280x960 60.0 1280x768 59.9 60.0 1024x768 60.0 800x600 60.3 56.2 848x480 60.0 640x480 59.9
2.6.32-279.el6.i686 - the behaviour you have here is not an artifact of our driver as the LVDS is always reported as connected unless you manually override that behaviour by telling it to use the lid status. Please try reproducing with an upstream kernel.
I don't think it is a kernel thing. In any case, I've updated my kernel over CentOs to the last version : vmlinuz-2.6.32-358.2.1.el6.i686 ant the same results. ( log is attached ) I've also tested other enviroments with newer kernels and happen the same: Fedora Core 17 i686 : xorg-x11-drv-intel 2.19.0-1 / kernel 3.3.4-5 Fedora Core 18 i686 : xorg-x11-drv-intel 2.20.19-2 / kernel 3.6.10-4 It happesns the same : LVDS1 repostes as disconnect on plug an VGA monitos Also the vesa driver shows on LVDS1 and VGA1 a perfectly cloned desktop. Without disconnect LVDS1 display. Unlikely for oue propouses vesa driver is a very basic one, no extended desktop included. I wanna focus on the hardware : is a Panel PC, not a laptop!! and acpi even don't create /proc/acpi/button/lid directory! this is why I think there is some problem into the understanding between ACAPI and Inter Driver. Intel drives could not report the right lid status and LVDS1 is disconnected by the drives when other option like VGA is available.
If you're not willing to test upstream kernels (this means 3.8 or even newer), then please file this bug against your distro. 2.6.32 is _NOT_ supported by us since a long time.
Created attachment 77673 [details] Xorg.0.log-3.8.0-17
Same experience with upstream kernel 3.8.0-17 and intel-driver, see Xorg.0.log-3.8.0-17 attached. Executing xrandr without motinitor attached at VGA > Screen 0: minimum 320 x 200, current 1280 x 1024, maximum 32767 x 32767 > LVDS1 connected 1280x1024+0+0 (normal left inverted right x axis y axis) > 0mm x 0mm > 1280x1024 59.7*+ > 1280x960 60.0 > 1152x864 60.0 > 1024x768 60.0 > 800x600 60.3 56.2 > 640x480 59.9 > VGA1 disconnected (normal left inverted right x axis y axis) Executing xrandr with VGA monitor attached > Screen 0: minimum 320 x 200, current 1024 x 768, maximum 32767 x 32767 > LVDS1 disconnected (normal left inverted right x axis y axis) > VGA1 connected 1024x768+0+0 (normal left inverted right x axis y axis) > 304mm x 228mm > 1024x768 75.1* 70.7 70.1 60.0 832x624 74.6 > 800x600 72.2 75.0 60.3 56.2 > 640x480 72.8 75.0 66.7 60.0 > 720x400 70.1 Expected results: LVDS1 connected.
Can you pls boot that 3.8 kernel with drm.debug=0xe added to your kernel cmdline and the attach the complete dmesg after having connected VGA and done an xrandr call?
Created attachment 77815 [details] dmesg w/debug - kernel 3.9.0-0.rc4.git0.1.fc19.i686 - xf86-video-intel-2.21.3
Created attachment 77816 [details] Xorg.0.log - kernel 3.9.0-0.rc4.git0.1.fc19.i686 - xf86-video-intel-2.21.3
Sorry about the delay. The version I've testes Ubuntu life 13.04 allways hungs on installation... finally I've get an FC19 alpha really-slowly release with kernel 3.9.0-0, I've compiled the xf86-video-intel-2.21.3 driver and copy to /usr/lib/xorg/modules/drivers/. The same results when connect VGA monitor, open terminal & xrandr > # xrandr > Screen 0: minimum 320 x 200, current 1280 x 1024, maximum 4096 x 4096 > LVDS1 disconnected primary 1280x1024+0+0 (normal left inverted right x axis y > axis) 0mm x 0mm > VGA1 connected (normal left inverted right x axis y axis) > 1366x768 59.8 + > 1280x1024 75.0 60.0 > 1280x960 60.0 > 1280x800 59.8 > 1152x864 75.0 > 1280x720 60.0 > 1024x768 75.1 70.1 60.0 > 832x624 74.6 > 800x600 72.2 75.0 60.3 56.2 > 640x480 72.8 75.0 66.7 60.0 > 720x400 70.1 > 1280x1024 (0x44) 108.0MHz > h: width 1280 start 1328 end 1440 total 1688 skew 0 clock 64.0KHz > v: height 1024 start 1025 end 1028 total 1072 clock 59.7Hz dmesg with debug is attached. Hope it could help
Oh, an sdvo lvds output. That explains a lot (dmesg with debug output was key, Xorg.log is pretty irrelevant here). I'm looking into a fix.
(In reply to comment #10) > Oh, an sdvo lvds output. That explains a lot (dmesg with debug output was > key, Xorg.log is pretty irrelevant here). I'm looking into a fix. Daniel, ping for the fix. ;D
Oh, I've looked a bit harder and noticed that thing are pretty neatly screwed up in sdvo land. So not something I can fix in 1-2 easy patches. And since sdvo isn't a high prio thing for us I've postponed this for now. If you can code and want to fix this yourself I could point you into the right direction. Just ping me on irc on #intel-gfx (I'm danvet there).
Meh, haven't gotten around to tackle this yet, so let's keep this bug around for a bit more ...
Created attachment 95147 [details] [review] drm/i915/sdvo: Fix LVDS connector status detection
(In reply to comment #14) > Created attachment 95147 [details] [review] [review] > drm/i915/sdvo: Fix LVDS connector status detection Aitor, please try Chris' patch on top of a recent kernel and report back.
Timing out. Aitor, if you get around to testing Chris's patch, please re-open.
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.