gtx970驱动安装

CPU/显卡/打印机/USB设备等硬件问题
回复
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: gtx970驱动安装

#166

帖子 poloshiao » 2015-05-07 17:44

第三张图是关闭这个窗口后显示的Error内容。当时忘了copy到gedit中了,还忘谅解。
再試試
如果沒有修改什麼地方
ERROR 訊息應該是一樣

另外
試試
nvidia-settings # 不加 gksudo
看看 有沒有 不同的 錯誤訊息
如果有 也請一起 複製 貼上來
friend43
帖子: 166
注册时间: 2015-01-07 16:41
系统: ubuntu 14.04

Re: gtx970驱动安装

#167

帖子 friend43 » 2015-05-08 7:41

回复166楼:因为在CTRL+ALT+F1下不知道怎么进行复制功能,所以只能重装14.04.2。下面是用两个命令运行nvidia-settings的结果:

rt@rt:~$ gksudo nvidia-settings #
** Message: PRIME: is it supported? no

ERROR: nvidia-settings could not find the registry key file. This file
should have been installed along with this driver at
/usr/share/nvidia/nvidia-application-profiles-key-documentation. The
application profiles will continue to work, but values cannot be
preopulated or validated, and will not be listed in the help text.
Please see the README for possible values and descriptions.
rt@rt:~$


rt@rt:~$ nvidia-settings #
** Message: PRIME: No offloading required. Abort
** Message: PRIME: is it supported? no

ERROR: nvidia-settings could not find the registry key file. This file should
have been installed along with this driver at
/usr/share/nvidia/nvidia-application-profiles-key-documentation. The
application profiles will continue to work, but values cannot be
preopulated or validated, and will not be listed in the help text.
Please see the README for possible values and descriptions.


(nvidia-settings:15097): Gtk-CRITICAL **: _gtk_widget_captured_event: assertion 'WIDGET_REALIZED_FOR_EVENT (widget, event)' failed

(nvidia-settings:15097): Gtk-CRITICAL **: _gtk_widget_captured_event: assertion 'WIDGET_REALIZED_FOR_EVENT (widget, event)' failed
rt@rt:~$
friend43
帖子: 166
注册时间: 2015-01-07 16:41
系统: ubuntu 14.04

Re: gtx970驱动安装

#168

帖子 friend43 » 2015-05-08 7:41

回复166楼:因为在CTRL+ALT+F1下不知道怎么进行复制功能,所以只能重装14.04.2。下面是用两个命令运行nvidia-settings的结果:

rt@rt:~$ gksudo nvidia-settings #
** Message: PRIME: is it supported? no

ERROR: nvidia-settings could not find the registry key file. This file
should have been installed along with this driver at
/usr/share/nvidia/nvidia-application-profiles-key-documentation. The
application profiles will continue to work, but values cannot be
preopulated or validated, and will not be listed in the help text.
Please see the README for possible values and descriptions.
rt@rt:~$


rt@rt:~$ nvidia-settings #
** Message: PRIME: No offloading required. Abort
** Message: PRIME: is it supported? no

ERROR: nvidia-settings could not find the registry key file. This file should
have been installed along with this driver at
/usr/share/nvidia/nvidia-application-profiles-key-documentation. The
application profiles will continue to work, but values cannot be
preopulated or validated, and will not be listed in the help text.
Please see the README for possible values and descriptions.


(nvidia-settings:15097): Gtk-CRITICAL **: _gtk_widget_captured_event: assertion 'WIDGET_REALIZED_FOR_EVENT (widget, event)' failed

(nvidia-settings:15097): Gtk-CRITICAL **: _gtk_widget_captured_event: assertion 'WIDGET_REALIZED_FOR_EVENT (widget, event)' failed
rt@rt:~$
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: gtx970驱动安装

#169

帖子 poloshiao » 2015-05-08 9:37

辛苦了
下次不必重裝
因为在CTRL+ALT+F1下不知道怎么进行复制功能,
viewtopic.php?p=3132680#p3132680
這個方法
在 tty1 ~ tty6 也可以使用
當然前提是 網路可以上網

補充
圖形指令 不能在 tty1 ~ tty6 使用
nvidia-xconfig
nvidia-settings
是圖形指令
friend43
帖子: 166
注册时间: 2015-01-07 16:41
系统: ubuntu 14.04

Re: gtx970驱动安装

#170

帖子 friend43 » 2015-05-08 10:12

poloshiao 写了:辛苦了
下次不必重裝
因为在CTRL+ALT+F1下不知道怎么进行复制功能,
viewtopic.php?p=3132680#p3132680
這個方法
在 tty1 ~ tty6 也可以使用
當然前提是 網路可以上網
在进入tty1后是可以连网的。另外,你给得本帖第5页的链接我不知道是有什么作用的?还望能提示下。

