Summary: | sys-kernel/gentoo-sources x11-drivers/xf86-video-intel Sandbridge HD3000: X does not start if secondary monitor plugged in | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Petric Frank <pfrank> |
Component: | Current packages | Assignee: | Gentoo Kernel Bug Wranglers and Kernel Maintainers <kernel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | x11 |
Priority: | Normal | Keywords: | InVCS |
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
URL: | http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commitdiff_plain;h=b03543857fd75876b96e10d4320b775e95041bb7 | ||
See Also: |
https://bugs.freedesktop.org/show_bug.cgi?id=37742 https://bugs.freedesktop.org/show_bug.cgi?id=43379 |
||
Whiteboard: | 3.5, > 3.4.4-r1 | ||
Package list: | Runtime testing required: | --- | |
Attachments: |
failed X startup log
successful X startup log failed X startup log (now with opengl switched to xorg-x11) successful X startup log (now with opengl switched to xorg-x11) |
Description
Petric Frank
2011-11-30 04:04:22 UTC
Created attachment 294267 [details]
failed X startup log
The xorg startup log from /var/log/Xorg.0.log when external monitor is plugged in at power on.
Created attachment 294269 [details]
successful X startup log
The xorg startup log from /var/log/Xorg.0.log when external monitor is plugged
in after grub boot menu is displayed.
Not sure if that causes your problem. But it seems that you have the nvidia proprietary driver installed and selected in eselect opengl. This is almost certain to break things when using xf86-video-intel. [ 32.150] (II) Module glx: vendor="NVIDIA Corporation" [ 32.166] compiled for 4.0.2, module version = 1.0.0 [ 32.166] Module class: X.Org Server Extension [ 32.166] (II) NVIDIA GLX Module 290.06 Mon Oct 31 08:44:11 PDT 2011 As you can see this message is displayed on both Xorg.0.log (failed/working). It seems to not affect it. But anyway i make tests with opengl switched to xorg-x11 and upload the logs again. Created attachment 294271 [details]
failed X startup log (now with opengl switched to xorg-x11)
Created attachment 294273 [details]
successful X startup log (now with opengl switched to xorg-x11)
Some additional infos: - Notebook is a Lenovo T520 with Nvidia optimus. But Nvidia part is disabled in BIOS - Intel Onboard graphics is a HD3000 - Tests made with LID closed (in both cases - working/failed) - If LID is open when switched on X starts always successfully What happens if you start with no xorg.conf at all? You could try to upgrade your kernel to 3.1, and if it still happens this looks like a problem in the intel driver. Report a bug on https://bugs.freedesktop.org/ so the xf86-video-intel developers are aware of the issue, and add the URL to this bug. Ok, i tested with the latest in portage available unstable kernel (gentoo-sources-3.1.4). No lock - the same as before. For me it looks like a problem with the display selection by the BIOS. If the BIOS detects that the lid is closed it automatically enables the external monitor (if conected). It looks like (my gues) that this already done switch-on of the external monitor is detected by the driver (my guess). If this switch is done after BIOS handed off its tasks to the boot loader (due the lid was open) and the external monitor is enablesd by the linux kernel (?) everything went well. Anyway, the KMS module has no problem with it independent whether the lid was closed or open when the notebook is powered on. In text mode (without starting X) the external monitor works well. Only if i try to execute 'startx' ... I will follow your suggestion and issue a bug report at freedesktop.org. Lets see what hapepens. Bug report issued at freedesktop.org: https://bugs.freedesktop.org/show_bug.cgi?id=43379 A solution seems to have been found (at least for me). See my commemts in https://bugs.freedesktop.org/show_bug.cgi?id=43379 In short - apply patch as posted in http://lists.freedesktop.org/archives/intel-gfx/2012-March/015552.html This is now in SVN and will be in the next release of gentoo-sources 3.4.X. (And also in 3.5 by default). Released since gentoo-sources-3.4.5 |