Mesa crashes when using GNOME with GDM and Wayland with an EVDI Displaylink device
inxi -GSC -xx
output:
System:
Host: 48HVWD3 Kernel: 6.9.3-arch1-1 arch: x86_64 bits: 64 compiler: gcc
v: 14.1.1
Desktop: GNOME v: 46.2 tk: GTK v: 3.24.42 wm: gnome-shell dm: GDM
Distro: Arch Linux
CPU:
Info: 8-core model: 11th Gen Intel Core i9-11950H bits: 64 type: MT MCP
arch: Tiger Lake rev: 1 cache: L1: 640 KiB L2: 10 MiB L3: 24 MiB
Speed (MHz): avg: 1636 high: 5000 min/max: 800/5000 cores: 1: 5000 2: 800
3: 800 4: 800 5: 4089 6: 1727 7: 800 8: 949 9: 800 10: 800 11: 800 12: 874
13: 5000 14: 1074 15: 800 16: 1077 bogomips: 83584
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
Device-1: Intel TigerLake-H GT1 [UHD Graphics] vendor: Dell driver: i915
v: kernel arch: Gen-12.1 ports: active: eDP-1 empty: DP-1, DP-2, DP-3,
HDMI-A-1, HDMI-A-2 bus-ID: 0000:00:02.0 chip-ID: 8086:9a60
Device-2: Microdia Integrated_Webcam_HD driver: uvcvideo type: USB
rev: 2.0 speed: 480 Mb/s lanes: 1 bus-ID: 3-3:2 chip-ID: 0c45:6720
Display: wayland server: X.org v: 1.21.1.13 with: Xwayland v: 24.1.0
compositor: gnome-shell driver: X: loaded: modesetting
alternate: fbdev,intel,vesa dri: iris gpu: evdi,i915 display-ID: 0
Monitor-1: DVI-I-1 model: Lenovo LEN T24d-10 res: 1920x1200 dpi: 94
diag: 611mm (24.1")
Monitor-2: DVI-I-2 model: Lenovo LEN T24d-10 res: 1920x1200 dpi: 94
diag: 611mm (24.1")
Monitor-3: eDP-1 model: BOE Display 0x097d res: 1920x1080 dpi: 142
diag: 395mm (15.5")
API: EGL v: 1.5 platforms: device: 0 drv: iris device: 1 drv: swrast gbm:
drv: kms_swrast surfaceless: drv: iris wayland: drv: iris x11: drv: iris
API: OpenGL v: 4.6 compat-v: 4.5 vendor: intel mesa v: 24.0.8-arch1.1
glx-v: 1.4 direct-render: yes renderer: Mesa Intel UHD Graphics (TGL GT1)
device-ID: 8086:9a60 display-ID: :0.0
Note: this inxi
output was taken with mesa version 24.0.8, which is the last version which works for me. Please let me know if you also need a dump with mesa version 24.1.0, but keep in mind that will be with X instead of Wayland.
Issue: Mesa crashes when using GNOME with GDM and Wayland with an EVDI Displaylink device
This issue was originally created at evdi: https://github.com/DisplayLink/evdi/issues/470
Then also created at gnome-shell: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7697
And we have now established that it could be a mesa issue.
When using mesa Arch linux package 1:24.1.0-1
, mesa crashes when logging in to GDM with a Wayland session. GDM falls back to an X session, which then afterwards works fine. Note, for this you need to have a Displaylink device connected via USB3, and all relevant software installed (Displaylink device and EVDI kernel module). With mesa Arch package 1:24.0.8-1
this does not happen, so downgrading the package is a workaround for now.
Steps to reproduce:
1. Start the laptop
2. Wait until GDM is presented - At this point GDM shows the GNOME and GNOME + XOrg options
3. Login using normal GNOME (This is the Wayland one)
4. Check currently running Windowing system - Wayland is shown in the about app
5. Connect a displaylink device
6. The screen flashes and im returned to the login screen - At this point only the GNOME options is available (this is the X11 one)
7. Login and open about app
8. About app shows X11 as Windowing System confirming the issue
While troubleshooting with the gnome-shell devs, the following stacktrace with debug symbols installed for gnome-shell, mutter, and mesa has been taken. Please keep an eye on the gnome-shell issue too since they are also investigating.