在Ubuntu中默認會安裝開源的 ATI or Radeon driver ,但是有的用戶需要安裝一些私有的fglx的驅動。
安裝之前的準備工作:
首先去AMD/ATI的網站,下載你所需要的驅動。
查看你的顯卡的型號 在Ubuntu的終端中 輸入 命令 lspci | grep VGA 可以看到你的顯卡的型號
我的機器得到的內容如下:
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
01:00.0 VGA compatible controller: ATI Technologies Inc NI Whistler [AMD Radeon HD 6600M Series]
去網站下載相應的驅動
安裝:
查看你的機器是否已經安裝了相應的驅動:
在終端輸入命令: fglrxinfo 如果現實下面的內容
display: :0.0 screen: 0
OpenGL vendor string: Advanced Micro Devices, Inc.
OpenGL renderer string: AMD Radeon 6600M and 6700M Series
OpenGL version string: 4.2.11554 Compatibility Profile Context
就說明已經安裝了驅動
手動安裝:
sudo apt-get update
如果是桌面的ubuntu可能還需要安裝QT4的庫
sudo apt-get install libqtgui4
把你下載好的驅動單獨放在一個新的文件夾中定位到那個文件家,執行命令:
sudo sh amd-driver-installer-12-2-x86.x86_64.run --buildpkg Ubuntu/oneiric
紅字要換成你下載的相應的驅動的文件
然後系統會安裝一些依賴庫,這個過程可能需要一會兒,結束之後 會在你的當前的文件夾中 生成 下面的幾個 deb文件
fglrx_8.950-0ubuntu1_amd64.deb fglrx-amdcccle_8.950-0ubuntu1_amd64.deb fglrx-dev_8.950-0ubuntu1_amd64.de
在該文件夾中執行
sudo dpkg -i *.deb
安裝相應的文件
然後執行
sudo aticonfig --initial
ok
重啓你的系統,
重啓之後 在終端中輸入 命令查看是否安裝成功:
fglrxinfo
安裝成功會顯示
display: :0.0 screen: 0
OpenGL vendor string: Advanced Micro Devices, Inc.
OpenGL renderer string: AMD Radeon 6600M and 6700M Series
OpenGL version string: 4.2.11554 Compatibility Profile Context