ubuntu intel 集成显卡安装

(编辑:jimmy 日期: 2024/11/15 浏览:2)

下载最新libdrm 2.4.9 (打了patch,不需要在xorg设置DRI了)
http://myubuntu.ca/download/libdrm-2.4.9.tar.bz2

最新Intel Video Driver 2.5.1(打了patch的)
http://myubuntu.ca/download/xf86-video-intel-2.5.1.tar.bz2

for 8.10, 沒有打patch的Driver:
http://xorg.freedesktop.org/archive/individual/driver/xf86-video-intel-2.5.1.tar.bz2

编译准备:
sudo apt-get install build-essential xorg-dev mesa-common-dev


编译:
tar xvjf libdrm-2.4.9.tar.bz2
cd libdrm-2.4.9
./configure --prefix=/usr
make
sudo make install

cd ..

tar xvjf xf86-video-intel-2.5.1.tar.bz2
cd xf86-video-intel-2.5.1
./configure --prefix=/usr
make
sudo make install


驱动还原:
sudo apt-get install libdrm2 --reinstall
sudo apt-get install xserver-xorg-video-intel --reinstall

P.S.
/etc/X11/xorg.conf的section "Device"里,最好有一项Driver "intel",但不一定需要的。(如果3d用不了,就把Driver "intel"加到那个section)
如果glxgears提示DRI问题,就在xorg.conf的最后,加入:
Section "DRI"
Mode 0666
EndSection

为了防止Ubuntu更新时,更换了驱动,強烈建议在synaptic锁定xserver-xorg-video-intel和libdrm2的版本!