
所以我在嘗試讓這一切順利進行時遇到了很多問題。
硬體:
CPU:至強E5-2687W
GPU:gtx 980 x2 sli / nvidia n210 用於測試目的
記憶體:32 GB gskill 1600 mhz
MOBO:華碩豪華x79
HD:三星 1tb msata ssd,帶 msata - sata3 適配器 該設置在 Windows 10 上運行良好,因此它不是硬件,除非與 Linux 不相容,我對此表示懷疑。
我做過的事。 - Bios:快速啟動與安全啟動
將 980 換成 n210 以取得安裝介質
已安裝
更新並下載最新的 nvidia 驅動程式 (343.22)
清除舊的 NVIDIA 文件
關閉並換回 980
接收登入循環並切換到終端機(Ctrl + Alt + F1)
停止lightdm服務並安裝驅動程式
安裝失敗並出現錯誤:預安裝套件失敗仍繼續嗎? (我繼續)建置 Nvidia 核心模組失敗。
切換到gdm,重新進入後不會出現任何登錄屏幕,然後切換到終端並收到大約3-5 秒的顯示時間,然後不顯示視頻,並且不會從鍵盤獲取數據,直到按下(Ctrl + Alt + F1)每次都要慢慢重新配置回lightdm
在我的日誌檔案(真的不記得什麼日誌)中註意到 nvidia 停止的原因是:該伺服器的視訊驅動程式 ABI 版本為 19.0,該 NVIDIA 驅動程式不支援該版本。請檢查 http://www.nvidia.com/用於驅動程式更新或降級到具有支援的驅動程式 ABI 的 X 伺服器。
所以現在我切換回值得信賴的 n210 和我的安裝介質,發現我正在運行 nouveau。
我如何更新即時版本,以便我能夠安裝並準備好正確的驅動程式?
答案1
所以我開始一步步記錄我的情況,這些是我的筆記,以防將來有人偶然發現這個問題。
硬體:
CPU:xeon e5-2687w
GPU:gtx 980 x2 in sli(n210 用於測試舊版)
RAM:32 GB G.Skill
MOBO:asus deluxe x79
PSU:evga 1200 w p2 supernova
1使用 n210 安裝 ubuntu
2同時使用n210更新並升級重啟
3重新啟動後檢查其他驅動程式並將 nvidia 專有驅動程式設定為預設值
**** 注意 **** 步驟 3 之前的每一次機會,我都會將 n210 換成 980 sli,然後再換回來,步驟 4 是 980 sli 第一次工作。
4這是登入循環開始的地方。
5我嘗試來賓帳戶,它執行相同的操作,確定不是使用者帳戶問題,而是驅動程式問題(nvidia 驅動程式版本 340.23)
6我將 .Xauthority 設為 .Xauthority.back 以產生一個新的並重新啟動 lightdm 服務,並且登入循環仍然存在
7讀取 lightdm 日誌
lightdm.log:
DEBUG: Seat: Starting local X display on VT 7
DEBUG: DisplayServer x-1: Logging to /var/log/lightdm/x-1.log
DEBUG: DisplayServer x-1: Writing X server authority to /var/run/lightdm/root/:1
DEBUG: DisplayServer x-1: Launching X Server
DEBUG: Launching process 3385: /user/bin/X -core :1 -seat seat0 -auth /var/run/lightdm/root/:1 -nolisten tcp vt7 -novtswitch
DEBUG: DisplayServer x-1: Waiting for ready signal from X server :1
DEBUG: Acquired bus name org.freedesktop.Accounts
DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
DEBUG: Loading users from ofg.freedesktop.Accounts
DEBUG: User /org/freedesktop/Accounts/User1000 added
x-0-greeter.log:
DEBUG: Generating properties error for: 26
DEBUG: Error getting properties on a new menuitem: Error getting properties for ID
DEBUG: Generating properties error for: 18
DEBUG: Error getting properties on a new menuitem: Error getting properties for ID
DEBUG: background.vala:121: Render of background /usr/share/backgrounds/Forever_by_Shady_S.jpg complete
DEBUG: User/org/freedesktop/Accounts/User1000 changed
DEBUG: user-list.vala:1030: Adding/updating user trevor (trevor)
DEBUG: settings-daemon.vala:209: Screensaver activated
DEBUG: settings-daemon.vala:211: Screensaver disabled
DEBUG: settings-daemon.vala:209: Screensaver activated
x-0.log:
xorg-server 2:1.17.1-0ubuntu3.1~trusty1 (For technical support please see http://www.ubuntu.com/support)
Current version of pixman: 0.30.2
Before reporting problems, check http://wiki.x.org
to make sure that you ve the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown,
(==) Log file: "/var/log/Xorg.0.log", Time: Thu Oct 8 20:06:11 2015
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
mobprobe: ERROR: could not insert 'nvidia_340': No such device
x-1.log:
Before reporting problems, check http://wiki.x.org
to make sure that you ve the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown,
(==) Log file: "/var/log/Xorg.0.log", Time: Thu Oct 8 19:45:47 2015
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
mobprobe: ERROR: could not insert 'nvidia_340': No such device
Failed to switch from vt07 to vt01: Input/output error
Failed to switch from vt07 to vt01: Input/output error
8發現 gtx980 和 970 無法在專有的 nvidia 驅動程式和 cuda 下運作。
******注意****** linux 核心必須與 nvidia 核心相容,cuda 也必須相容
9重新安裝ubuntu
10更新升級並重新啟動。 980還是不行換回n210
11從以下位置安裝 modprobe 軟體套件:http://packages.ubuntu.com/trusty-backports/nvidia-modprobe (我認為沒有必要,因為我認為第 12 步是隨之而來的)
12從以下位置下載最新的 cuda 套件:https://developer.nvidia.com/cuda-downloads-geforce-gtx9xx
13輸入 cli 和“sudo service lightdm stop”來殺死 xorg
14安裝最新的cuda包
15最後我得到:需要重新啟動系統才能繼續安裝。請重新啟動,然後再次執行安裝程式。已嘗試禁用 nouveau。如果重新啟動後此訊息仍然存在,請參閱位於 /var/log/nvidia-installer.log 的顯示驅動程式日誌檔案以取得更多資訊。
16關閉 n210 並用 980 替換
17 號安裝了980並現在登入檢查環境
18關於此計算機的說明:llvmpipe 上的 Graphics Gallium 0.4(LLVM 3.6,256 位元)
19檢查其他更新:nvidia 專有驅動程式已更新至 346.96,系統目前使用 xorg xserver nouveau
20按照安裝程序的指示再次運行安裝程序
21殺死 x 環境
22 號安裝程式在驅動程式部分失敗,原因是: 驅動程式安裝無法找到核心來源。請確保核心原始碼包已正確安裝和設定。如果您知道核心原始碼套件已正確安裝和設置,則可以使用「--kernel-source-path」標誌傳遞核心原始碼的位置。
23將重新啟動 lightdm 並嘗試找出核心原始碼是否存在。 (大概是的)如果是這樣我將手動切換到 nvidia 驅動程式
24找不到我要找的東西並且變得不耐煩,去尋找手動 nvidia 開關
25成功了!更新升級時間
來源:1:http //blender.stackexchange com/questions/19336/how-to-enable-cuda-on-ubunutu-14-04-for-a-gtx-970
2:https //developer.nvidia com/cuda -downloads-geforce-gtx9xx
3:http //blenderartists org/forum/showthread.php?355600-GPU-rendering-with-gtx-970-on-ubuntu
4:http //packages.ubuntu com/trusty-backports/nvidia -modprobe
希望這對某人有幫助。