You are not logged in.
I have a few machines that are UEFI only (no legacy / CSM).
On two of these, lightdm.service fails to start.
I have attached the logs from a liveUSB session as I am not sure exactly what should looking for.
Here are the logs: https://filebin.net/hzdgjuiu9iqh1ilv/
Last edited by b197rt (2021-05-15 10:16:18)
Offline
^What happens if you append nomodeset to the kernel line ?
Offline
^What happens if you append nomodeset to the kernel line ?
Sadly the same result, I'm not sure why it is doing this on some machines. Is there any other logs or fixes I can attempt?
Offline
unklar wrote:^What happens if you append nomodeset to the kernel line ?
Sadly the same result, I'm not sure why it is doing this on some machines. Is there any other logs or fixes I can attempt?
Find out why it fails to start? If you get dropped to a shell, or just switch to another tty (ctrl+alt+F1/F2/F3...) and log in.
sudo journalctl -xu lightdm.service
You should also look at the Xorg logs /var/log/Xorg.0.log ... to see if they contain any errors and if yes, which.
Lastly, check
sudo dmesg -l err
or (equivalent)
sudo journalctl -xk -p3
Offline
Nevermind, you already posted the log. It does not seem to be able to find a graphics adapter.
[ 21.340] (II) VESA: driver for VESA chipsets: vesa
[ 21.340] (EE) open /dev/dri/card0: No such file or directory
[ 21.340] (WW) Falling back to old probe method for modesetting
[ 21.340] (EE) open /dev/dri/card0: No such file or directory
[ 21.340] (II) Loading sub module "fbdevhw"
[ 21.340] (II) LoadModule: "fbdevhw"
[ 21.340] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[ 21.340] (II) Module fbdevhw: vendor="X.Org Foundation"
[ 21.340] compiled for 1.20.4, module version = 0.0.2
[ 21.340] ABI class: X.Org Video Driver, version 24.0
[ 21.340] (EE) Unable to find a valid framebuffer device
[ 21.340] (WW) Falling back to old probe method for fbdev
[ 21.340] (II) Loading sub module "fbdevhw"
[ 21.340] (II) LoadModule: "fbdevhw"
[ 21.340] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[ 21.340] (II) Module fbdevhw: vendor="X.Org Foundation"
[ 21.340] compiled for 1.20.4, module version = 0.0.2
[ 21.340] ABI class: X.Org Video Driver, version 24.0
[ 21.340] (II) FBDEV(2): using default device
[ 21.340] (EE) Screen 0 deleted because of no matching config section.
[ 21.340] (II) UnloadModule: "modesetting"
[ 21.340] (EE) Screen 0 deleted because of no matching config section.
[ 21.340] (II) UnloadModule: "fbdev"
[ 21.340] (II) UnloadSubModule: "fbdevhw"
[ 21.340] (EE)
Fatal server error:
[ 21.340] (EE) Cannot run in framebuffer mode. Please specify busIDs for all framebuffer devices
[ 21.340] (EE)
[ 21.340] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 21.340] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 21.340] (EE)
[ 21.342] (EE) Server terminated with error (1). Closing log file.
(END)
And
smpboot: CPU0: Intel(R) Core(TM) i5-10400
Which graphics card do you have on that machine, does it have an on-board Intel one? I think it has one:
HP HP Pavilion Desktop TP01-1xxx/8767,
In the UEFI/BIOS firmware, is the graphics card disabled?
Can you also provide the output of lsmod? If it has an intel card the model i915 should load.
If not: This is a Comet Lake system and fairly new. I strongly recommend installing kernel 5.10 from buster backports. Make also sure that the package xserver-xorg-video-intel is NOT installed (it's obsolete; the modesetting driver should be used for everything).
Offline
@nobody and Unklar, thank you both for attempting to help me solve the issue.
I installed the 5.10 kernel and everything is working as expected. Cheers!
Also, after removing the xserver-xorg-video-intel driver, what should I install to replace it?
Last edited by b197rt (2021-05-15 10:19:18)
Offline
Also, after removing the xserver-xorg-video-intel driver, what should I install to replace it?
Nothing if everything works. Please read the summary of the Intel situation here. Summing up, if everything works, you should only be using the "modesetting" driver on top of the in-kernel i915 module (check Xorg logs again, it should be using the "modesetting" driver, or install inxi and execute inxi -bxx -v3 to get a detailed easy to read summary). In this mode, the userspace Xorg "modesetting" driver is fairly minimal and delegates both 2D and 3D drawing to OpenGL hardware accelerated drawing primitives. The "intel" driver, which contains a custom implementation of 2D acceleration, has not seen active, forward-looking development for 5+ years and is considered at best deprecated, at worst obsolete. There are some situations in which it performs better than modesetting, however, in day to day use, if everything works for you, this should not concern you.
Offline