Ubuntu 18.04 LTS 随机冻结

Ubuntu 18.04 LTS 随机冻结

我最近在计算机上安装了 Ubuntu 18.04 LTS 和 Windows 10。问题是,当我上网或做其他事情时,系统会冻结,我必须强制关机并重新启动。这种情况随机发生,通常需要大约半小时。

我的硬件规格如下: -Intel Core i3-3240 -nVidia GeForce GTX 660 我不记得主板或 RAM 型号,但如果它们有用,我可以尝试搜索它们。我有 8 GB 的 RAM。

这是上次崩溃的日志文件:

16:21:29 kernel: sysrq: SysRq : Emergency Remount R/O
16:21:17 kernel: nouveau 0000:01:00.0: systemd-logind[745]: channel 12 killed!
16:20:36 nautilus: gtk_revealer_set_reveal_child: assertion 'GTK_IS_REVEALER (revealer)' failed
16:20:34 systemd: Started Hostname Service.
16:20:34 dbus-daemon: [system] Successfully activated service 'org.freedesktop.hostname1'
16:20:34 systemd: Starting Hostname Service...
16:20:34 dbus-daemon: [system] Activating via systemd: service name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service' requested by ':1.133' (uid=1000 pid=4407 comm="/usr/bin/nautilus --gapplication-service " label="unconfined")
16:20:30 nautilus: gtk_revealer_set_reveal_child: assertion 'GTK_IS_REVEALER (revealer)' failed
16:20:00 systemd: Started Hostname Service.
16:20:00 dbus-daemon: [system] Successfully activated service 'org.freedesktop.hostname1'
16:20:00 systemd: Starting Hostname Service...
16:20:00 dbus-daemon: [system] Activating via systemd: service name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service' requested by ':1.133' (uid=1000 pid=4407 comm="/usr/bin/nautilus --gapplication-service " label="unconfined")
16:19:44 nautilus: gtk_revealer_set_reveal_child: assertion 'GTK_IS_REVEALER (revealer)' failed
16:19:38 zeitgeist-daemo: [31m[15:19:38.843242 WARNING][0m zeitgeist-daemon.vala:127: Unable to parse version info!
16:19:38 systemd: Started Zeitgeist full-text search indexer.
16:19:38 dbus-daemon: [session uid=1000 pid=1369] Successfully activated service 'org.gnome.zeitgeist.SimpleIndexer'
16:19:38 systemd: Starting Zeitgeist full-text search indexer...
16:19:38 zeitgeist-daemo: [31m[15:19:38.689000 WARNING][0m zeitgeist-daemon.vala:334: Failed to execute child process “zeitgeist-datahub” (No such file or directory)
16:19:38 dbus-daemon: [session uid=1000 pid=1369] Successfully activated service 'org.gnome.zeitgeist.Engine'
16:19:38 systemd: Starting Zeitgeist activity log service...
16:19:38 dbus-daemon: [session uid=1000 pid=1369] Activating via systemd: service name='org.gnome.zeitgeist.Engine' unit='zeitgeist.service' requested by ':1.100' (uid=1000 pid=4407 comm="/usr/bin/nautilus --gapplication-service " label="unconfined")
16:18:46 systemd: Started Hostname Service.
16:18:46 dbus-daemon: [system] Successfully activated service 'org.freedesktop.hostname1'
16:18:46 systemd: Starting Hostname Service...
16:18:46 dbus-daemon: [system] Activating via systemd: service name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service' requested by ':1.133' (uid=1000 pid=4407 comm="/usr/bin/nautilus --gapplication-service " label="unconfined")
16:17:01 cron: pam_unix(cron:session): session closed for user root
16:16:31 systemd: Started Hostname Service.
16:16:31 dbus-daemon: [system] Successfully activated service 'org.freedesktop.hostname1'
16:16:31 nautilus: Called "net usershare info" but it failed: Failed to execute child process “net” (No such file or directory)
16:16:31 systemd: Starting Hostname Service...
16:16:31 dbus-daemon: [system] Activating via systemd: service name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service' requested by ':1.133' (uid=1000 pid=4407 comm="/usr/bin/nautilus --gapplication-service " label="unconfined")
16:15:07 gnome-shell: (/usr/lib/firefox/firefox:4139): dconf-WARNING **: 16:15:07.532: Unable to open /var/lib/snapd/desktop/dconf/profile/user: Permission denied
16:14:53 systemd: Started Hostname Service.
16:14:53 dbus-daemon: [system] Successfully activated service 'org.freedesktop.hostname1'
16:14:53 nautilus: Called "net usershare info" but it failed: Failed to execute child process “net” (No such file or directory)
16:14:53 systemd: Starting Hostname Service...
16:14:52 dbus-daemon: [system] Activating via systemd: service name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service' requested by ':1.131' (uid=1000 pid=4247 comm="/usr/bin/nautilus --gapplication-service " label="unconfined")
16:14:40 thunderbird: 1543936480446 addons.update-checker   WARN    Update manifest for [email protected] did not contain an updates property
16:10:36 gnome-shell: [Parent 1799, Gecko_IOThread] WARNING: pipe error (186): Connection reset by peer: file /build/firefox-JcIUVH/firefox-63.0.3+build1/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 356
16:08:12 firefox: Attempting to read the recently used resources file at '/home/ivangouba/.local/share/recently-used.xbel', but the parser failed: Failed to open file “/home/ivangouba/.local/share/recently-used.xbel”: Permission denied.
16:08:01 wpa_supplicant: wlp5s0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-60 noise=-95 txrate=115600
16:04:13 sudo: pam_unix(sudo:session): session closed for user root
16:02:45 gnome-shell: (/usr/lib/firefox/firefox:1992): dconf-WARNING **: 16:02:45.089: Unable to open /var/lib/snapd/desktop/dconf/profile/user: Permission denied
16:00:37 kernel: Normal exit (0 jobs run)
16:00:37 kernel: Anacron 2.3 started on 2018-12-04
16:00:37 systemd: Started Run anacron jobs.
15:53:46 gnome-shell: [Child 2392, MediaPlayback #3] WARNING: Decoder=7fb0007b8e20 Decode error: NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) - RefPtr<mozilla::MozPromise<RefPtr<mozilla::MediaTrackDemuxer::SamplesHolder>, mozilla::MediaResult, true> > mozilla::MediaSourceTrackDemuxer::DoGetSamples(int32_t): manager is detached.: file /build/firefox-JcIUVH/firefox-63.0.3+build1/dom/media/MediaDecoderStateMachine.cpp, line 3429
15:52:12 sudo: pam_unix(sudo:session): session opened for user root by (uid=0)
15:50:49 systemd-resolve: Server returned error NXDOMAIN, mitigating potential DNS violation DVE-2018-0001, retrying transaction with reduced feature level UDP.
15:50:35 sudo: pam_unix(sudo:session): session opened for user root by (uid=0)
15:49:27 whoopsie: [15:49:27] online

提前谢谢您。我会尽力提供任何需要的额外信息。

答案1

我已经解决了这个问题。显然,我的显卡(Nvidia GeForce GTX 660)无法很好地与默认驱动程序配合使用,因此我安装了专有的 Nvidia 驱动程序,从那以后再也没有出现过一次崩溃。为此,我打开了一个终端并执行了以下命令:

  1. 首先,我添加了 Nvidia 驱动程序存储库:

sudo 添加 apt 存储库 ppa:图形驱动程序/ppa

  1. 然后,我更新了存储库并安装了驱动程序:

sudo apt 更新

sudo apt 安装 nvidia-387

nvidia- 后面的 387 是驱动程序的版本,安装驱动程序时,应将其替换为当前最新版本。如果您不知道要使用哪个版本,我想您可以直接使用 387,虽然它可能有些旧,但可以正常工作。

我是 Ubuntu 新手,所以如果我说错了什么,请随时告诉我。

相关内容