Nvidia stuido issue

Alright, so my first recommendation is to update your graphic drivers, then reset your Nvidia control panel settings to default. This often resolves DX issues immediately. If that doesn’t work, here’s 2 threads that have a myriad of possible fixes for graphical failures, though most of these were at the driver level and not the DX device being lost, which can occur if the GPU is being overwhelmed.

If you’re using anything that touches the GPU memory directly like Shadowplay or MSI Afterburner, try disabling them.