WT causes the whole Windows animation to be super laggy (after RDP?), until all the WT processes are terminated #22758

Open
opened 2026-01-31 08:22:36 +00:00 by claunia · 8 comments
Owner

Originally created by @fireattack on GitHub (Jan 10, 2025).

Windows Terminal version

1.21.3231.0

Windows build number

10.0.19045.5247

Other Software

Command line

Steps to reproduce

There are no concrete steps to reproduce, as the issue occurs randomly. However, I’ve noticed two recurring patterns:

  1. Using RDP to access this computer often triggers the bug later when I use the computer locally (though not always immediately).
  2. Having multiple Windows Terminal (WT) windows open for an extended period.

Expected Behavior

It shouldn't cause Windows animation lagging issue.

Actual Behavior

I briefly mentioned this performance issue [in another ticket](https://github.com/microsoft/terminal/issues/17414#issuecomment-2539085553), but I believe it deserves its own standalone discussion.

When the bug occurs, the entire Windows desktop UI becomes extremely laggy (e.g., dragging and switching windows), with performance dropping to what feels like less than 20 FPS. 3D applications like full-screen games are not affected; only the desktop UI.

To resolve the issue, I must close all open Windows Terminal windows (I typically keep 2–3 open at any given time). Doing so immediately restores normal performance.

The issue is not tied to any specific tab—I’ve tested this by opening a new window and then closing all existing windows, but the problem persists.

Here’s what the processes related to WT look like before I terminate them (and fix the issue):

Image

Originally created by @fireattack on GitHub (Jan 10, 2025). ### Windows Terminal version 1.21.3231.0 ### Windows build number 10.0.19045.5247 ### Other Software Command line ### Steps to reproduce There are no concrete steps to reproduce, as the issue occurs randomly. However, I’ve noticed two recurring patterns: 1. Using RDP to access this computer often triggers the bug later when I use the computer locally (though *not always immediately*). 2. Having multiple Windows Terminal (WT) windows open for an extended period. ### Expected Behavior It shouldn't cause Windows animation lagging issue. ### Actual Behavior I briefly mentioned this performance issue [[in another ticket](https://github.com/microsoft/terminal/issues/17414#issuecomment-2539085553)](https://github.com/microsoft/terminal/issues/17414#issuecomment-2539085553), but I believe it deserves its own standalone discussion. When the bug occurs, the entire Windows desktop UI becomes extremely laggy (e.g., dragging and switching windows), with performance dropping to what feels like less than 20 FPS. 3D applications like full-screen games are *not* affected; only the desktop UI. To resolve the issue, I must close all open Windows Terminal windows (I typically keep 2–3 open at any given time). Doing so immediately restores normal performance. The issue is not tied to any specific tab—I’ve tested this by opening a new window and then closing all existing windows, but the problem persists. Here’s what the processes related to WT look like before I terminate them (and fix the issue): ![Image](https://github.com/user-attachments/assets/38bebb02-6a4a-4af9-b054-387796da75a5)
claunia added the Needs-TriageIssue-BugNeeds-Attention labels 2026-01-31 08:22:37 +00:00
Author
Owner

@carlos-zamora commented on GitHub (Jan 15, 2025):

Thanks for filing! What hardware (specifically GPU(s)) are you using /? Can you also update your drivers (if you haven't already) and share what versions are installed?

@carlos-zamora commented on GitHub (Jan 15, 2025): Thanks for filing! What hardware (specifically GPU(s)) are you using /? Can you also update your drivers (if you haven't already) and share what versions are installed?
Author
Owner

@fireattack commented on GitHub (Jan 16, 2025):

Operating System
	Windows 10 Pro 64-bit
CPU
	Intel Core i5 14600K	36 °C
	Raptor Lake 10nm Technology
RAM
	32.0GB Unknown @ 2394MHz (40-40-40-77)
Motherboard
	Micro-Star International Co., Ltd. MAG B760M MORTAR II (MS-7E13) (U3E1)	36 °C
Graphics
	Intel UHD Graphics 770 (MSI)
	4091MB NVIDIA GeForce RTX 4060 Ti (MSI)	56 °C
	SLI Disabled

I use two monitors, one 2k 75hz and 1 4k 60hz

GPU driver info via nvidia-smi.

+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 566.36                 Driver Version: 566.36         CUDA Version: 12.7     |
|-----------------------------------------+------------------------+----------------------+
| GPU  Name                  Driver-Model | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  NVIDIA GeForce RTX 4060 Ti   WDDM  |   00000000:01:00.0  On |                  N/A |
|  0%   57C    P0             34W /  165W |    2832MiB /  16380MiB |      0%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+

(Please notice I use Studio Driver channel. So it might be slightly older than newest Game Ready Driver, but it is up-to-date:
Image
)

@fireattack commented on GitHub (Jan 16, 2025): Operating System Windows 10 Pro 64-bit CPU Intel Core i5 14600K 36 °C Raptor Lake 10nm Technology RAM 32.0GB Unknown @ 2394MHz (40-40-40-77) Motherboard Micro-Star International Co., Ltd. MAG B760M MORTAR II (MS-7E13) (U3E1) 36 °C Graphics Intel UHD Graphics 770 (MSI) 4091MB NVIDIA GeForce RTX 4060 Ti (MSI) 56 °C SLI Disabled I use two monitors, one 2k 75hz and 1 4k 60hz GPU driver info via `nvidia-smi`. ``` +-----------------------------------------------------------------------------------------+ | NVIDIA-SMI 566.36 Driver Version: 566.36 CUDA Version: 12.7 | |-----------------------------------------+------------------------+----------------------+ | GPU Name Driver-Model | Bus-Id Disp.A | Volatile Uncorr. ECC | | Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. | | | | MIG M. | |=========================================+========================+======================| | 0 NVIDIA GeForce RTX 4060 Ti WDDM | 00000000:01:00.0 On | N/A | | 0% 57C P0 34W / 165W | 2832MiB / 16380MiB | 0% Default | | | | N/A | +-----------------------------------------+------------------------+----------------------+ ``` (Please notice I use Studio Driver channel. So it might be slightly older than newest Game Ready Driver, but it is up-to-date: ![Image](https://github.com/user-attachments/assets/1ecd6b99-bf8c-44b1-a153-dc4ed059063a) )
Author
Owner

@carlos-zamora commented on GitHub (Jan 22, 2025):

Thanks! This is most likely something outside of our abilities, but you can try these things out:

  1. set the window opacity to something below 100%. This causes composition via DWM and disables MPO. It can be found here:
    transparency setting

  2. set the graphics API to Direct2D. It can be found here:
    graphics api setting

Let us know if that helps 😊

@carlos-zamora commented on GitHub (Jan 22, 2025): Thanks! This is most likely something outside of our abilities, but you can try these things out: 1. set the window opacity to something below 100%. This causes composition via DWM and disables MPO. It can be found here: ![transparency setting](https://github.com/user-attachments/assets/dafe179d-3fb7-4191-9d8a-dd073f4e97c0) 2. set the graphics API to Direct2D. It can be found here: ![graphics api setting](https://github.com/user-attachments/assets/0d4184f9-7263-4772-bd26-56a83324036c) Let us know if that helps 😊
Author
Owner

@fireattack commented on GitHub (Jan 27, 2025):

Sure, I will try if they help

@fireattack commented on GitHub (Jan 27, 2025): Sure, I will try if they help
Author
Owner

@fireattack commented on GitHub (Feb 3, 2025):

Unfortunately, changing graphics API to direct2D doesn't help. I will try the opacity trick next.

@fireattack commented on GitHub (Feb 3, 2025): Unfortunately, changing graphics API to direct2D doesn't help. I will try the opacity trick next.
Author
Owner

@fireattack commented on GitHub (Feb 10, 2025):

Guys, I need some time to test and provide results.

Not sure why a week is considered enough time to label an ongoing issue as "no activity" and be closed.

@fireattack commented on GitHub (Feb 10, 2025): Guys, I need some time to test and provide results. Not sure why a week is considered enough time to label an ongoing issue as "no activity" and be closed.
Author
Owner

@fireattack commented on GitHub (Feb 11, 2025):

Setting opacity to 99% does not help, either.

@fireattack commented on GitHub (Feb 11, 2025): Setting opacity to 99% does not help, either.
Author
Owner

@fireattack commented on GitHub (Sep 12, 2025):

This bug still exists :(

@fireattack commented on GitHub (Sep 12, 2025): This bug still exists :(
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#22758