Game crashes or goes black after Alt+Tab

If you have the symptom of “flickering when you alt-tab,” full screen/overlay conflicts, graphics drivers, etc. can be considered as possible causes. Please check step 1 in order, starting with ‘Change the game to borderless window mode’.

First, check that this guide matches your problem

Do you have these symptoms?

  • Crashes when I Alt+Tab
  • Black screen after Alt+Tab
  • Game freezes after switching windows

Common causes

  • Full screen/overlay conflict
  • Graphics driver
  • HDR/refresh rate switching issue

How to fix

4 steps, 28 min–48 min in total. The easiest checks come first, so stop as soon as the problem is fixed.

In exclusive fullscreen, every Alt+Tab switches the display mode, and if the game fails to reacquire the display, you get a black screen or a crash. Borderless windowed mode avoids that switch.

  1. Change the display mode in the game's graphics settings from Fullscreen to Borderless window (it may be called Borderless, Windowed Fullscreen, etc.).
  2. Restart the game, then AltTab to the desktop and back several times to see whether the symptom recurs.

What to check

If borderless mode has no problems, simply using it is the easiest fix. If you need fullscreen, or it crashes even in borderless mode, match the resolution and refresh rate.

Did this step fix it?

Frequently asked questions

Related problems

If the symptoms do not match exactly, please check the issue below.

Related error codes

If the code below appears on the screen, refer to the confirmation procedure for each error.

Graphics/Games

DXGI_ERROR_INVALID_CALLInvalid graphics call

The app called the graphics API with invalid arguments or status.

View all error codes