Disable Screen Optimization Link

With optimization enabled, subtitles on lower-bitrate videos often developed strange halos or flickering edges. Disabling it made text razor-sharp. There was no more "bleeding" of white letters into the background.

class DisplayManager public: void SetOptimizationState(DisplayOptimizationState state) // 1. Get the default output device IDXGIOutput* pOutput = GetPrimaryOutput(); disable screen optimization

enum DisplayOptimizationState STATE_ENABLED, // Standard OS processing STATE_RAW // Bypass processing ; With optimization enabled

Then, buried in an old forum thread on Reddit , he found the "ancient rite." enum DisplayOptimizationState STATE_ENABLED