Skip to content

Dragging the warp window causes a large number of disk reads and writes, resulting in lag #9119

Open

Description

@flysafely

Pre-submit Checks

Describe the bug

Currently, during my use of the latest version, I encountered a problem where typing with the Chinese input method was delayed and laggy. Even after reinstalling, the issue persisted. However, it seems that this problem did not occur on my devices at work. I opened the Task manager to observe the CPU usage and disk read and write status of Warp and found that when I dragged the Warp window, the disk read and write volume suddenly increased. The faster I move the window, the greater the disk read and write usage.
Image

To reproduce

Currently, during my use of the latest version, I encountered a problem where typing with the Chinese input method was delayed and laggy. Even after reinstalling, the issue persisted. However, it seems that this problem did not occur on my devices at work. I opened the Task manager to observe the CPU usage and disk read and write status of Warp and found that when I dragged the Warp window, the disk read and write volume suddenly increased. The faster I move the window, the greater the disk read and write usage.

Expected behavior

No response

Screenshots, videos, and logs

Image

Operating system (OS)

Windows

Operating system and version

10.0.26200

Shell Version

No response

Current Warp version

v0.2026.04.15.08.45.stable_02

Regression

No, this bug or issue has existed throughout my experience using Warp

Recent working Warp date

No response

Additional context

No response

Does this block you from using Warp daily?

No

Is this an issue only in Warp?

Yes, I confirmed that this only happens in Warp, not other terminals.

Warp Internal (ignore): linear-label:b9d78064-c89e-4973-b153-5178a31ee54e

None

Activity

  1. added
    bug
    on Apr 19, 2026
  2. djbrown79 commented on Apr 25, 2026

    @djbrown79

    I’m seeing what appears to be the same or closely related issue on:

    • Warp version: v0.2026.04.22.08.46.stable_02
    • Windows 11
    • NVIDIA Game Ready Driver 596.21
    • GPU driver has been cleanly removed with DDU in Safe Mode and freshly reinstalled
    • Drive: WD Black SN850X 8TB NVMe
    • Not using Warp Preview

    Behavior:

    When dragging the Warp window around the screen, Warp stalls roughly once per second. Originally I was also seeing Task Manager disk usage spike to around 10% during dragging.

    I tested several display/GPU-related variables:

    • MPO is already disabled
    • HDR on/off has no effect
    • G-Sync on/off has no effect
    • Matching both monitors to exactly 120Hz has no effect
    • Normally the monitors are around 180Hz / 179.x Hz, but refresh mismatch does not appear to matter
    • Disconnecting one monitor changes the smoothness somewhat, but does not remove the once-per-second stall
    • Disconnecting the other monitor behaves about the same as having both monitors connected
    • Cleaning up audio devices had no effect
    • DDU + fresh NVIDIA driver install had no effect
    • This has persisted across multiple NVIDIA driver versions (I don't know how many)

    Graphics backend findings:

    Switching Warp to OpenGL makes a big difference. The “low framerate while dragging” effect goes away. So there may be a separate DX12/Vulkan/NVIDIA presentation-path issue.

    However, even with OpenGL, the once-per-second stall remains.

    ProcMon findings:

    ProcMon shows warp.exe repeatedly accessing this registry value while the window is being dragged:

    HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\DisallowShaking
    

    Before I manually added the value, ProcMon showed NAME NOT FOUND.

    After adding this DWORD value under HKCU, ProcMon changed to SUCCESS, e.g.:

    RegQueryValue
    HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\DisallowShaking
    SUCCESS
    Type: REG_DWORD, Length: 4, Data: 0
    

    So the missing registry value itself does not appear to be the root cause. Warp continues repeatedly querying it while dragging.

    Logging findings:

    With normal logging enabled, dragging the window repeatedly writes this line to Warp’s log:

    [INFO] dispatching global action for workspace:save_app
    

    ProcMon showed repeated writes to:

    %LOCALAPPDATA%\warp\Warp\data\logs\warp.log
    

    The write length was 77 bytes, which matches that log line plus newline.

    Setting:

    RUST_LOG=off
    

    stops the log spam completely. After doing that, I no longer see appreciable disk I/O in Task Manager while dragging. So the disk spike appears to have been caused by INFO logging during drag.

    However, the once-per-second stutter still remains even with RUST_LOG=off.

    SQLite/session findings:

    Resetting/renaming the SQLite session files did not appear to have any effect. The issue does not seem to be primarily caused by warp.sqlite.

  3. djbrown79 commented on Apr 25, 2026

    @djbrown79

    So, five seconds after hitting "Comment" I tried switching off the "prefer rendering new windows with integrated GPU" and the once-per-second stutter completey vanished. I'm using an Intel i9-12900K coupled with 64GB of DDR5 5600 RAM.

  4. added
    ready-to-implement
    area:performance
    area:ui-framework
    os:windows
    triaged
    on Apr 27, 2026
  5. flysafely commented on Apr 30, 2026

    @flysafely
    Author

    Search for "GPU" in the Settings function and turn off the switch. This should solve the problems of I/O and window input lag

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:performancearea:ui-frameworkbugos:windowsready-to-implementtriaged

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions