Boot

啟動時帶有滑鼠指針的黑屏,KDE Neon

  • August 11, 2019

前言:

我有一台聯想 Z50,4GB 記憶體。我嘗試在其上安裝KDE Neon 5.15.4(基於 Ubuntu 18.04),但我遇到了問題。我是菜鳥,所以問題可能過於描述了。

問題:

我第一次安裝時,安裝很完美(我選擇安裝額外的附加功能),我選擇了“嘗試作業系統一段時間”而不是“立即重新啟動”選項。

但是當我啟動到已安裝的作業系統時,在初始啟動螢幕之後,它拋出對話框說ksplashqmlcrashed 和 2 或 3 個以上(我意外地關閉了它們,因為ksplashqml’ 框需要一些時間才能關閉),所以我不知道還有什麼崩潰。

在那之後,我留下了一個帶有指針的黑屏。我等了很長時間,然後按了很長時間的電源按鈕(強制關機)。我重新啟動,但指針出現相同的黑屏,這次沒有對話框。再次,我強行關閉電源。

我試過的:

  1. 有人說安裝時不要安裝任何額外的東西,所以通過擦除整個磁碟重新安裝 KDE Neon。

安裝後,我選擇了“ reboot now”選項並啟動了作業系統,儘管在啟動螢幕後載入桌面需要相當長的時間。然後,一切正常,我使用和更新(到KDE 5.16.4),使用 安裝 NVIDIA 驅動程序(在我的情況下為 340),然後重新啟動。我再次用指針迎接黑屏,沒有對話框。pkcon refresh``pkcon update``sudo ubuntu-drivers autoinstall 2. 然後我開始了解Ctrl++ Alt- F1F6

我去了tty2,登錄但什麼也做不了。然後我發現了關於startx。因此,在登錄tty2後,我輸入startx並按輸入鍵,然後我收到了ksplashqml崩潰的對話,但這次載入了桌面。

我已從對話框中附加了日誌。此外,rendering with software is enabled當我以這種方式到達桌面時,它會顯示。一段時間後桌面變得靜止且無法操作(關閉視窗通常會觸發它),如果我啟動發現然後關閉它(即使在啟動後也是如此)。

有時甚至ksmserver-logout-greeter崩潰(附有日誌)。有時解析度較低。 3. 引導至 grub(使用Esc)並替換ro quiet splashnomodeset quiet spalsh或僅nomodeset在 grub 中(通過按下e進行編輯)。 4. 禁用模糊效果。 5. 更改核心版本(5、4.18、4.15.18)。 6. 將nouveau驅動程序列入黑名單(我現在已將其列入白名單,不知道如何檢查,方法是刪除行blacklist nouveauoptions nouveau modeset=0從我按照指南/etc/modprobe.d/blacklist-nvidia-nouveau.conf添加的文件中刪除)。

我還有什麼選擇嗎?我可以從 Konsole ( tty2 ) 執行終端命令。

日誌:

**ksplashqml**崩潰日誌:

Application: ksplashqml (ksplashqml), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f731c206d00 (LWP 1104))]

Thread 3 (Thread 0x7f7305a05700 (LWP 1107)):
#0  0x00007f73193740b4 in __GI___libc_read (fd=8, buf=0x7f7305a04af0, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:27
#1  0x00007f7311fbaf55 in ?? () from /usr/lib/x86_64-linux-gnu/tls/libnvidia-tls.so.340.107
#2  0x00007f7313d032d0 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f7313cbe0b7 in g_main_context_check () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f7313cbe570 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f7313cbe6dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f7319cbbdcb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f7319c5d03a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f7319a844ca in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f7318ccc115 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#10 0x00007f7319a85c72 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007f7316cd56db in start_thread (arg=0x7f7305a05700) at pthread_create.c:463
#12 0x00007f731938588f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f7306632700 (LWP 1106)):
#0  __lll_unlock_wake () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:371
#1  0x00007f7316cd97df in __pthread_mutex_unlock_usercnt (decr=1, mutex=0x7f7315aa88a0) at pthread_mutex_unlock.c:54
#2  __GI___pthread_mutex_unlock (mutex=0x7f7315aa88a0) at pthread_mutex_unlock.c:345
#3  0x00007f7315824b79 in ?? () from /usr/lib/x86_64-linux-gnu/libGL.so.1
#4  0x00007f7315828888 in ?? () from /usr/lib/x86_64-linux-gnu/libGL.so.1
#5  0x00007f7311fbafe1 in ?? () from /usr/lib/x86_64-linux-gnu/tls/libnvidia-tls.so.340.107
#6  0x00007f7313d032d0 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007f7313cbe0b7 in g_main_context_check () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007f7313cbe570 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007f7313cbe6dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007f7319cbbdcb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007f7319c5d03a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007f7319a844ca in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007f731ab60015 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#14 0x00007f7319a85c72 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x00007f7316cd56db in start_thread (arg=0x7f7306632700) at pthread_create.c:463
#16 0x00007f731938588f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f731c206d00 (LWP 1104)):
[KCrash Handler]
#5  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#6  0x00007f73192a4801 in __GI_abort () at abort.c:79
#7  0x00007f7319a61f2b in QMessageLogger::fatal(char const*, ...) const () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f731b40978d in QSGRenderLoop::handleContextCreationFailure(QQuickWindow*, bool) () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#9  0x00007f731b40a57d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#10 0x00007f731b40b31a in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#11 0x00007f731a233655 in QWindow::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#12 0x00007f731b487025 in QQuickWindow::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#13 0x00007f7319c5ed18 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007f731a22919a in QGuiApplicationPrivate::processExposeEvent(QWindowSystemInterfacePrivate::ExposeEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#15 0x00007f731a2293ed in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#16 0x00007f731a201b4b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#17 0x00007f7309c0d59a in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#18 0x00007f7313cbe417 in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#19 0x00007f7313cbe650 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00007f7313cbe6dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x00007f7319cbbdaf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#22 0x00007f7319c5d03a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#23 0x00007f7319c66170 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#24 0x000056487af83c06 in ?? ()
#25 0x00007f7319285b97 in __libc_start_main (main=0x56487af83ab0, argc=3, argv=0x7ffe0358c338, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffe0358c328) at ../csu/libc-start.c:310
#26 0x000056487af83cda in _start ()

