deepin更新5.8内核后无法正常使用nvidia闭源驱动
Tofloor
poster avatar
安洛
deepin
2020-11-15 02:39
Author

按照9楼的方法,已解决。

今天使用设置进行了11.11和11.13的更新,然后按照https://bbs.deepin.org/post/205512里的方法进行了内核更新,但是更新之后执行nvidia-smi时提示

NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.


星火商店里的显卡切换插件也无法正常使用,根据https://bbs.deepin.org/post/178542配置也不行。但是5.4内核下一切正常。

Reply Favorite View the author
All Replies
Ziggy
deepin
2020-11-15 04:35
#1

内核会有影响,可以自行回退

Reply View the author
忘记、过去
deepin
2020-11-15 04:51
#2

5.8.14 内核需要新版本闭源驱动 450.66,可能你安装出问题了。


执行 sudo dkms status 看看 5.8.14 内核里有没有 nvidia-current/450.66 这个驱动模块。

Reply View the author
安洛
deepin
2020-11-15 05:08
#3
忘记、过去

5.8.14 内核需要新版本闭源驱动 450.66,可能你安装出问题了。


执行 sudo dkms status 看看 5.8.14 内核里有没有 nvidia-current/450.66 这个驱动模块。

我这里命令返回:

acpi-call, 1.1.0, 5.4.70-amd64-desktop, x86_64: installedError! Could not locate dkms.conf file.
File: /var/lib/dkms/asg_xdroid/1.0/source/dkms.conf does not exist.


大佬能帮忙看看是什么问题吗

Reply View the author
走钢丝
deepin
2020-11-15 05:12
#4
安洛

我这里命令返回:

acpi-call, 1.1.0, 5.4.70-amd64-desktop, x86_64: installedError! Could not locate dkms.conf file.
File: /var/lib/dkms/asg_xdroid/1.0/source/dkms.conf does not exist.


大佬能帮忙看看是什么问题吗

这个是 xdroid 的问题。。把 xdroid 重新装一下就好了,不需要卸载。

Reply View the author
安洛
deepin
2020-11-15 05:53
#5
走钢丝

这个是 xdroid 的问题。。把 xdroid 重新装一下就好了,不需要卸载。

重装了。现在命令返回值里面nvidia的片段是这样的:

nvidia-current, 450.66, 5.4.50-amd64-desktop, x86_64: installed
nvidia-current, 450.66, 5.4.70-amd64-desktop, x86_64: installed


依然不正常

Reply View the author
走钢丝
deepin
2020-11-15 05:59
#6
安洛

重装了。现在命令返回值里面nvidia的片段是这样的:

nvidia-current, 450.66, 5.4.50-amd64-desktop, x86_64: installed
nvidia-current, 450.66, 5.4.70-amd64-desktop, x86_64: installed


依然不正常

我没有 nv 显卡,对这块不熟,没看出这是哪里不正常了?


Reply View the author
安洛
deepin
2020-11-15 06:02
#7
走钢丝

我没有 nv 显卡,对这块不熟,没看出这是哪里不正常了?


我也不是很看得懂,不过好像只有5.4.50和5.4.70的片段,没有5.8相关的片段?

另外在系统里面也是无法正常使用n卡。

Reply View the author
走钢丝
deepin
2020-11-15 06:14
#8
安洛

我也不是很看得懂,不过好像只有5.4.50和5.4.70的片段,没有5.8相关的片段?

另外在系统里面也是无法正常使用n卡。

这方面我就不懂了,没这方面经验。

Reply View the author
忘记、过去
deepin
2020-11-15 08:15
#9
安洛

我也不是很看得懂,不过好像只有5.4.50和5.4.70的片段,没有5.8相关的片段?

另外在系统里面也是无法正常使用n卡。

先确定你用的内核是不是 5.8.14,看上去旧的内核都正常。


从新内核进系统后,执行 sudo dkms install nvidia-current/450.66 应该就行了。如果有报错的话那我也不清楚......(记得先安装 linux-headers-5.8.14-xxxxxx,需要 headers...)

Reply View the author
安洛
deepin
2020-11-15 17:25
#10
忘记、过去

先确定你用的内核是不是 5.8.14,看上去旧的内核都正常。


从新内核进系统后,执行 sudo dkms install nvidia-current/450.66 应该就行了。如果有报错的话那我也不清楚......(记得先安装 linux-headers-5.8.14-xxxxxx,需要 headers...)

问题解决了!谢谢大佬!

Reply View the author