You are not logged in.

#1 2022-11-07 12:04:26

ugly-bastard
Member
Registered: 2022-11-07
Posts: 10

[Solved] Segmentation fault when booting

I get a segmentation fault when booting, but it sometimes perfectly boots when I reboot multiple times.
There's a blinking _ at top left, so lightdm isn't starting, since xorg terminates.
It sometimes doesn't show the blinking _ and just the tty1 where it says `[OK] Loaded Graphical Interface` and stuff.
I can open other ttys.
As I said, it sometimes boots perfectly, like right now when I'm posting this.
I'll try to provide all the logs needed.

Xorg.0.log when it is working perfectly (current session):

[    11.411] 
X.Org X Server 1.21.1.4
X Protocol Version 11, Revision 0
[    11.411] Current Operating System: Linux himanshu 6.0.7-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 03 Nov 2022 18:01:58 +0000 x86_64
[    11.411] Kernel command line: initrd=\amd-ucode.img initrd=\intel-ucode.img initrd=\initramfs-linux.img root=PARTUUID=61e87a3d-7155-4b2c-89f6-6c3ee991c8cf rw intel_pstate=no_hwp rootfstype=ext4
[    11.411]  
[    11.411] Current version of pixman: 0.42.2
[    11.411] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    11.411] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    11.411] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Nov  7 12:41:42 2022
[    11.421] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    11.421] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    11.425] (==) No Layout section.  Using the first Screen section.
[    11.425] (==) No screen section available. Using defaults.
[    11.425] (**) |-->Screen "Default Screen Section" (0)
[    11.425] (**) |   |-->Monitor "<default monitor>"
[    11.425] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[    11.425] (==) Automatically adding devices
[    11.425] (==) Automatically enabling devices
[    11.425] (==) Automatically adding GPU devices
[    11.425] (==) Automatically binding GPU devices
[    11.425] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    11.429] (WW) The directory "/usr/share/fonts/misc" does not exist.
[    11.429] 	Entry deleted from font path.
[    11.429] (WW) The directory "/usr/share/fonts/TTF" does not exist.
[    11.429] 	Entry deleted from font path.
[    11.429] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[    11.429] 	Entry deleted from font path.
[    11.429] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[    11.429] 	Entry deleted from font path.
[    11.429] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[    11.429] 	Entry deleted from font path.
[    11.429] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[    11.429] 	Entry deleted from font path.
[    11.429] (==) FontPath set to:
	
[    11.429] (==) ModulePath set to "/usr/lib/xorg/modules"
[    11.429] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[    11.429] (II) Module ABI versions:
[    11.429] 	X.Org ANSI C Emulation: 0.4
[    11.429] 	X.Org Video Driver: 25.2
[    11.429] 	X.Org XInput driver : 24.4
[    11.429] 	X.Org Server Extension : 10.0
[    11.430] (++) using VT number 7

[    11.430] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[    11.430] (II) xfree86: Adding drm device (/dev/dri/card0)
[    11.430] (II) Platform probe for /sys/devices/pci0000:00/0000:00:08.1/0000:06:00.0/drm/card0
[    11.450] (--) PCI:*(6@0:0:0) 1002:1638:1458:d000 rev 201, Mem @ 0xd0000000/268435456, 0xe0000000/2097152, 0xfcc00000/524288, I/O @ 0x0000e000/256, BIOS @ 0x????????/131072
[    11.450] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[    11.450] (II) LoadModule: "glx"
[    11.452] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    11.487] (II) Module glx: vendor="X.Org Foundation"
[    11.487] 	compiled for 1.21.1.4, module version = 1.0.0
[    11.487] 	ABI class: X.Org Server Extension, version 10.0
[    11.487] (II) Applying OutputClass "AMDgpu" to /dev/dri/card0
[    11.487] 	loading driver: amdgpu
[    11.487] (==) Matched amdgpu as autoconfigured driver 0
[    11.487] (==) Matched ati as autoconfigured driver 1
[    11.487] (==) Matched modesetting as autoconfigured driver 2
[    11.487] (==) Matched fbdev as autoconfigured driver 3
[    11.487] (==) Matched vesa as autoconfigured driver 4
[    11.487] (==) Assigned the driver to the xf86ConfigLayout
[    11.487] (II) LoadModule: "amdgpu"
[    11.487] (II) Loading /usr/lib/xorg/modules/drivers/amdgpu_drv.so
[    11.494] (II) Module amdgpu: vendor="X.Org Foundation"
[    11.494] 	compiled for 1.21.1.3, module version = 22.0.0
[    11.494] 	Module class: X.Org Video Driver
[    11.494] 	ABI class: X.Org Video Driver, version 25.2
[    11.494] (II) LoadModule: "ati"
[    11.494] (II) Loading /usr/lib/xorg/modules/drivers/ati_drv.so
[    11.495] (II) Module ati: vendor="X.Org Foundation"
[    11.495] 	compiled for 1.21.1.4, module version = 19.1.0
[    11.495] 	Module class: X.Org Video Driver
[    11.495] 	ABI class: X.Org Video Driver, version 25.2
[    11.515] (II) LoadModule: "modesetting"
[    11.515] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    11.518] (II) Module modesetting: vendor="X.Org Foundation"
[    11.518] 	compiled for 1.21.1.4, module version = 1.21.1
[    11.518] 	Module class: X.Org Video Driver
[    11.518] 	ABI class: X.Org Video Driver, version 25.2
[    11.518] (II) LoadModule: "fbdev"
[    11.518] (WW) Warning, couldn't open module fbdev
[    11.518] (EE) Failed to load module "fbdev" (module does not exist, 0)
[    11.518] (II) LoadModule: "vesa"
[    11.518] (WW) Warning, couldn't open module vesa
[    11.518] (EE) Failed to load module "vesa" (module does not exist, 0)
[    11.518] (II) AMDGPU: Driver for AMD Radeon:
	All GPUs supported by the amdgpu kernel driver
