[GT1030] Xid 31 at X session logout

One month ago, I’ve upgraded my desktop with a asus ASUS GeForce® GT 1030 2 Go GDDR5 and I encounter issues. Sometimes the Xorg server fails when closing my X session. The nvidia driver logs this type of errors :

NVRM: Xid (PCI:0000:01:00): 31, Ch 00000008, intr 10000000. MMU Fault: ENGINE HOST0 HUBCLIENT_HOST faulted @ 0x1_00011000. Fault is of type FAULT_PDE ACCESS_TYPE_READ

When it happens, I must reboot my desktop to fix the issue and open a new Xsession.

I am unable to reproduce these issues. I can use my desktop for days without any issue and suddenly this issue happens without any apparent reason.

I’ve run some stress tests during hours and the video card works fine :

  • Unigine Valley
  • https://github.com/ihaque/memtestCL

The last time it was happening, I have run nvidia-bug-report.sh [1].
Additionally, I’ve attached all the Xid errors since my video card upgrade [2].

Linux Distro : Archlinux
Desktop environment : KDE 5.14 / QT 5.12

[1] Box
[2] Box

Thank you.

Unfortunately, the nvidia driver and kwin don’t go well together especially on newer hardware. The dreaded XID 31 is very common there. Some users had better experience changing the render backend of kwin.