Comment 7 for bug 286001

Revision history for this message
Craig Holyoak (craigholyoak) wrote : Re: Incorrect resolution when docked on Dell Latitude E6400

Preface:
I have a Latitude E4300, and the resolution of the built-in screen is 1280x800. I have attached my xorg.conf, as I have found manually setting the virtual screen size to help, otherwise docking after booting undocked, I could not set the screen size greater than 1280x800.

Following are the my experiences of Kai's scenarios with the latest test .debs for intrepid (xserver-xorg-video-intel - 2:2.5.1-1ubuntu5~intrepid):

Expected behaviour:
- Boot the laptop while docked, lid is closed
- External monitor is enabled using its native resolution (1680x1050)
- Internal display is disabled

Actual behaviour:
- Boot the laptop while docked, lid is closed
- External monitor is enabled, resolution 1024x768
- Internal display is enabled, resolution 1024x768
- Run `xrandr --output LVDS --auto --output HDMI-1 --auto`
- External monitor is enabled, resolution 1680x1050
- Internal display is enabled, resolution 1280x800

Expected behaviour:
- Boot the laptop while not docked, lid open
- Internal display is enabled, resolution 1280x800
- Close lid, dock the laptop
- External monitor is enabled using its native resolution (1680x1050), internal display is disabled

Actual behaviour:
- Boot the laptop while not docked, lid open
- Internal display is enabled, resolution 1280x800
- Close lid, dock the laptop
- External monitor is not being enabled, its native resolution is not listed by xrandr
- Run `xrandr --output LVDS --auto --output HDMI-1 --auto`
- External monitor is enabled, resolution 1680x1050
- Internal display is enabled, resolution 1280x800

So there are three problems:
- When docking/undocking the monitors are not automatically enabled/disabled
- The native resolution of the external monitor is not being listed when docking after an undocked boot
- The wrong resolution is set for both monitors when booting docked, however, running `xrandr --output LVDS --auto --output HDMI-1 --auto` sets both resolutions correctly, although LVDS is still 'enabled' when it is closed.