Hi,
in the last couple of days I've tried all the options I could think off:
 - 3D enabled (running Compiz and GL screensavers) or disabled (switching to 
MESA software implementation)
 - DRI/GLX on/off
 - DDC/DPMS on/off
 - ACPI/HAL on/off
 - xorg.conf's NoPM
 - CheckDevices on/off

I might have missed some weird combinations of all the above, but I tested a 
lot... Nothing there prevented my system from hanging on lid close :-(
Peter's tst3 hasn't been very helpful in pinpointing the issue, as I didn't get 
any messages in the Xorg.0.log file.

Looking for a way to "lie" to X and fake an external monitor, Peter then
pointed me to this patch by Raúl Sánchez Siles:
https://bugs.freedesktop.org/attachment.cgi?id=11492&action=view

which forces the driver to detect an external monitor with the
(undocumented) option

    Option          "ForceEnablePipeA"    "true"

Using this patched driver and option, I get a better behaviour: my
system happily blanks the monitor on lid closing, but does not hang.
Hitting the keyboard or moving the mouse unblanks the screen correctly.

However, I have a new problem: now my system locks on lid *opening*.

This time, disabling ACPI (sudo /etc/init.d/acpid stop) works around the
problem (rmmod video, disabling only the acpid socket, or using NoPM in
xorg.conf are not enough): opening the lid has no effect, the monitor is
still blanked but the system doest not hang. Keyboard/mouse do not
unblank the screen, either, but switching to a text console and back to
X works.

I've put a .deb package of the patched driver online if anyone is
interested in giving it a try (for the sourced just look into the same
directory):

https://webafs08.cern.ch/fwyzard/xserver-xorg-video-intel/xserver-xorg-
video-intel_2.1.1-0ubuntu10~pcjc2.tst4_i386.deb

-- 
xserver-xorg-video-intel hangs the system when laptop lid is closed
https://bugs.launchpad.net/bugs/138256
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to