Unity Editor 2019.4.30f1 fails to open after updating to Mesa 1:23.1.6-1
System information
System: Host: archlinux Kernel: 6.4.12-arch1-1 arch: x86_64 bits: 64 compiler: gcc v: 13.2.1 Desktop: Openbox v: 3.6.1 dm: LightDM Distro: Arch Linux
CPU: Info: 8-core model: AMD Ryzen 7 7800X3D bits: 64 type: MT MCP arch: Zen 4 rev: 2 cache: L1: 512 KiB L2: 8 MiB L3: 96 MiB Speed (MHz): avg: 3097 high: 3603 min/max: 3000/5049 boost: enabled cores: 1: 3523 2: 3000 3: 2870 4: 2855 5: 3000 6: 3000 7: 3000 8: 3603 9: 3000 10: 2815 11: 2852 12: 3000 13: 3000 14: 3591 15: 2867 16: 3590 bogomips: 134211 Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics: Device-1: AMD Navi 31 [Radeon RX 7900 XT/7900 XTX] vendor: ASUSTeK driver: amdgpu v: kernel arch: RDNA-3 pcie: speed: 16 GT/s lanes: 16 ports: active: DP-1 empty: DP-2,DP-3,HDMI-A-1 bus-ID: 03:00.0 chip-ID: 1002:744c Device-2: AMD Raphael vendor: Gigabyte driver: amdgpu v: kernel arch: RDNA-2 pcie: speed: 16 GT/s lanes: 16 ports: active: none empty: DP-4, DP-5, DP-6, HDMI-A-2 bus-ID: 12:00.0 chip-ID: 1002:164e temp: 39.0 C Display: x11 server: X.org v: 1.21.1.8 compositor: Picom v: git-b700a driver: X: loaded: amdgpu unloaded: modesetting,radeon alternate: fbdev,vesa dri: radeonsi gpu: amdgpu display-ID: :0 screens: 1 Screen-1: 0 s-res: 2560x1440 Monitor-1: DP-1 mapped: DisplayPort-0 model: ASUS PG329 res: 2560x1440 dpi: 92 diag: 813mm (32") API: OpenGL v: 4.6 Mesa 23.3.0-devel (git-7cf13ea5) renderer: AMD Radeon RX 7900 XT (gfx1100 LLVM 16.0.6 DRM 3.52 6.4.12-arch1-1) direct-render: Yes
Describe the issue
The unity editor consistently crashes on startup, seemingly failing to find certain graphics configuration data.
Reproduction steps:
Install unityhub
open unityhub and download editor 2019.4.30f1
create a project and load it with the specified editor
After a couple of seconds the editor loading window will vanish
Regression:
The unity editor works correctly on Mesa 1:23.1.5-1, and is still broken on latest git.
Log files:
Dmesg output:
[ 438.666958] Unity[3411]: segfault at 39 ip 00007f72a68d5e20 sp 00007ffd88e652e8 error 6 in libcef.so[7f72a6200000+3f1f000] likely on CPU 8 (core 0, socket 0)
[ 438.666966] Code: 48 c7 43 18 00 00 00 00 74 10 4c 89 e7 e8 58 95 a1 02 4c 89 e7 e8 e0 42 f0 ff 48 89 6b 18 5b 5d 41 5c c3 e8 c2 44 f0 ff 66 90 04 25 39 00 00 00 21 c3 0f 1f 80 00 00 00 00 48 8b 47 20 48 85
Unity log files when broken
[Subsystems] Discovering subsystems at path /home/{path-censored}/Assets
../../third_party/tcmalloc/chromium/src/tcmalloc.cc:289] Attempt to free invalid pointer 0x556b2787d570
Unity log files when mesa rolled back and application working
[Subsystems] Discovering subsystems at path /home/dragonrider/{path-censored}/Assets
GLX Extensions: GLX_ARB_context_flush_control GLX_ARB_create_context GLX_ARB_create_context_no_error GLX_ARB_create_context_profile GLX_ARB_create_context_robustness GLX_ARB_fbconfig_float GLX_ARB_framebuffer_sRGB GLX_ARB_get_proc_address GLX_ARB_multisample GLX_EXT_create_context_es2_profile GLX_EXT_create_context_es_profile GLX_EXT_fbconfig_packed_float GLX_EXT_framebuffer_sRGB GLX_EXT_no_config_context GLX_EXT_texture_from_pixmap GLX_EXT_visual_info GLX_EXT_visual_rating GLX_INTEL_swap_event GLX_MESA_copy_sub_buffer GLX_OML_swap_method GLX_SGIS_multisample GLX_SGIX_fbconfig GLX_SGIX_pbuffer GLX_SGIX_visual_select_group GLX_SGI_make_current_read GLX_SGI_swap_control
GLX Extensions: GLX_ARB_context_flush_control GLX_ARB_create_context GLX_ARB_create_context_no_error GLX_ARB_create_context_profile GLX_ARB_create_context_robustness GLX_ARB_fbconfig_float GLX_ARB_framebuffer_sRGB GLX_ARB_get_proc_address GLX_ARB_multisample GLX_EXT_create_context_es2_profile GLX_EXT_create_context_es_profile GLX_EXT_fbconfig_packed_float GLX_EXT_framebuffer_sRGB GLX_EXT_no_config_context GLX_EXT_texture_from_pixmap GLX_EXT_visual_info GLX_EXT_visual_rating GLX_INTEL_swap_event GLX_MESA_copy_sub_buffer GLX_OML_swap_method GLX_SGIS_multisample GLX_SGIX_fbconfig GLX_SGIX_pbuffer GLX_SGIX_visual_select_group GLX_SGI_make_current_read GLX_SGI_swap_control GfxDevice: creating device client; threaded=1
Please let me know if you need me to provide more information.