跳到主要內容

Ubuntu 8.04 Nvidia Driver Setting for Dual Screens

As I updated my Ubuntu 8.04 kernel to 2.6.24-23, my dual-screen setting got mess up. This seems to be a common problem but the exact solution is not clear at this point. I here provide the procedure that worked on my system. I have tried several procedures found on the webs but none of them worked out. The direction, through, was to install the drivers manually. I was able to do that but I kept encountering an error message when I run nvidia-settings:
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.
I thought the problem has something to do with the xorg.conf. Luckily, I was able to find the very one version before I ran kernel update. It was renamed as xorg.conf.1. I replaced my xorg.conf with this version and started the following steps. I think this was the key for success.

p.s., My system is a 32-bit LTS version and my graphic card is Nvidia GeForce 6600.

1. Download the latest version from Nvidia web. What I got was version (180.22):
  • NVIDIA-Linux-x86-180.22.pkg1.run
2. Remove previous nvidia driers
  • sudo apt-get --purge remove nvidia-*
3. Shut the graphic interface off
  • sudo /etc/init.d/gdm stop
  • Press Ctrl-F1 to use the terminal shell in text mode
4. Install the driver by typing the following line in a terminal shell
  • cd to the directory where I save the Nvidia driver
  • sudo sh NVIDIA-Linux-x86-180.22.pkg1.run
  • Answer No when asked to download the precompiled kernel interface from nvidia ftp site. (I chose yes and it said no interface was available for my kernel, which is 2.6.24-23 anyway)
  • Answer Yes or Ok to compile
  • Answer Yes to run nvidia-xconfig utility
4. Turn on the graphic interface
  • sudo /etc/init.d/gdm start
5. Saw the logo and got my dual screen back!

A few notes or questions:
  • Since I use the old xorg.conf to start with, I did not install nvidia-settings, nvidia-glx, nvidia-glx-new, linux-restricted-modules-2.6.24-23-generic using Synaptic. Not sure if this is the best way. Wondering if I'll lose integrity in Synaptic.
  • Do I need to install nvidia-settings and other stuff if I don't dare to change any setting?
  • To start a new xorg.conf: sudo dpkg-reconfigure -phigh xserver-xorg
  • To turn on/off the graphic interface: sudo /etc/init.d/gdm start (or stop)
  • To uninstall previous nvidia drivers:sudo apt-get --purge remove nvidia-*
Useful references from the web:

留言

這個網誌中的熱門文章

守望台書庫光碟2010安裝在ubuntu 11.10

更新: 書庫可以在ubuntu 12.04 (wine 1.4)中順利運行,不必經歷下面的修改步驟。 因為一不小心把ubuntu 11.04升級到11.10,發現《守望台書庫光碟2010》(Watchtower Library 2010)本來可以運作好好的,竟然不能工作了。底下是我找到的一些克服的方法: 因為是從11.04升級到11.10,因此我的wine版本是wine-1.3.28,而這個版本,也是出現問題的版本,原因在 wineHQ的網頁 上有講: Watchtower Library 2010 does not work in wine 1.3.27/28 While this bug is not fixed you can fix it yourself. You need to remove a manifest for built-in version of MS runtime library. You can do this by executing the following code in terminal: rm ~/.wine/drive_c/windows/winsxs/manifests/*.vc90.*_deadbeef.manifest 怎麼知道安裝的wine的版本?打開『終端機』,鍵入 wine --version 解決的方法 先安裝《守望台書庫光碟2010》英文版,之後再安裝中文版。我不知道安裝的先後有沒有一定,也沒測試到不裝英文會不會有影響。安裝方法跟一般的安裝微軟程式差不多。以中文版為例,放入光碟,打開『終端機』,鍵入 cd /media/WTLIB10CH wine ./Setup.exe  就會進行安裝,安裝步驟你也可以參考下面講到的  -: an everyday story of country folk :- 安裝完之後,桌面會有兩個圖示,其中一個 .link的沒有用,可以刪除。雙按桌面的另一個圖示,名稱是『Watchtower Library 2010 - 漢語繁體字』,不能執行! 接下來用上面講到的原因,要刪到一個manifest,不懂是什麼意思。在『終端機』,鍵入 rm ~/...

ubuntu 連接bluetooth mouse Logitech V470

想在ubuntu 8.04中連接無線藍芽滑鼠,種類為Logitech V470。 使用文字 終端機,有人找到圖形的連些方法嗎?我沒有很認真找,目前還找不到。 找出滑鼠的MAC碼:可以用指令hcitool scan,就會出現滑鼠的廠牌跟MAC碼。 使用下面的指令連接:sudo hidd --connect 00:07:61:00:00:00  紅色部份填入剛剛查到的MAC碼。 就好了。 資料來源, zuzu (英文) 發佈文章

安裝 Linux mint 17 的efi分割區

2016 / 7 / 17 更新: 測試了Linux Mint 17.3,沒問題,我採用單系統,就是沒有Windows whatsoever installed 底下註1的提醒,不會出現,所以要自己記得要:用EFI模式開機、 記得自己增加一個EFI partition、製作這個partition時,種類選擇EFI 即可,下面的3.說的步驟可以省略。 我的EFI partition大小為200 MB,為sda1。這是完全用猜的。 Figure credit: linuxmint.com 2015 / 9 / 10 更新: 根據  Dual Boot openSUSE 13.2 and Windows 8.1 UEFI » TweakHound 的步驟,可以解決安裝好不能開機的問題。雖然他講的是針對OpenSuse的操作,但是開機、EFI分割區等概念是相通的。在OpenSuse 13.1上面實測是ok的。 2014 / 11 / 21  重點如下: 光碟要用EFI模式開機 硬碟中要有一個EFI分割區(至少35MB,不知道這個大小是否與系統有關) 硬碟分割的那個畫面, Device for bootloader installation 處,應指到2的EFl分割區(EFI boot partition) 根據資料來源的說明如下 *  VERY IMPORTANT STEP!!!  Near bottom of window,  "Device for bootloader installation"  should be the  EFI System Partition.  Select that one in the drop-down box. It will be a small (200-550MB) partition formatted as FAT32. It will likely be /dev/sda1 or /dev/sda2; but double-check that to be sure. 註1:硬碟分割的那個畫面,如果沒有EFI分割區,按下一步時系統會...