You are not logged in.

#1 2021-11-13 18:06:18

keirn
Member
Registered: 2021-11-13
Posts: 3

[SOLVED] Xorg Crashes On Monitor Rotation

Howdy! First time poster trying to be thorough. After running my usual upgrades "pacman -Syu", my Xorg session failed to start via startx. I have narrowed the issue down to a segfault when rotating my monitor orientation.

My Setup:
- 2 Monitors, one portrait
- Graphics card: AMD Radeon R9 270x using the usual open source radeon drivers
- Running i3 on top of Xorg
- Xrandr runs when starting i3 via the following command included in my i3 config:

xrandr --output DisplayPort-0 --off --output DVI-1 --off --output DVI-0 --primary --mode 1920x1080 --pos 1080x550 --rotate normal --output HDMI-0 --mode 1920x1080 --pos 0x0 --rotate left

The issue:
- Everything was working fine and then I upgraded my system via "pacman -Syu". This included updates to xorg-session and various other xorg packages. Here are the relevant upgrades in my pacman logs (/var/log/pacman.log):

[2021-11-10T14:45:30-0500] [ALPM] upgraded xf86-input-evdev (2.10.6-2 -> 2.10.6-3)
[2021-11-10T14:45:30-0500] [ALPM] upgraded xf86-input-libinput (1.2.0-1 -> 1.2.0-2)
[2021-11-10T14:45:30-0500] [ALPM] upgraded xf86-input-synaptics (1.9.1-2 -> 1.9.1-3)
[2021-11-10T14:45:30-0500] [ALPM] upgraded xf86-input-vmmouse (13.1.0-5 -> 13.1.0-6)
[2021-11-10T14:45:30-0500] [ALPM] upgraded xf86-input-void (1.4.1-5 -> 1.4.1-6)
[2021-11-10T14:45:30-0500] [ALPM] upgraded xf86-video-amdgpu (21.0.0-1 -> 21.0.0-2)
[2021-11-10T14:45:30-0500] [ALPM] upgraded xf86-video-ati (1:19.1.0-2 -> 1:19.1.0.r9.g5eba006e-1)
[2021-11-10T14:45:30-0500] [ALPM] upgraded xf86-video-dummy (0.3.8-4 -> 0.3.8-5)
[2021-11-10T14:45:30-0500] [ALPM] upgraded xf86-video-fbdev (0.5.0-2 -> 0.5.0-3)
[2021-11-10T14:45:30-0500] [ALPM] upgraded xf86-video-intel (1:2.99.917+916+g31486f40-1 -> 1:2.99.917+916+g31486f40-2)
[2021-11-10T14:45:30-0500] [ALPM] upgraded xf86-video-nouveau (1.0.17-1 -> 1.0.17-2)
[2021-11-10T14:45:30-0500] [ALPM] upgraded xf86-video-openchrome (0.6.0-4 -> 0.6.0.r754.g15c868a-1)
[2021-11-10T14:45:30-0500] [ALPM] upgraded xf86-video-vesa (2.5.0-1 -> 2.5.0-2)
[2021-11-10T14:45:30-0500] [ALPM] upgraded xf86-video-vmware (13.3.0-2 -> 13.3.0-3)
[2021-11-10T14:45:30-0500] [ALPM] upgraded xf86-video-voodoo (1.2.5-11 -> 1.2.5-12)
[2021-11-10T14:45:30-0500] [ALPM] upgraded xorg-server-common (1.20.13-3 -> 21.1.1-2)
[2021-11-10T14:45:30-0500] [ALPM] upgraded xorg-server (1.20.13-3 -> 21.1.1-2)
[2021-11-10T14:45:31-0500] [ALPM] upgraded xorg-server-devel (1.20.13-3 -> 21.1.1-2)
[2021-11-10T14:45:31-0500] [ALPM] upgraded xorg-server-xephyr (1.20.13-3 -> 21.1.1-2)
[2021-11-10T14:45:31-0500] [ALPM] upgraded xorg-server-xnest (1.20.13-3 -> 21.1.1-2)
[2021-11-10T14:45:31-0500] [ALPM] upgraded xorg-server-xvfb (1.20.13-3 -> 21.1.1-2)

Here is the output of pacman -Qs xorg | grep -i local/:

local/xf86-input-evdev 2.10.6-3 (xorg-drivers)
local/xf86-input-keyboard 1.9.0-3 (xorg-drivers)
local/xf86-input-libinput 1.2.0-2 (xorg-drivers)
local/xf86-input-mouse 1.9.3-1 (xorg-drivers)
local/xf86-input-synaptics 1.9.1-3 (xorg-drivers)
local/xf86-input-vmmouse 13.1.0-6 (xorg-drivers)
local/xf86-input-void 1.4.1-6 (xorg-drivers)
local/xf86-video-amdgpu 21.0.0-2 (xorg-drivers)
local/xf86-video-ati 1:19.1.0.r9.g5eba006e-1 (xorg-drivers)
local/xf86-video-dummy 0.3.8-5 (xorg-drivers)
local/xf86-video-fbdev 0.5.0-3 (xorg-drivers)
local/xf86-video-nouveau 1.0.17-2 (xorg-drivers)
local/xf86-video-openchrome 0.6.0.r754.g15c868a-1 (xorg-drivers)
local/xf86-video-vesa 2.5.0-2 (xorg-drivers xorg)
local/xf86-video-vmware 13.3.0-3 (xorg-drivers)
local/xf86-video-voodoo 1.2.5-12 (xorg-drivers)
local/xorg-appres 1.0.5-2
local/xorg-bdftopcf 1.1-2 (xorg xorg-apps)
local/xorg-docs 1.7.1-3 (xorg)
local/xorg-font-util 1.3.2-2 (xorg-fonts xorg)
local/xorg-font-utils 7.6-6
local/xorg-fonts-100dpi 1.0.3-7 (xorg)
local/xorg-fonts-75dpi 1.0.3-7 (xorg)
local/xorg-fonts-alias-100dpi 1.0.4-1
local/xorg-fonts-alias-75dpi 1.0.4-1
local/xorg-fonts-encodings 1.0.5-2 (xorg-fonts xorg)
local/xorg-iceauth 1.0.8-2 (xorg-apps xorg)
local/xorg-mkfontscale 1.2.1-2 (xorg-apps xorg)
local/xorg-server 21.1.1-3 (xorg)
local/xorg-server-common 21.1.1-3 (xorg)
local/xorg-server-devel 21.1.1-3 (xorg)
local/xorg-server-xephyr 21.1.1-3 (xorg)
local/xorg-server-xnest 21.1.1-3 (xorg)
local/xorg-server-xvfb 21.1.1-3 (xorg)
local/xorg-sessreg 1.1.2-2 (xorg-apps xorg)
local/xorg-setxkbmap 1.3.2-2 (xorg-apps xorg)
local/xorg-smproxy 1.0.6-3 (xorg-apps xorg)
local/xorg-util-macros 1.19.3-1
local/xorg-x11perf 1.6.1-2 (xorg-apps xorg)
local/xorg-xauth 1.1-2 (xorg-apps xorg)
local/xorg-xbacklight 1.2.3-2 (xorg-apps xorg)
local/xorg-xcmsdb 1.0.5-3 (xorg-apps xorg)
local/xorg-xcursorgen 1.0.7-2 (xorg-apps xorg)
local/xorg-xdpyinfo 1.3.2-4 (xorg-apps xorg)
local/xorg-xdriinfo 1.0.6-2 (xorg-apps xorg)
local/xorg-xev 1.2.4-1 (xorg-apps xorg)
local/xorg-xgamma 1.0.6-3 (xorg-apps xorg)
local/xorg-xhost 1.0.8-2 (xorg-apps xorg)
local/xorg-xinit 1.4.1-3
local/xorg-xinput 1.6.3-2 (xorg-apps xorg)
local/xorg-xkbcomp 1.4.5-1 (xorg-apps xorg)
local/xorg-xkbevd 1.1.4-3 (xorg-apps xorg)
local/xorg-xkbutils 1.0.4-4 (xorg-apps xorg)
local/xorg-xkill 1.0.5-2 (xorg-apps xorg)
local/xorg-xlsatoms 1.1.3-2 (xorg-apps xorg)
local/xorg-xlsclients 1.1.4-2 (xorg-apps xorg)
local/xorg-xlsfonts 1.0.6-3
local/xorg-xmodmap 1.0.10-2 (xorg-apps xorg)
local/xorg-xpr 1.0.5-2 (xorg-apps xorg)
local/xorg-xprop 1.2.5-1 (xorg-apps xorg)
local/xorg-xrandr 1.5.1-2 (xorg-apps xorg)
local/xorg-xrdb 1.2.1-1 (xorg-apps xorg)
local/xorg-xrefresh 1.0.6-2 (xorg-apps xorg)
local/xorg-xset 1.2.4-2 (xorg-apps xorg)
local/xorg-xsetroot 1.1.2-2 (xorg-apps xorg)
local/xorg-xvinfo 1.1.4-2 (xorg-apps xorg)
local/xorg-xwayland 21.1.3-1 (xorg)
local/xorg-xwd 1.0.8-1 (xorg-apps xorg)
local/xorg-xwininfo 1.1.5-2 (xorg-apps xorg)
local/xorg-xwud 1.0.5-2 (xorg-apps xorg)
local/xorgproto 2021.5-1

and uname -r:

5.15.2-arch1-1

- When executing i3 via startx, my session immediately crashes. Here is the relevant section of .local/share/xorg/Xorg.1.log:

[  3719.177] (**) SteelSeries SteelSeries Rival 310 eSports Mouse Keyboard: (accel) selected scheme none/0
[  3719.177] (**) SteelSeries SteelSeries Rival 310 eSports Mouse Keyboard: (accel) acceleration factor: 2.000
[  3719.177] (**) SteelSeries SteelSeries Rival 310 eSports Mouse Keyboard: (accel) acceleration threshold: 4
[  3719.178] (II) event9  - SteelSeries SteelSeries Rival 310 eSports Mouse Keyboard: is tagged by udev as: Keyboard
[  3719.178] (II) event9  - SteelSeries SteelSeries Rival 310 eSports Mouse Keyboard: device is a keyboard
[  3719.183] (**) Keebio Keebio Iris Rev. 4 Consumer Control: Applying InputClass "evdev keyboard catchall"
[  3719.183] (**) Keebio Keebio Iris Rev. 4 Consumer Control: Applying InputClass "libinput keyboard catchall"
[  3719.183] (II) Using input driver 'libinput' for 'Keebio Keebio Iris Rev. 4 Consumer Control'
[  3719.183] (II) systemd-logind: returning pre-existing fd for /dev/input/event4 13:68
[  3719.183] (**) Keebio Keebio Iris Rev. 4 Consumer Control: always reports core events
[  3719.183] (**) Option "Device" "/dev/input/event4"
[  3719.183] (**) Option "_source" "_driver/libinput"
[  3719.183] (II) libinput: Keebio Keebio Iris Rev. 4 Consumer Control: is a virtual subdevice
[  3719.183] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb3/3-3/3-3:1.1/0003:CB10:4256.0002/input/input4/event4"
[  3719.183] (II) XINPUT: Adding extended input device "Keebio Keebio Iris Rev. 4 Consumer Control" (type: KEYBOARD, id 16)
[  3719.183] (**) SteelSeries SteelSeries Rival 310 eSports Mouse Keyboard: Applying InputClass "evdev keyboard catchall"
[  3719.183] (**) SteelSeries SteelSeries Rival 310 eSports Mouse Keyboard: Applying InputClass "libinput keyboard catchall"
[  3719.183] (II) Using input driver 'libinput' for 'SteelSeries SteelSeries Rival 310 eSports Mouse Keyboard'
[  3719.183] (II) systemd-logind: returning pre-existing fd for /dev/input/event9 13:73
[  3719.183] (**) SteelSeries SteelSeries Rival 310 eSports Mouse Keyboard: always reports core events
[  3719.183] (**) Option "Device" "/dev/input/event9"
[  3719.183] (**) Option "_source" "_driver/libinput"
[  3719.183] (II) libinput: SteelSeries SteelSeries Rival 310 eSports Mouse Keyboard: is a virtual subdevice
[  3719.183] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb3/3-9/3-9:1.2/0003:1038:1720.0008/input/input9/event9"
[  3719.183] (II) XINPUT: Adding extended input device "SteelSeries SteelSeries Rival 310 eSports Mouse Keyboard" (type: KEYBOARD, id 17)
[  3719.251] (II) RADEON(0): Allocate new frame buffer 3000x1920
[  3719.253] (II) RADEON(0): VRAM usage limit set to 202863K
[  3719.254] (EE) 
[  3719.255] (EE) Backtrace:
[  3719.255] (EE) 0: /usr/lib/Xorg (xorg_backtrace+0x5b) [0x55846b83eddb]
[  3719.255] (EE) 1: /usr/lib/Xorg (0x55846b6f3000+0x156a15) [0x55846b849a15]
[  3719.255] (EE) 2: /usr/lib/libpthread.so.0 (0x7fc94709c000+0x13870) [0x7fc9470af870]
[  3719.255] (EE) 
[  3719.255] (EE) Segmentation fault at address 0x0
[  3719.255] (EE) 
Fatal server error:
[  3719.255] (EE) Caught signal 11 (Segmentation fault). Server aborting
[  3719.255] (EE) 
[  3719.255] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[  3719.255] (EE) Please also check the log file at "/home/atreus/.local/share/xorg/Xorg.1.log" for additional information.
[  3719.255] (EE) 
[  3719.255] (II) AIGLX: Suspending AIGLX clients for VT switch
[  3719.394] (EE) Server terminated with error (1). Closing log file.

- Here is (what I believe to be) the relevant section from journalctl:

Nov 13 12:54:11 atreusbox audit: BPF prog-id=0 op=UNLOAD
Nov 13 12:54:11 atreusbox audit: BPF prog-id=0 op=UNLOAD
Nov 13 12:54:11 atreusbox audit: BPF prog-id=0 op=UNLOAD
Nov 13 12:54:11 atreusbox audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@2-8566-0 comm="systemd" exe="/>
Nov 13 12:54:11 atreusbox systemd[1]: systemd-coredump@2-8566-0.service: Deactivated successfully.
Nov 13 12:54:11 atreusbox systemd-coredump[8567]: [?] Process 8521 (Xorg) of user 1000 dumped core.
                                                  
                                                  Found module linux-vdso.so.1 with build-id: 86aa67c5d299799c7345d04bd8a2c511eeea459e
                                                  Found module libgobject-2.0.so.0 with build-id: 3e451709a0a5772b9550d3a4c28dcb37a87028fa
                                                  Found module libgudev-1.0.so.0 with build-id: a9f734ea9206d637d5aacfbd86298c91cdc1a33a
                                                  Found module libwacom.so.2 with build-id: 1d9b89a6d39be5568d5f44888b8a74f46a30c152
                                                  Found module libevdev.so.2 with build-id: b62ae69f839f1b6b06ef2c1df19f25ff09b0d824
                                                  Found module libmtdev.so.1 with build-id: 0cea2a842ae9a0ef02a08477076caab0e5ac5e42
                                                  Found module libinput.so.10 with build-id: 77f3eca5dddc8cac29b71bc5041a79ce57fceb56
                                                  Found module libinput_drv.so with build-id: d9f69f11259485316bd206e67e34dd23bbede5cc
                                                  Found module libxcb-sync.so.1 with build-id: dda14591103b01b1311906053bf1ca9e82ade35c
                                                  Found module libxcb-present.so.0 with build-id: 68f5465258750e2397b1333b3ffc01ee33caa4e1
                                                  Found module libxcb-dri3.so.0 with build-id: 9407a2480e09dc5a1dd9d9a0652fa8d32b328c91
                                                  Found module libwayland-client.so.0 with build-id: d274361e7aa57c9b63504a039e063322450cbb9c
                                                  Found module libxcb-xfixes.so.0 with build-id: a6b197ace5b9b59f913f5969eb419a88d1194f47
                                                  Found module libxcb-dri2.so.0 with build-id: 2dd6e65129a809dab828a1d26215a3f7a363fcc8
                                                  Found module libX11-xcb.so.1 with build-id: 0db4f94d8ae31b8dc9a83f825a9171656f1e532c
                                                  Found module libEGL_mesa.so.0 with build-id: fb943970628f1b739095eb6e3a22e90b402ecd0a
                                                  Found module libEGL.so.1 with build-id: 473944aea0e3dbc5d595dee647702a3cdc0aed78
                                                  Found module libepoxy.so.0 with build-id: b6357fc6b748c512f90339433d74502b9d0621dc
                                                  Found module libglamoregl.so with build-id: 0aea388154bf2c8ff72d44d83149f55ea4862a2d
                                                  Found module libnss_files.so.2 with build-id: 1a36dfc01d3a1010b2ee79766a24a8090a3266d5
                                                  Found module libicudata.so.69 with build-id: 0ab994a49ef1848499c4af333b3266f28432a922
                                                  Found module libicuuc.so.69 with build-id: 5cf18c56e2f64efdac32cf61fb9c0c48e9bb1797
                                                  Found module libxml2.so.2 with build-id: b9441ffabb52b50c290152592f17cd78a381d493
                                                  Found module libncursesw.so.6 with build-id: 859adb8b03a5655151b4da104bc4b326a0d4bc8c
                                                  Found module libedit.so.0 with build-id: 4b0babfcad161c2ad0af6e59e2493258db23a331
                                                  Found module libstdc++.so.6 with build-id: 8ab0e57054dd1dcba681f217016afc6a4e639783
                                                  Found module libvulkan.so.1 with build-id: 07b49771f04f350af7587839fcec8b52fa4f3164
                                                  Found module libdrm_nouveau.so.2 with build-id: 8fc69302331a748147c45364774cb3da9b5994c0
                                                  Found module libdrm_amdgpu.so.1 with build-id: 587ec7f42cd8e6298ef2bf769df3a9417be90103
                                                  Found module libelf.so.1 with build-id: cc912d9cef94d907317afba5edd9176e9828e776
                                                  Found module libsensors.so.5 with build-id: dc8b2c1c0d8525411aca188ea3cc3fb86d381d30
                                                  Found module libLLVM-13.so with build-id: 82982c299d46219d0eab8ee9cb8bb7365483453b
                                                  Found module radeonsi_dri.so with build-id: 485271131aae5a573f803418b6bbb1f58d034acb
                                                  Found module libglapi.so.0 with build-id: 57828fb70af7c1f2aa70b096d748851a1fd39a9c
                                                  Found module libffi.so.8 with build-id: f90d8b734f6de9b25faedb8cbfab7054dafc0a42
                                                  Found module libexpat.so.1 with build-id: 8850138eae6d9d4d43c5c4b2ac48393bc4279037
                                                  Found module libwayland-server.so.0 with build-id: 7156897eafc4b7562f2b214e6ad8ca6c85c57e47
                                                  Found module libgbm.so.1 with build-id: 42e129ba16de8ff426f740e7686a1f02a738abf9
                                                  Found module libdrm_radeon.so.1 with build-id: d3d24f3707416f7c3cef6fd731f732c0b984dd1d
                                                  Found module radeon_drv.so with build-id: 1cb699c8188e367238eb2d2ba238e72be7e86623
                                                  Found module libxcb.so.1 with build-id: 0d1ef11740a5daad2ee331e812a51aa6574af222
                                                  Found module libX11.so.6 with build-id: e9192497aa39fab51358826d1a1b5fb77edc5081
                                                  Found module libGLX.so.0 with build-id: 0f40ceaa036edc65147e9559b94e0219472493fc
                                                  Found module libGLdispatch.so.0 with build-id: 195b34c1bb271f3b1162c897cfbcfb859e656b93
                                                  Found module libGL.so.1 with build-id: 8b3028bab286029945569a0dfcf695f0f61d9c3b
                                                  Found module libglx.so with build-id: a506bc474051e9b92e7c4cbc17874e18c48ed1f0
                                                  Found module libgcc_s.so.1 with build-id: 7f8508bb914546ada778809b64b99d234337d835
                                                  Found module libpcre.so.1 with build-id: 845483dd0acba86de9f0313102bebbaf3ce52767
                                                  Found module libbrotlicommon.so.1 with build-id: f68934f94312f770550ebc6c5acfd6359b098b07
                                                  Found module libglib-2.0.so.0 with build-id: d4aa102e545015a506c3ee06398676b70f65bcbc
                                                  Found module libgraphite2.so.3 with build-id: 47761dc11e553f519cde97ed9ee985be12ccdae2
                                                  Found module libresolv.so.2 with build-id: c915c72668282861a813f7ea3c0780f37b681dc0
                                                  Found module libkeyutils.so.1 with build-id: ac405ddd17be10ce538da3211415ee50c8f8df79
                                                  Found module libkrb5support.so.0 with build-id: adf65240a4d2aba772d7a0772b4d015469934113
                                                  Found module libcom_err.so.2 with build-id: eb61ef71c8b97846db759fb89a115405cff6dd30
                                                  Found module libk5crypto.so.3 with build-id: eb8220b8f36675aac769450be4cb6bb7f97ec38a
                                                  Found module libkrb5.so.3 with build-id: 72d26767c5cb1097db75a5f5bff88860233c902b
                                                  Found module libgpg-error.so.0 with build-id: 3801187d42c4955bd93c605451430cdf1b164e63
                                                  Found module libbrotlidec.so.1 with build-id: f871e6f204ab8d48099915126ba01be989a8000f
                                                  Found module libharfbuzz.so.0 with build-id: f3507938a0d15efd3c81f0f9f1dd98cfdaf2144f
                                                  Found module libpng16.so.16 with build-id: 2dc0bce07f199bf983c07a05fb95a6f4af83a9b3
                                                  Found module libbz2.so.1.0 with build-id: 919597c477c9b2cb9cdbb7745ed6494ac0e6da60
                                                  Found module libgssapi_krb5.so.2 with build-id: e6e098ad51ce7bdd3dbe902d7b0f69a90f8a9e08
                                                  Found module libgcrypt.so.20 with build-id: db45f5d5e0f7af1e77324fea1885f974619ad268
                                                  Found module libcap.so.2 with build-id: f028e24efdfb362a37fa8dd280c3894b007f88b1
                                                  Found module liblz4.so.1 with build-id: e63600ab23b2f6997f42fac2fa56e1f02ce159a1
                                                  Found module libzstd.so.1 with build-id: 4b10444c1560ebc574af4d5f488b7408b22d450e
                                                  Found module liblzma.so.5 with build-id: 8b615460aa230708c5183f16bede67aa0437d95e
                                                  Found module librt.so.1 with build-id: 75484da2d6f1515189eefa076e0a40328834cd16
                                                  Found module libfreetype.so.6 with build-id: 65e7f4a1e5557b0ceeaa433e5356f857fe9c669b
                                                  Found module libfontenc.so.1 with build-id: 5a11f1fb8c3f2714be9eb6697318f20e301e1d2f
                                                  Found module libz.so.1 with build-id: 81bf6e728a6d6f5b105b0f8b25f6c614ce10452a
                                                  Found module ld-linux-x86-64.so.2 with build-id: 040cc3dd10461562f177df39e3be2f3704258c3c
                                                  Found module libc.so.6 with build-id: 4b406737057708c0e4c642345a703c47a61c73dc
                                                  Found module libxcvt.so.0 with build-id: 30bad674c8227152bb709556a3657d0258554309
                                                  Found module libpthread.so.0 with build-id: 07c8f95b4f3251d08550217ad8a1f31066229996
                                                  Found module libtirpc.so.3 with build-id: 5bef2adfdee3df283f593b3e2d37b6dac405256a
                                                  Found module libdrm.so.2 with build-id: 8585630908d716a9ebf17abe665324984d15aa13
                                                  Found module libudev.so.1 with build-id: 9070ad2429e5355a96e0327226532a60f5abcb6f
                                                  Found module libdbus-1.so.3 with build-id: 74f2ab9c60512f3a93c932c3f627564d42e0b11e
                                                  Found module libsystemd.so.0 with build-id: 4173ca7f3b7338e7e0b8399eb75d6a7320c5f7f5
                                                  Found module libxshmfence.so.1 with build-id: 8876d9ccf620858795724ca24b9e567585a77cec
                                                  Found module libXfont2.so.2 with build-id: 154202dd7ddb86f6ae4d3bc762dfd8570b86882a
                                                  Found module libXdmcp.so.6 with build-id: 8ca0792d23c8b8b4c0864297512349292bea5955
                                                  Found module libXau.so.6 with build-id: 1c67764663e07bec24d8951e5fd93f4d165979ff
                                                  Found module libnettle.so.8 with build-id: 9a878e513c02007598fcf1e2e286c2203f13536e
                                                  Found module libpciaccess.so.0 with build-id: 9dd24e76ebc38465541313b36446ffb4af842c12
                                                  Found module libdl.so.2 with build-id: 5abc547e7b0949f89f3c0e21ab0c8331a7440a8a
                                                  Found module libm.so.6 with build-id: 2b8fd1f869ecab4e0b55e92f2f151897f6818acf
                                                  Found module libpixman-1.so.0 with build-id: 341f793dcada3a48a306a793d265a517e3f2e7d6
                                                  Found module Xorg with build-id: 18a012a3f10bafde1b37c70c13fd821a3eccaa89
                                                  Stack trace of thread 8521:
                                                  #0  0x00007fc946f07d22 raise (libc.so.6 + 0x3cd22)
                                                  #1  0x00007fc946ef1862 abort (libc.so.6 + 0x26862)
                                                  #2  0x000055846b84266a OsAbort (Xorg + 0x14f66a)
                                                  #3  0x000055846b844171 FatalError (Xorg + 0x151171)
                                                  #4  0x000055846b849a76 n/a (Xorg + 0x156a76)
                                                  #5  0x00007fc9470af870 n/a (libpthread.so.0 + 0x13870)
                                                  
                                                  Stack trace of thread 8524:
                                                  #0  0x00007fc9470b18ca __futex_abstimed_wait_common64 (libpthread.so.0 + 0x158ca)
                                                  #1  0x00007fc9470ab270 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf270)
                                                  #2  0x00007fc94483b88c n/a (radeonsi_dri.so + 0x1c888c)
                                                  #3  0x00007fc944834f68 n/a (radeonsi_dri.so + 0x1c1f68)
                                                  #4  0x00007fc9470a5259 start_thread (libpthread.so.0 + 0x9259)
                                                  #5  0x00007fc946fc95e3 __clone (libc.so.6 + 0xfe5e3)
                                                  
                                                  Stack trace of thread 8523:
                                                  #0  0x00007fc9470b18ca __futex_abstimed_wait_common64 (libpthread.so.0 + 0x158ca)
                                                  #1  0x00007fc9470ab270 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf270)
                                                  #2  0x00007fc94483b88c n/a (radeonsi_dri.so + 0x1c888c)
                                                  #3  0x00007fc944834f68 n/a (radeonsi_dri.so + 0x1c1f68)
                                                  #4  0x00007fc9470a5259 start_thread (libpthread.so.0 + 0x9259)
                                                  #5  0x00007fc946fc95e3 __clone (libc.so.6 + 0xfe5e3)
                                                  
                                                  Stack trace of thread 8532:
                                                  #0  0x00007fc9470ae600 __lll_lock_wait (libpthread.so.0 + 0x12600)
                                                  #1  0x00007fc9470a7580 __pthread_mutex_lock (libpthread.so.0 + 0xb580)
                                                  #2  0x000055846b837d11 n/a (Xorg + 0x144d11)
                                                  #3  0x000055846b8422b1 n/a (Xorg + 0x14f2b1)
                                                  #4  0x000055846b83e411 n/a (Xorg + 0x14b411)
                                                  #5  0x00007fc9470a5259 start_thread (libpthread.so.0 + 0x9259)
                                                  #6  0x00007fc946fc95e3 __clone (libc.so.6 + 0xfe5e3)
                                                  
                                                  Stack trace of thread 8525:
                                                  #0  0x00007fc9470b18ca __futex_abstimed_wait_common64 (libpthread.so.0 + 0x158ca)
                                                  #1  0x00007fc9470ab270 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf270)
                                                  #2  0x00007fc94483b88c n/a (radeonsi_dri.so + 0x1c888c)
                                                  #3  0x00007fc944834f68 n/a (radeonsi_dri.so + 0x1c1f68)
                                                  #4  0x00007fc9470a5259 start_thread (libpthread.so.0 + 0x9259)
                                                  #5  0x00007fc946fc95e3 __clone (libc.so.6 + 0xfe5e3)
                                                  
                                                  Stack trace of thread 8527:
                                                  #0  0x00007fc9470b18ca __futex_abstimed_wait_common64 (libpthread.so.0 + 0x158ca)
                                                  #1  0x00007fc9470ab270 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf270)
                                                  #2  0x00007fc94483b88c n/a (radeonsi_dri.so + 0x1c888c)
                                                  #3  0x00007fc944834f68 n/a (radeonsi_dri.so + 0x1c1f68)
                                                  #4  0x00007fc9470a5259 start_thread (libpthread.so.0 + 0x9259)
                                                  #5  0x00007fc946fc95e3 __clone (libc.so.6 + 0xfe5e3)
                                                  
                                                  Stack trace of thread 8528:
                                                  #0  0x00007fc9470b18ca __futex_abstimed_wait_common64 (libpthread.so.0 + 0x158ca)
                                                  #1  0x00007fc9470ab270 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf270)
                                                  #2  0x00007fc94483b88c n/a (radeonsi_dri.so + 0x1c888c)
                                                  #3  0x00007fc944834f68 n/a (radeonsi_dri.so + 0x1c1f68)
                                                  #4  0x00007fc9470a5259 start_thread (libpthread.so.0 + 0x9259)
                                                  #5  0x00007fc946fc95e3 __clone (libc.so.6 + 0xfe5e3)
                                                  
                                                  Stack trace of thread 8522:
                                                  #0  0x00007fc9470b18ca __futex_abstimed_wait_common64 (libpthread.so.0 + 0x158ca)
                                                  #1  0x00007fc9470ab270 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf270)
                                                  #2  0x00007fc94483b88c n/a (radeonsi_dri.so + 0x1c888c)
                                                  #3  0x00007fc944834f68 n/a (radeonsi_dri.so + 0x1c1f68)
                                                  #4  0x00007fc9470a5259 start_thread (libpthread.so.0 + 0x9259)
                                                  #5  0x00007fc946fc95e3 __clone (libc.so.6 + 0xfe5e3)
                                                  
                                                  Stack trace of thread 8529:
                                                  #0  0x00007fc9470b18ca __futex_abstimed_wait_common64 (libpthread.so.0 + 0x158ca)
                                                  #1  0x00007fc9470ab270 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf270)
                                                  #2  0x00007fc94483b88c n/a (radeonsi_dri.so + 0x1c888c)
                                                  #3  0x00007fc944834f68 n/a (radeonsi_dri.so + 0x1c1f68)
                                                  #4  0x00007fc9470a5259 start_thread (libpthread.so.0 + 0x9259)
                                                  #5  0x00007fc946fc95e3 __clone (libc.so.6 + 0xfe5e3)
                                                  
                                                  Stack trace of thread 8526:
                                                  #0  0x00007fc9470b18ca __futex_abstimed_wait_common64 (libpthread.so.0 + 0x158ca)
                                                  #1  0x00007fc9470ab270 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf270)
                                                  #2  0x00007fc94483b88c n/a (radeonsi_dri.so + 0x1c888c)
                                                  #3  0x00007fc944834f68 n/a (radeonsi_dri.so + 0x1c1f68)
                                                  #4  0x00007fc9470a5259 start_thread (libpthread.so.0 + 0x9259)
                                                  #5  0x00007fc946fc95e3 __clone (libc.so.6 + 0xfe5e3)
Nov 13 12:54:11 atreusbox kernel: audit: type=1334 audit(1636826051.306:2739): prog-id=34 op=LOAD
Nov 13 12:54:11 atreusbox audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@2-8566-0 comm="systemd" exe=">
Nov 13 12:54:11 atreusbox systemd[1]: Started Process Core Dump (PID 8566/UID 0).
Nov 13 12:54:11 atreusbox audit: BPF prog-id=36 op=LOAD
Nov 13 12:54:11 atreusbox audit: BPF prog-id=35 op=LOAD
Nov 13 12:54:11 atreusbox audit: BPF prog-id=34 op=LOAD
Nov 13 12:54:11 atreusbox kernel: audit: type=1701 audit(1636826051.299:2738): auid=1000 uid=1000 gid=1000 ses=8 pid=8521 comm="Xorg" exe="/usr/lib/X>
Nov 13 12:54:11 atreusbox audit[8521]: ANOM_ABEND auid=1000 uid=1000 gid=1000 ses=8 pid=8521 comm="Xorg" exe="/usr/lib/Xorg" sig=6 res=1

What I've Tried:
- I have removed the xrandr command from my i3 config and can start X without error
- From within the started X session, I can execute an Xrandr command without error so long as it does not include the "rotate" option. Whenever I execute xrandr with this option, my session crashes as above
- I downgraded my Xorg packages and managed to recover working and correct behavior. Here is the output of grep -i downgraded /var/log/pacman.log

[2021-11-12T21:21:48-0500] [ALPM] downgraded xorg-server (21.1.1-3 -> 21.1.1-2)
[2021-11-12T21:22:01-0500] [ALPM] downgraded xorg-server-common (21.1.1-3 -> 21.1.1-2)
[2021-11-12T21:39:28-0500] [ALPM] downgraded linux (5.15.2.arch1-1 -> 5.14.16.arch1-1)
[2021-11-12T21:48:32-0500] [ALPM] downgraded xorg-server (21.1.1-3 -> 21.1.1-2)
[2021-11-12T21:48:39-0500] [ALPM] downgraded xorg-server-common (21.1.1-3 -> 21.1.1-2)
[2021-11-12T22:10:25-0500] [ALPM] downgraded xorg-server-xephyr (21.1.1-3 -> 21.1.1-2)
[2021-11-13T13:29:29-0500] [ALPM] downgraded xorg-server-common (21.1.1-3 -> 1.20.13-3)
[2021-11-13T13:33:26-0500] [ALPM] downgraded xf86-input-evdev (2.10.6-3 -> 2.10.6-2)
[2021-11-13T13:34:53-0500] [ALPM] downgraded xf86-input-vmmouse (13.1.0-6 -> 13.1.0-5)
[2021-11-13T13:35:34-0500] [ALPM] downgraded xf86-input-void (1.4.1-6 -> 1.4.1-5)
[2021-11-13T13:38:58-0500] [ALPM] downgraded xorg-server (21.1.1-3 -> 1.20.13-3)
[2021-11-13T13:46:51-0500] [ALPM] downgraded xorg-server-devel (21.1.1-3 -> 1.20.13-3)
[2021-11-13T13:47:01-0500] [ALPM] downgraded xorg-server-xephyr (21.1.1-3 -> 1.20.13-3)
[2021-11-13T13:47:11-0500] [ALPM] downgraded xorg-server-xnest (21.1.1-3 -> 1.20.13-3)
[2021-11-13T13:47:22-0500] [ALPM] downgraded xorg-server-xvfb (21.1.1-3 -> 1.20.13-3)
[2021-11-13T14:03:13-0500] [ALPM] downgraded xf86-input-libinput (1.2.0-2 -> 1.2.0-1)

