Hangs on dolphin-emu (opengl backend) and pcsx2
OS: Arch Linux
Desktop manager and compositor: GNOME (Wayland) and DWM (Xorg)
GPU: 00:02.0 VGA compatible controller [0300]: Intel Corporation UHD Graphics 620 (Whiskey Lake) [8086:3ea0] (rev 02)
Kernel: Linux t490s 5.9.9-arch1-1 #1 SMP PREEMPT Wed, 18 Nov 2020 19:52:04 +0000 x86_64 GNU/Linux
Mesa:
name of display: :0
display: :0 screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
Vendor: Intel (0x8086)
Device: Mesa Intel(R) UHD Graphics 620 (WHL GT2) (0x3ea0)
Version: 20.2.2
Accelerated: yes
Video memory: 3072MB
Unified memory: yes
Preferred profile: core (0x1)
Max core profile version: 4.6
Max compat profile version: 4.6
Max GLES1 profile version: 1.1
Max GLES[23] profile version: 3.2
OpenGL vendor string: Intel
OpenGL renderer string: Mesa Intel(R) UHD Graphics 620 (WHL GT2)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 20.2.2
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL version string: 4.6 (Compatibility Profile) Mesa 20.2.2
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 20.2.2
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
So this has been happening for a while (at least 6 months). When I play certain games with Dolphin Emulator (OpenGL backend, with the Vulkan backend it never happens) or PCSX2, both my GNOME session (Wayland) and dwm session hang (they freeze and the image often flickers, I can move the mouse around and I hear sound, I can even continue playing the game), but I can easily switch to tty, kill the session and restart a new one without any issues.
I have attached the crash report from journalctl and the card0 error file. Please let me know if you need more info.