表现:第二天来用电脑发现重启后无法进入GUI;近期没有摸驱动相关设置,没有装新软件;
结论:fs check 是启动显卡前的界面,显卡 kmod 未成功加载导致界面不刷新。
- 查 dmesg 正常
- 查 syslog, 找到起 gnome 时加载 xserver 有 error
- 查 Xorg 日志,发现 glxserver_nvidia 未成功加载。
➜ ~ cat /var/log/Xorg.0.log | grep EE
[ 4.245] Current Operating System: Linux PC1 6.2.0-26-generic #26~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Jul 13 16:27:29 UTC 2 x86_64
...
[ 4.262] (EE) NVIDIA: Failed to load module "glxserver_nvidia" (module does not exist, 0)
[ 4.262] (EE) NVIDIA(0): Failed to initialize the GLX module; please check in your X
[ 4.262] (EE) NVIDIA(0): log file that the GLX module has been loaded in your X
[ 4.262] (EE) NVIDIA(0): server, and that the module is the NVIDIA GLX module. If
[ 4.262] (EE) NVIDIA(0): you continue to encounter problems, Please try
[ 4.262] (EE) NVIDIA(0): reinstalling the NVIDIA driver.
感觉又是灵车硬盘。。导致 kmod 损坏