- I have tried to achieve monitor rotation through the rotate option in "/etc/X11/xorg.conf.d/10-monitor.conf" and arrive at the same crashing behavior above. This leads me to believe it is Xorg and not xrandr as the culprit
- I have run glxgears without any crashing
- I am currently running on wayland without issue (but I would love to get back to Xorg)

Does anyone have insight here on further things I might try or more details I can provide?

Last edited by keirn (2021-11-22 16:08:14)

Offline

#2 2021-11-15 08:09:57

quantumphaze
Member
From: Melbourne, Australia
Registered: 2008-11-14
Posts: 171

Re: [SOLVED] Xorg Crashes On Monitor Rotation

You are not alone!

Breaks on my Radeon R9 270x too. Seems to be AMD Radeon only as I also tried it on my old laptop with Nvidia 9300m with the Noveau driver without problem, but on an old AMD APU PC would reliably crash.

I downgraded these packages without trouble:

cd /var/cache/packman/pkg/
pacman -U xorg-server-1.20.13-3-x86_64.pkg.tar.zst xorg-server-common-1.20.13-3-x86_64.pkg.tar.zst xorg-server-xvfb-1.20.13-3-x86_64.pkg.tar.zst xorg-xwayland-21.1.2.901-1-x86_64.pkg.tar.zst xf86-input-evdev-2.10.6-2-x86_64.pkg.tar.zst xf86-input-wacom-0.40.0-1-x86_64.pkg.tar.zst xf86-input-libinput-1.2.0-1-x86_64.pkg.tar.zst xf86-video-amdgpu-21.0.0-1-x86_64.pkg.tar.zst xf86-video-ati-1:19.1.0-2-x86_64.pkg.tar.zst

