Intel i915 Crash on Manjaro i3 / XPS 9300

Hey there,

I'm trying to install Manjaro i3 (tried the official builds with GNOME and XFCE as well to make sure its no i3-build-related issue) on my DELL XPS 9300 (Running an i7-1065G7 CPU with Intel OnBoard Graphics).

During live boot and after installation I'm experiencing heavy issues with the graphics. After booting, but before showing the login mask the screen remains black and sometimes even a kernel panic occurs (blinking caps lock dot). The error seems to be tied to the i915 graphics drivers and I've read several threads about this family of issues and tried several solutions that were offered e.g. kernel downgrade to 5.4 and even to 4.9 LTS.

GPU Error Log

[manjaro@manjaro-i3 ~]$ sudo !!
sudo cat /sys/class/drm/card0/error
GPU HANG: ecode 11:0:00000000
Kernel: 5.6.11-1-MANJARO x86_64
Driver: 20200114
Time: 1590449235 s 276439 us
Boottime: 37 s 479857 us
Uptime: 31 s 51619 us
Capture: 4294888512 jiffies; 21790 ms ago
Reset count: 0
Suspend count: 0
Platform: ICELAKE
Subplatform: 0x1
PCI ID: 0x8a52
PCI Revision: 0x07
PCI Subsystem: 1028:096d
IOMMU enabled?: 0
DMC loaded: yes
DMC fw version: 1.9
RPM wakelock: yes
PM suspended: no
GT awake: yes
EIR: 0x00000000
IER: 0x00080000
GTIER[0]: 0x01010101
GTIER[1]: 0x01010101
GTIER[2]: 0x00000000
GTIER[3]: 0x00700000
GTIER[4]: 0x00000000
GTIER[5]: 0x00000000
PGTBL_ER: 0x00000000
FORCEWAKE: 0xffff0001
DERRMR: 0xffffffff
  fence[0] = 8ce7077069c0001
  fence[1] = 46e7077023c0001
  fence[2] = b00f07708ce8001
  fence[3] = d3370770b010001
  fence[4] = 00000000
  fence[5] = 00000000
  fence[6] = 00000000
  fence[7] = 00000000
  fence[8] = 00000000
  fence[9] = 00000000
  fence[10] = 00000000
  fence[11] = 00000000
  fence[12] = 00000000
  fence[13] = 00000000
  fence[14] = 00000000
  fence[15] = 00000000
  fence[16] = 00000000
  fence[17] = 00000000
  fence[18] = 00000000
  fence[19] = 00000000
  fence[20] = 00000000
  fence[21] = 00000000
  fence[22] = 00000000
  fence[23] = 00000000
  fence[24] = 00000000
  fence[25] = 00000000
  fence[26] = 00000000
  fence[27] = 00000000
  fence[28] = 00000000
  fence[29] = 00000000
  fence[30] = 00000000
  fence[31] = 00000000
ERROR: 0x00000000
DONE_REG: 0x07ffffff
FAULT_TLB_DATA: 0x000001fc 0xdbf5d1ff
GTT_CACHE_EN: 0x00000000
GuC firmware: 
	status: DISABLED
	version: wanted 33.0, found 0.0
	uCode: 0 bytes
	RSA: 0 bytes
HuC firmware: (null)
	status: N/A
	version: wanted 0.0, found 0.0
	uCode: 0 bytes
	RSA: 0 bytes
Num Pipes: 3
Pipe [0]:
  Power: on
  SRC: 0eff095f
  STAT: 00000000
Plane [0]:
  CNTR: 84000400
  STRIDE: 0000001e
  SURF: 023c0000
  TILEOFF: 00000000
Cursor [0]:
  CNTR: 00000027
  POS: 04ac077c
  BASE: 02380000
Pipe [1]:
  Power: off
  SRC: 00000000
  STAT: 00000000
Plane [1]:
  CNTR: 00000000
  STRIDE: 00000000
  SURF: 00000000
  TILEOFF: 00000000
Cursor [1]:
  CNTR: 00000000
  POS: 00000000
  BASE: 00000000
Pipe [2]:
  Power: off
  SRC: 00000000
  STAT: 00000000
Plane [2]:
  CNTR: 00000000
  STRIDE: 00000000
  SURF: 00000000
  TILEOFF: 00000000
Cursor [2]:
  CNTR: 00000000
  POS: 00000000
  BASE: 00000000
CPU transcoder: A
  Power: off
  CONF: 00000000
  HTOTAL: 00000000
  HBLANK: 00000000
  HSYNC: 00000000
  VTOTAL: 00000000
  VBLANK: 00000000
  VSYNC: 00000000
CPU transcoder: A
  Power: off
  CONF: 00000000
  HTOTAL: 00000000
  HBLANK: 00000000
  HSYNC: 00000000
  VTOTAL: 00000000
  VBLANK: 00000000
  VSYNC: 00000000
CPU transcoder: A
  Power: off
  CONF: 00000000
  HTOTAL: 00000000
  HBLANK: 00000000
  HSYNC: 00000000
  VTOTAL: 00000000
  VBLANK: 00000000
  VSYNC: 00000000
CPU transcoder: EDP
  Power: on
  CONF: c0000024
  HTOTAL: 0f9f0eff
  HBLANK: 0f9f0eff
  HSYNC: 0f4f0f2f
  VTOTAL: 09a4095f
  VBLANK: 09a4095f
  VSYNC: 09680962
engines: 57
gen: 11
gt: 0
iommu: disabled
memory-regions: 5
page-sizes: 211000
platform: ICELAKE
ppgtt-size: 48
ppgtt-type: 2
is_mobile: no
is_lp: no
require_force_probe: no
is_dgfx: no
has_64bit_reloc: yes
gpu_reset_clobbers_display: no
has_reset_engine: yes
has_fpga_dbg: yes
has_global_mocs: no
has_gt_uc: yes
has_l3_dpf: no
has_llc: yes
has_logical_ring_contexts: yes
has_logical_ring_elsq: yes
has_logical_ring_preemption: yes
has_pooled_eu: no
has_rc6: yes
has_rc6p: no
has_rps: yes
has_runtime_pm: yes
has_snoop: no
has_coherent_ggtt: no
unfenced_needs_alignment: no
hws_needs_physical: no
cursor_needs_physical: no
has_csr: yes
has_ddi: yes
has_dp_mst: yes
has_dsb: no
has_dsc: yes
has_fbc: yes
has_gmch: no
has_hdcp: yes
has_hotplug: yes
has_ipc: yes
has_modular_fia: no
has_overlay: no
has_psr: yes
overlay_needs_physical: no
supports_tv: no
slice total: 1, mask=0001
subslice total: 8
slice0: 8 subslices, mask=000000ff
EU total: 64
EU per subslice: 8
has slice power gating: yes
has subslice power gating: yes
has EU power gating: yes
CS timestamp frequency: 19200 kHz
slice0: 8 subslice(s) (0x000000ff):
	subslice0: 8 EUs (0xff)
	subslice1: 8 EUs (0xff)
	subslice2: 8 EUs (0xff)
	subslice3: 8 EUs (0xff)
	subslice4: 8 EUs (0xff)
	subslice5: 8 EUs (0xff)
	subslice6: 8 EUs (0xff)
	subslice7: 8 EUs (0xff)
Has logical contexts? yes
scheduler: 1f
i915.vbt_firmware=(null)
i915.modeset=1
i915.lvds_channel_mode=0
i915.panel_use_ssc=-1
i915.vbt_sdvo_panel_type=-1
i915.enable_dc=-1
i915.enable_fbc=1
i915.enable_psr=-1
i915.disable_power_well=1
i915.enable_ips=1
i915.invert_brightness=0
i915.enable_guc=0
i915.guc_log_level=-1
i915.guc_firmware_path=(null)
i915.huc_firmware_path=(null)
i915.dmc_firmware_path=(null)
i915.mmio_debug=0
i915.edp_vswing=0
i915.reset=3
i915.inject_probe_failure=0
i915.fastboot=-1
i915.enable_dpcd_backlight=0
i915.force_probe=*
i915.fake_lmem_start=0
i915.alpha_support=yes
i915.enable_hangcheck=yes
i915.prefault_disable=no
i915.load_detect_test=no
i915.force_reset_modeset_test=no
i915.error_capture=yes
i915.disable_display=no
i915.verbose_state_checks=yes
i915.nuclear_pageflip=no
i915.enable_dp_mst=yes
i915.enable_gvt=no

dmesg

1. (API version 7.31)
2. [   22.460026] *** VALIDATE fuseblk ***
3. [   22.460036] *** VALIDATE fuse ***
4. [   32.579800] Asynchronous wait on fence 0000:00:02.0:Xorg[1413]:a timed out (hint:intel_atomic_commit_ready+0x0/0x50 [i915])
5. [   37.487607] i915 0000:00:02.0: GPU HANG: ecode 11:0:00000000
6. [   37.487611] GPU hangs can indicate a bug anywhere in the entire gfx stack, including userspace.
7. [   37.487612] Please file a _new_ bug report at https://gitlab.freedesktop.org/drm/intel/issues/new.
8. [   37.487613] Please see https://gitlab.freedesktop.org/drm/intel/-/wikis/How-to-file-i915-bugs for details.
9. [   37.487614] drm/i915 developers can then reassign to the right component if it's not a kernel issue.
10. [   37.487615] The GPU crash dump is required to analyze GPU hangs, so please always attach it.
11. [   37.487617] GPU crash dump saved to /sys/class/drm/card0/error
12. [   37.591044] i915 0000:00:02.0: Resetting rcs0 for stopped heartbeat on rcs0
13. [   37.591835] [drm:gen8_reset_engines [i915]] *ERROR* rcs0 reset request timed out: {request: 00000001, RESET_CTL: 00000001}
14. [   37.591953] i915 0000:00:02.0: Resetting chip for stopped heartbeat on rcs0
15. [   37.694521] [drm:gen8_reset_engines [i915]] *ERROR* rcs0 reset request timed out: {request: 00000001, RESET_CTL: 00000001}
16. [   37.695294] [drm:gen8_reset_engines [i915]] *ERROR* rcs0 reset request timed out: {request: 00000001, RESET_CTL: 00000001}
17. [   42.556370] kauditd_printk_skb: 3 callbacks suppressed
18. [   42.556374] audit: type=1131 audit(1590449240.343:101): pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
19. [   42.643207] audit: type=1334 audit(1590449240.430:102): prog-id=10 op=UNLOAD
20. [   42.643221] audit: type=1334 audit(1590449240.430:103): prog-id=9 op=UNLOAD
21. [   44.127923] i915 0000:00:02.0: Resetting rcs0 for preemption time out
22. [   44.127953] i915 0000:00:02.0: Xorg[1413] context reset due to GPU hang
23. [   44.134949] i915 0000:00:02.0: GPU HANG: ecode 11:1:86dffffd, in Xorg [1413]
24. [   53.301259] i915 0000:00:02.0: Resetting rcs0 for preemption time out
25. [   53.301295] i915 0000:00:02.0: Xorg[1413] context reset due to GPU hang
26. [   53.309290] i915 0000:00:02.0: GPU HANG: ecode 11:1:86dffffd, in Xorg [1413]
27. [   59.274579] i915 0000:00:02.0: Resetting rcs0 for preemption time out
28. [   59.274614] i915 0000:00:02.0: Xorg[1413] context reset due to GPU hang
29. [   59.281863] i915 0000:00:02.0: GPU HANG: ecode 11:1:86d7fffd, in Xorg [1413]
30. [   59.574468] audit: type=1334 audit(1590449257.360:104): prog-id=12 op=LOAD
31. [   59.574598] audit: type=1334 audit(1590449257.360:105): prog-id=13 op=LOAD
32. [   59.628547] audit: type=1130 audit(1590449257.413:106): pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=pamac-daemon comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
33. [   59.634286] audit: type=1131 audit(1590449257.420:107): pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=pamac-daemon comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
34. [   59.978935] audit: type=1130 audit(1590449257.763:108): pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=upower comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
35. [   93.299879] audit: type=1105 audit(1590449291.086:109): pid=2291 uid=1000 auid=1000 ses=1 subj==unconfined msg='op=PAM:session_open grantors=pam_limits,pam_unix,pam_permit acct="root" exe="/usr/bin/pkexec" hostname=? addr=? terminal=? res=success'
36. [   95.766531] SGI XFS with ACLs, security attributes, realtime, scrub, repair, quota, no debug enabled
37. [   95.770472] *** VALIDATE xfs ***
38. [   95.784475] JFS: nTxBlock = 8192, nTxLock = 65536
39. [   95.821448] ntfs: driver 2.1.32 [Flags: R/W MODULE].
40. [   95.919525] raid6: avx512x4 gen() 41491 MB/s

Had anyone else those issues and were able to fix them? Help's really appreciated.

Cheers!

I've managed it to get it running with the following work-around:

  • The crashes occurred before login, so you need to hit CTRL+ALT+F2 to switch to the command line instead of the graphical login manager. Login with your chosen credentials.
  • Establish internet connection (e.g. via nmcli con up $connectionName)
  • Use mhwd-kernel to install the kernel version 5.7 (yes, I know - cutting edge, but didn't manage it to get it running with older versions)
user@xps9300  ~ uname -a
Linux xps9300 5.7.0-1-MANJARO #1 SMP PREEMPT Mon May 11 00:19:50 UTC 2020 x86_64 GNU/Linux
  • Head to /etc/X11/xorg.conf.d and create a new file named 20-intel.conf
user@xps9300 ~ cat /etc/X11/xorg.conf.d/20-intel.conf 
Section "Device"
  Identifier "Intel Graphics"
  Driver "intel"

  Option "NoAccel" "True"
  Option "DRI" "False"
EndSection

It work's with the Option "DRI" "False" but this was required to get Chromium up and running smoothly.

Hope it helps someone that faces the same issues on a XPS 9300. Cheers!

@philm
see thread https://bbs.archlinux.org/viewtopic.php?id=250765&p=10

Forum kindly sponsored by