1.安装最新驱动程序xf86-video-intel-2.5.99
代码:
$tar zxvf xf86-video-intel-2.5.99.tar.gz
$cd xf86-video-intel-2.5.99
$./configure --prefix=/usr
$make
$sudo make install
2.更新DRM
获得DRM 源码
代码:
sudo apt-get install git-core linux-headers-generic automake autoconf libtool
git clone git://anongit.freedesktop.org/git/mesa/drm
编译并且安装libdrm
代码:
cd drm
./configure --prefix=/usr
make
sudo make install
编译并且安装DRM kernel 模块
代码:
cd linux-core
make LINUXDIR=/lib/modules/`uname -r`/build DRM_MODULES=i915
sudo cp *.ko /lib/modules/`uname -r`/kernel/drivers/char/drm/
sudo depmod -ae
代码:
vangie@vangie-laptop:~$ glxinfo | grep render
direct rendering: Yes
OpenGL renderer string: Mesa DRI Intel(R) 945GME 20061017 x86/MMX/SSE2
阅读(2697) | 评论(0) | 转发(0) |