# inxi -SGy
System:
Host: ab250 Kernel: 5.12.9-1-default x86_64 bits: 64
Desktop: Trinity R14.0.10 Distro: openSUSE **Tumbleweed 20210611**
Graphics:
Device-1: Intel HD Graphics 630 driver: i915 v: kernel
Display: x11 server: X.Org 1.20.11 driver: loaded: modesetting
unloaded: fbdev,vesa resolution: 1920x1200~60Hz
OpenGL: renderer: Mesa DRI Intel HD Graphics 630 (KBL GT2)
v: 4.6 Mesa 21.1.2
# systemd-analyze critical-chain
...
multi-user.target @3.175s
└─kbdsettings.service @1.018s +2.155s
└─basic.target @1.008s
└─sockets.target @1.008s
└─telnet.socket @1.007s
└─sysinit.target @999ms
└─systemd-timesyncd.service @936ms +62ms
└─systemd-tmpfiles-setup.service @906ms +26ms
└─systemd-journal-flush.service @374ms +531ms
└─systemd-journald.service @324ms +47ms
└─systemd-journald.socket
└─-.mount
└─system.slice
└─-.slice
# systemd-analyze blame | head -n22
2.155s kbdsettings.service
531ms systemd-journal-flush.service
508ms initrd-switch-root.service
492ms dracut-initqueue.service
276ms systemd-networkd.service
192ms initrd-parse-etc.service
187ms systemd-udevd.service
139ms systemd-fsck@dev-disk-by\x2dlabel-zm2p05home.service
135ms systemd-fsck@dev-disk-by\x2dlabel-zm2p06pub.service
135ms systemd-fsck@dev-disk-by\x2dlabel-zm2p04usrlcl.service
112ms user@0.service
95ms systemd-udev-trigger.service
90ms issue-generator.service
88ms smb.service
87ms sshd.service
81ms display-manager.service
77ms systemd-logind.service
74ms nmb.service
73ms avahi-daemon.service
62ms systemd-timesyncd.service
58ms systemd-vconsole-setup.service
58ms modprobe@drm.service
# lsmod | grep i915
i915 2777088 4
drm_kms_helper 286720 1 i915
cec 61440 2 drm_kms_helper,i915
i2c_algo_bit 16384 1 i915
drm 573440 4 drm_kms_helper,i915
video 53248 2 asus_wmi,i915
The following
(EE) open /dev/dri/card0: No such file or directory
happens only on first XDM/TDM start, resulting in black screen on tty7 if booting 5.11.16 kernel. With 5.12.9, the error is the same, but there’s no attempt to switch from tty1 to tty7. After logging in
systemctl restart xdm
starts Xorg up normally.
If I boot to multi-user instead of graphical, the output from lsmod is the same as shown above, and startx works on first try.
Another thing happening is tty1 clears, but only after a delay of a second or two or three displaying what it should as a result of:
/etc/systemd/system/getty.target.wants # grep Start getty@tty1.service
ExecStart=-/sbin/agetty -o '-p -- \\u' --noclear %I $TERM
This statement has been working for years to prevent screen clearing on tty1.
Where should I be looking for what prevents /dev/dri/card0 from existing before X tries to start?
Last 3 Xorg.0.logs in order of boot/creation: