Sunday, March 11, 2007

Correct Display On Intel Graphics Chipets in Ubuntu

One of the first problems you may encounter installing Ubuntu, is getting the correct resolution (especially if you use a laptop). Many chipsets only support a few basic resolution modes, which results in a bad display mode. This problem may be solved using Steve Tomljenovic's 915resolution patch to change the display mode in the Bios. For an excellent guide on doing this read this entry from the oficcial Ubuntu forums.

I have a native 1280x800 resolution on my laptop and that method didn't work out well for me. As long as i just restarted X Windows, the correct resolution was displayed, but if i restarted the entire computer, everything went back to the fugly 1024x768.

After posting on the forums i finally found a solution that worked like a charm for me, but to my knowledge, there's no universal method to solve this problem (but hopefully this will do the trick for most people):

1. If you haven't, enable the extra repositories
2. Download xserver-xorg-video-intel (universe) with the synaptic package manager.
3. Make a backup (if you haven't) of your xorg config. Launch a terminal and copy & paste following command into it:
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.backup
4. Open xorg.conf by following terminal command:
sudo gedit /etc/X11/xorg.conf
5. Change the driver in the screen section from i810 to intel.
6. Restart!

If this fails you can either edit the xorg.conf manually by using the command from step 4 or replace it with the backup using following commands:
sudo rm /etc/X11/xorg.conf
and then:
sudo cp /etc/X11/xorg.conf.backup /etc/X11/xorg.conf

No comments: