0XC0262355

Fix ERROR_GRAPHICS_INCOMPATIBLE_PRIVATE_FORMAT 0XC0262355

Windows Errors Intermediate 👁 9 views 📅 May 28, 2026

This DirectX error hits when you switch display modes or resolutions and the surface format doesn't match. Almost always a driver or app bug.

You're running a game or a DirectX app — something that uses fullscreen exclusive mode — and you alt-tab, change resolution, or toggle between windowed and fullscreen. Then it crashes with error 0XC0262355 (ERROR_GRAPHICS_INCOMPATIBLE_PRIVATE_FORMAT). The message says the primary surface has a different private format attribute than the current one. I've seen this most often on Windows 10 and 11 with NVIDIA GPUs (especially the 30-series) running DirectX 11 titles, but it also happens on AMD cards.

What's actually happening

The DirectX runtime allocates a primary surface buffer for the GPU to render into. That surface has a 'private format' — a driver-specific flag tied to the current display mode. When you change modes (like switching from 60Hz to 144Hz, or from 1920x1080 to 2560x1440), the old surface's format no longer matches what the display expects. The app didn't release the old surface before creating the new one, or it tried to reuse it without renegotiating the format. The GPU driver says "nope, can't do that" and throws this error.

The culprit here is almost always the app or game not properly handling the DXGI_SWAP_CHAIN_DESC when the display mode changes. It's a developer oversight, but you can work around it without waiting for a patch.

Fix it — step by step

Step 1: Update your graphics driver

Seriously, do this first. Driver bugs around surface format handling get fixed regularly. Go to NVIDIA, AMD, or Intel's site (not Windows Update) and grab the latest Game Ready or PRO driver. Do a clean install — check the box that says 'Perform a clean installation' if you're on NVIDIA. Reboot after.

Step 2: Switch the app to borderless windowed mode

Fullscreen exclusive mode is where this error lives. Borderless windowed mode uses the desktop's primary surface format, which doesn't change when you alt-tab. In the game's video settings, look for 'Display Mode' and set it to 'Borderless Windowed' or 'Windowed Fullscreen'. If the app doesn't have that option, edit its config file — often in %USERPROFILE%\Documents\My Games\[Game Name]\ or %LOCALAPPDATA%\[Game Name]\. Look for a line like FullscreenMode=1 and change it to 0 or Windowed=1.

Step 3: Lower the refresh rate or resolution before switching

If you must use exclusive fullscreen, drop your desktop refresh rate to 60Hz before launching the app. Right-click desktop -> Display Settings -> Advanced Display -> Choose a refresh rate. Set it to 60 Hz. Launch the app, change the resolution or mode inside it, then exit and restore your normal refresh rate. This avoids the format mismatch entirely.

Step 4: Reset the DirectX shader cache

Corrupted cached shader data can cause the driver to lose track of surface formats. Run Disk Cleanup (cleanmgr.exe), check 'DirectX Shader Cache', and let it delete. Or delete it manually: %USERPROFILE%\AppData\Local\NVIDIA\DXCache (for NVIDIA) or %USERPROFILE%\AppData\Local\AMD\DxCache (for AMD). Empty the folder. Reboot.

Step 5: Use the DirectX Control Panel to force the format

For advanced users: NVIDIA's Control Panel has a setting for 'Preferred refresh rate' and 'Power management mode'. Set 'Power management mode' to 'Prefer maximum performance' — this forces the GPU to keep the primary surface format consistent. On AMD, use the Radeon Software's 'Graphics' tab and turn off 'Radeon Enhanced Sync' and 'FreeSync' — those trigger mode changes that can collide with private formats.

Still failing? Here's what else to check

  • Disable HDR: HDR toggles can force a surface reallocation. Turn HDR off in Windows Display Settings before launching the app.
  • Run in Windows 8 compatibility mode: Right-click the app's .exe -> Properties -> Compatibility -> Check 'Run this program in compatibility mode for Windows 8'. This changes how DirectX handles swap chains.
  • Try a different DirectX version: Some games let you switch between DX11 and DX12 in the launcher settings. If you're on DX11, try DX12 (or vice versa). Different runtimes handle surface formats differently.
  • Check for overlay software: Discord, MSI Afterburner, GeForce Experience overlays can interfere with the swap chain. Disable them temporarily.
  • Last resort — reinstall the app: Uninstall the game or app completely, delete any leftover folders in %USERPROFILE%\AppData\Local\[App], then reinstall. The format mismatch might be baked into a corrupted config file.

I've never seen this error on a system that's running borderless windowed mode with a clean driver install. If it still happens after all that, you're looking at a bug in the app itself — and you'll need to report it to the developer with a DXDiag log.

Was this solution helpful?