Skip to content

Shader using Time causes high CPU usage and laggy input, after running hours. #20226

@donaldwuid

Description

@donaldwuid

Windows Terminal version

1.24.10921.0

Windows build number

No response

Other Software

No response

Steps to reproduce

  1. download https://github.com/Hammster/windows-terminal-shaders
  2. enable shaders with Time used, e.g., hueshift.hlsl, crt.hlsl(with GRAIN or REFRESHLINE on)
    (how to enable shaders: https://github.com/microsoft/terminal/blob/main/samples/PixelShaders/README.md
  3. run a new Windows Terminal window, ensure the shader is applied.
  4. [BUG REPRODUCED!!!] keep this window running, after hours or one day, this windows consumes lots of CPU and input is very laggy
  5. and then, while this window still running, disable the shader by deleting pixelShaderPath in the json config, bug is gone, CPU and input recovers

Expected Behavior

regular cpu usage and smooth input

Actual Behavior

huge cpu usage and laggy input

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-RenderingText rendering, emoji, complex glyph & font-fallback issuesIssue-BugIt either shouldn't be doing this or needs an investigation.Needs-AttentionThe core contributors need to come back around and look at this ASAP.Product-TerminalThe new Windows Terminal.

    Type

    No fields configured for Bug.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions