i915 12-gen GPU hang with MESA 23.0.4 + Linux 6.4.12 mainline
System information
System:
Host: spectre Kernel: 6.4.12-060412-generic arch: x86_64 bits: 64
compiler: N/A Desktop: GNOME v: 44.3 tk: GTK v: 3.24.37 wm: gnome-shell
dm: GDM3 Distro: Ubuntu 23.04 (Lunar Lobster)
CPU:
Info: 9-core model: 12th Gen Intel Core i7-1260P bits: 64 type: MCP
smt: disabled arch: Alder Lake rev: 3 cache: L1: 848 KiB L2: 5.2 MiB
L3: 18 MiB
Speed (MHz): avg: 2303 high: 2500 min/max: 400/4700:3400 cores: 1: 2500
2: 2500 3: 2500 4: 2500 5: 729 6: 2500 7: 2500 8: 2500 9: 2500
bogomips: 44928
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
Device-1: Intel Alder Lake-P Integrated Graphics vendor: Hewlett-Packard
driver: i915 v: kernel arch: Gen-12.2 ports: active: eDP-1 empty: DP-1,
DP-2, DP-3, DP-4, DP-5 bus-ID: 00:02.0 chip-ID: 8086:46a6
Device-2: Intel DG2 [Arc A370M] vendor: Hewlett-Packard driver: vfio-pci
v: N/A arch: Gen-12.7 pcie: speed: 2.5 GT/s lanes: 1 bus-ID: 03:00.0
chip-ID: 8086:5693
Display: wayland server: X.org v: 1.21.1.7 with: Xwayland v: 22.1.8
compositor: gnome-shell driver: X: loaded: N/A
unloaded: fbdev,modesetting,vesa gpu: i915 display-ID: 0
Monitor-1: eDP-1 model: Samsung 0x4174 res: 3840x2400 dpi: 284
diag: 406mm (16")
API: OpenGL v: 4.6 Mesa 23.0.4-0ubuntu1~23.04.1 renderer: Mesa Intel
Graphics (ADL GT2) direct-render: Yes
Describe the issue
When opening a SketchUp model (example) in Firefox or Chromium, after ~5 seconds, the SketchUp logo freezes for ~4 seconds, and we see a blank page. The logs show the GPU hang and browser rendering context failed to initialise.
This has 100% reproducibility on my 12-gen GPU.
Regression
On this system with Ubuntu 23.04, I have always seen a GPU hang with the stock Ubuntu kernel or mainline.
Log files as attachment
- the output of 'dmesg' is at https://quora.org/OJnlVgn4xZ/dmesg.txt
- the output of 'dmesg' with kernel boot args 'drm.debug=0x1e log_buf_len=16M' is at https://quora.org/OJnlVgn4xZ/dmesg-debug.txt
- the output of /sys/class/drm/card0/error is at https://quora.org/OJnlVgn4xZ/i915-error.txt
Let me know for any further information and thanks! - Dan
Edited by Daniel J Blueman