Randomly wayland gnome desktop freezes

Hi,
Randomly wayland gnome desktop freezes a while when watching video on browser, especially youtube videos in firefox. Only I see this problem on external monitor which is connected to hdmi.

Related logs:
Screenshot from 2022-08-12 13-59-04

Brief log of /sys/class/drm/card1/error:

GPU HANG: ecode 12:0:00000000
Kernel: 5.18.16-arch1-1 x86_64
Driver: 20201103
Time: 1660292156 s 871888 us
Boottime: 2188 s 315891 us
Uptime: 2184 s 706944 us
Capture: 4295533760 jiffies; 242847 ms ago
Reset count: 0
Suspend count: 0
Platform: ALDERLAKE_P
Subplatform: 0x0
PCI ID: 0x46a6
PCI Revision: 0x0c
PCI Subsystem: 1043:1a8c
IOMMU enabled?: 1
DMC loaded: yes
DMC fw version: 2.14
RPM wakelock: yes
PM suspended: no
GT awake: yes
EIR: 0x00000000
IER: 0x00080000
GTIER[0]: 0x00010001
GTIER[1]: 0x00010001
GTIER[2]: 0x80000000
GTIER[3]: 0x00000000
GTIER[4]: 0x000e0000
GTIER[5]: 0x00000000
PGTBL_ER: 0x00000000
FORCEWAKE: 0xffff0001
DERRMR: 0xffffffff
  fence[0] = 00000000
  fence[1] = 00000000
  fence[2] = 00000000
  fence[3] = 00000000
  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
FAULT_TLB_DATA: 0x00000000 0x00000000
AUX_ERR_DBG: 0x00000000
  SFC_DONE[0]: 0x000000ff
  SFC_DONE[1]: 0x00000000
  GAM_DONE: 0xffbfffff
GuC firmware: i915/adlp_guc_69.0.3.bin
	status: RUNNING
	version: wanted 69.0, found 69.0
	uCode: 356032 bytes
	RSA: 256 bytes
HuC firmware: i915/tgl_huc_7.9.3.bin
	status: RUNNING
	version: wanted 7.9, found 7.9
	uCode: 589504 bytes
	RSA: 256 bytes

My kernel paramaters:
loglevel=3 nowatchdog nvme_load=YES ibt=off nvidia-drm.modeset=1

My modprobe nvidia.conf file content:

options nvidia-drm modeset=1
options nvidia NVreg_PreserveVideoMemoryAllocations=1 NVreg_TemporaryFilePath=/var/tmp

Hardware info

If this display is using reverse PRIME then it could be a long-standing performance bug.

The only way I’ve found to resolve it is to use the dGPU in discrete mode (via the UEFI) and then things work more as expected.

I would say the same but it looks like OP is not using nvidia.

Type: Laptop
OpenGL: renderer: Mesa Intel Graphics (ADL GT2) v: 4.6 Mesa 22.1.6
1 Like