Bug ID 1213614
Summary Mesa-dri: Segmentation fault in freedreno [msi-dri.so] while running on Lenovo x13s laptop
Classification openSUSE
Product openSUSE Tumbleweed
Version Current
Hardware aarch64
OS openSUSE Tumbleweed
Status NEW
Severity Minor
Priority P5 - None
Component X.Org
Assignee gfx-bugs@suse.de
Reporter chester.lin@suse.com
QA Contact gfx-bugs@suse.de
CC afaerber@suse.com, andrea.porta@suse.com, ivan.ivanov@suse.com, mbenes@suse.com, mbrugger@suse.com, sndirsch@suse.com, stanimir.varbanov@suse.com
Target Milestone ---
Found By ---
Blocker ---

Created attachment 868409 [details]
Lenovox13s-logs

The Mesa-dri-23.1.3-353.1 package from Factory cannot run on Lenovo x13s [An
aarch64-laptop. CPU: Qualcomm 8cx Gen3, GPU: Qualcomm Adreno 690], a
segmentation fault always occurs when gdm tries to run Xorg.bin. The same
symptom can be seen as well when trying to run Xwayland.

The Mesa-dri was installed on my experimental JeOS built on OBS since x13s is
not supported by openSUSE tumbleweed yet:

https://build.opensuse.org/project/show/home:clin:branches:X13S

This test kernel is based on upstream v6.4-final + some reviewing patches for
x13s in upstream, and a GPU firmware "a690_gmu.bin" required by the Adreno
kernel driver [adreno_device.c] is still missing from linux-firmware upstream
although it should not crash GNOME initialization since the
linaro-customized-debian for x13s can still work without loading GPU firmware
blobs successfully.

The attached log files include some basic logs [dmesg, journal, installed Mesa
package list ] and a supportconfig tgz I collected from the laptop.

