0XC01E0347

STATUS_GRAPHICS_INVALID_GAMMA_RAMP (0XC01E0347) Fixed

Windows Errors Intermediate 👁 1 views 📅 Jun 10, 2026

STATUS_GRAPHICS_INVALID_GAMMA_RAMP means Windows rejected a gamma ramp table call. The fix is resetting display color settings via regedit or the GPU control panel.

You're seeing 0XC01E0347 and your screen just flickered or an app crashed

This error pops up most often in video editing software like DaVinci Resolve or Premiere Pro, or in games that apply custom gamma curves (think Cyberpunk 2077 with HDR mods). What's actually happening here is that Windows's display driver model rejected a gamma ramp table your app tried to submit. The table either had the wrong size (should be 256 entries per channel for standard LUTs) or contained NaN values.

The fix: nuke the corrupted gamma ramp

Skip reinstalling drivers or running SFC — those won't touch the root cause. You need to clear the current gamma ramp stored in the registry for your monitor. Here's how:

  1. Open regedit as administrator. Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\ScaleFactors\Monitor-{Your Monitor ID}. If that path doesn't exist, check HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4d36e968-e325-11ce-bfc1-08002be10318}\0000\Device Parameters\GammaRamp.
  2. Delete the GammaRamp value you find there. Right-click, delete. Don't touch anything else.
  3. Reboot your machine. Windows will rebuild the gamma ramp from defaults on next boot.

That's it for 90% of cases. If the error returns immediately, move to the GPU control panel:

  • NVIDIA: Open NVIDIA Control Panel → Display → Adjust desktop color settings → click Restore Defaults. Make sure "Use NVIDIA settings" is unselected.
  • AMD: Open Radeon Software → Display → Color → reset to default temperature and gamma.
  • Intel: Open Intel Graphics Command Center → Display → Color → Reset.

After that, reboot again and test your app.

Why this works

The gamma ramp is a 256×3 array of 16-bit values (0–65535) that translates linear framebuffer pixel values to the monitor's actual luminance. Windows stores the active ramp in both the registry (persisted across boots) and the GPU's hardware LUT. When an app calls SetDeviceGammaRamp, the OS validates the table. If any value is out of range or the pointer is null, you get 0XC01E0347. The registry copy can get corrupted from a bad driver update, sudden power loss while a calibration tool was writing the ramp, or a monitor hot-plug event that left half-written data. Deleting the registry value forces Windows to regenerate a clean default ramp on the next boot. The GPU control panel reset does the same for the hardware LUT side.

When the basic fix isn't enough

Sometimes the problem is trickier. Here are three variations I've seen:

Multiple monitors with different color profiles

If you have two or more monitors and only one shows the error, the gamma ramp corruption is specific to that display. Check the registry path again — there's a separate subkey per monitor. I've seen this happen when using a USB-C to HDMI adapter that doesn't report EDID correctly. The fix is the same but you need to identify the right Monitor subkey. Look for the one with a matching MonitorFriendlyName value.

Third-party calibration software left a half-applied ramp

Tools like f.lux, DisplayCAL, or MonitorAsset write gamma ramps on startup. If they crash mid-write, the ramp can be invalid. Uninstall the software, reboot, confirm the error is gone, then reinstall and recalibrate. The exact trigger here is the software's timer firing a ramp write while the GPU driver is still loading.

Corrupted color profile (ICC/ICM) linked to the ramp

Windows ties the gamma ramp to the active color profile. If the profile has a broken VCGT (Video Card Gamma Table) tag, you get this error. Open Color Management (run colorcpl.exe), select your monitor, uncheck "Use my settings for this device", then add a fresh sRGB profile. Delete the old one. This bypasses the broken tag entirely.

Prevention: lock down the ramp source

You can stop this from recurring. A few things:

  • Don't hot-plug monitors while apps that use custom gamma are running. Quit DaVinci or your game before plugging in a second screen.
  • If you use f.lux or similar, update to the latest version. Older builds (pre-2022) had a known race condition where they'd write the ramp before the GPU device was fully initialized.
  • Keep your GPU drivers updated, but do a clean install (use DDU in safe mode) at least once a year. Driver bloat can corrupt registry keys over time.
  • For power users: you can script a registry backup of the GammaRamp value before calibration sessions. That way if it breaks, you restore the known-good version without a full reset.

The root cause of 0XC01E0347 is almost always a bad gamma ramp handed to the OS, not a hardware problem. The registry and GPU panel resets above will get you back in action without reinstalling your OS or buying a new monitor. Try the regedit delete first — it's the fastest and fixes most cases in under a minute.

Was this solution helpful?