What does HRESULT 0xC0262101 (ERROR_GRAPHICS_CANT_LOCK_MEMORY) mean?

 
Previous Next
ERROR_GRAPHICS_NO_VIDEO_MEMORY ERROR_GRAPHICS_ALLOCATION_BUSY

ERROR_GRAPHICS_CANT_LOCK_MEMORY

ERROR_GRAPHICS_CANT_LOCK_MEMORY (0xC0262101) means the graphics memory manager could not probe and lock the underlying memory for an allocation. The allocation or its backing memory is not in a state that can safely be locked for the requested operation.

What to check

  • Verify allocation lifetime, memory residency, and synchronization before requesting a lock or map.
  • Do not retain pointers or mappings across device reset, adapter change, or resource destruction.
  • For driver development, inspect the allocation type and the code path that establishes its backing memory.

Useful command

Get-WinEvent -LogName System -MaxEvents 150 | Where-Object { $_.ProviderName -match 'Display|dxgkrnl' }

Microsoft: Display/Graphics overview

Microsoft: WDDM timeout detection and recovery

Microsoft: Graphics error codes


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