What does HRESULT 0x887A0021 (DXGI_ERROR_NONEXCLUSIVE) mean?

 
Previous Next
DXGI_ERROR_DRIVER_INTERNAL_ERROR DXGI_ERROR_NOT_CURRENTLY_AVAILABLE

DXGI_ERROR_NONEXCLUSIVE

DXGI_ERROR_NONEXCLUSIVE means that a global GPU counter resource is already in use and the current Direct3D device cannot use that counter at this time. The error is about exclusive access to a performance-counter resource, not about ordinary rendering or the availability of the display adapter.

Practical handling

  • Record the counter or profiling feature being requested and whether another profiler, overlay, or process may be active.
  • Release the counter when measurement ends and make acquisition failure nonfatal where metrics are optional.
  • Retry only after the previous owner can realistically have released the resource; an immediate busy loop adds no value.

Keep graphics and telemetry separate

An application should be able to render without an optional global counter. Treat unavailable profiling data as a measurable operational condition, not as a reason to corrupt or restart the graphics pipeline.

Microsoft: DXGI error codes


Looking for a different code? Search another status or error code.