Search This Blog

Showing posts with label NVIDIA. Show all posts
Showing posts with label NVIDIA. Show all posts

Thursday, October 21, 2010

[Ubuntu]10.04升級10.10無法出現登入畫面及桌面(Nvidia VGA)

使用Nvidia vga卡由10.04升級到10.10後,開機的splash畫面後就無法顯示登入的畫面,直接顯示console的登入介面,解決方式為

1.修改/etc/X11/xorg.conf

Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "Quadro NVS 285"
EndSection

修改為

Section "Device"
Identifier "Device0"
Driver "nv"
VendorName "NVIDIA Corporation"
BoardName "Quadro NVS 285"
EndSection

2.移除xserver-xorg-video-nv套件
sudo apt-get remove xserver-xorg-video-nv

3.重新compile Nvidia driver

4.將xorg.conf修改回用nvidia driver

Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "Quadro NVS 285"
EndSection

Friday, April 30, 2010

[Ubuntu]10.04安裝(install) NVidia Driver

在9.10版時,從NVidia下載的Driver需要做patch,在10.04也需要做同樣的動作,可參考[Ubuntu] 9.10 安裝(install) Nvidia driver,但在執行安裝script時需加上-k $(uname -r)之參數

ex: sudo ./NVIDIA-Linux-x86-185.18.14-pkg1-custom.run -k $(uname -r)

如果你是從9.10版升級到10.04,在執行安裝NVidia的driver後還是一直會有載入錯誤的訊息,如果還是在使用grub,解決方式為使用grub2,方式如下
1. 移除grub
2. 安裝grub-pc和grub2
重新開機後,NVidia顯示卡就可以正常運作了

If your ubuntu 10.04 upgraded from 9.10, and you still get message like "failed to load nvidia". If you still use "grub", you can remove "grub" and install "grub-pc" and "grub2".


Monday, January 25, 2010

[Ubuntu] 9.10 install Nvidia driver

After upgrading to 9.10, kernel version is 2.16.31.1x. If you want to install Nvidia official driver, you'll get some error messge, and can't complete it. I found the bin file that need to be patched. The following is the steps:

1. Go to Nvidia site to download driver (version: 185.18.14)
2. Download the Script and save it in the same location of driver(right click to save it.)(filename:nvidia-185.18.14.patch)
3. Open Terminal and go to the location of downloaded driver. Execute the following command

./NVIDIA-Linux-x86_64-185.18.14-pkg2.run --apply-patch nvidia-185.18.14.patch

then will generate a new file , the name is like NVIDIA-Linux-x86_64-185.18.14-pkg2-custom.run
4. Install patched Nvidia driver
4.1 ctrl+alt+F1
4.2 shutdown X window
sudo /etc/init.d/gdm stop
4.3 run the driver installer
sudo ./NVIDIA-Linux-x86_64-185.18.14-pkg2-custom.run
4.4 Start X window
sudo /etc/init.d/gdm start

Monday, November 9, 2009

[Ubuntu] 9.10 安裝(install) Nvidia driver

升級Ubuntu 9.10後,使用2.16.31.1x 版的Kernel時,執行Nvidia原廠提供之bin檔時,會一直出現錯誤,後來發現bin檔是需要修改的,步驟如下
1. 到Nvidia網站下載185.18.14版本的driver
2. 下載修正用之Script 存放於步驟1之driver相同位置(按右鍵下載,另存新檔)(檔名為:nvidia-185.18.14.patch)
3. 進行修正,開啟終端機,至存放driver的位置,執行下列命令

./NVIDIA-Linux-x86_64-185.18.14-pkg2.run --apply-patch nvidia-185.18.14.patch

修正完成後,會產生一個新檔,檔名為NVIDIA-Linux-x86_64-185.18.14-pkg2-custom.run
4. 安裝Nvidia driver
4.1 ctrl+alt+F1
4.2 停止X window
sudo /etc/init.d/gdm stop
4.3 安裝driver
sudo ./NVIDIA-Linux-x86_64-185.18.14-pkg2-custom.run
4.4 完裝完成後,啟動X window
sudo /etc/init.d/gdm start

Thursday, June 25, 2009

Ubuntu-nVidia顯示卡設定無法儲存xorg.conf設定-解決方案





















使用系統->管理->nVidia Server Setting設定完成時,如果要按Save to X configration to file過程中會出現無法建立xorg.conf.bak的錯誤訊息,解決方案如下

1.在"應用程式"上按右鍵->編輯選單












2.修改NVIDIA X Server Setting屬性,在指令欄位中最前面加上gksu,以系統管理者身份開啟設定,如此就可以儲存顯示設定了






Sunday, April 26, 2009

Ubuntu nVidia driver - trouble shooting

Ubuntu升級9.04後,nVidia的顯示卡驅動程式,不管怎麼裝,在重新啟動gdm時
,都會出現下面的訊息
fail to load "freetype" module
fail to load "type1" module
fail to load nvidia kernel module
等等訊息,結果發現只要在Synaptice->套件庫設定->私有版權的硬體驅動程式,勾選後,再執行update,就會更新一些欠缺的套件,再重新設定xorg.conf及啟動gdm,我的nVidia顯示卡就可以正常使用了。