Changes between Initial Version and Version 1 of adherelinux/installGPU


Ignore:
Timestamp:
Jul 17, 2010, 9:33:50 PM (14 years ago)
Author:
adherelinux
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • adherelinux/installGPU

    v1 v1  
     1=Ubuntu下安裝CUDA (Tesla C1060)=
     2Tesla並沒有顯示功能,所以需要另一張顯示卡。這裏用的是nvidia GeForce 9800GT 支援CUDA的顯示卡。[[br]]
     3安裝順序:[[br]]
     41. CUDA驅動程式2. CUDA工具套件3. CUDA軟體開發工具(SDK)程式碼範例除了程式碼範例外,其他全詳細步驟如下:[[br]]
     51. 安裝CUDA支援的Ubuntu 版本。目前支援到Ubuntu 9.04版。
     62.      安裝新的nvidia驅動程式
     7先檢查顯示卡的驅動程式。
     8檢查檔案 /etc/X11/xorg.conf:
     9進入終端機 (Terminal)後,
     10$sudo less /etc/X11/xorg.conf
     11如果尚未安裝任何驅動程式, 可能會看到
     12
     13# xorg.conf (X.Org X Window System server configuration file)
     14# ……
     15# ……
     16          .
     17          .
     18          .
     19     
     20# sudo dpkg-reconfigure -phigh xserver-xorg
     21
     22Section "Device"
     23        Identifier      "Configured Video Device"
     24Endsection
     25Section "Monitor"
     26        Identifier      "Configured Monitor"
     27Endsection
     28Section "Screen"
     29        Identifier      "Default Screen"
     30        Monitor         "Configured Monitor"
     31        Device          "Configured Video Device"
     32Endsection[[br]]
     33如果已經安裝nvidia驅動程式,但不是自己編譯的,必須要移除$sudo apt-get remove nvidia-*[[br]]
     34
     353.安裝編譯所需要的核心及相關套件[[br]]
     36$sudo apt-get install build-essential linux-source linux-headers-`uname -r`[[br]]
     37
     38$sudo apt-get install xserver-xorg-dev libglut3-dev libglu1-mesa-dev libxi-dev libxmu-dev libc6-dev[[br]]
     39
     40如果尚未安裝 gcc 與 g++[[br]]
     41
     42$sudo apt-get install gcc-4.3 g++-4.3[[br]]
     43
     444.下載CUDA安裝所需的所有檔案[[br]]
     45
     46(1)下載適合的驅動程式[[br]]
     47http://www.nvidia.com.tw/Download/index.aspx?lang=tw[[br]]
     48
     49
     50
     51
     52