Today when I got home from work, Artix could not be woke up from sleep and the CPU is uder heavy load. I pulled the plug and restarted the laptop. After filling in the login info, Xorg started but show an error
open /dev/dri/card0: No such file or directory
Here is the full log from `/var/log/Xorg.0.log`:
[ 24.000]
X.Org X Server 1.21.1.4
X Protocol Version 11, Revision 0
[ 24.003] Current Operating System: Linux artix 5.19.12-artix1-1 #1 SMP PREEMPT_DYNAMIC Thu, 29 Sep 2022 19:51:07 +0000 x86_64
[ 24.003] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=3cede99a-43fb-4db7-adb8-cb7020d5e550 rw loglevel=3 quiet
[ 24.003]
[ 24.004] Current version of pixman: 0.40.0
[ 24.004] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 24.004] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 24.006] (==) Log file: "/var/log/Xorg.0.log", Time: Sun Oct 16 16:38:01 2022
[ 24.092] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 24.159] (==) No Layout section. Using the first Screen section.
[ 24.159] (==) No screen section available. Using defaults.
[ 24.159] (**) |-->Screen "Default Screen Section" (0)
[ 24.159] (**) | |-->Monitor "<default monitor>"
[ 24.159] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 24.159] (==) Automatically adding devices
[ 24.159] (==) Automatically enabling devices
[ 24.159] (==) Automatically adding GPU devices
[ 24.159] (==) Automatically binding GPU devices
[ 24.159] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 24.179] (WW) The directory "/usr/share/fonts/misc" does not exist.
[ 24.179] Entry deleted from font path.
[ 24.180] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/TTF".
[ 24.180] Entry deleted from font path.
[ 24.180] (Run 'mkfontdir' on "/usr/share/fonts/TTF").
[ 24.180] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[ 24.180] Entry deleted from font path.
[ 24.180] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[ 24.180] Entry deleted from font path.
[ 24.180] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[ 24.180] Entry deleted from font path.
[ 24.180] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[ 24.180] Entry deleted from font path.
[ 24.180] (==) FontPath set to:
[ 24.180] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 24.180] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 24.180] (II) Module ABI versions:
[ 24.180] X.Org ANSI C Emulation: 0.4
[ 24.180] X.Org Video Driver: 25.2
[ 24.180] X.Org XInput driver : 24.4
[ 24.180] X.Org Server Extension : 10.0
[ 24.181] (++) using VT number 1
[ 24.183] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_31
[ 24.185] (--) PCI:*(0@0:2:0) 8086:0166:103c:179b rev 9, Mem @ 0xd4000000/4194304, 0xc0000000/268435456, I/O @ 0x00004000/64, BIOS @ 0x????????/131072
[ 24.185] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[ 24.185] (II) LoadModule: "glx"
[ 24.186] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 24.483] (II) Module glx: vendor="X.Org Foundation"
[ 24.483] compiled for 1.21.1.4, module version = 1.0.0
[ 24.483] ABI class: X.Org Server Extension, version 10.0
[ 24.483] (==) Matched intel as autoconfigured driver 0
[ 24.483] (==) Matched modesetting as autoconfigured driver 1
[ 24.483] (==) Matched fbdev as autoconfigured driver 2
[ 24.483] (==) Matched vesa as autoconfigured driver 3
[ 24.483] (==) Assigned the driver to the xf86ConfigLayout
[ 24.483] (II) LoadModule: "intel"
[ 24.483] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[ 24.554] (II) Module intel: vendor="X.Org Foundation"
[ 24.554] compiled for 1.21.1.1, module version = 2.99.917
[ 24.554] Module class: X.Org Video Driver
[ 24.554] ABI class: X.Org Video Driver, version 25.2
[ 24.554] (II) LoadModule: "modesetting"
[ 24.554] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 24.602] (II) Module modesetting: vendor="X.Org Foundation"
[ 24.603] compiled for 1.21.1.4, module version = 1.21.1
[ 24.603] Module class: X.Org Video Driver
[ 24.603] ABI class: X.Org Video Driver, version 25.2
[ 24.603] (II) LoadModule: "fbdev"
[ 24.603] (WW) Warning, couldn't open module fbdev
[ 24.603] (EE) Failed to load module "fbdev" (module does not exist, 0)
[ 24.603] (II) LoadModule: "vesa"
[ 24.603] (WW) Warning, couldn't open module vesa
[ 24.603] (EE) Failed to load module "vesa" (module does not exist, 0)
[ 24.603] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[ 24.604] (II) intel: Driver for Intel(R) HD Graphics
[ 24.604] (II) intel: Driver for Intel(R) Iris(TM) Graphics
[ 24.604] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics
[ 24.604] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 24.609] (EE) open /dev/dri/card0: No such file or directory
[ 24.609] (WW) Falling back to old probe method for modesetting
[ 24.609] (EE) open /dev/dri/card0: No such file or directory
[ 24.609] (EE) Screen 0 deleted because of no matching config section.
[ 24.609] (II) UnloadModule: "modesetting"
[ 24.609] (EE) Device(s) detected, but none match those in the config file.
[ 24.609] (EE)
Fatal server error:
[ 24.609] (EE) no screens found(EE)
[ 24.609] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 24.609] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 24.609] (EE)
[ 24.611] (EE) Server terminated with error (1). Closing log file.
This is the second time this has happened, the first time I fixed it by reinstalling the Linux packages but this time, no luck. Also when I execute `mkinitcpio` it shows this error
==> ERROR: '/lib/modules/5.19.12-artix1-1' is not a valid kernel module directory
I could not find `/lib/modules/5.19.12-artix1-1`, there's only `/lib/modules/6.0.1-arch1-1`.
Thanks in advance!