Usually these type of glitches occur when you have your GPU overclocked, overvolted or undervolted, or in worst case your GPU hardware is failing in some way.
- Did you ever try Furmark stability or stress test for 10 ~ 30 minutes and do you see the same artifacts there?
- Did you check your Nvidia App -> System -> Performance tab -> is it overclocked there or are the performance limits changed?
- Try classic Nvidia Control Panel -> Help -> Debug Mode (this will change your card to stock speeds etc for testing)
- Do you use any other Video Recording / OSD Monitoring / OSD Overlay / 3rd party Overclocking apps running in the background while you are gaming?
Video Recording : OBS Studio etc
Overlay : Discord overlay, Game Clients Overlays etc
OC or Monitoring Software : MSI Afterburner, ASUS GPU Tweak, Presentmon, EVGA Precision X1, Rivatuner (older), NVIDIA Profile Inspector, AMD Software: Adrenaline Edition etc