| Previous | Next |
| DXGI_STATUS_GRAPHICS_VIDPN_SOURCE_IN_USE | DXGI_STATUS_MODE_CHANGE_IN_PROGRESS |
DXGI_STATUS_MODE_CHANGED
Interpret the result in its owning layer: status mode changed
The useful interpretation of DXGI_STATUS_MODE_CHANGED (0x087A0007) starts at the dxgi status boundary: a display-mode change invalidated the first visibility attempt and DXGI retried presentation under the new mode. In practical terms, inspect swap-chain display-mode synchronization before changing application-wide graphics settings.
Capture before recreating objects
| Capture item | Why it matters |
|---|---|
| Object identity | swap-chain display-mode synchronization |
| Rejected condition | a display-mode change invalidated the first visibility attempt and DXGI retried presentation under the new mode |
| What to capture | old and new output modes, WM_DISPLAYCHANGE/WM_SIZE order, swap-chain dimensions, refresh rate and Present statistics |
| Current graph state | swap chain, target window, output and Present call |
| Supporting trace | Present/Present1 result history, WM_SIZE or WM_DISPLAYCHANGE messages, swap-chain description and current IDXGIOutput identity |
Reproduce one variable at a time
- Capture the failing state. Record old and new output modes, WM_DISPLAYCHANGE/WM_SIZE order, swap-chain dimensions, refresh rate and Present statistics.
- Change resolution or rotate the output during presentation and compare with a stable-mode run.
The comparison with DXGI_STATUS_MODE_CHANGE_IN_PROGRESS is especially useful: DXGI_STATUS_MODE_CHANGE_IN_PROGRESS means a competing transition is still underway.
Recovery contract
Refresh cached output information and resize buffers when the window receives the mode-change notifications.
- debug-layer, ETW or driver diagnostics no longer report the rejected swap-chain display-mode synchronization contract during the same scenario.
Implementation notes
Technical references
- Microsoft: DXGI status codes — background for the swap-chain display-mode synchronization.
- Microsoft: DXGI overview and presentation
- Microsoft: DXGI_PRESENT flags
- Microsoft: DXGI best practices
Looking for a different code? Search another status or error code.
