Random crashing, Bus error at address 0x7f638349e6c0
Xorg, rarely, randomly crashes on me when using the dGPU, 6800M, seemingly no reason, no bug report templates or troubleshooting steps so heres what i think could be relevant.
No errors errors logged dmesg. Can't use Wayland until KDE gets it together. I have gotten crashes with both the modesetting driver and xorg amdgpu driver, and with and without VRR+TearFree/ The server does not recover or restart, and a VT switch does not work, and the machine seemingly must be hard rebooted. I have tried Option "AccelMethod" "none"
, but that introduced various issues across nearly every graphical app and was essentially unusable.
inxi -GSC -xx
System:
Host: Hostname Kernel: 6.1.64-1-lts arch: x86_64 bits: 64 compiler: gcc
v: 13.2.1 Desktop: KDE Plasma v: 5.27.9 tk: Qt v: 5.15.11 wm: kwin_x11
dm: SDDM Distro: Arch Linux
CPU:
Info: 8-core model: AMD Ryzen 9 5980HX with Radeon Graphics bits: 64
type: MT MCP arch: Zen 3 rev: 0 cache: L1: 512 KiB L2: 4 MiB L3: 16 MiB
Speed (MHz): avg: 1552 high: 3300 min/max: 1200/5024 boost: enabled cores:
1: 1200 2: 3300 3: 1200 4: 1200 5: 1198 6: 1198 7: 1396 8: 3300 9: 1200
10: 1197 11: 2078 12: 1530 13: 1200 14: 1236 15: 1200 16: 1200
bogomips: 105445
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
Device-1: AMD Navi 22 [Radeon RX 6700/6700 XT/6750 XT / 6800M/6850M XT]
vendor: ASUSTeK driver: amdgpu v: kernel arch: RDNA-2 pcie: speed: 16 GT/s
lanes: 16 ports: active: none empty: DP-1 bus-ID: 03:00.0
chip-ID: 1002:73df
Device-2: AMD Cezanne [Radeon Vega Series / Radeon Mobile Series]
vendor: ASUSTeK driver: amdgpu v: kernel arch: GCN-5 pcie: speed: 8 GT/s
lanes: 16 ports: active: eDP-1 empty: HDMI-A-1 bus-ID: 08:00.0
chip-ID: 1002:1638 temp: 49.0 C
Display: x11 server: X.Org v: 21.1.9 with: Xwayland v: 23.2.2
compositor: kwin_x11 driver: X: loaded: amdgpu dri: radeonsi gpu: amdgpu
display-ID: :0 screens: 1
Screen-1: 0 s-res: 2560x1440 s-dpi: 120
Monitor-1: eDP-1 mapped: eDP model: ChiMei InnoLux 0x1540 res: 2560x1440
dpi: 189 diag: 394mm (15.5")
API: EGL v: 1.5 platforms: device: 0 drv: radeonsi device: 1 drv: radeonsi
device: 2 drv: swrast gbm: drv: kms_swrast surfaceless: drv: radeonsi x11:
drv: radeonsi inactive: wayland
API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 23.2.1-arch1.2
glx-v: 1.4 direct-render: yes renderer: AMD Radeon Graphics (renoir LLVM
16.0.6 DRM 3.49 6.1.64-1-lts) device-ID: 1002:1638
API: Vulkan v: 1.3.269 surfaces: xcb,xlib device: 0 type: discrete-gpu
driver: mesa radv device-ID: 1002:73df device: 1 type: integrated-gpu
driver: mesa radv device-ID: 1002:1638
Xorg.0.log.old-2023-11-29T15_35_24
Xorg.0.log.old-2023-11-29T15_35_24-dmesg.log
[ 943.215] (EE)
[ 943.215] (EE) Backtrace:
[ 943.215] (EE) 0: /usr/lib/Xorg (dri3_send_open_reply+0xdd) [0x5581fcc7540d]
[ 943.216] (EE) 1: /usr/lib/libc.so.6 (__sigaction+0x50) [0x7f63d8179710]
[ 943.216] (EE) 2: /usr/lib/libc.so.6 (__nss_database_lookup+0xc87) [0x7f63d82933b7]
[ 943.225] (EE) 3: /usr/lib/dri/radeonsi_dri.so (__driDriverGetExtensions_d3d12+0x5b89a) [0x7f63d512635a]
[ 943.226] (EE) 4: /usr/lib/dri/radeonsi_dri.so (nouveau_drm_screen_create+0x27f76c) [0x7f63d5baa8bc]
[ 943.226] (EE) 5: /usr/lib/dri/radeonsi_dri.so (__driDriverGetExtensions_d3d12+0xca99e) [0x7f63d519545e]
[ 943.226] (EE) 6: /usr/lib/dri/radeonsi_dri.so (__driDriverGetExtensions_d3d12+0x86a8d) [0x7f63d515154d]
[ 943.226] (EE) 7: /usr/lib/dri/radeonsi_dri.so (__driDriverGetExtensions_d3d12+0x87f7d) [0x7f63d5152a3d]
[ 943.226] (EE) 8: /usr/lib/dri/radeonsi_dri.so (__driDriverGetExtensions_d3d12+0x8806c) [0x7f63d5152b2c]
[ 943.227] (EE) 9: /usr/lib/xorg/modules/libglamoregl.so (glamor_pixmap_exchange_fbos+0x3ff2) [0x7f63d728b822]
[ 943.227] (EE) 10: /usr/lib/xorg/modules/libglamoregl.so (glamor_finish+0x1baa) [0x7f63d727375a]
[ 943.227] (EE) 11: /usr/lib/xorg/modules/libglamoregl.so (glamor_finish+0x22dd) [0x7f63d7273e8d]
[ 943.227] (EE) 12: /usr/lib/Xorg (miCopyRegion+0x96) [0x5581fcb64566]
[ 943.227] (EE) 13: /usr/lib/Xorg (miDoCopy+0x4a6) [0x5581fcb67446]
[ 943.227] (EE) 14: /usr/lib/xorg/modules/libglamoregl.so (glamor_copy_window+0x1d8) [0x7f63d726c2b8]
[ 943.227] (EE) 15: /usr/lib/Xorg (RRXineramaExtensionInit+0x1917) [0x5581fcbe79b7]
[ 943.228] (EE) 16: /usr/lib/Xorg (ShmRegisterFbFuncs+0x6cd) [0x5581fcc044dd]
[ 943.228] (EE) 17: /usr/lib/Xorg (SProcXkbDispatch+0x28ab) [0x5581fcb58fae]
[ 943.228] (EE) 18: /usr/lib/libc.so.6 (__libc_init_first+0x90) [0x7f63d8162cd0]
[ 943.228] (EE) 19: /usr/lib/libc.so.6 (__libc_start_main+0x8a) [0x7f63d8162d8a]
[ 943.228] (EE) 20: /usr/lib/Xorg (_start+0x25) [0x5581fcb59565]
[ 943.228] (EE)
[ 943.228] (EE) Bus error at address 0x7f638349e6c0
[ 943.228] (EE)
Fatal server error:
[ 943.228] (EE) Caught signal 7 (Bus error). Server aborting
[ 943.228] (EE)
[ 943.228] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
/etc/X11/xorg.conf.d/20-amdgpu.conf
(this is the only xorg configuration file)
Section "Device"
Identifier "AMD iGPU"
BusID "PCI:8:0:0"
Driver "amdgpu"
Option "TearFree" "true"
Option "VariableRefresh" "true"
EndSection
Section "Device"
Identifier "AMD dGPU"
BusID "PCI:3:0:0"
EndSection