High
Operating Systems
✓ Solution Verified by Community (0+ upvotes)
How to fix error d3derr-devicelost in Windows 11
Direct3D device context lost. GPU reset during gameplay.
Fix based on community reports and expert analysis. Last verified: 2026-08-12
· How we verify fixes
| Error Code | d3derr-devicelost |
|---|---|
| Affected System | Windows 11 (Microsoft) |
| Difficulty | High |
| Estimated Time | 30 min |
| Requires Admin Rights | ⚠️ Yes |
| Requires Reboot | 🔄 Yes |
Solution Steps
- 1 Update your GPU driver: Go to your GPU manufacturer's website (NVIDIA, AMD, Intel) and download the latest driver. Run the installer and choose 'Clean Installation'. This ensures a fresh driver without old settings that might conflict.
- 2 If the game is old, try running it in compatibility mode. Right-click the game's executable, select Properties, go to the Compatibility tab, and check 'Run this program in compatibility mode for' and select 'Windows 7' or 'Windows 8'. This can help if the game was designed for an older Windows version.
- 3 Disable fullscreen optimizations: In the same Compatibility tab, check 'Disable fullscreen optimizations'. This can prevent the game from losing focus and causing the device to be lost.
- 4 Check for overheating: Use software like HWMonitor to check your GPU temperature. If it's above 90°C, clean your PC's fans and ensure good airflow. Overheating can cause the GPU to reset.
- 5 If you have overclocked your GPU, reset it to default. Overclocking can cause instability, especially in older games.
Alternative Solutions
Method 2 (0 upvotes)
- Press Windows key + R, type 'dxdiag', and press Enter. Go to the 'Display' tab and check the 'Driver Version' and 'Feature Levels'. If the driver is old, note the version and proceed to update it.
- Press Windows key + X and select 'Device Manager'. Expand 'Display adapters', right-click your GPU, and select 'Update driver'. Choose 'Search automatically for drivers'. If no update is found, go to your GPU manufacturer's website and download the latest driver. This is the most common fix.
- If the error occurs when alt-tabbing, try running the game in 'Windowed' or 'Borderless' mode. You can change this in the game's video settings. This prevents the display mode from changing, which often causes the device to be lost.
- Press Windows key + R, type 'regedit', and press Enter. Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Direct3D. Create a new DWORD (32-bit) value named 'DisableAltEnter' and set it to 1. This disables the Alt+Enter fullscreen toggle, which can trigger the error. If the key exists, modify it to 1.
- If you're using an emulator or an older game, try running it in compatibility mode. Right-click the game's .exe file, select Properties, go to the Compatibility tab, and check 'Run this program in compatibility mode for' and select 'Windows 7' or 'Windows 8'. This can help if the game is incompatible with Windows 11.
- Press Windows key + X and select 'Windows Terminal (Admin)'. Type 'sfc /scannow' and press Enter. After it finishes, type 'DISM /Online /Cleanup-Image /RestoreHealth' and press Enter. This repairs system files that might be causing the issue.
Method 3 (0 upvotes)
- Update your GPU driver. Press Win+X and select 'Device Manager'. Expand 'Display adapters', right-click your GPU, and select 'Update driver'. Choose 'Search automatically for drivers'. If no update is found, visit the GPU manufacturer's website and download the latest driver. Outdated drivers are a common cause of device loss.
- If the error occurs in a specific game, verify the game's integrity. Open Steam (or your game launcher), go to your library, right-click the game, select 'Properties', go to 'Local Files', and click 'Verify integrity of game files'. This replaces any corrupted game files that might trigger the error.
- Lower the game's graphics settings. Launch the game and go to its video settings. Reduce the resolution, turn off anti-aliasing, and set shadows to medium. This reduces the load on your GPU and can prevent the device from losing connection.
- Disable any overclocking on your GPU. If you use MSI Afterburner or similar, reset to default clock speeds. Unstable overclocks can cause the GPU to reset, leading to this error.
- Run the System File Checker. Press Win+X and select 'Terminal (Admin)'. Type 'sfc /scannow' and press Enter. This repairs corrupted Windows files that might interfere with DirectX.
- Reinstall DirectX. Download the DirectX End-User Runtime from Microsoft's website and run the installer. This ensures all DirectX components are up to date and not corrupted.
🔍 Didn't work? Enter your GPU and CPU for hardware-specific advice:
🔧 Still having issues?
Describe your exact problem to Error Buddy and get a personalized fix in seconds.
🛠️ Try Error Buddy — It's Free