ubuntu16.04附加驱动添加nvidia驱动失败
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
-
- 帖子: 63
- 注册时间: 2017-04-28 19:08
- 系统: ubuntu16.04LTS
ubuntu16.04附加驱动添加nvidia驱动失败
ubuntu16.04附加驱动添加nvidia驱动失败,想问一下是源的问题吗,添加应用更改后进度条一直停在中间位置,我用的是中科大的源。
-
- 论坛版主
- 帖子: 18279
- 注册时间: 2009-08-04 16:33
Re: ubuntu16.04附加驱动添加nvidia驱动失败
跟源應該沒關係ubuntu16.04附加驱动添加nvidia驱动失败,想问一下是源的问题吗
你的顯卡是雙顯卡 具備 Optimus 功能
需要安裝 閉源驅動 nvidia
試試安裝 nvidia-340
而你目前預裝的是 開源驅動 nouveau
-
- 帖子: 63
- 注册时间: 2017-04-28 19:08
- 系统: ubuntu16.04LTS
Re: ubuntu16.04附加驱动添加nvidia驱动失败
手动安装吗,上次试过直接在附加驱动里添加是可以的,现在不行
-
- 论坛版主
- 帖子: 18279
- 注册时间: 2009-08-04 16:33
Re: ubuntu16.04附加驱动添加nvidia驱动失败
從終端機 下指令 安裝看看ubuntu16.04附加驱动添加nvidia驱动失败
sudo apt install nvidia-340
如果有錯誤訊息 複製 貼上來
如果安裝順利 重新開機
-
- 帖子: 63
- 注册时间: 2017-04-28 19:08
- 系统: ubuntu16.04LTS
Re: ubuntu16.04附加驱动添加nvidia驱动失败
需要拉nouveau进黑名单吗
-
- 论坛版主
- 帖子: 18279
- 注册时间: 2009-08-04 16:33
Re: ubuntu16.04附加驱动添加nvidia驱动失败
http://packages.ubuntu.com/xenial/amd64 ... 0/filelist需要拉nouveau进黑名单吗
在 xenial 發行版中 amd64 硬體架構下的 nvidia-340 套件文件清單
安裝 nvidia 已包含
/etc/modprobe.d/nvidia-340_hybrid.conf
你可以檢查一下 這個檔案
是否已經把 nouveau 列进黑名单 ?
-
- 帖子: 63
- 注册时间: 2017-04-28 19:08
- 系统: ubuntu16.04LTS
Re: ubuntu16.04附加驱动添加nvidia驱动失败
好的我试一下,因为上次安装n卡失败导致进不了系统,然后重装了
-
- 帖子: 63
- 注册时间: 2017-04-28 19:08
- 系统: ubuntu16.04LTS
Re: ubuntu16.04附加驱动添加nvidia驱动失败
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
将会同时安装下列软件:
bbswitch-dkms dkms lib32gcc1 libc6-i386 libcuda1-340 libjansson4 libxnvctrl0
nvidia-opencl-icd-340 nvidia-prime nvidia-settings ocl-icd-libopencl1
screen-resolution-extra xserver-xorg-legacy
建议安装:
bumblebee
下列【新】软件包将被安装:
bbswitch-dkms dkms lib32gcc1 libc6-i386 libcuda1-340 libjansson4 libxnvctrl0
nvidia-340 nvidia-opencl-icd-340 nvidia-prime nvidia-settings
ocl-icd-libopencl1 screen-resolution-extra xserver-xorg-legacy
升级了 0 个软件包,新安装了 14 个软件包,要卸载 0 个软件包,有 6 个软件包未被升级。
需要下载 878 kB/72.7 MB 的归档。
解压缩后会消耗 344 MB 的额外空间。
您希望继续执行吗? [Y/n] Y
更换介质:请把标有
“Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2)”
的盘片插入驱动器“/media/cdrom/”再按「回车」键
正在分析软件包的依赖关系树
正在读取状态信息... 完成
将会同时安装下列软件:
bbswitch-dkms dkms lib32gcc1 libc6-i386 libcuda1-340 libjansson4 libxnvctrl0
nvidia-opencl-icd-340 nvidia-prime nvidia-settings ocl-icd-libopencl1
screen-resolution-extra xserver-xorg-legacy
建议安装:
bumblebee
下列【新】软件包将被安装:
bbswitch-dkms dkms lib32gcc1 libc6-i386 libcuda1-340 libjansson4 libxnvctrl0
nvidia-340 nvidia-opencl-icd-340 nvidia-prime nvidia-settings
ocl-icd-libopencl1 screen-resolution-extra xserver-xorg-legacy
升级了 0 个软件包,新安装了 14 个软件包,要卸载 0 个软件包,有 6 个软件包未被升级。
需要下载 878 kB/72.7 MB 的归档。
解压缩后会消耗 344 MB 的额外空间。
您希望继续执行吗? [Y/n] Y
更换介质:请把标有
“Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2)”
的盘片插入驱动器“/media/cdrom/”再按「回车」键
-
- 论坛版主
- 帖子: 18279
- 注册时间: 2009-08-04 16:33
Re: ubuntu16.04附加驱动添加nvidia驱动失败
sudo cat /etc/apt/sources.list更换介质:请把标有
“Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2)”
的盘片插入驱动器“/media/cdrom/”再按「回车」键
請把結果複製貼上來
養成習慣
安裝任何套件前 先
sudo apt update
sudo apt upgrade
沒有錯誤訊息
再開始安裝
-
- 帖子: 63
- 注册时间: 2017-04-28 19:08
- 系统: ubuntu16.04LTS
Re: ubuntu16.04附加驱动添加nvidia驱动失败
deb cdrom:[Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2)]/ xenial main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://mirrors.ustc.edu.cn/ubuntu/ xenial main restricted
# deb-src http://cn.archive.ubuntu.com/ubuntu/ xenial main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://mirrors.ustc.edu.cn/ubuntu/ xenial-updates main restricted
# deb-src http://cn.archive.ubuntu.com/ubuntu/ xenial-updates main restricted
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://mirrors.ustc.edu.cn/ubuntu/ xenial universe
# deb-src http://cn.archive.ubuntu.com/ubuntu/ xenial universe
deb http://mirrors.ustc.edu.cn/ubuntu/ xenial-updates universe
# deb-src http://cn.archive.ubuntu.com/ubuntu/ xenial-updates universe
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://mirrors.ustc.edu.cn/ubuntu/ xenial multiverse
# deb-src http://cn.archive.ubuntu.com/ubuntu/ xenial multiverse
deb http://mirrors.ustc.edu.cn/ubuntu/ xenial-updates multiverse
# deb-src http://cn.archive.ubuntu.com/ubuntu/ xenial-updates multiverse
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://mirrors.ustc.edu.cn/ubuntu/ xenial-backports main restricted universe multiverse
# deb-src http://cn.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
deb http://archive.canonical.com/ubuntu xenial partner
deb-src http://archive.canonical.com/ubuntu xenial partner
deb http://mirrors.ustc.edu.cn/ubuntu/ xenial-security main restricted
# deb-src http://security.ubuntu.com/ubuntu xenial-security main restricted
deb http://mirrors.ustc.edu.cn/ubuntu/ xenial-security universe
# deb-src http://security.ubuntu.com/ubuntu xenial-security universe
deb http://mirrors.ustc.edu.cn/ubuntu/ xenial-security multiverse
# deb-src http://security.ubuntu.com/ubuntu xenial-security multiverse
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://mirrors.ustc.edu.cn/ubuntu/ xenial main restricted
# deb-src http://cn.archive.ubuntu.com/ubuntu/ xenial main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://mirrors.ustc.edu.cn/ubuntu/ xenial-updates main restricted
# deb-src http://cn.archive.ubuntu.com/ubuntu/ xenial-updates main restricted
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://mirrors.ustc.edu.cn/ubuntu/ xenial universe
# deb-src http://cn.archive.ubuntu.com/ubuntu/ xenial universe
deb http://mirrors.ustc.edu.cn/ubuntu/ xenial-updates universe
# deb-src http://cn.archive.ubuntu.com/ubuntu/ xenial-updates universe
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://mirrors.ustc.edu.cn/ubuntu/ xenial multiverse
# deb-src http://cn.archive.ubuntu.com/ubuntu/ xenial multiverse
deb http://mirrors.ustc.edu.cn/ubuntu/ xenial-updates multiverse
# deb-src http://cn.archive.ubuntu.com/ubuntu/ xenial-updates multiverse
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://mirrors.ustc.edu.cn/ubuntu/ xenial-backports main restricted universe multiverse
# deb-src http://cn.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
deb http://archive.canonical.com/ubuntu xenial partner
deb-src http://archive.canonical.com/ubuntu xenial partner
deb http://mirrors.ustc.edu.cn/ubuntu/ xenial-security main restricted
# deb-src http://security.ubuntu.com/ubuntu xenial-security main restricted
deb http://mirrors.ustc.edu.cn/ubuntu/ xenial-security universe
# deb-src http://security.ubuntu.com/ubuntu xenial-security universe
deb http://mirrors.ustc.edu.cn/ubuntu/ xenial-security multiverse
# deb-src http://security.ubuntu.com/ubuntu xenial-security multiverse
-
- 论坛版主
- 帖子: 18279
- 注册时间: 2009-08-04 16:33
Re: ubuntu16.04附加驱动添加nvidia驱动失败
1. 先確認一下 不是在試用桌面 ?sudo cat /etc/apt/sources.list
deb cdrom:[Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2)]/ xenial main restricted
1-1. df /
把結果貼上來
2. 如果確定不是試用桌面
2-1. 安裝 gksu 套件
sudo apt install gksu
2-2. gksudo gedit /etc/apt/sources.list
2-3. 在前面加一個 #deb cdrom:[Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2)]/ xenial main restricted
# deb cdrom:[Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2)]/ xenial main restricted
2-4. 儲存 然後
sudo apt update
sudo apt install nvidia-340
-
- 帖子: 63
- 注册时间: 2017-04-28 19:08
- 系统: ubuntu16.04LTS
Re: ubuntu16.04附加驱动添加nvidia驱动失败
文件系统 1K-块 已用 可用 已用% 挂载点
/dev/sda11 19554584 12978724 5559492 71% /
/dev/sda11 19554584 12978724 5559492 71% /
-
- 帖子: 63
- 注册时间: 2017-04-28 19:08
- 系统: ubuntu16.04LTS
Re: ubuntu16.04附加驱动添加nvidia驱动失败
sudo apt update出现问题:
E: 无法下载 http://mirrors.ustc.edu.cn/ubuntu/dists ... d64.yml.xz Hash 校验和不符
E: 无法下载 http://mirrors.ustc.edu.cn/ubuntu/dists ... d64.yml.xz Hash 校验和不符
E: 部分索引文件下载失败。如果忽略它们,那将转而使用旧的索引文件。
E: 无法下载 http://mirrors.ustc.edu.cn/ubuntu/dists ... d64.yml.xz Hash 校验和不符
E: 无法下载 http://mirrors.ustc.edu.cn/ubuntu/dists ... d64.yml.xz Hash 校验和不符
E: 部分索引文件下载失败。如果忽略它们,那将转而使用旧的索引文件。
-
- 论坛版主
- 帖子: 18279
- 注册时间: 2009-08-04 16:33
Re: ubuntu16.04附加驱动添加nvidia驱动失败
1-1. df /
1. 應該是已安裝的 Ubuntu文件系统 1K-块 已用 可用 已用% 挂载点
/dev/sda11 19554584 12978724 5559492 71% /
2. 已安裝的 Ubuntu 應該已經加上 ## deb cdrom:[Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2)]/ xenial main restricted
3. 參閱sudo apt update出现问题:
E: 无法下载 http://mirrors.ustc.edu.cn/ubuntu/dists ... d64.yml.xz Hash 校验和不符
E: 无法下载 http://mirrors.ustc.edu.cn/ubuntu/dists ... d64.yml.xz Hash 校验和不符
E: 部分索引文件下载失败。如果忽略它们,那将转而使用旧的索引文件。
viewtopic.php?f=73&t=483810&p=3190241&h ... 6#p3190241
3-1. 可能是網路問題
3-1-1. 晚上夜深人靜時 再試試
3-1-2. 換一下 下載伺服器 再試試
3-1-3. 其它可能原因
-
- 帖子: 63
- 注册时间: 2017-04-28 19:08
- 系统: ubuntu16.04LTS
Re: ubuntu16.04附加驱动添加nvidia驱动失败
nvidia驱动安装成功,感谢