[    11.518] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    11.538] (WW) Falling back to old probe method for modesetting
[    11.538] (II) AMDGPU(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[    11.539] (==) AMDGPU(0): Depth 24, (--) framebuffer bpp 32
[    11.539] (II) AMDGPU(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps)
[    11.539] (==) AMDGPU(0): Default visual is TrueColor
[    11.539] (==) AMDGPU(0): RGB weight 888
[    11.539] (II) AMDGPU(0): Using 8 bits per RGB (8 bit DAC)
[    11.539] (--) AMDGPU(0): Chipset: "AMD Radeon Graphics" (ChipID = 0x1638)
[    11.539] (II) Loading sub module "fb"
[    11.539] (II) LoadModule: "fb"
[    11.539] (II) Module "fb" already built-in
[    11.539] (II) Loading sub module "dri2"
[    11.539] (II) LoadModule: "dri2"
[    11.539] (II) Module "dri2" already built-in
[    12.667] (II) Loading sub module "glamoregl"
[    12.667] (II) LoadModule: "glamoregl"
[    12.667] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[    12.682] (II) Module glamoregl: vendor="X.Org Foundation"
[    12.682] 	compiled for 1.21.1.4, module version = 1.0.1
[    12.682] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    12.723] (II) AMDGPU(0): glamor X acceleration enabled on AMD Radeon Graphics (renoir, LLVM 14.0.6, DRM 3.48, 6.0.7-arch1-1)
[    12.723] (II) AMDGPU(0): glamor detected, initialising EGL layer.
[    12.723] (==) AMDGPU(0): TearFree property default: auto
[    12.723] (==) AMDGPU(0): VariableRefresh: disabled
[    12.723] (==) AMDGPU(0): AsyncFlipSecondaries: disabled
[    12.723] (II) AMDGPU(0): KMS Pageflipping: enabled
[    12.724] (II) AMDGPU(0): Output HDMI-A-0 has no monitor section
[    12.724] (II) AMDGPU(0): Output DVI-D-0 has no monitor section
[    12.737] (II) AMDGPU(0): EDID for output HDMI-A-0
[    12.737] (II) AMDGPU(0): Manufacturer: SAM  Model: c3c  Serial#: 0
[    12.737] (II) AMDGPU(0): Year: 2014  Week: 46
[    12.737] (II) AMDGPU(0): EDID Version: 1.3
[    12.737] (II) AMDGPU(0): Digital Display Input
[    12.737] (II) AMDGPU(0): Max Image Size [cm]: horiz.: 52  vert.: 29
[    12.737] (II) AMDGPU(0): Gamma: 2.20
[    12.737] (II) AMDGPU(0): No DPMS capabilities specified
[    12.737] (II) AMDGPU(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4 
[    12.737] (II) AMDGPU(0): First detailed timing is preferred mode
[    12.737] (II) AMDGPU(0): redX: 0.640 redY: 0.330   greenX: 0.300 greenY: 0.600
[    12.737] (II) AMDGPU(0): blueX: 0.150 blueY: 0.060   whiteX: 0.312 whiteY: 0.329
[    12.737] (II) AMDGPU(0): Supported established timings:
[    12.737] (II) AMDGPU(0): 720x400@70Hz
[    12.737] (II) AMDGPU(0): 640x480@60Hz
[    12.737] (II) AMDGPU(0): 640x480@67Hz
[    12.737] (II) AMDGPU(0): 640x480@72Hz
[    12.737] (II) AMDGPU(0): 640x480@75Hz
[    12.737] (II) AMDGPU(0): 800x600@60Hz
[    12.737] (II) AMDGPU(0): 800x600@72Hz
[    12.737] (II) AMDGPU(0): 800x600@75Hz
[    12.737] (II) AMDGPU(0): 832x624@75Hz
[    12.737] (II) AMDGPU(0): 1024x768@60Hz
[    12.737] (II) AMDGPU(0): 1024x768@70Hz
[    12.737] (II) AMDGPU(0): 1024x768@75Hz
[    12.737] (II) AMDGPU(0): Manufacturer's mask: 0
[    12.737] (II) AMDGPU(0): Supported standard timings:
[    12.737] (II) AMDGPU(0): #0: hsize: 1280  vsize 720  refresh: 60  vid: 49281
[    12.737] (II) AMDGPU(0): Supported detailed timing:
[    12.737] (II) AMDGPU(0): clock: 85.5 MHz   Image Size:  609 x 347 mm
[    12.737] (II) AMDGPU(0): h_active: 1366  h_sync: 1436  h_sync_end 1579 h_blank_end 1792 h_border: 0
[    12.738] (II) AMDGPU(0): v_active: 768  v_sync: 771  v_sync_end 774 v_blanking: 798 v_border: 0
[    12.738] (II) AMDGPU(0): Supported detailed timing:
[    12.738] (II) AMDGPU(0): clock: 74.2 MHz   Image Size:  609 x 347 mm
[    12.738] (II) AMDGPU(0): h_active: 1280  h_sync: 1390  h_sync_end 1430 h_blank_end 1650 h_border: 0
[    12.738] (II) AMDGPU(0): v_active: 720  v_sync: 725  v_sync_end 730 v_blanking: 750 v_border: 0
[    12.738] (II) AMDGPU(0): Ranges: V min: 24 V max: 75 Hz, H min: 15 H max: 68 kHz, PixClock max 235 MHz
[    12.738] (II) AMDGPU(0): Monitor name: SAMSUNG
[    12.738] (II) AMDGPU(0): Supported detailed timing:
[    12.738] (II) AMDGPU(0): clock: 74.2 MHz   Image Size:  609 x 347 mm
[    12.738] (II) AMDGPU(0): h_active: 1920  h_sync: 2448  h_sync_end 2492 h_blank_end 2640 h_border: 0
[    12.738] (II) AMDGPU(0): v_active: 540  v_sync: 542  v_sync_end 547 v_blanking: 562 v_border: 0
[    12.738] (II) AMDGPU(0): Supported detailed timing:
[    12.738] (II) AMDGPU(0): clock: 74.2 MHz   Image Size:  609 x 347 mm
[    12.738] (II) AMDGPU(0): h_active: 1920  h_sync: 2008  h_sync_end 2052 h_blank_end 2200 h_border: 0
[    12.738] (II) AMDGPU(0): v_active: 540  v_sync: 542  v_sync_end 547 v_blanking: 562 v_border: 0
[    12.738] (II) AMDGPU(0): Supported detailed timing:
[    12.738] (II) AMDGPU(0): clock: 74.2 MHz   Image Size:  609 x 347 mm
[    12.738] (II) AMDGPU(0): h_active: 1280  h_sync: 1720  h_sync_end 1760 h_blank_end 1980 h_border: 0
[    12.738] (II) AMDGPU(0): v_active: 720  v_sync: 725  v_sync_end 730 v_blanking: 750 v_border: 0
[    12.738] (II) AMDGPU(0): Supported detailed timing:
[    12.738] (II) AMDGPU(0): clock: 85.5 MHz   Image Size:  609 x 347 mm
[    12.738] (II) AMDGPU(0): h_active: 1366  h_sync: 1436  h_sync_end 1579 h_blank_end 1792 h_border: 0
[    12.738] (II) AMDGPU(0): v_active: 768  v_sync: 771  v_sync_end 774 v_blanking: 798 v_border: 0
[    12.738] (II) AMDGPU(0): Number of EDID sections to follow: 1
[    12.738] (II) AMDGPU(0): EDID (in hex):
[    12.738] (II) AMDGPU(0): 	00ffffffffffff004c2d3c0c00000000
[    12.738] (II) AMDGPU(0): 	2e18010380341d780aee91a3544c9926
[    12.738] (II) AMDGPU(0): 	0f5054bdee0081c00101010101010101
[    12.738] (II) AMDGPU(0): 	010101010101662156aa51001e30468f
[    12.738] (II) AMDGPU(0): 	3300615b2100001e011d007251d01e20
[    12.738] (II) AMDGPU(0): 	6e285500615b2100001e000000fd0018
[    12.738] (II) AMDGPU(0): 	4b0f4417000a202020202020000000fc
[    12.738] (II) AMDGPU(0): 	0053414d53554e470a20202020200123
[    12.738] (II) AMDGPU(0): 	020325f14d841305140312101f202122
[    12.738] (II) AMDGPU(0): 	07162309070783010000e2000f67030c
[    12.738] (II) AMDGPU(0): 	002000b82d011d80d0721c1620102c25
[    12.738] (II) AMDGPU(0): 	80615b2100009e011d8018711c162058
[    12.738] (II) AMDGPU(0): 	2c2500615b2100009e011d00bc52d01e
[    12.738] (II) AMDGPU(0): 	20b8285540615b2100001e662156aa51
[    12.738] (II) AMDGPU(0): 	001e30468f3300615b2100001e662150
[    12.738] (II) AMDGPU(0): 	b051001b3040703600615b2100001ef8
[    12.738] (--) AMDGPU(0): HDMI max TMDS frequency 225000KHz
[    12.738] (II) AMDGPU(0): Printing probed modes for output HDMI-A-0
[    12.738] (II) AMDGPU(0): Modeline "1366x768"x59.8   85.50  1366 1436 1579 1792  768 771 774 798 +hsync +vsync (47.7 kHz eP)
[    12.738] (II) AMDGPU(0): Modeline "1920x1080"x60.0  148.50  1920 2008 2052 2200  1080 1084 1089 1125 +hsync +vsync (67.5 kHz e)
[    12.738] (II) AMDGPU(0): Modeline "1920x1080"x50.0  148.50  1920 2448 2492 2640  1080 1084 1089 1125 +hsync +vsync (56.2 kHz e)
[    12.738] (II) AMDGPU(0): Modeline "1920x1080"x59.9  148.35  1920 2008 2052 2200  1080 1084 1089 1125 +hsync +vsync (67.4 kHz e)
[    12.738] (II) AMDGPU(0): Modeline "1920x1080"x30.0   74.25  1920 2008 2052 2200  1080 1084 1089 1125 +hsync +vsync (33.8 kHz e)
[    12.738] (II) AMDGPU(0): Modeline "1920x1080"x25.0   74.25  1920 2448 2492 2640  1080 1084 1089 1125 +hsync +vsync (28.1 kHz e)
[    12.738] (II) AMDGPU(0): Modeline "1920x1080"x24.0   74.25  1920 2558 2602 2750  1080 1084 1089 1125 +hsync +vsync (27.0 kHz e)
[    12.738] (II) AMDGPU(0): Modeline "1920x1080"x30.0   74.18  1920 2008 2052 2200  1080 1084 1089 1125 +hsync +vsync (33.7 kHz e)
[    12.738] (II) AMDGPU(0): Modeline "1920x1080"x24.0   74.18  1920 2558 2602 2750  1080 1084 1089 1125 +hsync +vsync (27.0 kHz e)
[    12.738] (II) AMDGPU(0): Modeline "1360x768"x60.0   85.50  1360 1424 1536 1792  768 771 777 795 +hsync +vsync (47.7 kHz e)
[    12.738] (II) AMDGPU(0): Modeline "1280x720"x60.0   74.25  1280 1390 1430 1650  720 725 730 750 +hsync +vsync (45.0 kHz e)
[    12.738] (II) AMDGPU(0): Modeline "1280x720"x50.0   74.25  1280 1720 1760 1980  720 725 730 750 +hsync +vsync (37.5 kHz e)
[    12.738] (II) AMDGPU(0): Modeline "1280x720"x59.9   74.18  1280 1390 1430 1650  720 725 730 750 +hsync +vsync (45.0 kHz e)
[    12.738] (II) AMDGPU(0): Modeline "1024x768"x75.0   78.75  1024 1040 1136 1312  768 769 772 800 +hsync +vsync (60.0 kHz e)
[    12.738] (II) AMDGPU(0): Modeline "1024x768"x70.1   75.00  1024 1048 1184 1328  768 771 777 806 -hsync -vsync (56.5 kHz e)
[    12.738] (II) AMDGPU(0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
[    12.738] (II) AMDGPU(0): Modeline "832x624"x74.6   57.28  832 864 928 1152  624 625 628 667 -hsync -vsync (49.7 kHz e)
[    12.738] (II) AMDGPU(0): Modeline "800x600"x72.2   50.00  800 856 976 1040  600 637 643 666 +hsync +vsync (48.1 kHz e)
[    12.738] (II) AMDGPU(0): Modeline "800x600"x75.0   49.50  800 816 896 1056  600 601 604 625 +hsync +vsync (46.9 kHz e)
[    12.738] (II) AMDGPU(0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz e)
[    12.738] (II) AMDGPU(0): Modeline "720x576"x50.0   27.00  720 732 796 864  576 581 586 625 -hsync -vsync (31.2 kHz e)
[    12.738] (II) AMDGPU(0): Modeline "720x480"x60.0   27.03  720 736 798 858  480 489 495 525 -hsync -vsync (31.5 kHz e)
[    12.738] (II) AMDGPU(0): Modeline "720x480"x59.9   27.00  720 736 798 858  480 489 495 525 -hsync -vsync (31.5 kHz e)
[    12.738] (II) AMDGPU(0): Modeline "640x480"x75.0   31.50  640 656 720 840  480 481 484 500 -hsync -vsync (37.5 kHz e)
[    12.738] (II) AMDGPU(0): Modeline "640x480"x72.8   31.50  640 664 704 832  480 489 492 520 -hsync -vsync (37.9 kHz e)
[    12.738] (II) AMDGPU(0): Modeline "640x480"x66.7   30.24  640 704 768 864  480 483 486 525 -hsync -vsync (35.0 kHz e)
[    12.738] (II) AMDGPU(0): Modeline "640x480"x60.0   25.20  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz e)
[    12.738] (II) AMDGPU(0): Modeline "640x480"x59.9   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz e)
[    12.738] (II) AMDGPU(0): Modeline "720x400"x70.1   28.32  720 738 846 900  400 412 414 449 -hsync +vsync (31.5 kHz e)
[    12.738] (II) AMDGPU(0): EDID for output DVI-D-0
[    12.738] (II) AMDGPU(0): Output HDMI-A-0 connected
[    12.738] (II) AMDGPU(0): Output DVI-D-0 disconnected
[    12.738] (II) AMDGPU(0): Using exact sizes for initial modes
[    12.738] (II) AMDGPU(0): Output HDMI-A-0 using initial mode 1366x768 +0+0
[    12.738] (II) AMDGPU(0): mem size init: gart size :1df603000 vram size: s:1e2f5000 visible:1e2f5000
[    12.738] (==) AMDGPU(0): DPI set to (96, 96)
[    12.738] (==) AMDGPU(0): Using gamma correction (1.0, 1.0, 1.0)
[    12.738] (II) Loading sub module "ramdac"
[    12.738] (II) LoadModule: "ramdac"
[    12.738] (II) Module "ramdac" already built-in
[    12.738] (II) UnloadModule: "modesetting"
[    12.738] (II) Unloading modesetting
[    12.738] (II) AMDGPU(0): [DRI2] Setup complete
[    12.738] (II) AMDGPU(0): [DRI2]   DRI driver: radeonsi
[    12.738] (II) AMDGPU(0): [DRI2]   VDPAU driver: radeonsi
[    12.928] (II) AMDGPU(0): Front buffer pitch: 5632 bytes
[    12.933] (II) AMDGPU(0): SYNC extension fences enabled
[    12.933] (II) AMDGPU(0): Present extension enabled
[    12.933] (==) AMDGPU(0): DRI3 enabled
[    12.933] (==) AMDGPU(0): Backing store enabled
[    12.933] (II) AMDGPU(0): Direct rendering enabled
[    12.966] (II) AMDGPU(0): Use GLAMOR acceleration.
[    12.966] (II) AMDGPU(0): Acceleration enabled
[    12.966] (==) AMDGPU(0): DPMS enabled
[    12.966] (==) AMDGPU(0): Silken mouse enabled
[    12.966] (II) AMDGPU(0): Set up textured video (glamor)
[    12.987] (II) Initializing extension Generic Event Extension
[    12.987] (II) Initializing extension SHAPE
[    12.988] (II) Initializing extension MIT-SHM
[    12.988] (II) Initializing extension XInputExtension
[    12.988] (II) Initializing extension XTEST
[    12.988] (II) Initializing extension BIG-REQUESTS
[    12.988] (II) Initializing extension SYNC
[    12.988] (II) Initializing extension XKEYBOARD
[    12.988] (II) Initializing extension XC-MISC
[    12.988] (II) Initializing extension SECURITY
[    12.988] (II) Initializing extension XFIXES
[    12.988] (II) Initializing extension RENDER
[    12.988] (II) Initializing extension RANDR
[    12.988] (II) Initializing extension COMPOSITE
[    12.988] (II) Initializing extension DAMAGE
[    12.988] (II) Initializing extension MIT-SCREEN-SAVER
[    12.988] (II) Initializing extension DOUBLE-BUFFER
[    12.988] (II) Initializing extension RECORD
[    12.989] (II) Initializing extension DPMS
[    12.989] (II) Initializing extension Present
[    12.989] (II) Initializing extension DRI3
[    12.989] (II) Initializing extension X-Resource
[    12.989] (II) Initializing extension XVideo
[    12.989] (II) Initializing extension XVideo-MotionCompensation
[    12.989] (II) Initializing extension GLX
[    12.992] (II) AIGLX: Loaded and initialized radeonsi
[    12.992] (II) GLX: Initialized DRI2 GL provider for screen 0
[    12.992] (II) Initializing extension XFree86-VidModeExtension
[    12.992] (II) Initializing extension XFree86-DGA
[    12.992] (II) Initializing extension XFree86-DRI
[    12.992] (II) Initializing extension DRI2
[    12.992] (II) AMDGPU(0): Setting screen physical size to 361 x 203
[    13.116] (II) config/udev: Adding input device Power Button (/dev/input/event1)
[    13.116] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[    13.116] (**) Power Button: Applying InputClass "system-keyboard"
[    13.116] (II) LoadModule: "libinput"
[    13.116] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[    13.135] (II) Module libinput: vendor="X.Org Foundation"
[    13.135] 	compiled for 1.21.1.3, module version = 1.2.1
[    13.135] 	Module class: X.Org XInput Driver
[    13.135] 	ABI class: X.Org XInput driver, version 24.4
[    13.135] (II) Using input driver 'libinput' for 'Power Button'
[    13.135] (**) Power Button: always reports core events
[    13.135] (**) Option "Device" "/dev/input/event1"
[    13.153] (II) event1  - Power Button: is tagged by udev as: Keyboard
[    13.153] (II) event1  - Power Button: device is a keyboard
[    13.154] (II) event1  - Power Button: device removed
[    13.176] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input1/event1"
[    13.177] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[    13.177] (**) Option "xkb_model" "pc105+inet"
[    13.177] (**) Option "xkb_layout" "us"
[    13.177] (**) Option "xkb_options" "terminate:ctrl_alt_bksp"
[    13.187] (II) event1  - Power Button: is tagged by udev as: Keyboard
[    13.187] (II) event1  - Power Button: device is a keyboard
[    13.187] (II) config/udev: Adding input device Video Bus (/dev/input/event5)
[    13.187] (**) Video Bus: Applying InputClass "libinput keyboard catchall"
[    13.187] (**) Video Bus: Applying InputClass "system-keyboard"
[    13.188] (II) Using input driver 'libinput' for 'Video Bus'
[    13.188] (**) Video Bus: always reports core events
[    13.188] (**) Option "Device" "/dev/input/event5"
[    13.188] (II) event5  - Video Bus: is tagged by udev as: Keyboard
[    13.188] (II) event5  - Video Bus: device is a keyboard
[    13.188] (II) event5  - Video Bus: device removed
[    13.253] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:15/LNXVIDEO:01/input/input5/event5"
[    13.253] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 7)
[    13.253] (**) Option "xkb_model" "pc105+inet"
[    13.253] (**) Option "xkb_layout" "us"
[    13.253] (**) Option "xkb_options" "terminate:ctrl_alt_bksp"
[    13.254] (II) event5  - Video Bus: is tagged by udev as: Keyboard
[    13.254] (II) event5  - Video Bus: device is a keyboard
[    13.254] (II) config/udev: Adding input device Power Button (/dev/input/event0)
[    13.254] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[    13.254] (**) Power Button: Applying InputClass "system-keyboard"
[    13.254] (II) Using input driver 'libinput' for 'Power Button'
[    13.254] (**) Power Button: always reports core events
[    13.255] (**) Option "Device" "/dev/input/event0"
[    13.255] (II) event0  - Power Button: is tagged by udev as: Keyboard
[    13.255] (II) event0  - Power Button: device is a keyboard
[    13.255] (II) event0  - Power Button: device removed
[    13.270] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input0/event0"
[    13.270] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 8)
[    13.270] (**) Option "xkb_model" "pc105+inet"
[    13.270] (**) Option "xkb_layout" "us"
[    13.270] (**) Option "xkb_options" "terminate:ctrl_alt_bksp"
[    13.271] (II) event0  - Power Button: is tagged by udev as: Keyboard
[    13.271] (II) event0  - Power Button: device is a keyboard
[    13.271] (II) config/udev: Adding input device Logitech USB Keyboard (/dev/input/event2)
[    13.271] (**) Logitech USB Keyboard: Applying InputClass "libinput keyboard catchall"
[    13.272] (**) Logitech USB Keyboard: Applying InputClass "system-keyboard"
[    13.272] (II) Using input driver 'libinput' for 'Logitech USB Keyboard'
[    13.272] (**) Logitech USB Keyboard: always reports core events
[    13.272] (**) Option "Device" "/dev/input/event2"
[    13.273] (II) event2  - Logitech USB Keyboard: is tagged by udev as: Keyboard
[    13.273] (II) event2  - Logitech USB Keyboard: device is a keyboard
[    13.273] (II) event2  - Logitech USB Keyboard: device removed
[    13.297] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:02.1/0000:01:00.0/usb1/1-5/1-5:1.0/0003:046D:C34B.0001/input/input2/event2"
[    13.297] (II) XINPUT: Adding extended input device "Logitech USB Keyboard" (type: KEYBOARD, id 9)
[    13.297] (**) Option "xkb_model" "pc105+inet"
[    13.297] (**) Option "xkb_layout" "us"
[    13.297] (**) Option "xkb_options" "terminate:ctrl_alt_bksp"
[    13.298] (II) event2  - Logitech USB Keyboard: is tagged by udev as: Keyboard
[    13.298] (II) event2  - Logitech USB Keyboard: device is a keyboard
[    13.299] (II) config/udev: Adding input device Logitech USB Keyboard (/dev/input/event3)
[    13.299] (**) Logitech USB Keyboard: Applying InputClass "libinput keyboard catchall"
[    13.299] (**) Logitech USB Keyboard: Applying InputClass "system-keyboard"
[    13.299] (II) Using input driver 'libinput' for 'Logitech USB Keyboard'
[    13.299] (**) Logitech USB Keyboard: always reports core events
[    13.299] (**) Option "Device" "/dev/input/event3"
[    13.300] (II) event3  - Logitech USB Keyboard: is tagged by udev as: Keyboard
[    13.300] (II) event3  - Logitech USB Keyboard: device is a keyboard
[    13.300] (II) event3  - Logitech USB Keyboard: device removed
[    13.333] (II) libinput: Logitech USB Keyboard: needs a virtual subdevice
[    13.333] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:02.1/0000:01:00.0/usb1/1-5/1-5:1.1/0003:046D:C34B.0002/input/input3/event3"
[    13.333] (II) XINPUT: Adding extended input device "Logitech USB Keyboard" (type: MOUSE, id 10)
[    13.333] (**) Option "AccelerationScheme" "none"
[    13.333] (**) Logitech USB Keyboard: (accel) selected scheme none/0
[    13.333] (**) Logitech USB Keyboard: (accel) acceleration factor: 2.000
[    13.333] (**) Logitech USB Keyboard: (accel) acceleration threshold: 4
[    13.334] (II) event3  - Logitech USB Keyboard: is tagged by udev as: Keyboard
[    13.334] (II) event3  - Logitech USB Keyboard: device is a keyboard
[    13.335] (II) config/udev: Adding input device Logitech USB Optical Mouse (/dev/input/event4)
[    13.335] (**) Logitech USB Optical Mouse: Applying InputClass "libinput pointer catchall"
[    13.335] (II) Using input driver 'libinput' for 'Logitech USB Optical Mouse'
[    13.335] (**) Logitech USB Optical Mouse: always reports core events
[    13.335] (**) Option "Device" "/dev/input/event4"
[    13.336] (II) event4  - Logitech USB Optical Mouse: is tagged by udev as: Mouse
[    13.336] (II) event4  - Logitech USB Optical Mouse: device is a pointer
[    13.336] (II) event4  - Logitech USB Optical Mouse: device removed
[    13.393] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:02.1/0000:01:00.0/usb1/1-6/1-6:1.0/0003:046D:C077.0003/input/input4/event4"
[    13.393] (II) XINPUT: Adding extended input device "Logitech USB Optical Mouse" (type: MOUSE, id 11)
[    13.393] (**) Option "AccelerationScheme" "none"
[    13.393] (**) Logitech USB Optical Mouse: (accel) selected scheme none/0
[    13.393] (**) Logitech USB Optical Mouse: (accel) acceleration factor: 2.000
[    13.393] (**) Logitech USB Optical Mouse: (accel) acceleration threshold: 4
[    13.394] (II) event4  - Logitech USB Optical Mouse: is tagged by udev as: Mouse
[    13.395] (II) event4  - Logitech USB Optical Mouse: device is a pointer
[    13.395] (II) config/udev: Adding input device Logitech USB Optical Mouse (/dev/input/mouse0)
[    13.395] (II) No input driver specified, ignoring this device.
[    13.395] (II) This device may have been added with another device file.
[    13.396] (II) config/udev: Adding input device HD-Audio Generic HDMI/DP,pcm=9 (/dev/input/event10)
[    13.396] (II) No input driver specified, ignoring this device.
[    13.396] (II) This device may have been added with another device file.
[    13.396] (II) config/udev: Adding input device HD-Audio Generic HDMI/DP,pcm=3 (/dev/input/event7)
[    13.396] (II) No input driver specified, ignoring this device.
[    13.396] (II) This device may have been added with another device file.
[    13.396] (II) config/udev: Adding input device HD-Audio Generic HDMI/DP,pcm=7 (/dev/input/event8)
[    13.396] (II) No input driver specified, ignoring this device.
[    13.396] (II) This device may have been added with another device file.
[    13.397] (II) config/udev: Adding input device HD-Audio Generic HDMI/DP,pcm=8 (/dev/input/event9)
[    13.397] (II) No input driver specified, ignoring this device.
[    13.397] (II) This device may have been added with another device file.
[    13.397] (II) config/udev: Adding input device HD-Audio Generic Front Mic (/dev/input/event11)
[    13.397] (II) No input driver specified, ignoring this device.
[    13.397] (II) This device may have been added with another device file.
[    13.397] (II) config/udev: Adding input device HD-Audio Generic Rear Mic (/dev/input/event12)
[    13.397] (II) No input driver specified, ignoring this device.
[    13.397] (II) This device may have been added with another device file.
[    13.397] (II) config/udev: Adding input device HD-Audio Generic Line (/dev/input/event13)
[    13.397] (II) No input driver specified, ignoring this device.
[    13.397] (II) This device may have been added with another device file.
[    13.398] (II) config/udev: Adding input device HD-Audio Generic Line Out (/dev/input/event14)
[    13.398] (II) No input driver specified, ignoring this device.
[    13.398] (II) This device may have been added with another device file.
[    13.398] (II) config/udev: Adding input device HD-Audio Generic Front Headphone (/dev/input/event15)
[    13.398] (II) No input driver specified, ignoring this device.
[    13.398] (II) This device may have been added with another device file.
[    13.398] (II) config/udev: Adding input device PC Speaker (/dev/input/event6)
[    13.398] (II) No input driver specified, ignoring this device.
[    13.398] (II) This device may have been added with another device file.
[    13.402] (**) Logitech USB Keyboard: Applying InputClass "libinput keyboard catchall"
[    13.403] (**) Logitech USB Keyboard: Applying InputClass "system-keyboard"
[    13.403] (II) Using input driver 'libinput' for 'Logitech USB Keyboard'
[    13.403] (**) Logitech USB Keyboard: always reports core events
[    13.403] (**) Option "Device" "/dev/input/event3"
[    13.403] (II) libinput: Logitech USB Keyboard: is a virtual subdevice
[    13.403] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:02.1/0000:01:00.0/usb1/1-5/1-5:1.1/0003:046D:C34B.0002/input/input3/event3"
[    13.403] (II) XINPUT: Adding extended input device "Logitech USB Keyboard" (type: KEYBOARD, id 12)
[    13.403] (**) Option "xkb_model" "pc105+inet"
[    13.403] (**) Option "xkb_layout" "us"
[    13.403] (**) Option "xkb_options" "terminate:ctrl_alt_bksp"

