This howto, show you how to install the very latest sourcecode version of intels driver, with mode setting support, without using the video bios. It actually also fixes some performance issues etc.
And if you got this issue:
https://launchpad.net/distros/ubuntu...810/+bug/61306
It solves that bug too.
1. First. Add this repositories (edgy users can ignore this step):
Code:
deb http://ubuntu.beryl-project.org/ dapper main aiglx
Then we have to update:
Code:
sudo apt-get update
sudo apt-get dist-upgrade
If you have installed 915resolution before. Then remove it. You don't need it anymore.
Code:
sudo apt-get remove 915resolution
Now we have to install build and compiling tools.
Code:
sudo apt-get install build-essential m4 autoconf automake1.9 libtool gcc linux-headers-`uname -r` autoconf autotools-dev cvs git bison git-svn git-cvs xorg-build-macros xorg-dev mesa-common-dev libdrm-dev
And don't forget to:
Code:
sudo update-alternatives --set automake /usr/bin/automake-1.9
sudo update-alternatives --config git
select #2: git-scm
Ok, now we have to get some sourcecodes.
Make a directory, example:
Code:
sudo mkdir ~/src
cd ~/src
Check the latest driver out:
Code:
git-clone git://anongit.freedesktop.org/git/xorg/driver/xf86-video-intel
cd xf86-video-intel
Now we have to change the Branch of the source, so we can get the newest modesetting driver:
Code:
git checkout modesetting
Now we are going to compile and install the driver
Code:
./autogen.sh --prefix=/usr
make
sudo make install
NOTE: If you get an compiling error containing i830_modes.c and M_T_PREFERRED,
then just:
Code:
nano src/i830_modes.c
And add thiese lines, under the other defines:
#define M_T_PREFERRED 0x08 /* preferred mode within a set */
#define M_T_DRIVER 0x40 /* Supplied by the driver (EDID, etc) */
Now try making it again. Its a common error, and you will probably get it.
When all this is done, the new driver is installed and ready. Now restart, and enjoy you don't have to use 915resolution anymore.
BTW several bugs have been fixed, but the driver is still in a very early development state. But I haven't seen any problems yet, only with glxgears. I get this error:
Code:
glxgears: intel_ioctl.c:62: intelEmitIrqLocked: Assertion `((*(int *)intel->driHwLock) & ~0x40000000U) == (0x80000000U|intel->hHWContext)' failed.
Afbrudt (SIGABRT)
But thats an error most peoples get with earlier drivers also (edgy).
Anyway, plz post if you got any problems with this howto. I wrote it at late night, and may have forgotten something.
Cheers, Terrax.
Bookmarks