-
Notifications
You must be signed in to change notification settings - Fork 8.5k
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
conpty exhibits pathological performance on scrolling region redraw (repaints entire screen) #7019
Comments
@izghitu Which Also @jblaine this doesn't really sound like it's related to Ctrl+C to me at all. Here OP is just trying to switch tabs in |
@zadjii-msft I use the ssh.exe that ships with WIndows. Its location is:
The version of the WT is Version: 1.1.2021.0 |
Some other questions from #7191:
|
@zadjii-msft My hour of testing showed the following for what I'm experiencing. Windows build number: Microsoft Windows [Version 10.0.18363.959] Windows 10 native ssh client Connect via Windows 10 ssh (under Terminal) to a remote host. At the remote host, run a new screen or tmux session OR re-attach to an existing one. Generate a lot of output from a shell in one of the screen or tmux windows. Terminal crawls in batches of text displayed and often becomes unresponsive for periods of time. In my particular case, I am using a Terminal profile with The same behavior can be seen in a WSL distro using the distro's SSH connected to the remote host + attach to screen + cat big file. It does not happen when running a bare CMD.EXE (outside of Terminal) and then After digging around in the open issues here and finding some other issue about slow rendering when colors are at play, I even tested when TERM=vt100 on the remote end and all coloring turned off. The performance issue still exists in that case, so it does not seem to have to do anything with that other color perf. issue. |
Well that pretty specifically rules out a whole bunch of possible sources of this issue actually. That narrows it down to specifically the Terminal, and rules out conpty, That being said, I wonder what about the terminal is causing the stuttering. XAML? DX? Scrollbar updating? Does setting There are also a pair of global renderer settings that might be able to help rule out DX. Does setting either of these to
|
No, none of those helped. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. |
This should be reopened, please |
Thanks. Our bot should be taught to recognize any commenter who can provide additional information. One more question - are you using a status line in screen or tmux? |
Thanks @DHowett. Yes, I do use a statusline in screen. My tmux testing was only for this issue. I don't use tmux in my daily life. |
Okay, excellent. Thanks. We have a pathological redraw case when there are sub-full-screen scrolling regions active (like, where there’s a status line). We end up retransmitting the entire contents of the screen for every line between the backend and frontend processes in Terminal. The contention on the output queue bogs down the input queue. |
I believe we have another version of this lying around somewhere, so I’ll assign myself to deduplicate. |
Just messaged Dustin about this - turns out there's not another dupe for this one! This is now the tracking thread for this issue. Thanks! |
I'm pretty sure this is /dup #%228 after all. |
Environment
Steps to reproduce
ssh into a remote host, execute a command that spits a lot of output
Expected behavior
In putty when the connection to a remote host is slow and a command spits a lot of output and that output comes back in frames(due to the slow connection) then I can just fine switch between SCREEN tabs. In windows terminal this is not possible. I am not even able to switch between tabs of the windows terminal until the command previous executed does not finish its output.
Actual behavior
Need to wait for full command output before I can do anything else in the windows terminal.
The text was updated successfully, but these errors were encountered: