[ 16998.399] (EE) NVIDIA(GPU-0): WAIT (2, 8, 0x8000, 0x00008bb0, 0x0000c63c)
[ 17005.399] (EE) NVIDIA(GPU-0): WAIT (1, 8, 0x8000, 0x00008bb0, 0x0000c63c)
[ 17013.414] (EE)
[ 17013.414] (EE) Backtrace:
[ 17013.414] (EE) 0: /usr/lib/Xorg (xorg_backtrace+0x53) [0x6ac716e9fd3]
[ 17013.414] (EE) 1: /usr/lib/Xorg (0x6ac715a3000+0x151df5) [0x6ac716f4df5]
[ 17013.414] (EE) 2: /usr/lib/libc.so.6 (0x6cd0d6f11000+0x3cf80) [0x6cd0d6f4df80]
[ 17013.414] (EE) 3: /usr/lib/xorg/modules/drivers/nvidia_drv.so (0x6cd0d5c27000+0xcb95f) [0x6cd0d5cf295f]
[ 17013.414] (EE) 4: /usr/lib/xorg/modules/drivers/nvidia_drv.so (0x6cd0d5c27000+0xc7c5c) [0x6cd0d5ceec5c]
[ 17013.414] (EE) 5: /usr/lib/xorg/modules/drivers/nvidia_drv.so (0x6cd0d5c27000+0xccbda) [0x6cd0d5cf3bda]
[ 17013.414] (EE) 6: /usr/lib/xorg/modules/drivers/nvidia_drv.so (0x6cd0d5c27000+0xcd656) [0x6cd0d5cf4656]
[ 17013.414] (EE) 7: /usr/lib/xorg/modules/drivers/nvidia_drv.so (0x6cd0d5c27000+0xe4ae6) [0x6cd0d5d0bae6]
[ 17013.414] (EE) 8: /usr/lib/xorg/modules/drivers/nvidia_drv.so (0x6cd0d5c27000+0xc3ff0) [0x6cd0d5ceaff0]
[ 17013.414] (EE) 9: /usr/lib/xorg/modules/drivers/nvidia_drv.so (0x6cd0d5c27000+0x444b80) [0x6cd0d606bb80]
[ 17013.414] (EE)
[ 17013.414] (EE) Segmentation fault at address 0x0
[ 17013.414] (EE)
nvidia driver bug, nothing what we can fix.... sorry.... welcome in world of proprietary driver
but, you are not alone
https://forums.developer.nvidia.com/t/x-freezes-nvidia-gpu-0-wait/70356