Comment 28 for bug 599626

Revision history for this message
Bonne Eggleston (bonne) wrote : Re: [arrandale] X freezes after plugging in external monitor and selecting System>Preferences>Monitors

I currently have the latest maverick packages installed with xserver-xorg-video-intel 2:2.12.0-1ubuntu5.1 kernel 2.6.35-24-generic and xserver-xorg 1:7.5+6ubuntu3

I redid all of the tests I mentioned in post #1 and a few more. I will outline the results below.

1a. PASS Result is that the display switches to dual-screen and works properly afterwards.
If I then unplug the screen under the following three scenarios:
i. Only LCD was enabled beforehand - LCD continues to work after unplugging VGA screen.
ii. Only VGA screen was enabled beforehand - LCD stays blank. Hitting Fn-F8 reverts the display back to the LCD and continues to work
iii. Dual screen enabled beforehand - Dualscreen mode continues, but is disabled after hitting "detect" in gnome-display-properties. LCD continues to work as normal

2. FAIL Result is that the LCD is never detected if the laptop is booted with the lid closed and the VGA screen plugged in. gnome-display-manager never detects it and it is never enabled even if the VGA screen is unplugged. Pressing ctrl-alt-F1 still doesn't enable anything on the display.

3. PASS Result is that the display boots up in dual-screen mode and works properly afterwards. Can be switched to single screen using gnome-display-properties as expected.

4. I didn't retest 4 since the result should still be the same.

Since I now have a dock I did the following tests to check that it works properly. I have a screen (same screen as above) plugged into the dock via a DVI cable.

5. I tested switching on the laptop whilst plugged into the dock with the lid closed.
FAIL Result is that the DVI monitor works fine after bootup, but the laptop monitor is never detected even after it is opened. gnome-display-properties never finds the laptop monitor when hitting detect. Undocking the laptop still produces nothing on the screen. Fn-F8 does nothing. ctl-alt-F1 does nothing. After redocking the laptop and viewing the ctl-alt-F1 terminal the following message is visible repeatedly on the screen:
drm:i915_do_wait_request *ERROR* Hangcheck timer elapsed... GPU hung

6. I tested switching on the laptop whilst plugged into the dock with the lid open.
PASS Result is that the screens are cloned at the login screen, and switches to the last used setting after logging in. Can successfully use gnome-display-properties to switch between the LCD, DVI screen and dual-screen. Undocking works and switches back to just the LCD, and redocking works too.

7. I tested switching on the laptop outside the dock, then docking the laptop.
PASS Result is that the screens revert to the previous setting and gnome-display-properties can be used to switch between LCD, DVI screen and dual-screen. Undocking reverts back to the LCD as expected.

8. I tested switching on the laptop outside the dock with the lid closed.
PASS Result is that when the lid is opened the screen switches on as expected. Can be docked and connected to VGA screen as above.

So basically the bug as originally reported is gone, but there is a new bug whereby the laptop monitor is never detected if the lid is closed and there is a second monitor plugged in at the time of boot. This is the case for both VGA monitors plugged in directly and DVI monitors plugged in via a dock.

I think this bug can be closed and a new bug opened for this new problem, unless anyone else is still experiencing the freezing.