Skip to content

DirectCompare/MystifyFix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MystifyFix

A drop-in replacement for Windows' built-in Mystify screensaver that fixes random GPU driver crashes (TDR events) caused by the original.

The Problem

The original Mystify.scr uses legacy DirectX code that hasn't been updated since Windows Vista. On modern hardware — particularly discrete NVIDIA/AMD GPUs — it can cause:

  • GPU driver timeouts (LiveKernelEvent 193 in Event Viewer)
  • explorer.exe stack buffer overflow errors
  • Random system instability while the screen is idle

The root cause is the screensaver's DirectX context not handing off cleanly to the desktop when the PC wakes, causing the GPU driver watchdog to fire.

The Fix

MystifyFix reimplements the same bouncing-polygon effect using pure GDI — no DirectX, no GPU context, no TDR risk. It looks identical but is completely stable.

Features

  • Same bouncing polygon effect as the original
  • Configurable via the standard Screen Saver Settings dialog:
    • Speed (1–20)
    • Trail length (5–50 frames)
    • Number of shapes (1–8)
    • Sides per shape (3–8, triangle through octagon)
  • Settings saved to registry
  • Covers all monitors
  • No installation wizard — just copy one file

Installation

Option A — Pre-built (easiest)

  1. Download MystifyFix.scr from the Releases page
  2. Copy it to C:\Windows\System32\
  3. Right-click desktop → PersonalizeLock screenScreen saver
  4. Select MystifyFix from the dropdown

Option B — Build from source

Requires Visual Studio 2019+ (or Build Tools) with the MSVC C++ toolchain.

  1. Open a VS Developer Command Prompt
  2. Clone this repo and cd into it
  3. Run compile.bat
  4. Copy the output: copy MystifyFix.exe %WINDIR%\System32\MystifyFix.scr

How to verify you had the problem

Open Event Viewer and check:

Windows Logs > Application > Event ID 1001

Look for LiveKernelEvent entries with P1: 193. If they appear around the time your screen went idle, Mystify was the cause.

Why not just use "Blank"?

You can — and that works too. But some people like the effect. This keeps it.

Compatibility

Tested on Windows 11. Should work on Windows 10.


By the same folks behind DirectCompare.

About

Drop-in replacement for Windows Mystify screensaver that fixes GPU TDR crashes

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors