安装n卡驱动时出现问题
发表于 : 2018-03-25 15:33
最近一直尝试安装n卡驱动但就是装不好让人很气.
我的电脑装的Ubuntu16.06LST,显卡是GTX1050ti的显卡,我从NVIDIA官网上下载了NVIDIA-Linux-x86_64-390.42.run
在网上查了很多教程,禁用了第三方的显卡,关闭了x windows服务,安装显卡驱动也成功了,也幸亏有前车之鉴我电脑没有循环登录
但是我登录进去以后分辨率只有800x600,我在网上查到了可以通过nvidia-settings修改分辨率,但我尝试运行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.
以下是运行nvidia-smi的信息:
请问我该如何解决分辨率无法调整的问题,以及nvidia-settings无法开启的问题.
我的电脑装的Ubuntu16.06LST,显卡是GTX1050ti的显卡,我从NVIDIA官网上下载了NVIDIA-Linux-x86_64-390.42.run
在网上查了很多教程,禁用了第三方的显卡,关闭了x windows服务,安装显卡驱动也成功了,也幸亏有前车之鉴我电脑没有循环登录
但是我登录进去以后分辨率只有800x600,我在网上查到了可以通过nvidia-settings修改分辨率,但我尝试运行nvidia-settings时终端报错如下:
代码: 全选
ERROR: Error querying enabled displays on GPU 0 (Missing Extension).
ERROR: Error querying connected displays on GPU 0 (Missing Extension).
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
prepopulated or validated, and will not be listed in the help text.
Please see the README for possible values and descriptions.
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
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.
以下是运行nvidia-smi的信息:
代码: 全选
Sun Mar 25 15:31:54 2018
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 390.42 Driver Version: 390.42 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 GeForce GTX 105... Off | 00000000:01:00.0 Off | N/A |
| N/A 32C P0 N/A / N/A | 0MiB / 4042MiB | 0% Default |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| No running processes found |
+-----------------------------------------------------------------------------+