At this point I’ve had this Manjaro installation on the laptop for more than 3 years. While everything works fine, I’m currently having some boot issues.
Light Display Manager now often fails to start. I don’t know which log I should provide in order to reliably diagnose the issue, although this is not a serious one. Back then a reboot would usually work, but not anymore recently.
The issue worsened after a certain unclean shutdown. At that time, the system’s
udev was kind of hung thanks to an unstable USB-C cable, which caused the system freeze when X server closed after I clicked Restart from the XFCE menu. I had to manually power off and back on, and then this issue happened. While in rare cases I could get it booted to the GUI (the LightDM GTK Greeter shows up), in most cases it would end up stuck and I have to switch to another terminal, log in, and manually
startx which works.
/var/log/Xorg.0.log of the failed X startup looks strange, as it mentioned a lot of modules (such as
amdgpu, and eventually it ended up with these errors.
[ 5.253] (II) modesetting: Driver for Modesetting Kernel Drivers: kms [ 5.253] (EE) open /dev/dri/card0: No such file or directory [ 5.253] (WW) Falling back to old probe method for modesetting [ 5.253] (EE) open /dev/dri/card0: No such file or directory [ 5.253] (EE) Screen 0 deleted because of no matching config section. [ 5.253] (II) UnloadModule: "modesetting" [ 5.253] (EE) Device(s) detected, but none match those in the config file. [ 5.253] (EE) Fatal server error: [ 5.253] (EE) no screens found(EE) [ 5.253] (EE) Please consult the The X.Org Foundation support at http://wiki.x.org for help. [ 5.253] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information. [ 5.253] (EE) [ 5.253] (EE) Server terminated with error (1). Closing log file.
/etc/X11/xorg.conf.d doesn’t really have any screen related confs that are active, and that my
/etc/X11/mhwd.d is empty. I even tried actually installing
video-linux from Manjaro Settings Manager but no avail (it installed some other drivers anyway). I don’t know if these are normal and if so, where else should I look to find the real cause of the issue?
I’m currently on the most recent stable update with a 5.14 kernel, by the way.
EDIT: A few days ago when the issue actually started worsened it didn’t say “Failed to start Light Display Manager” (such occurrence were as rare as before), but now it almost always says that, and
journalctl is not giving me anything helpful other than the fact it failed with error code (which is probably because X didn’t start correctly).