First: I don’t know if this issue is specific to CS:GO, or affects other fulscreen OpenGL games. I reported it also on CS:GO issue tracker.
The issue is: if you play CS:GO (probably also other fulscreen OpenGL games), switch to another TTY while playing, and switch back, massive visual artifacts appear, the only solution is game restart. Sometimes, when this bug is happening and you alt-tab out of the game and then back, or switch TTY’s few times, game crashes. Video of bug, crashdumps, setup info are provided here https://github.com/ValveSoftware/csgo-osx-linux/issues/1640 . Don’t know if this is problem of Nvidia drivers or CS:GO, maybe both.
Currently I use KDE on TTY1, handled by Intel’s iGPU, and OpenBox WM on TTY2 handled by GTX970 (thanks to nvidia-xrun https://wiki.archlinux.org/index.php/nvidia-xrun . Game is running in TTY2.
I thought it may be a problem of the setup, but the issue also happens with more basic configuration (TTY1 with KDE powered by GTX970)
nvidia-bug-report.log.gz (152 KB)