Programmer’s Log Programmers Writing Stuff – Garry Bodsworth

21Jun/091

Installing The Latest Intel Drivers – The Kernel

So installing the drivers, latest X-server, mesa and so on is only part of the puzzle to use the latest Intel graphics drivers. You also need to update your kernel for more features like better kernel memory management, kernel mode switching, and other basic things. The driver can work (for differing levels of working) for older kernels, but the bugfixes tend to be on the latest version. I have tried this on an Intel 945GM.

So this is how you update your kernel for Jaunty (and other Ubuntus would probably work). A really handy repository of kernels is maintained by Ubuntu called Mainline PPA where you can download pretty much any version of the kernel.

So for kernel 2.6.30 you need to download the following file : linux-image-2.6.30-020630-generic_2.6.30-020630_i386.deb
You need to install this by calling:

sudo dpkg -i linux-image-2.6.30-020630-generic_2.6.30-020630_i386.deb

As part of the install it should have run update-grub. If not run sudo update-grub

To get kernel modesetting working as well as fixing a couple of minor issues you need to edit the file /boot/grub/menu.lst for some extra parameters. You need to edit the line that looks like:

kernel      /vmlinuz-2.6.30-020630-generic root=/dev/sda7 ro

And add the following between "generic" and "root":

nopat enable_mtrr_cleanup i915.modeset=1

The first two sort out some hardware bugs on the Intel 945 depending on the hardware platform which can vary. Acer Aspire Ones don't necessarily have the same mtrr bugs as MSI Winds and so on. The modeset parameter switches on kernel modesetting which you will hopefully not notice many changes with.

I did find kernel modesetting played a lot better running X without any monitor connected and dealt with a lot of odd mode issues.

Share:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Reddit
  • StumbleUpon
  • LinkedIn
  • Tumblr
  • Twitter
Comments (1) Trackbacks (0)
  1. Garry, thanks for the Intel 945 tutorials…made my life very easy.


Leave a comment


No trackbacks yet.