Noticeable lag / delay when using Remote Desktop #6704

Closed
opened 2026-01-31 00:45:14 +00:00 by claunia · 8 comments
Owner

Originally created by @Brand-Wylie on GitHub (Mar 2, 2020).

When I open Windows Terminal on Windows 10 in a Remote Desktop session there is noticeable input delay. Opening a separate PowerShell or CMD shell within the same environment performs normally.

Originally created by @Brand-Wylie on GitHub (Mar 2, 2020). When I open Windows Terminal on Windows 10 in a Remote Desktop session there is noticeable input delay. Opening a separate PowerShell or CMD shell within the same environment performs normally.
claunia added the Resolution-DuplicateProduct-TerminalArea-Performance labels 2026-01-31 00:45:14 +00:00
Author
Owner

@WSLUser commented on GitHub (Mar 3, 2020):

It's not just when using Remote Desktop. Even in a VM given max resources possible (without causing insufficient resources for base OS), it's slow opening, especially since my default is PS Core and that takes awhile to load PS profile (in addition to WT profile).

@WSLUser commented on GitHub (Mar 3, 2020): It's not just when using Remote Desktop. Even in a VM given max resources possible (without causing insufficient resources for base OS), it's slow opening, especially since my default is PS Core and that takes awhile to load PS profile (in addition to WT profile).
Author
Owner

@zadjii-msft commented on GitHub (Mar 3, 2020):

Total spitball: maybe this is due to the Remote Desktop / VM connection trying to virtualize the DX rendering?

I'm really not sure though, it's hard to differentiate this from just #1064. I'm inclined to just close this as a dupe without more specific data for this scenario. We would definitely need some perf traces on this scenario specifically to see what the hot paths are here.

@zadjii-msft commented on GitHub (Mar 3, 2020): Total spitball: maybe this is due to the Remote Desktop / VM connection trying to virtualize the DX rendering? I'm really not sure though, it's hard to differentiate this from just #1064. I'm inclined to just close this as a dupe without more specific data for this scenario. We would definitely need some perf traces on this scenario specifically to see what the hot paths are here.
Author
Owner

@WSLUser commented on GitHub (Mar 3, 2020):

maybe this is due to the Remote Desktop / VM connection trying to virtualize the DX rendering?

I think that's exactly what's happening. However, equally possible as a result of that is that it fails and then performs software rendering instead. Not sure if there's a way to boost speed of software rendering to test but if possible, I'd add some library to deal with boosting software rendering speed to the project if the code can't be rewritten well enough to gain noticeable perf gains.

@WSLUser commented on GitHub (Mar 3, 2020): >maybe this is due to the Remote Desktop / VM connection trying to virtualize the DX rendering? I think that's exactly what's happening. However, equally possible as a result of that is that it fails and then performs software rendering instead. Not sure if there's a way to boost speed of software rendering to test but if possible, I'd add some library to deal with boosting software rendering speed to the project if the code can't be rewritten well enough to gain noticeable perf gains.
Author
Owner

@WSLUser commented on GitHub (Mar 3, 2020):

Make this ticket (or the other) about adding Boost: https://github.com/boostorg/boost to the project.

@WSLUser commented on GitHub (Mar 3, 2020): Make this ticket (or the other) about adding Boost: https://github.com/boostorg/boost to the project.
Author
Owner

@zadjii-msft commented on GitHub (Mar 3, 2020):

I mean I'm not sure how just "adding Boost" to the terminal would be a magic bullet to get a perf gain out of the Terminal - we'd need actual logs, traces, evidence of places in the code that are a bottleneck that would necessitate another library to solve the problem...

@zadjii-msft commented on GitHub (Mar 3, 2020): I mean I'm not sure how just "adding Boost" to the terminal would be a magic bullet to get a perf gain out of the Terminal - we'd need actual logs, traces, evidence of places in the code that are a bottleneck that would _necessitate_ another library to solve the problem...
Author
Owner

@j4james commented on GitHub (Mar 4, 2020):

If the theory is that DX is to blame, you could probably confirm that by comparing the performance of a conhost session with and without the UseDx registry setting.

@j4james commented on GitHub (Mar 4, 2020): If the theory is that DX is to blame, you could probably confirm that by comparing the performance of a conhost session with and without the `UseDx` registry setting.
Author
Owner

@DHowett-MSFT commented on GitHub (Mar 5, 2020):

This seems like another version of /dup #1064, and #778 should help with it.

@DHowett-MSFT commented on GitHub (Mar 5, 2020): This seems like another version of /dup #1064, and #778 should help with it.
Author
Owner

@ghost commented on GitHub (Mar 5, 2020):

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@ghost commented on GitHub (Mar 5, 2020): Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#6704