卸载然后重新安装 nvidia-384,杀死 colord

Dam*_*mon 8 nvidia color-management 17.10

我想我在 Ubuntu 17.10 中遇到了 nvidia 驱动程序的错误。

当我使用 sudo apt remove nvidia* 删除 nvidia-384 时,colord 似乎无法检测到我的显示器。

我重新安装了 nvidia-384,并在尝试重新安装时注意到了这个错误:

dpkg:错误:版本“-”语法错误:修订号为空

我不确定这意味着什么,但这是安装过程中我的终端的一个片段:

update-alternatives: using /usr/share/nvidia-384/glamor.conf to provide /usr/share/X11/xorg.conf.d/glamoregl.conf (glamor_conf) in auto mode
dpkg: error: version '-' has bad syntax: revision number is empty
update-initramfs: deferring update (trigger activated)
INFO:Enable nvidia-384
Run Code Online (Sandbox Code Playgroud)

这是我在几天前重新格式化 17.10 后第二次遇到该错误。'colormgr get-devices' 不返回任何设备。

'colormgr create-device D2757 temp display' 也返回:

could not check org.freedesktop.color-manager.create-device for auth: GDBus.Error:org.freedesktop.PolicyKit1.Error.NotAuthorized: Only trusted callers (e.g. uid 0 or an action owner) can use CheckAuthorization() for subjects belonging to other identities
Run Code Online (Sandbox Code Playgroud)

这就是我对这个问题所能做的。我无法进一步解决它。

小智 0

当您删除 nvidia 驱动程序时,您是否尝试使用 --purge 选项?它还将删除配置文件。如果它不起作用你可以尝试:

sudo apt-get install lightdm
sudo dpkg-reconfigure gdm
Run Code Online (Sandbox Code Playgroud)

正如另一篇文章中所说


bct*_*bct 0

我遇到了同样的错误,对我来说安装“nvidia-384-dev”似乎解决了问题......(也许依赖项出了问题?)

sudo apt install nvidia-384-dev

sudo apt install --reinstall nvidia-384