gdm error log
=============
Jul 24 11:11:58 localhost.localdomain /usr/libexec/gdm/gdm-x-session[1119]:
MESA: error: get_param:232: get-param failed! -6 (No such device or address)
Jul 24 11:11:58 localhost.localdomain /usr/libexec/gdm/gdm-x-session[1119]:
MESA: error: get_param:232: get-param failed! -6 (No such device or address)
Jul 24 11:11:58 localhost.localdomain /usr/libexec/gdm/gdm-x-session[1119]:
MESA: error: get_param:232: get-param failed! -6 (No such device or address)
Jul 24 11:11:58 localhost.localdomain /usr/libexec/gdm/gdm-x-session[1119]:
MESA: error: get_param:232: get-param failed! -6 (No such device or address)
Jul 24 11:11:58 localhost.localdomain /usr/libexec/gdm/gdm-x-session[1119]:
MESA: error: fd_pipe_new2:52: allocation failed
Jul 24 11:11:58 localhost.localdomain /usr/libexec/gdm/gdm-x-session[1119]:
(EE)
Jul 24 11:11:58 localhost.localdomain /usr/libexec/gdm/gdm-x-session[1119]:
(EE) Backtrace:
Jul 24 11:11:58 localhost.localdomain /usr/libexec/gdm/gdm-x-session[1119]:
(EE) 0: /usr/bin/Xorg.bin (xorg_backtrace+0x68) [0xaaaac5def608]
Jul 24 11:11:58 localhost.localdomain /usr/libexec/gdm/gdm-x-session[1119]:
(EE) 1: /usr/bin/Xorg.bin (0xaaaac5c20000+0x1d8954) [0xaaaac5df8954]
Jul 24 11:11:58 localhost.localdomain /usr/libexec/gdm/gdm-x-session[1119]:
(EE) 2: linux-vdso.so.1 (__kernel_rt_sigreturn+0x0) [0xffffb29ae7a0]
Jul 24 11:11:58 localhost.localdomain /usr/libexec/gdm/gdm-x-session[1119]:
(EE) 3: /usr/lib64/dri/msm_dri.so (0xffffaf760000+0x94fb7c) [0xffffb00afb7c]
Jul 24 11:11:58 localhost.localdomain /usr/libexec/gdm/gdm-x-session[1119]:
(EE) 4: /usr/lib64/dri/msm_dri.so (0xffffaf760000+0xab6ae4) [0xffffb0216ae4]
Jul 24 11:11:58 localhost.localdomain /usr/libexec/gdm/gdm-x-session[1119]:
(EE) 5: /usr/lib64/dri/msm_dri.so (0xffffaf760000+0xecd0c) [0xffffaf84cd0c]
Jul 24 11:11:58 localhost.localdomain /usr/libexec/gdm/gdm-x-session[1119]:
(EE) 6: /usr/lib64/dri/msm_dri.so (0xffffaf760000+0x66fe08) [0xffffafdcfe08]
Jul 24 11:11:58 localhost.localdomain /usr/libexec/gdm/gdm-x-session[1119]:
(EE) 7: /usr/lib64/dri/msm_dri.so (0xffffaf760000+0xf4bf0) [0xffffaf854bf0]
Jul 24 11:11:58 localhost.localdomain /usr/libexec/gdm/gdm-x-session[1119]:
(EE) 8: /usr/lib64/dri/msm_dri.so (0xffffaf760000+0xe3470) [0xffffaf843470]
Jul 24 11:11:58 localhost.localdomain /usr/libexec/gdm/gdm-x-session[1119]:
(EE) 9: /lib64/libgbm.so.1 (0xffffb12a0000+0xe79c) [0xffffb12ae79c]
Jul 24 11:11:58 localhost.localdomain /usr/libexec/gdm/gdm-x-session[1119]:
(EE) 10: /lib64/libgbm.so.1 (0xffffb12a0000+0x109dc) [0xffffb12b09dc]
Jul 24 11:11:58 localhost.localdomain /usr/libexec/gdm/gdm-x-session[1119]:
(EE) 11: /lib64/libgbm.so.1 (0xffffb12a0000+0xe4c0) [0xffffb12ae4c0]
Jul 24 11:11:58 localhost.localdomain /usr/libexec/gdm/gdm-x-session[1119]:
(EE) 12: /lib64/libgbm.so.1 (gbm_create_device+0x130) [0xffffb12ae624]
Jul 24 11:11:58 localhost.localdomain /usr/libexec/gdm/gdm-x-session[1119]:
(EE) 13: /usr/lib64/xorg/modules/libglamoregl.so (glamor_egl_init+0x1d4)
[0xffffb12e9078]
Jul 24 11:11:58 localhost.localdomain /usr/libexec/gdm/gdm-x-session[1119]:
(EE) 14: /usr/lib64/xorg/modules/drivers/modesetting_drv.so
(0xffffb13a0000+0xfc3c) [0xffffb13afc3c]
Jul 24 11:11:58 localhost.localdomain /usr/libexec/gdm/gdm-x-session[1119]:
(EE) 15: /usr/bin/Xorg.bin (InitOutput+0x1084) [0xaaaac5ccbaf4]
Jul 24 11:11:58 localhost.localdomain /usr/libexec/gdm/gdm-x-session[1119]:
(EE) 16: /usr/bin/Xorg.bin (0xaaaac5c20000+0x4f558) [0xaaaac5c6f558]
Jul 24 11:11:58 localhost.localdomain /usr/libexec/gdm/gdm-x-session[1119]:
(EE) 17: /lib64/libc.so.6 (0xffffb1ed0000+0x2abc8) [0xffffb1efabc8]
Jul 24 11:11:58 localhost.localdomain /usr/libexec/gdm/gdm-x-session[1119]:
(EE) 18: /lib64/libc.so.6 (__libc_start_main+0x9c) [0xffffb1efaca0]
Jul 24 11:11:58 localhost.localdomain /usr/libexec/gdm/gdm-x-session[1119]:
(EE) 19: /usr/bin/Xorg.bin (_start+0x30) [0xaaaac5c701f0]
Jul 24 11:11:58 localhost.localdomain /usr/libexec/gdm/gdm-x-session[1119]:
(EE)
Jul 24 11:11:58 localhost.localdomain /usr/libexec/gdm/gdm-x-session[1119]:
(EE) Segmentation fault at address 0x10
Jul 24 11:11:58 localhost.localdomain /usr/libexec/gdm/gdm-x-session[1119]:
(EE)
Jul 24 11:11:58 localhost.localdomain /usr/libexec/gdm/gdm-x-session[1119]:
Fatal server error:
Jul 24 11:11:58 localhost.localdomain /usr/libexec/gdm/gdm-x-session[1119]:
(EE) Caught signal 11 (Segmentation fault). Server aborting
Jul 24 11:11:58 localhost.localdomain /usr/libexec/gdm/gdm-x-session[1119]:
(EE)
Jul 24 11:11:58 localhost.localdomain /usr/libexec/gdm/gdm-x-session[1119]:
(EE)


You are receiving this mail because: