How to Fix OBS Black Screen with DirectX 12 Games

Encountering a black screen in OBS Studio while attempting to capture a DirectX 12 game running in borderless windowed mode is a common issue for content creators. This article provides a direct, step-by-step troubleshooting guide to resolve this conflict. By adjusting OBS capture settings, configuring Windows graphics preferences, and running the software with administrative privileges, you can quickly restore your video feed and capture your gameplay seamlessly.

Step 1: Run OBS Studio as Administrator

DirectX 12 games often run with high-level system permissions that block standard applications from capturing their frames. Running OBS as an administrator bypasses these restrictions.

  1. Close OBS Studio completely.
  2. Right-click the OBS Studio shortcut on your desktop or start menu.
  3. Select Run as administrator.
  4. Test the game capture to see if the black screen is resolved.
  5. To make this permanent, right-click the OBS shortcut, go to Properties > Compatibility tab, check Run this program as an administrator, and click Apply.

Step 2: Use Window Capture with the Correct Capture Method

If “Game Capture” fails to hook into a DirectX 12 game running in borderless windowed mode, “Window Capture” is the most reliable alternative, provided you select the correct graphics engine hook.

  1. In OBS, go to your Sources dock, click the + icon, and select Window Capture.
  2. Name the source and click OK.
  3. In the properties window, select your DX12 game from the Window dropdown menu.
  4. Change the Capture Method from “Automatic” to Windows 10 (1903 and up). This method utilizes the modern Windows graphics capture API, which natively supports DX12 borderless windowed applications.
  5. Click OK.

Step 3: Adjust Game Capture Hooks

If you prefer to use “Game Capture” instead of “Window Capture”, certain internal settings within the source properties can cause compatibility issues with DX12.

  1. Double-click your Game Capture source to open its properties.
  2. Ensure the Mode is set to Capture specific window and select your DX12 game.
  3. Uncheck Capture third-party overlays (such as Steam), as overlay hooks can conflict with DX12 rendering pipeline captures.
  4. Toggle the Use anti-cheat compatibility hook option. If it is checked, uncheck it, or vice versa, to see if the hook successfully registers the game.
  5. Click OK.

Step 4: Configure Windows Graphics Performance Settings

On systems with multiple GPUs (such as laptops with an integrated Intel/AMD GPU and a discrete NVIDIA/AMD GPU), OBS and the DX12 game must run on the same graphics processor to avoid a black screen.

  1. Open the Windows Settings app (Windows Key + I).
  2. Navigate to System > Display > Graphics (or Graphics settings).
  3. Under “Custom options for apps,” click Browse and locate the OBS Studio executable file (usually located in C:\Program Files\obs-studio\bin\64bit\obs64.exe).
  4. Click on OBS Studio in the list, then click Options.
  5. Select High performance (which forces OBS to use your discrete GPU, matching the DX12 game) and click Save.

Step 5: Disable Conflicting Third-Party Overlays

DirectX 12 is highly sensitive to multiple applications attempting to hook into its rendering pipeline simultaneously. Disable other active overlays that might be blocking OBS: