Ubuntu 16.04 nvidia驱动程序不工作

分享于 

4分钟阅读

ubuntu

  繁體

问题

我刚安装了一个新的ubuntu 16.04,我选择nvidia专有驱动程序361版本,重新启动机器,

grep"EE WW"/var/log/Xorg.0.日志的输出:


(WW) warning, (EE) error, (NI) not implemented, (??) unknown.


[ 23.758] (WW) The directory"/usr/share/fonts/X11/cyrillic" does not exist.


[ 23.758] (WW) The directory"/usr/share/fonts/X11/100dpi/" does not exist.


[ 23.758] (WW) The directory"/usr/share/fonts/X11/75dpi/" does not exist.


[ 23.758] (WW) The directory"/usr/share/fonts/X11/100dpi" does not exist.


[ 23.758] (WW) The directory"/usr/share/fonts/X11/75dpi" does not exist.


[ 23.761] (WW)"glamoregl" will not be loaded unless you've specified it to be loaded elsewhere.


[ 25.323] (WW) Unresolved symbol: fbGetGCPrivateKey


[ 25.448] (WW) NVIDIA(0): Unable to get display device for DPI computation.


[ 25.613] (WW) modeset(G0): Option"AllowEmptyInitialConfiguration" is not used


[ 25.613] (WW) modeset(G0): Option"IgnoreDisplayDevices" is not used


[ 25.902] (EE) NVIDIA(0): Failed to initiate mode change.


[ 25.902] (EE) NVIDIA(0): Failed to complete mode change


[ 26.214] (WW) evdev: SteelSeries Sensei Raw Gaming Mouse: ignoring absolute axes.


[ 26.216] (WW) evdev: SteelSeries SteelSeries Apex Raw Gaming Keyboard: ignoring absolute axes.


[ 26.272] (II) XINPUT: Adding extended input device"USBest Technology SiS HID Touch Controller" (type: TOUCHSCREEN, id 16)



完整日志文件LOG

xorg.conf文件:


Section"ServerLayout"


 Identifier"layout"


 Screen 0"nvidia"


 Inactive"intel"


EndSection



Section"Device"


 Identifier"intel"


 Driver"modesetting"


 BusID"PCI:0@0:2:0"


 Option"AccelMethod""None"


EndSection



Section"Screen"


 Identifier"intel"


 Device"intel"


EndSection



Section"Device"


 Identifier"nvidia"


 Driver"nvidia"


 BusID"PCI:4@0:0:0"


 Option"ConstrainCursor""off"


EndSection



Section"Screen"


 Identifier"nvidia"


 Device"nvidia"


 Option"AllowEmptyInitialConfiguration""on"


 Option"IgnoreDisplayDevices""CRT"


EndSection




答案1

解决方案是禁用安全启动。

在登录循环中,我切换到控制台Ctl+Alt+F1,重启并禁用UEFI中的安全引导,安装了nvidia驱动程序,现在工作都正常了。


答案2

我也有这个问题,我在控制台(按ctrl+alt+f1,在登录页面中显示第一个虚拟tty )中运行:


sudo apt-get purge nvidia*



在此之后,重新启动,然后我可以登录,之后,我先安装英特尔驱动程序,然后安装nvidia-361.

以下是我遵循的步骤:

  • sudo apt-get purge nvidia*
  • reboot (现在我让noveau显示驱动程序工作)
  • sudo apt-get install intel-microcode
  • sudo apt-get install intel-gpu-tools
  • 重启
  • sudo apt-get install nvidia-361
  • 重新启动

相关文章