In either case, do a clean installation and the D3D11 Error or DXGI ERROR DEVICE HUNG error will be fixed. Update your GPU driver or reinstall it if the driver is already up-to-date. One reason for this error to pop up is the GPU driver.
D3D11 graphics card is not responding and we cannot recover! Please restart the game and try again.