[drm] GPU HANG: ecode 12:1:85dffffb, in telegram-deskto [218965]
When opening media (for ex a photo) in Telegram Desktop, I always have GPU hangs and whole Gnome freezes. This happens only when I open the media on a (fractional) scaled display. Not on an external display which is not scaled.
Kernel logs the following:
aug 23 11:34:31 lt-jeanlouis kernel: i915 0000:00:02.0: [drm] GPU HANG: ecode 12:1:85dffffb, in telegram-deskto [218965]
aug 23 11:34:31 lt-jeanlouis kernel: i915 0000:00:02.0: [drm] telegram-deskto[218965] context reset due to GPU hang
aug 23 11:34:39 lt-jeanlouis kernel: i915 0000:00:02.0: [drm] GPU HANG: ecode 12:1:85dffffb, in telegram-deskto [218965]
aug 23 11:34:39 lt-jeanlouis kernel: i915 0000:00:02.0: [drm] telegram-deskto[218965] context reset due to GPU hang
aug 23 11:34:46 lt-jeanlouis kernel: i915 0000:00:02.0: [drm] GPU HANG: ecode 12:1:85dffffb, in telegram-deskto [218965]
aug 23 11:34:46 lt-jeanlouis kernel: i915 0000:00:02.0: [drm] telegram-deskto[218965] context reset due to GPU hang
My system is running Arch with Gnome Shell 44.3. Kernel: 6.4.11-arch2-1 Dell XPS 15 9530
VGA: 00:02.0 VGA compatible controller: Intel Corporation Raptor Lake-P [Iris Xe Graphics] (rev 04)
My system also has a additional VGA: 01:00.0 3D controller: NVIDIA Corporation AD107M [GeForce RTX 4050 Max-Q / Mobile] (rev a1)
Now if I run telegram-desktop with prime-run, the issue does NOT occur anymore. So it seems like something in Telegram does trigger some bug in the Intel VGA driver code.
There is a bugreport on Telegram also: https://github.com/telegramdesktop/tdesktop/issues/26393
Let me know if there is anything I can do to help debugging this