nvidia 驱动程序更新后 Cinnamon Mint 18.1 崩溃

nvidia 驱动程序更新后 Cinnamon Mint 18.1 崩溃

不幸的是我,我的全新 Linux Mint 18.1 Cinnamon 64 位崩溃了。我第一次登录 cinnamon 时它没有崩溃 - 只有第二次,在我完成了一堆更新之后。

我的系统:

myhost joeuser # lshw -c video
  *-display               
       description: VGA compatible controller
       product: GK106 [GeForce GTX 650 Ti Boost]
       vendor: NVIDIA Corporation
       physical id: 0
       bus info: pci@0000:02:00.0
       version: a1
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
       configuration: driver=nvidia latency=0
       resources: irq:17 memory:f6000000-f6ffffff memory:e0000000-e7ffffff memory:e8000000-e9ffffff ioport:e000(size=128) memory:f7000000-f707ffff
  *-display
       description: VGA compatible controller
       product: Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller
       vendor: Intel Corporation
       physical id: 2
       bus info: pci@0000:00:02.0
       version: 09
       width: 64 bits
       clock: 33MHz
       capabilities: msi pm vga_controller bus_master cap_list rom
       configuration: driver=i915 latency=0
       resources: irq:29 memory:f7400000-f77fffff memory:d0000000-dfffffff ioport:f000(size=64)

我愿意不是使用我的 nVIDIA 卡进行视频输出,仅作为计算设备。

我安装了 apt-get nvidia-367(我认为是 367.57)和nvidia-367-dev.注销、登录 - 崩溃和后备模式(请注意,无需重新启动)。然后我重新启动 - 同样的行为。然后我手动安装了驱动375.26;驱动程序安装对 EGL 路径或某些此类业务发出了奇怪的(可能不相关的)抱怨,但似乎得出了结论。重新启动 - 仍然崩溃。

/var/log/Xorg.0.log说:

[     9.268] (EE) [drm] Failed to open DRM device for (null): -22
[     9.268] (WW) Falling back to old probe method for modesetting
[     9.268] (WW) Falling back to old probe method for fbdev
... etc ...
[     9.279] (EE) Failed to initialize GLX extension (Compatible NVIDIA X driver not found)

(但这可能以前也发生过。我想。)

/var/log/syslog说:

Dec 24 00:59:33 myhost systemd[1]: Started User Manager for UID 1000.
Dec 24 00:59:33 myhost mdm[1632]: GLib-CRITICAL: g_key_file_get_string: assertion 'key_file != NULL' failed
Dec 24 00:59:33 myhost mdm[1632]: GLib-CRITICAL: g_key_file_free: assertion 'key_file != NULL' failed
Dec 24 00:59:33 myhost dbus[844]: [system] Activating via systemd: service name='org.freedesktop.ConsoleKit' unit='console-kit-daemon.service'
Dec 24 00:59:33 myhost systemd[1]: Starting Console Manager...
Dec 24 00:59:33 myhost console-kit-daemon[1813]: (process:1877): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed
Dec 24 00:59:33 myhost console-kit-daemon[1813]: missing action
Dec 24 00:59:33 myhost dbus[844]: [system] Successfully activated service 'org.freedesktop.ConsoleKit'
Dec 24 00:59:33 myhost systemd[1]: Started Console Manager.
Dec 24 00:59:33 myhost console-kit-daemon[1813]: (process:1886): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed
Dec 24 00:59:33 myhost org.a11y.Bus[1960]: Activating service name='org.a11y.atspi.Registry'
Dec 24 00:59:33 myhost org.a11y.Bus[1960]: ** (process:1987): WARNING **: Failed to register client: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
Dec 24 00:59:33 myhost org.a11y.Bus[1960]: Successfully activated service 'org.a11y.atspi.Registry'
Dec 24 00:59:33 myhost org.a11y.atspi.Registry[1992]: SpiRegistry daemon is running with well-known name - org.a11y.atspi.Registry
Dec 24 00:59:33 myhost dbus[844]: [system] Activating via systemd: service name='org.freedesktop.RealtimeKit1' unit='rtkit-daemon.service'

编辑:

根据评论中的请求,我正在复制结果apt-cache policy nvidia-367- 但这是在我添加了带有 nVIDIA 驱动程序的 PPA 并删除了该软件包以支持另一个软件包之后(请参阅下面的我的答案)

  Installed: (none)
  Candidate: 367.57-0ubuntu0.16.04.1+gpu16.04.1
  Version table:
     367.57-0ubuntu0.16.04.1+gpu16.04.1 500
        500 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu xenial/main amd64 Packages
     367.57-0ubuntu0.16.04.1 500
        500 http://mirror.amsiohosting.net/archive.ubuntu.com xenial-updates/restricted amd64 Packages
        500 http://security.ubuntu.com/ubuntu xenial-security/restricted amd64 Packages

答案1

事实证明,这对于 Mint 18.1 用户来说并不是一个罕见的问题,至少有几个线程Linux Mint 论坛

我使用中的建议设法“解决”,或者更确切地说,规避了该问题这条信息在其中一个线程中。它涉及执行以下命令(以 root 身份):

apt-get purge .*nvidia.* bumblebee.* .*primus.*
apt-get --purge autoremove
add-apt-repository ppa:graphics-drivers/ppa
apt-get update
apt-get install nvidia-375
apt-get install nvidia-settings nvidia-prime
apt-get install nvidia-cuda-toolkit
reboot

请注意,仅安装nvidia-375nvidia-cuda-toolkit不是让问题消失。一定是安装nvidia-settingsnvidia-prime 做了一些有用的事情 - 尽管我不知道那可能是什么。

编辑: lspci -vnnn根据大众需求得出的结果,如果有帮助的话:

01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GK106 [GeForce GTX 650 Ti Boost] [10de:11c2] (rev a1) (prog-if 00 [VGA controller])
    Subsystem: ZOTAC International (MCO) Ltd. GeForce GTX 650 Ti Boost OC [19da:1281]
    Flags: bus master, fast devsel, latency 0, IRQ 16
    Memory at f6000000 (32-bit, non-prefetchable) [size=16M]
    Memory at e0000000 (64-bit, prefetchable) [size=128M]
    Memory at e8000000 (64-bit, prefetchable) [size=32M]
    I/O ports at e000 [size=128]
    [virtual] Expansion ROM at f7000000 [disabled] [size=512K]
    Capabilities: <access denied>
    Kernel driver in use: nvidia
    Kernel modules: nvidiafb, nouveau, nvidia_375_drm, nvidia_drm, nvidia_375, nvidia

相关内容