再有,在执行完 nvidia-xconfig后会在/ect/X11目录下生成一个xorg.conf,但重启后这个文件会被改名成xorg.conf.05072015,不知道为什么。下面是这个文件的内容。

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 349.16 (buildmeister@swio-display-x86-rhel47-06) Wed Apr 8 00:52:19 PDT 2015

Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 28.0 - 33.0
VertRefresh 43.0 - 72.0
Option "DPMS"
EndSection

Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
EndSubSection
EndSection
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: gtx970驱动安装

#171

帖子 poloshiao » 2015-05-08 10:53

你给得本帖第5页的链接我不知道是有什么作用的?
1. 使用在 tty1 ~ tty6 無法使用 滑鼠/鍵盤 複製/貼上的地方
2. 使用在 顯示行數 很多的地方
目的 方便你把內容貼上來
gksudo nvidia-settings #
nvidia-settings #
雖然可能沒有影響
但是 指令後面 下次不必 加 #
# 目的是 補註說明用途
執行時 # 及後面的內容 是不被處理的
nvidia-settings
** Message: PRIME: No offloading required. Abort
(nvidia-settings:15097): Gtk-CRITICAL **: _gtk_widget_captured_event: assertion 'WIDGET_REALIZED_FOR_EVENT (widget, event)' failed
(nvidia-settings:15097): Gtk-CRITICAL **: _gtk_widget_captured_event: assertion 'WIDGET_REALIZED_FOR_EVENT (widget, event)' failed
使用 nvidia-settings (使用者 rt 權限) 比 gksudo nvidia-settings (使用者 root 權限)
多了三個 錯誤 訊息
意思是 這三個 需要 root 權限
這也是 為何需要 加 gksudo 使用 root 權限 的原因
但重启后这个文件会被改名成xorg.conf.05072015,
表示 原來的 /ect/X11/xorg.conf 被(某個程序)備存到 /ect/X11/xorg.conf.05072015
sudo ls -al /ect/X11 | grep xorg.conf
看看 有沒有 生成新的 /ect/X11/xorg.conf
注意看看 時間點
看看 新的 /ect/X11/xorg.conf 內容 有沒有改變
但重启后这个文件会被改名成xorg.conf.05072015,不知道为什么。下面是这个文件的内容。
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
... 以下略
表示是 前面执行 nvidia-xconfig 當下 儲存到 /ect/X11/xorg.conf (如果有修改 包含修改後)的結果
不是 這次開機以後 產生的新結果
friend43
帖子: 166
注册时间: 2015-01-07 16:41
系统: ubuntu 14.04

Re: gtx970驱动安装

#172

帖子 friend43 » 2015-05-08 11:02

poloshiao 写了:
你给得本帖第5页的链接我不知道是有什么作用的?
1. 使用在 tty1 ~ tty6 無法使用 滑鼠/鍵盤 複製/貼上的地方
2. 使用在 顯示行數 很多的地方
目的 方便你把內容貼上來

你说得是pastebinit这个命令吧。知道了。
friend43
帖子: 166
注册时间: 2015-01-07 16:41
系统: ubuntu 14.04

Re: gtx970驱动安装

#173

帖子 friend43 » 2015-05-08 12:04

http://paste.ubuntu.com/11019664/ 这是刚运行得出的结果。请各位懂得朋友看看问题出在哪里,有没有解决办法。
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: gtx970驱动安装

#174

帖子 poloshiao » 2015-05-08 12:13

** Message: PRIME: No offloading required. Abort
** Message: PRIME: is it supported? no
ERROR: nvidia-settings could not find the registry key file. This file should
have been installed along with this driver at
/usr/share/nvidia/nvidia-application-profiles-key-documentation. The
application profiles will continue to work, but values cannot be
preopulated or validated, and will not be listed in the help text.
Please see the README for possible values and descriptions.
1. viewtopic.php?p=3133157#p3133157
你現在使用的 nvidia-349 是從 ppa:xorg-edgers/ppa 安裝的 ?

2. 這一篇 完全一樣的 錯誤訊息
http://askubuntu.com/questions/477553/u ... 873#496873

3. 已確認的 Bug
https://bugs.launchpad.net/ubuntu/+sour ... ug/1341140
nvidia-setting not persistent
表示 nvidia-setting 不會持久一致
而 nvidia-setting 是安裝的 nvidia-setting 套件提供的 提供的

3-1. sudo dpkg -l | grep nvidia-setting
看看 nvidia-setting 版本
是來自 Ubuntu 套件庫 還是 來自 ppa:xorg-edgers/ppa ?
friend43
帖子: 166
注册时间: 2015-01-07 16:41
系统: ubuntu 14.04

Re: gtx970驱动安装

#175

帖子 friend43 » 2015-05-08 12:48

1. viewtopic.php?p=3133157#p3133157
你現在使用的 nvidia-349 是從 ppa:xorg-edgers/ppa 安裝的 ?

3-1. sudo dpkg -l | grep nvidia-setting
看看 nvidia-setting 版本
是來自 Ubuntu 套件庫 還是 來自 ppa:xorg-edgers/ppa ?[/quote]

回复1:sudo add-apt-repository ppa:xorg-edgers/ppa 这是我在安装驱动时第一个执行的命令。这个安装源有问题?还是说不能用这个安装源?在软件中心里最新的版本是304.123,但这个版本是不支持GTX970的。

回复2:请看下图1
图1
图1
friend43
帖子: 166
注册时间: 2015-01-07 16:41
系统: ubuntu 14.04

Re: gtx970驱动安装

#176

帖子 friend43 » 2015-05-08 12:51

如果能用sh来安装从NV官网下载得驱动就好了。我的笔记本就是这样安装的。一点问题都没有。唉 :em19
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: gtx970驱动安装

#177

帖子 poloshiao » 2015-05-08 14:12

如果能用sh来安装从NV官网下载得驱动就好了。我的笔记本就是这样安装的。一点问题都没有。唉
1. 這裡 已經說明 可以從 nvidia 官網 下載 來安裝
viewtopic.php?p=3132523#p3132523
1-1. 安裝方法
https://help.ubuntu.com/community/NvidiaManual
http://us.download.nvidia.com/XFree86/L ... index.html # 其中 346.59 以你使用的 版本替代
1-2. 安裝前 需要將已經安裝的 nvidia-xxx 版本移除

2. 你上面的 nvidia-settings 套件庫 可能是從 ubuntu 套件庫安裝來
而 ubuntu 套件庫是 微調自 nvidia 官網下載的源碼
意思是 問題可能來自 ubuntu 套件庫的微調程序
也有可能 來自 nvidia 官網下載的源碼

3. nvidia-349 的 nvidia-settings 有問題
並不代表
其它不同 nvidia-xxx 版本號的 nvidia-settings 都有問題

4. 你目前的 nvidia-349 是從 ppa 安裝來的
從 ppa 來的 套件 本身就沒有經過 Ubuntu 團隊認證確認過的
有風險 應該在決定從 ppa 安裝以前
心理就有所準備
4-1. 目前還沒有足夠證據說明 你的問題 跟 從 ppa 安裝有關
但是 要有心理準備 ppa 來的 套件 本身就沒有經過 Ubuntu 團隊認證確認過的
要由 安裝的使用者自己決定 是否冒風險安裝

5. 其實 除了 解決 nvidia-settings 的問題 以外 還有其它選擇方案 :
5-1. http://packages.ubuntu.com/vivid/nvidia-346
前面也說過 ubuntu 15.04 的 nvidia-346 是經過 Ubuntu 團隊測微調過的 版本
也支援 GTX 970
5-2. 選擇一個合適的版本 從 nvidia 官網 下載 來安裝
5-3. 其它方案

6. 歡迎再貼文
6-1. 重點是 taohunter 說的
不要常常中途就轉來轉去
friend43
帖子: 166
注册时间: 2015-01-07 16:41
系统: ubuntu 14.04

Re: gtx970驱动安装

#178

帖子 friend43 » 2015-05-08 14:32

我现在最郁闷的就是在安装显卡驱动前,系统能登录也能进入桌面进行各种操作,只是分辨率不是27寸推荐的2560x1440,是1024x768。但装了驱动后就发生了无法看到登录界面黑屏的问题了。而这个问题就是解决不了。弄得我闹心。
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: gtx970驱动安装

#179

帖子 poloshiao » 2015-05-08 14:36

装了驱动后就发生了无法看到登录界面黑屏的问题了
這個問題 你沒給答案 是否有關 要看內容了才知道
viewtopic.php?p=3133222#p3133222
sudo ls -al /ect/X11 | grep xorg.conf
看看 有沒有 生成新的 /ect/X11/xorg.conf
注意看看 時間點
看看 新的 /ect/X11/xorg.conf 內容 有沒有改變
friend43
帖子: 166
注册时间: 2015-01-07 16:41
系统: ubuntu 14.04

Re: gtx970驱动安装

#180

帖子 friend43 » 2015-05-08 16:10

刚刚重装14.04.2,重装驱动,步骤如下:
1. 安装14.04.2
2. 更新系统内核为:3.16.0.37
3. 把nouveau加入黑名单
4. 安装nvidia-346_346.59-0ubuntu1_amd64.deb(md5已检查)
5. 安装nvidia x server settings,对应346.59驱动
到这里为止,查看 /ect/X11,没有发现xorg.conf
6. 运行nvidia-xconfig,生成新的xorg.conf
到这里,系统和显卡驱动装完,然后重启机器。老问题,黑屏,进入CTRL+ALT+F1模式

7. 运行sudo dpkg -l | grep nvidia-setting
8. 运行sudo ls -al /ect/X11 | grep xorg.conf
9. 运行sudo cat /var/log/Xorg.0.log | pastebinit
10. 重启机器,进入试用模式,复制出xorg.conf.05082015
7-8的显示结果请看图1,9的结果:http://paste.ubuntu.com/11021917
图1
图1
下面是xorg.conf.05082015的内容:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 346.59 (buildmeister@swio-display-x86-rhel47-04) Tue Mar 31 14:42:07 PDT 2015

Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 28.0 - 33.0
VertRefresh 43.0 - 72.0
Option "DPMS"
EndSection

Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
EndSubSection
EndSection
回复