Xorg.0.log when the error occurs (literally the previous session):

[    14.991] 
X.Org X Server 1.21.1.4
X Protocol Version 11, Revision 0
[    14.991] Current Operating System: Linux himanshu 6.0.7-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 03 Nov 2022 18:01:58 +0000 x86_64
[    14.991] Kernel command line: initrd=\amd-ucode.img initrd=\intel-ucode.img initrd=\initramfs-linux.img root=PARTUUID=61e87a3d-7155-4b2c-89f6-6c3ee991c8cf rw intel_pstate=no_hwp rootfstype=ext4
[    14.991]  
[    14.991] Current version of pixman: 0.42.2
[    14.991] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    14.991] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    14.991] (==) Log file: "/var/log/Xorg.0.log", Time: Sun Nov  6 22:10:25 2022
[    14.991] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    14.991] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    14.991] (==) No Layout section.  Using the first Screen section.
[    14.991] (==) No screen section available. Using defaults.
[    14.992] (**) |-->Screen "Default Screen Section" (0)
[    14.992] (**) |   |-->Monitor "<default monitor>"
[    14.992] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[    14.992] (==) Automatically adding devices
[    14.992] (==) Automatically enabling devices
[    14.992] (==) Automatically adding GPU devices
[    14.992] (==) Automatically binding GPU devices
[    14.992] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    14.992] (WW) The directory "/usr/share/fonts/misc" does not exist.
[    14.992] 	Entry deleted from font path.
[    14.992] (WW) The directory "/usr/share/fonts/TTF" does not exist.
[    14.992] 	Entry deleted from font path.
[    14.992] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[    14.992] 	Entry deleted from font path.
[    14.992] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[    14.992] 	Entry deleted from font path.
[    14.992] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[    14.992] 	Entry deleted from font path.
[    14.992] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[    14.992] 	Entry deleted from font path.
[    14.992] (==) FontPath set to:
	
[    14.992] (==) ModulePath set to "/usr/lib/xorg/modules"
[    14.992] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[    14.992] (II) Module ABI versions:
[    14.992] 	X.Org ANSI C Emulation: 0.4
[    14.992] 	X.Org Video Driver: 25.2
[    14.992] 	X.Org XInput driver : 24.4
[    14.992] 	X.Org Server Extension : 10.0
[    14.992] (++) using VT number 7

[    14.992] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[    14.992] (II) xfree86: Adding drm device (/dev/dri/card0)
[    14.992] (II) Platform probe for /sys/devices/pci0000:00/0000:00:08.1/0000:06:00.0/drm/card0
[    15.019] (--) PCI:*(6@0:0:0) 1002:1638:1458:d000 rev 201, Mem @ 0xd0000000/268435456, 0xe0000000/2097152, 0xfcc00000/524288, I/O @ 0x0000e000/256, BIOS @ 0x????????/131072
[    15.019] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[    15.020] (II) LoadModule: "glx"
[    15.020] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    15.020] (II) Module glx: vendor="X.Org Foundation"
[    15.020] 	compiled for 1.21.1.4, module version = 1.0.0
[    15.020] 	ABI class: X.Org Server Extension, version 10.0
[    15.020] (II) Applying OutputClass "AMDgpu" to /dev/dri/card0
[    15.020] 	loading driver: amdgpu
[    15.020] (==) Matched amdgpu as autoconfigured driver 0
[    15.020] (==) Matched ati as autoconfigured driver 1
[    15.020] (==) Matched modesetting as autoconfigured driver 2
[    15.020] (==) Matched fbdev as autoconfigured driver 3
[    15.020] (==) Matched vesa as autoconfigured driver 4
[    15.020] (==) Assigned the driver to the xf86ConfigLayout
[    15.020] (II) LoadModule: "amdgpu"
[    15.020] (II) Loading /usr/lib/xorg/modules/drivers/amdgpu_drv.so
[    15.020] (II) Module amdgpu: vendor="X.Org Foundation"
[    15.020] 	compiled for 1.21.1.3, module version = 22.0.0
[    15.020] 	Module class: X.Org Video Driver
[    15.020] 	ABI class: X.Org Video Driver, version 25.2
[    15.020] (II) LoadModule: "ati"
[    15.021] (II) Loading /usr/lib/xorg/modules/drivers/ati_drv.so
[    15.021] (II) Module ati: vendor="X.Org Foundation"
[    15.021] 	compiled for 1.21.1.4, module version = 19.1.0
[    15.021] 	Module class: X.Org Video Driver
[    15.021] 	ABI class: X.Org Video Driver, version 25.2
[    15.051] (II) LoadModule: "modesetting"
[    15.051] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    15.051] (II) Module modesetting: vendor="X.Org Foundation"
[    15.051] 	compiled for 1.21.1.4, module version = 1.21.1
[    15.051] 	Module class: X.Org Video Driver
[    15.051] 	ABI class: X.Org Video Driver, version 25.2
[    15.051] (II) LoadModule: "fbdev"
[    15.051] (WW) Warning, couldn't open module fbdev
[    15.051] (EE) Failed to load module "fbdev" (module does not exist, 0)
[    15.051] (II) LoadModule: "vesa"
[    15.051] (WW) Warning, couldn't open module vesa
[    15.051] (EE) Failed to load module "vesa" (module does not exist, 0)
[    15.051] (II) AMDGPU: Driver for AMD Radeon:
	All GPUs supported by the amdgpu kernel driver
[    15.051] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    15.053] (WW) Falling back to old probe method for modesetting
[    15.053] (II) AMDGPU(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[    15.053] (==) AMDGPU(0): Depth 24, (--) framebuffer bpp 32
[    15.053] (II) AMDGPU(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps)
[    15.053] (==) AMDGPU(0): Default visual is TrueColor
[    15.053] (==) AMDGPU(0): RGB weight 888
[    15.053] (II) AMDGPU(0): Using 8 bits per RGB (8 bit DAC)
[    15.053] (--) AMDGPU(0): Chipset: "AMD Radeon Graphics" (ChipID = 0x1638)
[    15.053] (II) Loading sub module "fb"
[    15.053] (II) LoadModule: "fb"
[    15.053] (II) Module "fb" already built-in
[    15.053] (II) Loading sub module "dri2"
[    15.053] (II) LoadModule: "dri2"
[    15.053] (II) Module "dri2" already built-in
[    15.061] (EE) 
[    15.061] (EE) Backtrace:
[    15.061] (EE) 0: /usr/lib/Xorg (dri3_send_open_reply+0xdd) [0x5575b1ebcbad]
[    15.061] (EE) 1: /usr/lib/libc.so.6 (__sigaction+0x50) [0x7f17127dca00]
[    15.061] (EE) 2: /lib64/ld-linux-x86-64.so.2 (_dl_rtld_di_serinfo+0xf9c) [0x7f1712da5d9c]
[    15.062] (EE) 3: /lib64/ld-linux-x86-64.so.2 (_dl_mcount+0xd41) [0x7f1712daa921]
[    15.062] (EE) 4: /lib64/ld-linux-x86-64.so.2 (_dl_find_dso_for_object+0x7ff) [0x7f1712da7f6f]
[    15.062] (EE) 5: /usr/lib/libc.so.6 (_dl_catch_exception+0x7e) [0x7f17128f3e3e]
[    15.062] (EE) 6: /lib64/ld-linux-x86-64.so.2 (_dl_rtld_di_serinfo+0x26fb) [0x7f1712da74fb]
[    15.062] (EE) 7: /usr/lib/libc.so.6 (_dl_catch_exception+0x7e) [0x7f17128f3e3e]
[    15.062] (EE) 8: /lib64/ld-linux-x86-64.so.2 (_dl_find_dso_for_object+0x17d) [0x7f1712da78ed]
[    15.062] (EE) 9: /usr/lib/libc.so.6 (dlmopen+0xfc) [0x7f17128269dc]
[    15.063] (EE) 10: /usr/lib/libc.so.6 (_dl_catch_exception+0x7e) [0x7f17128f3e3e]
[    15.063] (EE) 11: /usr/lib/libc.so.6 (_dl_catch_error+0x33) [0x7f17128f3ef3]
[    15.063] (EE) 12: /usr/lib/libc.so.6 (dlerror+0x29f) [0x7f17128264af]
[    15.063] (EE) 13: /usr/lib/libc.so.6 (dlopen+0x71) [0x7f1712826a91]
[    15.063] (EE) 14: /usr/lib/libgbm.so.1 (gbm_format_get_name+0x2700) [0x7f1711b2a240]
[    15.063] (EE) 15: /usr/lib/libgbm.so.1 (gbm_format_get_name+0x28ad) [0x7f1711b2a3ed]
[    15.063] (EE) 16: /usr/lib/libgbm.so.1 (gbm_format_get_name+0xf36) [0x7f1711b28a76]
[    15.063] (EE) 17: /usr/lib/libgbm.so.1 (gbm_format_get_name+0x17d9) [0x7f1711b29319]
[    15.063] (EE) unw_get_proc_name failed: no unwind info found [-10]
[    15.063] (EE) 18: /usr/lib/libgbm.so.1 (?+0x0) [0x7f1711b272dc]
[    15.063] (EE) 19: /usr/lib/libgbm.so.1 (gbm_create_device+0x4a) [0x7f1711b2742a]
[    15.063] (EE) unw_get_proc_name failed: no unwind info found [-10]
[    15.063] (EE) 20: /usr/lib/xorg/modules/drivers/amdgpu_drv.so (?+0x0) [0x7f1711b4a33b]
[    15.064] (EE) 21: /usr/lib/Xorg (InitOutput+0x18dd) [0x5575b1ed9cad]
[    15.064] (EE) 22: /usr/lib/Xorg (SProcXkbDispatch+0x17ec) [0x5575b1d9c037]
[    15.064] (EE) 23: /usr/lib/libc.so.6 (__libc_init_first+0x90) [0x7f17127c7290]
[    15.064] (EE) 24: /usr/lib/libc.so.6 (__libc_start_main+0x8a) [0x7f17127c734a]
[    15.064] (EE) 25: /usr/lib/Xorg (_start+0x25) [0x5575b1d9d475]
[    15.064] (EE) 
[    15.064] (EE) Segmentation fault at address 0x7f178907bdde
[    15.064] (EE) 
Fatal server error:
[    15.064] (EE) Caught signal 11 (Segmentation fault). Server aborting
[    15.064] (EE) 
[    15.064] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[    15.064] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[    15.064] (EE) 
[    15.069] (EE) Server terminated with error (1). Closing log file.

What can I do to fix the error? Since it doesn't boot most the time, I can't really use it at all when needed.

I should mention that it is a full install on a usb, to use at home and at college, and learn linux on the run. That's why there's both amd and intel ucode, and all video drivers I thought would be needed.

Last edited by ugly-bastard (2022-11-13 17:46:58)

Offline

#2 2022-11-07 13:25:27

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,261

Re: [Solved] Segmentation fault when booting

If this is intended to be portable, try booting the fallback initramfs to make sure you get early KMS and/or definitely configure it anyway:  https://wiki.archlinux.org/title/Kernel … _KMS_start . Additionally since it seems like an issue in amdgpu, try removing all the xf86-video drivers to rely on the built-in modesetting instead.

Last edited by V1del (2022-11-07 13:26:40)

Offline

#3 2022-11-08 09:24:23

ugly-bastard
Member
Registered: 2022-11-07
Posts: 10

Re: [Solved] Segmentation fault when booting

I tried removing the xf86-video drivers but no go. Still the same error messages

http://sprunge.us/rZM2Mg

As for early KMS start, since it is supposed to be a portable install for different pcs, should I add all the modules to the initramfs config file for amdgpu, radeon, i915 and nouveau?

Last edited by ugly-bastard (2022-11-08 09:27:25)

Offline

#4 2022-11-08 09:44:05

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,427

Re: [Solved] Segmentation fault when booting

There's a blinking _ at top left, so lightdm isn't starting, since xorg terminates.

For the specific configuration you can also try https://wiki.archlinux.org/title/LightD … TTY_output

Offline

#5 2022-11-08 10:15:43

ugly-bastard
Member
Registered: 2022-11-07
Posts: 10

Re: [Solved] Segmentation fault when booting

Yes I verified it again and `logind-check-graphical` is set to true

Also, as V1del mentioned, how do I boot the fallback initramfs?

Offline

#6 2022-11-08 10:44:47

ugly-bastard
Member
Registered: 2022-11-07
Posts: 10

Re: [Solved] Segmentation fault when booting

I found this by using `dmesg | grep Xorg` if it helps

[   13.269524] Xorg[614]: segfault at 7f909c5163ca ip 00007f909b6d1d9c sp 00007ffdc0803ba0 error 4 in ld-linux-x86-64.so.2[7f909b6c9000+26000]

And doing startx manually gives

xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error

Offline

#7 2022-11-08 13:23:08

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,427

Re: [Solved] Segmentation fault when booting

how do I boot the fallback initramfs?

At the bootloader.

Can you reliably boot the multi-user.target (2nd link below), wait a bit (get a cup of coffee) and the "systemctl start lightdm"?

Offline

#8 2022-11-10 08:44:16

ugly-bastard
Member
Registered: 2022-11-07
Posts: 10

Re: [Solved] Segmentation fault when booting

Sorry for the late replies.

At the bootloader.

I am using systemd-boot so I had to add a boot option.
For that i copied the default boot entry and just changed the initramfs to the fallback one.
I can boot successfully with that now, but about the early kms, should I add all the modules for amd Intel and nvidia?


Can you reliably boot the multi-user.target (2nd link below), wait a bit (get a cup of coffee) and the "systemctl start lightdm"?

I could boot successfully with it for once, but it failed with same errors after that.

I'm wondering to reinstall arch now since it doesn't have much data on it, but it would be better if I could solve it.

Offline

#9 2022-11-10 08:48:22

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,261

Re: [Solved] Segmentation fault when booting

For early KMS to work "globally" you'd add all these modules, yes.

Offline

#10 2022-11-10 09:14:21

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,427

Re: [Solved] Segmentation fault when booting

I could boot successfully with it for once, but it failed with same errors after that.

To be clear: booting the multi-user.target (console only), waiting and then after a delay does still produce the same errors?

After such failed, delayed lightdm start, post the system journal:

sudo journalctl -b | curl -F 'file=@-' 0x0.st

Offline

#11 2022-11-10 10:04:30

ugly-bastard
Member
Registered: 2022-11-07
Posts: 10

Re: [Solved] Segmentation fault when booting

To be clear: booting the multi-user.target (console only), waiting and then after a delay does still produce the same errors?

Yes

After such failed, delayed lightdm start, post the system journal:

sudo journalctl -b | curl -F 'file=@-' 0x0.st

For the waiting part, I configured the early kms, and regenerated the initramfs images with `mkinitcpio -p linux`

http://0x0.st/o6b2.txt

Offline

#12 2022-11-10 12:37:01

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,427

Re: [Solved] Segmentation fault when booting

                                                 #0  0x00007f9e8dcec64c n/a (libc.so.6 + 0x8864c)
                                                 #1  0x00007f9e8dc9c958 raise (libc.so.6 + 0x38958)
                                                 #2  0x00007f9e8dc8653d abort (libc.so.6 + 0x2253d)
                                                 #3  0x0000559d136768d0 OsAbort (Xorg + 0x1578d0)
                                                 #4  0x0000559d13678273 FatalError (Xorg + 0x159273)
                                                 #5  0x0000559d1367dc0c n/a (Xorg + 0x15ec0c)
                                                 #6  0x00007f9e8dc9ca00 n/a (libc.so.6 + 0x38a00)
                                                 #7  0x00007f9e8e265d9c n/a (ld-linux-x86-64.so.2 + 0x9d9c)
                                                 #8  0x00007f9e8e26a921 n/a (ld-linux-x86-64.so.2 + 0xe921)
                                                 #9  0x00007f9e8e267f6f n/a (ld-linux-x86-64.so.2 + 0xbf6f)
                                                 #10 0x00007f9e8ddb3e3e _dl_catch_exception (libc.so.6 + 0x14fe3e)
                                                 #11 0x00007f9e8e2674fb n/a (ld-linux-x86-64.so.2 + 0xb4fb)
                                                 #12 0x00007f9e8ddb3e3e _dl_catch_exception (libc.so.6 + 0x14fe3e)
                                                 #13 0x00007f9e8e2678ed n/a (ld-linux-x86-64.so.2 + 0xb8ed)
                                                 #14 0x00007f9e8dce69dc n/a (libc.so.6 + 0x829dc)
                                                 #15 0x00007f9e8ddb3e3e _dl_catch_exception (libc.so.6 + 0x14fe3e)
                                                 #16 0x00007f9e8ddb3ef3 _dl_catch_error (libc.so.6 + 0x14fef3)
                                                 #17 0x00007f9e8dce64af n/a (libc.so.6 + 0x824af)
                                                 #18 0x00007f9e8dce6a91 dlopen (libc.so.6 + 0x82a91)
                                                 #19 0x00007f9e8cfea240 n/a (libgbm.so.1 + 0x6240)
                                                 #20 0x00007f9e8cfea3ed n/a (libgbm.so.1 + 0x63ed)
                                                 #21 0x00007f9e8cfe8a76 n/a (libgbm.so.1 + 0x4a76)
                                                 #22 0x00007f9e8cfe9319 n/a (libgbm.so.1 + 0x5319)
                                                 #23 0x00007f9e8cfe72dc n/a (libgbm.so.1 + 0x32dc)
                                                 #24 0x00007f9e8cfe742a gbm_create_device (libgbm.so.1 + 0x342a)
                                                 #25 0x00007f9e8d00a33b n/a (amdgpu_drv.so + 0x1533b)
                                                 #26 0x0000559d1369acad InitOutput (Xorg + 0x17bcad)
                                                 #27 0x0000559d1355d037 n/a (Xorg + 0x3e037)
                                                 #28 0x00007f9e8dc87290 n/a (libc.so.6 + 0x23290)
                                                 #29 0x00007f9e8dc8734a __libc_start_main (libc.so.6 + 0x2334a)
                                                 #30 0x0000559d1355e475 _start (Xorg + 0x3f475)
                                                 ELF object binary architecture: AMD x86-64
V1del wrote:

]try removing all the xf86-video drivers to rely on the built-in modesetting instead

I tried removing the xf86-video drivers but no go. Still the same error messages

Frt, xf86-video-amdgpu returned.

Also check

pacman -Qs mesa
pacman -Qikk mesa
LC_ALL=C pacman -Qkk | grep -v ', 0 altered files'

Offline

#13 2022-11-10 21:38:07

ugly-bastard
Member
Registered: 2022-11-07
Posts: 10

Re: [Solved] Segmentation fault when booting

Frt, xf86-video-amdgpu returned.

My bad. I installed them again since it didn't fix the error. Uninstalled them again and ran the following commands.

pacman -Qs mesa

local/glu 9.0.2-3
    Mesa OpenGL utility library
local/libva-mesa-driver 22.2.2-1
    VA-API implementation for gallium
local/mesa 22.2.2-1
    An open-source implementation of the OpenGL specification
local/vulkan-intel 22.2.2-1
    Intel's Vulkan mesa driver
local/vulkan-radeon 22.2.2-1
    Radeon's Vulkan mesa driver

pacman -Qikk mesa

Name            : mesa
Version         : 22.2.2-1
Description     : An open-source implementation of the OpenGL specification
Architecture    : x86_64
URL             : https://www.mesa3d.org/
Licenses        : custom
Groups          : None
Provides        : mesa-libgl  opengl-driver
Depends On      : libdrm  wayland  libxxf86vm  libxdamage  libxshmfence  libelf  libomxil-bellagio  libunwind  llvm-libs  lm_sensors  libglvnd  zstd  vulkan-icd-loader  libsensors.so=5-64  libexpat.so=1-64  libvulkan.so
Optional Deps   : opengl-man-pages: for the OpenGL API man pages
                  mesa-vdpau: for accelerated video playback
                  libva-mesa-driver: for accelerated video playback [installed]