ksmserver-logout-greeter崩潰日誌:

Application: ksmserver-logout-greeter (ksmserver-logout-greeter), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fe340e68880 (LWP 3361))]

Thread 4 (Thread 0x7fe321518700 (LWP 3364)):
#0  0x00007fe33c52ebf9 in __GI___poll (fds=0x7fe3140025e0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fe334fdc5c9 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fe334fdc6dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fe33ce71dcb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fe33ce1303a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fe33cc3a4ca in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fe33ef6c115 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007fe33cc3bc72 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fe33702f6db in start_thread (arg=0x7fe321518700) at pthread_create.c:463
#9  0x00007fe33c53b88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7fe322b55700 (LWP 3363)):
#0  0x00007fe33c52a0b4 in __GI___libc_read (fd=6, buf=0x7fe322b54ae0, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:27
#1  0x00007fe331c39f55 in ?? () from /usr/lib/x86_64-linux-gnu/tls/libnvidia-tls.so.340.107
#2  0x00007fe3350212d0 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fe334fdc0b7 in g_main_context_check () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fe334fdc570 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fe334fdc6dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007fe33ce71dcb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fe33ce1303a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fe33cc3a4ca in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007fe33daca015 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#10 0x00007fe33cc3bc72 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007fe33702f6db in start_thread (arg=0x7fe322b55700) at pthread_create.c:463
#12 0x00007fe33c53b88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7fe3289c2700 (LWP 3362)):
#0  0x00007fe33c52ebf9 in __GI___poll (fds=0x7fe3289c1c28, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fe337692747 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007fe33769436a in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007fe32b17f578 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007fe33cc3bc72 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fe33702f6db in start_thread (arg=0x7fe3289c2700) at pthread_create.c:463
#6  0x00007fe33c53b88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7fe340e68880 (LWP 3361)):
[KCrash Handler]
#6  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#7  0x00007fe33c45a801 in __GI_abort () at abort.c:79
#8  0x00007fe33cc17f2b in QMessageLogger::fatal(char const*, ...) const () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007fe33f6c478d in QSGRenderLoop::handleContextCreationFailure(QQuickWindow*, bool) () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#10 0x00007fe33f6c557d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#11 0x00007fe33f6c631a in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#12 0x00007fe33d3e9655 in QWindow::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#13 0x00007fe33f742025 in QQuickWindow::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#14 0x000055d845f38c21 in ?? ()
#15 0x00007fe33e0a465c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#16 0x00007fe33e0abb90 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#17 0x00007fe33ce14d18 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#18 0x00007fe33d3df19a in QGuiApplicationPrivate::processExposeEvent(QWindowSystemInterfacePrivate::ExposeEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#19 0x00007fe33d3df3ed in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#20 0x00007fe33d3b7b4b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#21 0x00007fe32b18059a in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#22 0x00007fe334fdc417 in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007fe334fdc650 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007fe334fdc6dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007fe33ce71daf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#26 0x00007fe33ce1303a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#27 0x00007fe33ce1c170 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#28 0x000055d845f34a95 in ?? ()
#29 0x00007fe33c43bb97 in __libc_start_main (main=0x55d845f347e0, argc=1, argv=0x7ffe73654f28, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffe73654f18) at ../csu/libc-start.c:310
#30 0x000055d845f34bba in _start ()

解決了!

在嘗試了 KDE Neon 之後,我切換到了 Pop!作業系統並拋出由於電腦的安全策略而無法啟動的消息。我在 BIOS 中啟用了安全啟動。一開始我看不到 Secure Boot 的選項,不得不在 BIOS 中將 Boot Mode 設置為 UEFI。安全啟動似乎阻止了一些圖形驅動程序,但我很驚訝作業系統是如何啟動的!

另一個問題可能是 NVIDIA Optimus(可切換或混合顯卡),在這種情況下可能很有用。

順便說一句,我現在在 Kubuntu 上。:)

希望能幫助到你!

引用自:https://unix.stackexchange.com/questions/534302