dpkg-reconfigure xserver-xorg

9:11 am General

For anyone who has experienced pain when upgrading to a more recent version of Ubuntu with X and xrandr on Intel hardware, consider running this fabulous command.

This goes in particular for anyone who needed i915resolution before for wide-screens, and had a “ForceBIOS” option in xorg.conf. The driver to use for the hardware changed, and the xorg.conf got about 100 times smaller since Ubuntu 6.06 or 7.04.

This is the major weakness in the Ubuntu upgrade process, really… if hacks are needed to work around falings in previous versions, those hacks are (silently, IIRC) kept after an upgrade, even though they’re no longer necessary (and are, in fact, harmful).

Many thanks once again to Claude Paroz, wo helped me work through the projector problem & got me moving towards the fix.

4 Responses

  1. Vladimir Prus Says:

    Do you mean that 915resolution is no longer necessary?

    Anyway, reconfigure had no effect on X-hangs-on-every-second resume behaviour I get with Hardy :-/

  2. David Nusinow Says:

    The reason for that is pretty simple. Many many people have custom options that remain necessary in the current X server, and we didn’t want to break those configurations. If people are able to manage their own xorg.conf, I assumed that they know what they were doing and didn’t mess with their systems.

    The ultimate goal, still in progress, is to get rid of xorg.conf all together except in extreme cases, at which point this problem goes away. We’re pretty close now, since we don’t need to specify very much which means that the package scripts can ignore all those old sections entirely (fonts, modules, etc), but there’s still a ways to go. If some of the more hardcore stuff like input config moves in to HAL config files then we won’t have to worry about xorg.conf, and whatever the user puts in should remain relevant.

  3. Aurélien Gâteau Says:

    I can feel your pain. While upgrading seems to work most of the time, it’s usually not as clean as reinstalling.
    After years of dist-upgrading my Ubuntu box (from Hoary to Hardy…), I decided it’s safer to just reinstall from scratch.

  4. David Nusinow Says:

    Vladimir, yes 915-resolution is totally obsolete as of the switch from i810 to intel (1.x->2.x). You shouldn’t use it any more.

Leave a Comment

Your comment

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.