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):
Then we have to update:Code:deb http://ubuntu.beryl-project.org/ dapper main aiglx
If you have installed 915resolution before. Then remove it. You don't need it anymore.Code:sudo apt-get update sudo apt-get dist-upgrade
Now we have to install build and compiling tools.Code:sudo apt-get remove 915resolution
And don't forget to: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
Ok, now we have to get some sourcecodes.Code:sudo update-alternatives --set automake /usr/bin/automake-1.9 sudo update-alternatives --config git select #2: git-scm
Make a directory, example:
Check the latest driver out:Code:sudo mkdir ~/src cd ~/src
Now we have to change the Branch of the source, so we can get the newest modesetting driver:Code:git-clone git://anongit.freedesktop.org/git/xorg/driver/xf86-video-intel cd xf86-video-intel
Now we are going to compile and install the driverCode:git checkout modesetting
NOTE: If you get an compiling error containing i830_modes.c and M_T_PREFERRED,Code:./autogen.sh --prefix=/usr make sudo make install
then just:
Now try making it again. Its a common error, and you will probably get it.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) */
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:
But thats an error most peoples get with earlier drivers also (edgy).Code:glxgears: intel_ioctl.c:62: intelEmitIrqLocked: Assertion `((*(int *)intel->driHwLock) & ~0x40000000U) == (0x80000000U|intel->hHWContext)' failed. Afbrudt (SIGABRT)
Anyway, plz post if you got any problems with this howto. I wrote it at late night, and may have forgotten something.
Cheers, Terrax.![]()



Adv Reply




Bookmarks