radeon: mesa 24+ causes Xorg to crash immediately
System information
Please post inxi -GSC -xx
output
This one is from working Mesa 23.3.2:
System:
Host: darkstar.home.arpa Kernel: 6.6.10 arch: x86_64 bits: 64 compiler: gcc
v: 2.41-slack151 Desktop: MATE v: 1.26.1 wm: marco dm: XDM
Distro: Slackware 15.0
CPU:
Info: dual core model: AMD C-50 bits: 64 type: MCP arch: Bobcat rev: 0
cache: L1: 128 KiB L2: 1024 KiB
Speed (MHz): avg: 800 min/max: 800/1000 boost: disabled cores: 1: 800
2: 800 bogomips: 3989
Flags: ht lm nx pae sse sse2 sse3 sse4a ssse3 svm
Graphics:
Device-1: AMD Wrestler [Radeon HD 6250] vendor: Acer Incorporated ALI
driver: radeon v: kernel arch: TeraScale-2 ports: active: LVDS-1
empty: HDMI-A-1,VGA-1 bus-ID: 00:01.0 chip-ID: 1002:9804
Device-2: ALi WebCam driver: uvcvideo type: USB rev: 2.0 speed: 480 Mb/s
lanes: 1 bus-ID: 1-1:2 chip-ID: 0402:7675
Display: x11 server: X.Org v: 21.1.10 with: Xwayland v: 23.2.3
compositor: marco v: 1.26.2 driver: X: loaded: radeon
unloaded: modesetting,vesa alternate: fbdev dri: r600 gpu: radeon
display-ID: :0 screens: 1
Screen-1: 0 s-res: 1024x600 s-dpi: 96
Monitor-1: LVDS-1 mapped: LVDS model: AU Optronics 0x61d2 res: 1024x600
dpi: 117 diag: 255mm (10")
API: EGL v: 1.5 platforms: device: 0 drv: r600 device: 1 drv: swrast gbm:
drv: r600 surfaceless: drv: r600 x11: drv: r600 inactive: wayland
API: OpenGL v: 4.5 vendor: mesa v: 23.3.2 glx-v: 1.4 es-v: 3.1
direct-render: yes renderer: AMD PALM (DRM 2.50.0 / 6.6.10 LLVM 17.0.6)
device-ID: 1002:9804
API: Vulkan Message: No Vulkan data available.
This one is from Mesa 24.0.5
System:
Host: bw.at.home Kernel: 6.6.28 arch: x86_64 bits: 64 compiler: gcc v: 2.42-slack151
Console: tty 1 DM: SDDM Distro: Slackware 15.0
CPU:
Info: dual core model: AMD C-50 bits: 64 type: MCP arch: Bobcat rev: 0 cache: L1: 128 KiB
L2: 1024 KiB
Speed (MHz): avg: 800 min/max: 800/1000 boost: disabled cores: 1: 800 2: 800 bogomips: 3990
Flags: ht lm nx pae sse sse2 sse3 sse4a ssse3 svm
Graphics:
Device-1: AMD Wrestler [Radeon HD 6250] vendor: Acer Incorporated ALI driver: radeon v: kernel
arch: TeraScale-2 ports: active: LVDS-1 empty: HDMI-A-1,VGA-1 bus-ID: 00:01.0 chip-ID: 1002:9804
Device-2: ALi WebCam driver: uvcvideo type: USB rev: 2.0 speed: 480 Mb/s lanes: 1
bus-ID: 2-1:2 chip-ID: 0402:7675
Display: server: X.org v: 1.21.1.13 with: Xwayland v: 23.2.6 driver: X:
loaded: modesetting,radeon,vesa alternate: fbdev gpu: radeon tty: 128x37
Monitor-1: LVDS-1 model: AU Optronics 0x61d2 res: 1024x600 dpi: 117 diag: 255mm (10")
API: EGL Message: No EGL data available.
API: OpenGL Message: GL data unavailable in console for root.
API: Vulkan Message: No Vulkan data available.
- Mesa version: 24.0.5 -- Slackware package installed version
Describe the issue
After upgrading from mesa 23 to mesa 24 I cannot start X server at all. The Xorg.0.log, backtrace is below
Regression
I cannot give an exact point when this issue may started since I've upgraded directly as follows:
Worked -> Not working
kernel 6.1.66 -> kernel 6.6.28
mesa 23.3.0 -> mesa 24.0.5
llvm 17.0.6 -> llvm 18.1.4
However you can find a log from Slackware-current with Mesa 23.3.2 above - that one worked 100%.
Log files as attachment
dmesg
log contain no errors at all
Xorg.0.log
after system boot contains the following backtrace:
[ 77.740] (==) RADEON(0): Depth 24, (--) framebuffer bpp 32
[ 77.740] (II) RADEON(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps)
[ 77.740] (==) RADEON(0): Default visual is TrueColor
[ 77.740] (==) RADEON(0): RGB weight 888
[ 77.740] (II) RADEON(0): Using 8 bits per RGB (8 bit DAC)
[ 77.740] (--) RADEON(0): Chipset: "AMD Radeon HD 6250 Graphics" (ChipID = 0x9804)
[ 77.740] (II) Loading sub module "fb"
[ 77.740] (II) LoadModule: "fb"
[ 77.740] (II) Module "fb" already built-in
[ 77.741] (II) Loading sub module "dri2"
[ 77.741] (II) LoadModule: "dri2"
[ 77.741] (II) Module "dri2" already built-in
[ 77.864] (EE)
[ 77.864] (EE) Backtrace:
[ 77.865] (EE) 0: /usr/libexec/Xorg (OsLookupColor+0x149) [0x5a2ce9]
[ 77.867] (EE) 1: /lib64/libc.so.6 (__sigaction+0x40) [0x7f4445a42eb0]
[ 77.871] (EE) 2: /usr/lib64/libLLVM.so.18.1 (_ZN4llvm7hashing6detail23hash_combine_range_implIKcEENSt9enable_ifIXsr16is_hashable_dataIT_EE5valueENS_9hash_codeEE4typeEPS5_S9_+0xd9) [0x7f44400fdc29]
[ 77.875] (EE) 3: /usr/lib64/libLLVM.so.18.1 (_ZSt9__find_ifIPN4llvm9StringRefEN9__gnu_cxx5__ops16_Iter_equals_valIKS1_EEET_S8_S8_T0_St26random_access_iterator_tag+0x230) [0x7f44400e3400]
[ 77.879] (EE) 4: /usr/lib64/libLLVM.so.18.1 (_ZN4llvm3orc18createDWARFContextERNS_7jitlink9LinkGraphE+0x10e3) [0x7f4441f22293]
[ 77.881] (EE) 5: /lib64/ld-linux-x86-64.so.2 (call_init.part.0+0x9e) [0x7f4445fa844e]
[ 77.882] (EE) 6: /lib64/ld-linux-x86-64.so.2 (_dl_init+0x9b) [0x7f4445fa853b]
[ 77.884] (EE) 7: /lib64/ld-linux-x86-64.so.2 (_dl_catch_exception+0x102) [0x7f4445fa4512]
[ 77.885] (EE) 8: /lib64/ld-linux-x86-64.so.2 (dl_open_worker+0x8e) [0x7f4445faf54e]
[ 77.887] (EE) 9: /lib64/ld-linux-x86-64.so.2 (_dl_catch_exception+0x75) [0x7f4445fa4485]
[ 77.889] (EE) 10: /lib64/ld-linux-x86-64.so.2 (_dl_open+0xa8) [0x7f4445faf8a8]
[ 77.890] (EE) 11: /lib64/libc.so.6 (dlopen_doit+0x58) [0x7f4445a90af8]
[ 77.892] (EE) 12: /lib64/ld-linux-x86-64.so.2 (_dl_catch_exception+0x75) [0x7f4445fa4485]
[ 77.894] (EE) 13: /lib64/ld-linux-x86-64.so.2 (_dl_catch_error+0x1f) [0x7f4445fa45af]
[ 77.896] (EE) 14: /lib64/libc.so.6 (_dlerror_run+0x97) [0x7f4445a90687]
[ 77.898] (EE) 15: /lib64/libc.so.6 (dlopen+0x51) [0x7f4445a90b91]
[ 77.899] (EE) 16: /usr/lib64/libgbm.so.1 (gbm_format_get_name+0x21aa) [0x7f444517917a]
[ 77.899] (EE) 17: /usr/lib64/libgbm.so.1 (gbm_format_get_name+0x2349) [0x7f4445179319]
[ 77.900] (EE) 18: /usr/lib64/libgbm.so.1 (gbm_format_get_name+0xf74) [0x7f4445177f44]
[ 77.901] (EE) 19: /usr/lib64/libgbm.so.1 (gbm_format_get_name+0x1398) [0x7f4445178368]
[ 77.902] (EE) unw_get_proc_name failed: no unwind info found [-10]
[ 77.902] (EE) 20: /usr/lib64/libgbm.so.1 (?+0x0) [0x7f444517678c]
[ 77.903] (EE) 21: /usr/lib64/libgbm.so.1 (gbm_create_device+0x31) [0x7f44451768b1]
[ 77.904] (EE) unw_get_proc_name failed: no unwind info found [-10]
[ 77.904] (EE) 22: /usr/lib64/xorg/modules/drivers/radeon_drv.so (?+0x0) [0x7f44451e60c1]
[ 77.904] (EE) unw_get_proc_name failed: no unwind info found [-10]
[ 77.905] (EE) 23: /usr/lib64/xorg/modules/drivers/radeon_drv.so (?+0x0) [0x7f44451d8663]
[ 77.905] (EE) 24: /usr/libexec/Xorg (InitOutput+0x92a) [0x48386a]
[ 77.906] (EE) 25: /usr/libexec/Xorg (InitFonts+0x1be) [0x446c6e]
[ 77.908] (EE) 26: /lib64/libc.so.6 (__libc_start_call_main+0x67) [0x7f4445a29b77]
[ 77.910] (EE) 27: /lib64/libc.so.6 (__libc_start_main+0x85) [0x7f4445a29c35]
[ 77.911] (EE) 28: /usr/libexec/Xorg (_start+0x21) [0x431121]
[ 77.911] (EE)
[ 77.911] (EE) Segmentation fault at address 0x15
[ 77.911] (EE)
Fatal server error:
[ 77.911] (EE) Caught signal 11 (Segmentation fault). Server aborting
This is part of Xorg.0.log from system with Mesa 23.3.2 (see inxi log above) hope this can help too:
[ 96.793] (II) Loading sub module "fb"
[ 96.793] (II) LoadModule: "fb"
[ 96.793] (II) Module "fb" already built-in
[ 96.793] (II) Loading sub module "dri2"
[ 96.793] (II) LoadModule: "dri2"
[ 96.793] (II) Module "dri2" already built-in
[ 107.840] (II) Loading sub module "glamoregl" <========= here the differences begin
[ 107.840] (II) LoadModule: "glamoregl"
[ 107.842] (II) Loading /usr/lib64/xorg/modules/libglamoregl.so
[ 108.005] (II) Module glamoregl: vendor="X.Org Foundation"
[ 108.005] compiled for 1.21.1.10, module version = 1.0.1
[ 108.006] ABI class: X.Org ANSI C Emulation, version 0.4
[ 108.261] (II) RADEON(0): glamor X acceleration enabled on AMD PALM (DRM 2.50.0 / 6.6.10, LLVM 17.0.6)
[ 108.261] (II) RADEON(0): glamor detected, initialising EGL layer.
[ 108.261] (II) RADEON(0): KMS Color Tiling: enabled
[ 108.261] (II) RADEON(0): KMS Color Tiling 2D: enabled
[ 108.261] (==) RADEON(0): TearFree property default: auto
Any extra information would be greatly appreciated
X server doesn't "start" at all even with xinit /usr/bin/xterm
.
For me this looks very similar to this one, so I decided to open this here.
Edited by An Ti