歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> Ubuntu-13.04-X86_64安裝GT630驅動

Ubuntu-13.04-X86_64安裝GT630驅動

日期:2017/2/28 14:35:01   编辑:Linux教程

# 筆記本:Intel 3000 + Gefore.GT630
# 裝Nvidia驅動原因:
#+ 1、筆記本雖然自帶獨顯驅動,但是支持不好,
#+ su
#+ cat /sys/kernel/debug/vgaswitcheroo/switch # 查看狀態
#+ echo IGD > /sys/kernel/debug/vgaswitcheroo/switch # 切換集成顯卡
#+ echo OFF > /sys/kernel/debug/vgaswitcheroo/switch #關掉沒有連接的其它顯卡
#+ cat /sys/kernel/debug/vgaswitcheroo/switch # 查看狀態
#+ (補充知識:IGD是集成顯卡,DIS是獨顯; Pwr是開,OFF是關)
#+
#+ 但是上述方法似乎對我的筆記本不起作用;
#
# 2、獨顯在開機就一直啟動,但不起作用,只發熱,不給力
#
# 因此,希望關閉獨顯,或則讓獨顯,自動控制; 裝了官方驅動後,發現,可以自動控制,感覺良好,發熱少了,風扇聲音小了。。。
#
# Now, Let's Begin


# 操作系統Ubuntu-13.04
# 安裝 bumblebee 以管理雙顯卡;自動安裝NVIDIA顯卡驅動
# sudo apt-get install nvidia-current nvidia-settings
sudo add-apt-repository ppa:bumblebee/stable
sudo apt-get update
sudo apt-get install bumblebee bumblebee-nvidia


# 不知為何,丟失了nvidia-xconfig這個命令
#+ 現在安裝
sudo apt-get install nvidia-installer-cleanup
sudo apt-get install nvidia-current nvidia-settings nvidia-xconfig
sudo apt-get nvidia-xconfig
sudo update-grub
# 如果上述nvidia-xconfig產生問題,執行一下命令
# sudo cp /etc/X11/xorg.conf.backup /etc/X11/xorg.conf
# sudo update-grub


sudo reboot


# 查看顯卡狀態
lspci | grep -i 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: NVIDIA Corporation GF108M [GeForce GT 630M] (rev ff)


# 分析:rev 09(數字)表示啟用; rev ff表示關閉


# 對比狀態:
sudo optirun glxspheres64
# 同時打開新terminal
lspci | grep -i vga


# 獨顯狀態:01:00.0 VGA compatible controller: NVIDIA Corporation GF108M [GeForce GT 630M] (rev a1)
# rev a1 處於運行獨顯狀態


# 查看顯卡驅動是否安裝成功
sudo optirun nvidia-settings -c :8


# 配置
# 存在問題,有待解決
# 問題描述:You do not appear to be using the NVIDIA X driver. Please edit your X configuration file (just run `nvidia-xconfig` as root), and restart the X server.
sudo optirun nvidia-settings
# 還好,不影響GT630運行


# 以獨顯運行某個程序
# sudo optirun 程序名字

更多Ubuntu相關信息見Ubuntu 專題頁面 http://www.linuxidc.com/topicnews.aspx?tid=2

Copyright © Linux教程網 All Rights Reserved