Dell XPS 13 9360 启动时间约为 90 秒

Dell XPS 13 9360 启动时间约为 90 秒

我昨天买了一台戴尔 XPS 13 9360-5142,专门用来安装 Ubuntu 18.04。奇怪的是,它启动需要将近 90 秒。

系统启动后,出现戴尔徽标,然后屏幕变为 Ubuntu 黑色背景,然后在启动约 20-30 秒后屏幕关闭,然后在约 75 秒后重新打开,出现 Ubuntu 徽标并在几秒钟后进入登录屏幕。

我不太明白为什么它要花这么长时间,它运行在一个不错的 CPU 和 SSD 上,所以我认为最多只需要 30 秒就可以启动。它还会在重启时挂起,左上角有一个闪烁的光标......

有人知道发生了什么事吗?

这是我的“关于”屏幕的图片

systemd-analyze 输出:

Startup finished in 9.226s (firmware) + 3.834s (loader) + 33.914s (kernel) + 7.915s (userspace) = 54.890s  
graphical.target reached after 7.866s in userspace

systemd-analyze blame 输出:

      5.846s NetworkManager-wait-online.service
      3.013s plymouth-quit-wait.service
      1.504s bolt.service
      1.328s plymouth-start.service
      1.016s fwupd.service
       974ms systemd-backlight@backlight:intel_backlight.service
       946ms apparmor.service
       858ms plymouth-read-write.service
       568ms dev-mapper-ubuntu\x2d\x2dvg\x2droot.device
       296ms dev-loop11.device
       286ms snapd.service
       284ms dev-loop12.device
       283ms dev-loop15.device
       281ms dev-loop16.device
       280ms dev-loop14.device
       272ms dev-loop13.device
       251ms NetworkManager.service
       196ms systemd-logind.service
       173ms systemd-udev-trigger.service
       171ms systemd-timesyncd.service
       169ms systemd-resolved.service
       149ms networkd-dispatcher.service
       138ms snap-ubuntu\x2dsocial\x2dkit-3.mount
       135ms snap-canonical\x2dlivepatch-41.mount
       131ms snap-gtk\x2dcommon\x2dthemes-319.mount
       129ms snap-gnome\x2dcalculator-180.mount
       128ms snap-gnome\x2dcalculator-154.mount
       127ms snap-gnome\x2dlogs-25.mount
       126ms snap-gnome\x2dlogs-37.mount
       125ms snap-gnome\x2d3\x2d26\x2d1604-70.mount
       122ms snap-gnome\x2dcharacters-103.mount
       121ms snap-gnome\x2dsystem\x2dmonitor-51.mount
       119ms udisks2.service
       119ms snap-libreoffice-71.mount
       115ms networking.service
       114ms ModemManager.service
       108ms accounts-daemon.service
       106ms keyboard-setup.service
       101ms systemd-rfkill.service
        91ms upower.service
        83ms lvm2-pvscan@259:2.service
        76ms systemd-journal-flush.service
        76ms snap-google\x2dplay\x2dmusic\x2ddesktop\x2dplayer-47.mount
        74ms snap-gnome\x2dcharacters-69.mount
        72ms dev-loop5.device
        72ms speech-dispatcher.service
        71ms avahi-daemon.service
        71ms systemd-journald.service
        71ms apport.service
        69ms dev-loop9.device
        68ms rtkit-daemon.service
        67ms snap-gnome\x2d3\x2d26\x2d1604-59.mount
        64ms dev-loop8.device
        63ms dev-loop10.device
        63ms dev-loop7.device
        62ms dev-loop6.device
        58ms grub-common.service
        53ms packagekit.service
        51ms snap-gnome\x2dsystem\x2dmonitor-36.mount
        48ms bluetooth.service
        46ms rsyslog.service
        45ms thermald.service
        44ms wpa_supplicant.service
        43ms [email protected]
        42ms snap-core-4917.mount
        42ms gpu-manager.service
        41ms lvm2-monitor.service
        41ms [email protected]
        35ms snap-core-4486.mount
        33ms systemd-udevd.service
        28ms colord.service
        26ms systemd-modules-load.service
        25ms systemd-update-utmp-runlevel.service
        21ms systemd-fsck@dev-disk-by\x2duuid-818C\x2dFA47.service
        21ms gdm.service
        18ms dev-loop0.device
        17ms systemd-tmpfiles-setup.service
        16ms ufw.service
        16ms polkit.service
        15ms kerneloops.service
        14ms pppd-dns.service
        14ms snapd.seeded.service
        14ms blk-availability.service
        13ms sys-kernel-debug.mount
        13ms systemd-tmpfiles-setup-dev.service
        12ms dev-hugepages.mount
        12ms dns-clean.service
        12ms dev-loop1.device
        11ms systemd-sysctl.service
        11ms systemd-remount-fs.service
        10ms dev-mqueue.mount
         9ms dev-loop4.device
         9ms boot-efi.mount
         8ms systemd-random-seed.service
         7ms ureadahead-stop.service
         6ms systemd-update-utmp.service
         6ms kmod-static-nodes.service
         6ms console-setup.service
         6ms sys-fs-fuse-connections.mount
         5ms systemd-user-sessions.service
         5ms dev-loop3.device
         4ms sys-kernel-config.mount
         4ms dev-mapper-ubuntu\x2d\x2dvg\x2dswap_1.swap
         3ms systemd-backlight@leds:dell::kbd_backlight.service
         3ms setvtrgb.service
         2ms snapd.socket

答案1

刚刚尝试使用我的 Dell XPS 15 9560 进行双启动。Windows 10 可在几秒钟内启动,但 Ubuntu 可能需要一分钟才能进入登录屏幕,然后再花 30 秒加载我的用户桌面。难以忍受!所以我研究了这个问题,现在我的启动时间不到 10 秒。好多了 :)

那么,我做了什么?好吧,我已经全新安装了 Ubuntu(我运行的是 19.10,但在 18.04 上应该也能正常工作)。但首先,我更新了固件,使用 Ubuntu 软件应用程序可以轻松完成,但我还听说这个命令应该可以解决问题。我不认为这实际上解决了问题,但无论如何,建议这样做。

sudo fwupdwgr update
sudo reboot

所以我认为真正起作用的是安装 Nvidia 的专有驱动程序。因为我也遇到过桌面偶尔会冻结的问题,但会持续几秒钟。所以此主题帮助我解决了这个问题,但突然启动时间就变短了。因此,要安装它,只需运行

sudo ubuntu-drivers autoinstall
sudo reboot

突然间,一切都变得顺畅无比,启动和登录都很快。一切都如此快速和敏捷!祝你好运!

相关内容