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

Noticeable lag / delay when using Remote Desktop #4775

Closed
Brand-Wylie opened this issue Mar 2, 2020 · 8 comments
Closed

Noticeable lag / delay when using Remote Desktop #4775

Brand-Wylie opened this issue Mar 2, 2020 · 8 comments
Labels
Area-Performance Performance-related issue Product-Terminal The new Windows Terminal. Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.

Comments

@Brand-Wylie
Copy link

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.

@ghost ghost added Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Needs-Tag-Fix Doesn't match tag requirements labels Mar 2, 2020
@WSLUser
Copy link
Contributor

WSLUser commented 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).

@zadjii-msft
Copy link
Member

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 zadjii-msft added Area-Performance Performance-related issue Product-Terminal The new Windows Terminal. labels Mar 3, 2020
@WSLUser
Copy link
Contributor

WSLUser commented 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
Copy link
Contributor

WSLUser commented Mar 3, 2020

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

@zadjii-msft
Copy link
Member

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...

@j4james
Copy link
Collaborator

j4james commented 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.

@DHowett-MSFT
Copy link
Contributor

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

@ghost
Copy link

ghost commented 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 ghost closed this as completed Mar 5, 2020
@ghost ghost added Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing. and removed Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Needs-Tag-Fix Doesn't match tag requirements labels Mar 5, 2020
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Performance Performance-related issue Product-Terminal The new Windows Terminal. Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.
Projects
None yet
Development

No branches or pull requests

5 participants