(Side topic but have you had any success with running the AMDGPU driver on this card? Mullti-monitor is unstable with dead outputs if more than one display is attached at boot.)

Edit: Linking your bug: https://bugs.archlinux.org/task/72751

Last edited by quantumphaze (2021-11-15 08:15:20)


▁▂▃▄▅▆▇█▉▊▋▌▍▎▏▏▎▍▌▋▊▉█▇▆▅▄▃▂▁

Offline

#3 2021-11-15 12:13:38

jjbeard
Member
Registered: 2018-03-05
Posts: 1

Re: [SOLVED] Xorg Crashes On Monitor Rotation

Same here with a Sapphire HD 7750 card, i3 and two monitors (one portrait).

This fixed it for now (same general idea as quantumphaze but without a few packages I didn't have installed, and with some xf86-video ones that were conflicting):

cd /var/cache/packman/pkg/
pacman -U xorg-server-1.20.13-3-x86_64.pkg.tar.zst xorg-server-common-1.20.13-3-x86_64.pkg.tar.zst  xf86-input-libinput-1.2.0-1-x86_64.pkg.tar.zst xf86-video-amdgpu-21.0.0-1-x86_64.pkg.tar.zst xf86-video-ati-1:19.1.0-2-x86_64.pkg.tar.zst xf86-video-fbdev-0.5.0-2-x86_64.pkg.tar.zst xf86-video-vesa-2.5.0-1-x86_64.pkg.tar.zst 

Offline

#4 2021-11-15 12:22:53

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 14,487

Re: [SOLVED] Xorg Crashes On Monitor Rotation

Can you reprodruce this when you remove xf86-video-amdgpu and just rely on the modesetting driver instead? (... in general these package downgrade lists make me nervous. You can remove all xf86-video-* packages other than the one specific to your card (... well to test that in this case, remove that as well))

Offline

#5 2021-11-16 03:48:36

keirn
Member
Registered: 2021-11-13
Posts: 3

Re: [SOLVED] Xorg Crashes On Monitor Rotation

V1del, I was indeed able to reproduce the issue with xf86-video-amdgpu removed and only xf86-video-ati installed. Removed the extra packages, thanks!

quantumphaze, I have had no issues at all with the driver until now. My multi-monitor setup has worked without any error! sad

Offline

#6 2021-11-16 07:36:30

seth
Member
Registered: 2012-09-03
Posts: 25,133

Re: [SOLVED] Xorg Crashes On Monitor Rotation

and only xf86-video-ati

The plan actually was to use the modesetting driver, so remove that one, too.
The backtrace clearly ends in that driver, so it is what is ultimately crashing your server (possibly -hopefully temporary- incompatibility w/ the recent X11 server ABI bump)

Offline

#7 2021-11-19 13:10:10

quantumphaze
Member
From: Melbourne, Australia
Registered: 2008-11-14
Posts: 171

Re: [SOLVED] Xorg Crashes On Monitor Rotation

I have switched over to the AMDGPU driver and dealt with the unrelated blank output issue (I have to connect one screen at a time else at least one screen is dead).
Rotating the monitor does not crash with xf86-video-amdgpu, this bug only affects xf86-video-ati (so far).


▁▂▃▄▅▆▇█▉▊▋▌▍▎▏▏▎▍▌▋▊▉█▇▆▅▄▃▂▁

Offline

#8 2021-11-21 21:23:33

keirn
Member
Registered: 2021-11-13
Posts: 3

Re: [SOLVED] Xorg Crashes On Monitor Rotation

Sorry for the delay here! It appears the latest update to xf86-video-ati fixed this on my machine, I suspect it was in this commit https://github.com/archlinux/svntogit-p … 5eb9b7203a. Thanks everyone smile

Offline

Board footer

Powered by FluxBB