xorg segmentation fault during booting
I recently upgraded my Arch linux and aware the xorg gets segmentation fault during booting.
I tried the nvidia-470, nvidia-510 and even removing nvidia-driver and turn-off nvidia gpu bus by bbswtich module but doesn't help.
The bt
#0 0x00007f265a8ced22 in raise () from /usr/lib/libc.so.6
#1 0x00007f265a8b8862 in abort () from /usr/lib/libc.so.6
#2 0x00005576dca3088e in OsAbort () at ../xorg-server-21.1.3/os/utils.c:1353
#3 0x00005576dca3a4a8 in AbortServer () at ../xorg-server-21.1.3/os/log.c:879
#4 0x00005576dca3a9fa in FatalError (f=0x5576dcaf2bf8 "Caught signal %d (%s). Server aborting\n")
at ../xorg-server-21.1.3/os/log.c:1017
#5 0x00005576dca2c86a in OsSigHandler (signo=11, sip=0x7ffc61ecb670, unused=0x7ffc61ecb540)
at ../xorg-server-21.1.3/os/osinit.c:156
#6 <signal handler called>
#7 InitOutput (pScreenInfo=0x5576dcb68460 <screenInfo>, argc=15, argv=0x7ffc61ecbe08)
at ../xorg-server-21.1.3/hw/xfree86/common/xf86Init.c:699
#8 0x00005576dc8ecfd9 in dix_main (argc=15, argv=0x7ffc61ecbe08, envp=0x7ffc61ecbe88)
at ../xorg-server-21.1.3/dix/main.c:190
#9 0x00005576dcad86e3 in main (argc=15, argv=0x7ffc61ecbe08, envp=0x7ffc61ecbe88)
at ../xorg-server-21.1.3/dix/stubmain.c:34
(gdb)
#0 0x00007f265a8ced22 in raise () from /usr/lib/libc.so.6
#1 0x00007f265a8b8862 in abort () from /usr/lib/libc.so.6
#2 0x00005576dca3088e in OsAbort () at ../xorg-server-21.1.3/os/utils.c:1353
#3 0x00005576dca3a4a8 in AbortServer () at ../xorg-server-21.1.3/os/log.c:879
#4 0x00005576dca3a9fa in FatalError (f=0x5576dcaf2bf8 "Caught signal %d (%s). Server aborting\n")
at ../xorg-server-21.1.3/os/log.c:1017
#5 0x00005576dca2c86a in OsSigHandler (signo=11, sip=0x7ffc61ecb670, unused=0x7ffc61ecb540)
at ../xorg-server-21.1.3/os/osinit.c:156
#6 <signal handler called>
#7 InitOutput (pScreenInfo=0x5576dcb68460 <screenInfo>, argc=15, argv=0x7ffc61ecbe08)
at ../xorg-server-21.1.3/hw/xfree86/common/xf86Init.c:699
#8 0x00005576dc8ecfd9 in dix_main (argc=15, argv=0x7ffc61ecbe08, envp=0x7ffc61ecbe88)
at ../xorg-server-21.1.3/dix/main.c:190
#9 0x00005576dcad86e3 in main (argc=15, argv=0x7ffc61ecbe08, envp=0x7ffc61ecbe88)
at ../xorg-server-21.1.3/dix/stubmain.c:34
Here are the packages version
$ yay -Q | grep xorg
xorg-bdftopcf 1.1-2
xorg-docs 1.7.1-3
xorg-font-util 1.3.2-2
xorg-fonts-100dpi 1.0.3-7
xorg-fonts-75dpi 1.0.3-7
xorg-fonts-alias-100dpi 1.0.4-1
xorg-fonts-alias-75dpi 1.0.4-1
xorg-fonts-encodings 1.0.5-2
xorg-iceauth 1.0.8-2
xorg-mkfontscale 1.2.1-2
xorg-server 21.1.3-2
xorg-server-common 21.1.3-2
xorg-server-devel 21.1.3-2
xorg-server-xdmx 1.20.5-4
xorg-server-xephyr 21.1.3-2
xorg-server-xnest 21.1.3-2
xorg-server-xvfb 21.1.3-2
xorg-sessreg 1.1.2-2
xorg-setxkbmap 1.3.2-2
xorg-smproxy 1.0.6-3
xorg-util-macros 1.19.3-1
xorg-x11perf 1.6.1-2
xorg-xauth 1.1.1-1
xorg-xbacklight 1.2.3-2
xorg-xcmsdb 1.0.5-3
xorg-xcursorgen 1.0.7-2
xorg-xdpyinfo 1.3.2-4
xorg-xdriinfo 1.0.6-2
xorg-xev 1.2.4-1
xorg-xgamma 1.0.6-3
xorg-xhost 1.0.8-2
xorg-xinit 1.4.1-3
xorg-xinput 1.6.3-2
xorg-xkbcomp 1.4.5-1
xorg-xkbevd 1.1.4-3
xorg-xkbutils 1.0.4-4
xorg-xkill 1.0.5-2
xorg-xlsatoms 1.1.3-2
xorg-xlsclients 1.1.4-2
xorg-xmodmap 1.0.10-2
xorg-xpr 1.0.5-2
xorg-xprop 1.2.5-1
xorg-xrandr 1.5.1-2
xorg-xrdb 1.2.1-1
xorg-xrefresh 1.0.6-2
xorg-xset 1.2.4-2
xorg-xsetroot 1.1.2-2
xorg-xvinfo 1.1.4-2
xorg-xwayland 21.1.4-1
xorg-xwd 1.0.8-1
xorg-xwininfo 1.1.5-2
xorg-xwud 1.0.5-2
xorgproto 2021.5-
and my X configurations
xorg.conf:Section "Files"
xorg.conf: ModulePath "/usr/lib/nvidia"
xorg.conf: ModulePath "/usr/lib32/nvidia"
xorg.conf: ModulePath "/usr/lib32/nvidia/xorg/modules"
xorg.conf: ModulePath "/usr/lib32/xorg/modules"
xorg.conf: ModulePath "/usr/lib64/nvidia/xorg"
xorg.conf: ModulePath "/usr/lib64/nvidia/xorg/modules"
xorg.conf: ModulePath "/usr/lib64/xorg/modules"
xorg.conf:EndSection
xorg.conf:
xorg.conf:Section "ServerLayout"
xorg.conf: Identifier "layout"
xorg.conf: Screen 1 "nvidia"
xorg.conf: Inactive "intel"
xorg.conf:EndSection
xorg.conf:
xorg.conf:Section "Device"
xorg.conf: Identifier "nvidia"
xorg.conf: Driver "nvidia"
xorg.conf: BusID "PCI:1:0:0"
xorg.conf:EndSection
xorg.conf:
xorg.conf:Section "Screen"
xorg.conf: Identifier "nvidia"
xorg.conf: Device "nvidia"
xorg.conf:# Option "AllowEmptyInitialConfiguration" "Yes"
xorg.conf:# Option "UseDisplayDevice" "none"
xorg.conf:EndSection
xorg.conf:
xorg.conf:Section "Device"
xorg.conf: Identifier "intel"
xorg.conf: Driver "modesetting"
xorg.conf: Option "AccelMethod" "none"
xorg.conf:EndSection
xorg.conf:
xorg.conf:Section "Screen"
xorg.conf: Identifier "intel"
xorg.conf: Device "intel"
xorg.conf:EndSection
xorg.conf:
xorg.conf:Section "InputClass"
xorg.conf: Identifier "Corsair"
xorg.conf: MatchUSBID "1b1c:0a14"
xorg.conf: Option "StartKeysEnabled" "False"
xorg.conf: Option "StartMouseEnabled" "False"
xorg.conf:EndSection
xorg.conf.d/10-nvidia-drm-outputclass.conf:# For workaround: [url]https://bbs.archlinux.org/viewtopic.php?id=272768[/url]
xorg.conf.d/10-nvidia-drm-outputclass.conf:# [url]https://aur.archlinux.org/packages/nvidia-xrun/#comment-835925[/url]
xorg.conf.d/10-nvidia-drm-outputclass.conf:Section "OutputClass"
xorg.conf.d/10-nvidia-drm-outputclass.conf: Identifier "intel"
xorg.conf.d/10-nvidia-drm-outputclass.conf: MatchDriver "i915"
xorg.conf.d/10-nvidia-drm-outputclass.conf: Driver "modesetting"
xorg.conf.d/10-nvidia-drm-outputclass.conf:EndSection
xorg.conf.d/10-nvidia-drm-outputclass.conf:
xorg.conf.d/10-nvidia-drm-outputclass.conf:Section "OutputClass"
xorg.conf.d/10-nvidia-drm-outputclass.conf: Identifier "nvidia"
xorg.conf.d/10-nvidia-drm-outputclass.conf: MatchDriver "nvidia-drm"
xorg.conf.d/10-nvidia-drm-outputclass.conf: Driver "nvidia"
xorg.conf.d/10-nvidia-drm-outputclass.conf: Option "AllowEmptyInitialConfiguration"
xorg.conf.d/10-nvidia-drm-outputclass.conf: Option "PrimaryGPU" "yes"
xorg.conf.d/10-nvidia-drm-outputclass.conf: ModulePath "/usr/lib/nvidia/xorg"
xorg.conf.d/10-nvidia-drm-outputclass.conf: ModulePath "/usr/lib/xorg/modules"
xorg.conf.d/10-nvidia-drm-outputclass.conf:EndSection
xorg.conf.d/10-nvidia-drm-outputclass.conf: