我的 MacbookPro 4,1 配有 Nvidia Geoforce 8600M,在 Ubuntu 14.10 下运行正常。我升级到 15.04,但无法进入桌面。我收到了无法配置的弹出窗口。
我看到一篇帖子建议我获取最新的 Nvidia 驱动程序,该驱动程序具有旧版支持,即 Nvidia 340.76(来自 xorg-edgers/ppa)。它安装时没有错误,但现在当我启动时,我会看到一个短暂的控制台登录,取而代之的是带有闪烁光标的黑屏。Control Alt-F1 不起作用,但我可以通过 ssh 登录。
Xorg 日志显示:
(EE) NVIDIA(GPU-0): Failed to initialize the NVIDIA GPU at PCI:1:0:0.
nvidia: module license 'NVIDIA' taints kernel.
Apr 24 11:41:47 km-MacBookPro kernel: [ 15.519944] Disabling lock debugging due to kernel taint
Apr 24 11:41:47 km-MacBookPro kernel: [ 15.532749] nvidia: module verification failed: signature and/or required key missing - tainting kernel
Apr 24 11:41:47 km-MacBookPro kernel: [ 15.539207] nvidia 0000:01:00.0: enabling device (0002 -> 0003)
Apr 24 11:41:47 km-MacBookPro kernel: [ 15.539295] vgaarb: device changed decodes: PCI:0000:01:00.0,olddecodes=io+mem,decodes=none:owns=none
Apr 24 11:41:47 km-MacBookPro kernel: [ 15.539646] [drm] Initialized nvidia-drm 0.0.0 20150116 for 0000:01:00.0 on minor 0
Apr 24 11:41:47 km-MacBookPro kernel: [ 15.539655] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 340.76 Thu Jan 22 12:11:08 PST 2015
Apr 24 11:41:55 km-MacBookPro kernel: [ 30.139286] NVRM: failed to copy vbios to system memory.
Apr 24 11:41:55 km-MacBookPro kernel: [ 30.139541] NVRM: RmInitAdapter failed! (0x30:0xffffffff:747)
Apr 24 11:41:55 km-MacBookPro kernel: [ 30.139546] NVRM: rm_init_adapter failed for device bearing minor number 0
Apr 24 11:41:55 km-MacBookPro kernel: [ 30.139565] NVRM: nvidia_frontend_open: minor 0, module->open() failed, error -5
Apr 24 11:41:56 km-MacBookPro lightdm[855]: update-alternatives: error: no alternatives for x86_64-linux-gnu_gfxcore_conf
Apr 24 11:41:56 km-MacBookPro systemd[1]: lightdm.service: main process exited, code=exited, status=1/FAILURE
Apr 24 11:41:56 km-MacBookPro systemd[1]: Unit lightdm.service entered failed state.
Apr 24 11:41:56 km-MacBookPro systemd[1]: Triggering OnFailure= dependencies of lightdm.service.
Apr 24 11:41:56 km-MacBookPro systemd[1]: lightdm.service failed.
答案1
建议在安装新驱动程序之前清除。例如,对于 343:
sudo apt-get remove --purge nvidia*
sudo service lightdm stop
sudo add-apt-repository ppa:xorg-edgers/ppa
sudo apt-get update
sudo apt-get install nvidia-343
sudo service lightdm start
sudo reboot
您没有明确说明这一点,所以我只是检查一下。
如果您什么也想不出来,您知道您可以重新安装 Ubuntu,但首先要清除驱动程序。根据我的经验和我所见,似乎系统上安装的 nvidia 驱动程序往往会搞乱升级。
等待更好的帮助...