Required By     : gst-plugins-base-libs  gtk3  libglvnd  mpv  qt5-base
Optional For    : None
Conflicts With  : mesa-libgl
Replaces        : mesa-libgl
Installed Size  : 72.64 MiB
Packager        : Laurent Carlier <lordheavym@archlinux.org>
Build Date      : Thu 20 Oct 2022 08:38:33 PM IST
Install Date    : Mon 07 Nov 2022 07:35:39 PM IST
Install Reason  : Installed as a dependency for another package
Install Script  : No
Validated By    : Signature

mesa: 71 total files, 0 altered files

sudo LC_ALL=C pacman -Qkk | grep -v ', 0 altered files'

Added sudo since I saw a few permission mismatch warnings, and wondered if it needed sudo, but perhaps it was not needed.
There were quite a lot of SHA256 and MD5 checksum mismatch warnings
http://sprunge.us/0bJzXy


Running systemctl start lightdm still didn't work, Xorg.0.log show same errors

sudo journalctl -b | curl -F 'file=@-' 0x0.st

http://0x0.st/o6uA.txt

Offline

#14 2022-11-10 21:40:46

ugly-bastard
Member
Registered: 2022-11-07
Posts: 10

Re: [Solved] Segmentation fault when booting

Offline

#15 2022-11-10 22:02:38

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,427

Re: [Solved] Segmentation fault when booting

There were quite a lot of SHA256 and MD5 checksum mismatch warnings

There're many altered packages that rather should not be, but mesa isn't among them.
However, the reason for these deviations is likely

Nov 11 02:37:32 himanshu kernel: EXT4-fs error (device sdb2): __ext4_find_entry:1674: inode #678054: comm pacman: checksumming directory block 0
Nov 11 02:37:32 himanshu kernel: EXT4-fs error (device sdb2): __ext4_find_entry:1674: inode #678054: comm pacman: checksumming directory block 0
Nov 11 02:37:32 himanshu kernel: EXT4-fs error (device sdb2): __ext4_find_entry:1674: inode #678054: comm pacman: checksumming directory block 0
Nov 11 02:37:39 himanshu kernel: EXT4-fs error (device sdb2): __ext4_find_entry:1674: inode #553531: comm pacman: checksumming directory block 0
Nov 11 02:37:39 himanshu kernel: EXT4-fs error (device sdb2): __ext4_find_entry:1674: inode #553531: comm pacman: checksumming directory block 0
Nov 11 02:37:39 himanshu kernel: EXT4-fs error (device sdb2): __ext4_find_entry:1674: inode #553531: comm pacman: checksumming directory block 0
Nov 11 02:37:39 himanshu kernel: EXT4-fs error (device sdb2): __ext4_find_entry:1674: inode #553531: comm pacman: checksumming directory block 0
Nov 11 02:37:39 himanshu kernel: EXT4-fs error (device sdb2): __ext4_find_entry:1674: inode #553531: comm pacman: checksumming directory block 0
Nov 11 02:37:39 himanshu kernel: EXT4-fs error (device sdb2): __ext4_find_entry:1674: inode #553531: comm pacman: checksumming directory block 0
Nov 11 02:37:39 himanshu kernel: EXT4-fs error (device sdb2): __ext4_find_entry:1674: inode #553531: comm pacman: checksumming directory block 0
Nov 11 02:37:40 himanshu kernel: EXT4-fs error (device sdb2): __ext4_find_entry:1674: inode #553531: comm pacman: checksumming directory block 0
Nov 11 02:37:40 himanshu kernel: EXT4-fs error (device sdb2): __ext4_find_entry:1674: inode #553531: comm pacman: checksumming directory block 0
Nov 11 02:37:40 himanshu kernel: EXT4-fs error (device sdb2): __ext4_find_entry:1674: inode #553531: comm pacman: checksumming directory block 0
Nov 11 02:38:31 himanshu kernel: EXT4-fs error (device sdb2): __ext4_find_entry:1674: inode #676833: comm pacman: checksumming directory block 0
Nov 11 02:38:31 himanshu kernel: EXT4-fs error (device sdb2): __ext4_find_entry:1674: inode #676833: comm pacman: checksumming directory block 0
Nov 11 02:38:31 himanshu kernel: EXT4-fs error (device sdb2): __ext4_find_entry:1674: inode #676833: comm pacman: checksumming directory block 0
Nov 11 02:40:17 himanshu kernel: EXT4-fs error (device sdb2): __ext4_find_entry:1674: inode #678054: comm pacman: checksumming directory block 0
Nov 11 02:40:17 himanshu kernel: EXT4-fs error (device sdb2): __ext4_find_entry:1674: inode #678054: comm pacman: checksumming directory block 0
Nov 11 02:40:17 himanshu kernel: EXT4-fs error (device sdb2): __ext4_find_entry:1674: inode #678054: comm pacman: checksumming directory block 0
Nov 11 02:40:18 himanshu kernel: EXT4-fs error (device sdb2): __ext4_find_entry:1674: inode #553531: comm pacman: checksumming directory block 0
Nov 11 02:40:18 himanshu kernel: EXT4-fs error (device sdb2): __ext4_find_entry:1674: inode #553531: comm pacman: checksumming directory block 0
Nov 11 02:40:18 himanshu kernel: EXT4-fs error (device sdb2): __ext4_find_entry:1674: inode #553531: comm pacman: checksumming directory block 0
Nov 11 02:40:18 himanshu kernel: EXT4-fs error (device sdb2): __ext4_find_entry:1674: inode #553531: comm pacman: checksumming directory block 0
Nov 11 02:40:18 himanshu kernel: EXT4-fs error (device sdb2): __ext4_find_entry:1674: inode #553531: comm pacman: checksumming directory block 0
Nov 11 02:40:18 himanshu kernel: EXT4-fs error (device sdb2): __ext4_find_entry:1674: inode #553531: comm pacman: checksumming directory block 0
Nov 11 02:40:18 himanshu kernel: EXT4-fs error (device sdb2): __ext4_find_entry:1674: inode #553531: comm pacman: checksumming directory block 0
Nov 11 02:42:29 himanshu kernel: EXT4-fs error: 6 callbacks suppressed
Nov 11 02:42:29 himanshu kernel: EXT4-fs error (device sdb2): __ext4_find_entry:1674: inode #678054: comm pacman: checksumming directory block 0
Nov 11 02:42:29 himanshu kernel: EXT4-fs error (device sdb2): __ext4_find_entry:1674: inode #678054: comm pacman: checksumming directory block 0
Nov 11 02:42:29 himanshu kernel: EXT4-fs error (device sdb2): __ext4_find_entry:1674: inode #678054: comm pacman: checksumming directory block 0
Nov 11 02:42:30 himanshu kernel: EXT4-fs error (device sdb2): __ext4_find_entry:1674: inode #553531: comm pacman: checksumming directory block 0
Nov 11 02:42:30 himanshu kernel: EXT4-fs error (device sdb2): __ext4_find_entry:1674: inode #553531: comm pacman: checksumming directory block 0
Nov 11 02:42:30 himanshu kernel: EXT4-fs error (device sdb2): __ext4_find_entry:1674: inode #553531: comm pacman: checksumming directory block 0
Nov 11 02:42:30 himanshu kernel: EXT4-fs error (device sdb2): __ext4_find_entry:1674: inode #553531: comm pacman: checksumming directory block 0
Nov 11 02:42:30 himanshu kernel: EXT4-fs error (device sdb2): __ext4_find_entry:1674: inode #553531: comm pacman: checksumming directory block 0
Nov 11 02:42:30 himanshu kernel: EXT4-fs error (device sdb2): __ext4_find_entry:1674: inode #553531: comm pacman: checksumming directory block 0
Nov 11 02:42:30 himanshu kernel: EXT4-fs error (device sdb2): __ext4_find_entry:1674: inode #553531: comm pacman: checksumming directory block 0

which sounds bad enough. You want to fsck the filesystem.

Offline

#16 2022-11-10 23:00:12

ugly-bastard
Member
Registered: 2022-11-07
Posts: 10

Re: [Solved] Segmentation fault when booting

I did a `pacman -Qs xf86-video` a boot before posting the previous replies to uninstall the drivers, and got some warnings on GPM I don't remember
And then a `yay -Syu` and got

 error: GPGME error: Invalid crypto engine 

for each package to be updated, mesa was one of them
And then booting again, ran into a `filesystem check failed run fsck manually`, so I did and there was a lot of pressing 'y'es
A lot.
Like every other inode had a problem
Wonder how that much problem could occur

So after doing the fsck again to verify, there was nothing more to fix so I rebooted successfully.

Running fsck fixed the GPGME error and I could update the packages successfully

I'll do fsck again later, it's too late now and have college tomorrow.
I'm wondering I should reinstall arch again now that I've gotten more familiar with the configurations and hopefully not get into so many errors...

Offline

#17 2022-11-11 07:18:23

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,427

Re: [Solved] Segmentation fault when booting

I'm wondering I should reinstall arch again now that I've gotten more familiar with the configurations and hopefully not get into so many errors...

You should figure what corrupted the filesystem.
Either because you withdrew the device (or pushed the power button) w/o unmounting it - or because there're physical errors w/ the storage device.
https://wiki.archlinux.org/title/SMART

Offline

#18 2022-11-13 00:55:10

ugly-bastard
Member
Registered: 2022-11-07
Posts: 10

Re: [Solved] Segmentation fault when booting

You should figure what corrupted the filesystem.

I read through the smartmontools page and I'll try it soon.

Either because you withdrew the device (or pushed the power button) w/o unmounting it

I don't remove the device without powering off, so it can probably be the few times I power buttoned it off...

or because there're physical errors w/ the storage device.

Perhaps. Can't do anything about it besides replacing the device then I guess.

I'll try the smartmontools checkup and see if I can do something.
It's a usb so I don't have to worry too much about crippling it so I'll try to do whatever I can.
Thanks for your help Seth and V1del

I guess I should close the topic? Since I have exams coming up and won't be focusing on it right now anyway.
Should I add [Solved] before the topic?

Offline

#19 2022-11-13 08:18:24

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,427

Re: [Solved] Segmentation fault when booting

Should I add [Solved] before the topic?

Yes. The original problem has been identified as massive file system corruption and hopefully fixed.

If there's an issue w/ the system (HW, SW or PEBKAC) that'd be subject to another thread.

Offline

Board footer

Powered by FluxBB