Random desktop freeze on Arch Linux

My desktop freezes often and the kernel stops responding too. Here are the logs from the previous boot.

Apr 06 11:03:04 knzivid kernel: NVRM: loading NVIDIA UNIX x86_64 Kernel Module 460.67 Thu Mar 11 00:11:45 UTC 2021
Apr 06 14:31:38 knzivid kernel: NVRM: GPU at PCI:0000:01:00: GPU-9cfb918f-4c3b-a6ea-84a1-d285f291a071
Apr 06 14:31:38 knzivid kernel: NVRM: GPU Board Serial Number:
Apr 06 14:31:38 knzivid kernel: NVRM: Xid (PCI:0000:01:00): 61, pid=253, 0d20(31f0) 00000000 00000000
Apr 06 14:31:38 knzivid kernel: NVRM: Xid (PCI:0000:01:00): 32, pid=1237, Channel ID 00000033 intr0 00040000
Apr 06 14:31:38 knzivid kernel: NVRM: Xid (PCI:0000:01:00): 32, pid=1237, Channel ID 00000033 intr0 00040000

XID Errors :: GPU Deployment and Management Documentation says

  • Internal micro-controller breakpoint/warning
  • Invalid or corrupted push buffer stream

Is this a client software or driver or hardware error? I use KDE + Arch Linux on a GTX 1660.

XID 32 might be caused by defective system memory, try removing/swapping memory modules.
Please run nvidia-bug-report.sh as root and attach the resulting nvidia-bug-report.log.gz file to your post.