Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
fireattack opened this issue Jan 10, 2025 · 3 comments
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation. Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting

Comments

@fireattack
Copy link

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](#17414 (comment)), 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

@fireattack fireattack added Issue-Bug It either shouldn't be doing this or needs an investigation. Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting labels Jan 10, 2025
@carlos-zamora
Copy link
Member

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?

@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something label Jan 15, 2025
@fireattack
Copy link
Author

fireattack commented 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
)

@microsoft-github-policy-service microsoft-github-policy-service bot added Needs-Attention The core contributors need to come back around and look at this ASAP. and removed Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something labels Jan 16, 2025
@carlos-zamora
Copy link
Member

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 carlos-zamora added Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something and removed Needs-Attention The core contributors need to come back around and look at this ASAP. labels Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation. Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting
Projects
None yet
Development

No branches or pull requests

2 participants