天哪,我一直在尝试安装 nivida 驱动程序,但总是遇到这个错误。
Setting up nvidia-prime (0.6.2) ...
nvidia-prime start/running, process 4736
Setting up screen-resolution-extra (0.17.1) ...
Setting up nvidia-settings (343.13-0ubuntu1~xedgers14.04.1) ...
Processing triggers for libc-bin (2.19-0ubuntu6.3) ...
Processing triggers for ureadahead (0.100.0-16) ...
Processing triggers for initramfs-tools (0.103ubuntu4.2) ...
update-initramfs: Generating /boot/initrd.img-3.13.0-35-generic
Errors were encountered while processing:
nvidia-331
E: Sub-process /usr/bin/dpkg returned an error code (1)
当我重新启动时,我的显示器一片混乱。我的第二台显示器一片空白,主显示器的分辨率非常低。在显示选项中,只有一个显示器。
答案1
在终端中尝试以下操作:首先,如果安装了此包,请将其删除,因为它显然会导致 Nvidia 设置在启动时崩溃
sudo apt-get purge libvdpau-va-gl1
如果你安装了 Nouveau,也请将其删除,因为它与你所需的专有产品不兼容,而是与 Nvidia 兼容。接下来,安装 Nvidia prime,以及你想要的驱动程序
sudo apt-get install nvidia-319 nvidia-settings-319 nvidia-prime
重启。