Windows Powershell Lagging while typing in windows terminal #8889

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

Originally created by @Rasesh2005 on GitHub (Jun 7, 2020).

Expected behavior

Should Be Responsive As i type in any CLI Interface.

Actual behavior

When I complete typing my whole command and look at the screen it has started typing The first word.Sowly typing letter by letter.

I don't have any such problem on opening powershell from win + x But I love the design Of terminal,Therefore came here to report the issue.

By the way, Command Prompt(cmd.exe) is working absolutely fine but i am more comfortable with interface of windows powershell.

Please Fix this bug as soon as possible

I Dont Have any Recording Tool To Attach The Recording.So,sorry couldn't give proof

Summing up, The problem is only Windows Powershell is lagging a lot while typing in windows terminal.But runs Perfectly Fine While opened as Standalone(form win + x )

Originally created by @Rasesh2005 on GitHub (Jun 7, 2020). <!-- 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨 I ACKNOWLEDGE THE FOLLOWING BEFORE PROCEEDING: 1. If I delete this entire template and go my own path, the core team may close my issue without further explanation or engagement. 2. If I list multiple bugs/concerns in this one issue, the core team may close my issue without further explanation or engagement. 3. If I write an issue that has many duplicates, the core team may close my issue without further explanation or engagement (and without necessarily spending time to find the exact duplicate ID number). 4. If I leave the title incomplete when filing the issue, the core team may close my issue without further explanation or engagement. 5. If I file something completely blank in the body, the core team may close my issue without further explanation or engagement. All good? Then proceed! --> <!-- This bug tracker is monitored by Windows Terminal development team and other technical folks. **Important: When reporting BSODs or security issues, DO NOT attach memory dumps, logs, or traces to Github issues**. Instead, send dumps/traces to secure@microsoft.com, referencing this GitHub issue. If this is an application crash, please also provide a Feedback Hub submission link so we can find your diagnostic data on the backend. Use the category "Apps > Windows Terminal (Preview)" and choose "Share My Feedback" after submission to get the link. Please use this form and describe your issue, concisely but precisely, with as much detail as possible. --> # Expected behavior Should Be Responsive As i type in any CLI Interface. # Actual behavior When I complete typing my whole command and look at the screen it has started typing The first word.Sowly typing letter by letter. I don't have any such problem on opening powershell from win + x But I love the design Of terminal,Therefore came here to report the issue. By the way, Command Prompt(cmd.exe) is working absolutely fine but i am more comfortable with interface of windows powershell. Please Fix this bug as soon as possible I Dont Have any Recording Tool To Attach The Recording.So,sorry couldn't give proof Summing up, The problem is only Windows Powershell is lagging a lot while typing in windows terminal.But runs Perfectly Fine While opened as Standalone(form win + x )
claunia added the Needs-TriageNeeds-AttentionArea-Performance labels 2026-01-31 01:40:31 +00:00
Author
Owner

@oising commented on GitHub (Jun 7, 2020):

@Rasesh2005 -- can you please reply with the following information:

  • windows version (e.g. windows 10 -- patch 1803/1903/1909/2004 etc.)
  • graphics card (e.g. intel iris, nvidia gfx 960 etc etc) and the driver version
  • screen resolution (e.g. 4000 x 3000) and screen refresh rate (e.g. 60hz?)
  • laptop screen or external monitor? both? Does the lag happen on both screens or just external?
  • what version of windows powershell? Try running it as powershell.exe -noprofile does it still lag?
@oising commented on GitHub (Jun 7, 2020): @Rasesh2005 -- can you please reply with the following information: - windows version (e.g. windows 10 -- patch 1803/1903/1909/2004 etc.) - graphics card (e.g. intel iris, nvidia gfx 960 etc etc) and the driver version - screen resolution (e.g. 4000 x 3000) and screen refresh rate (e.g. 60hz?) - laptop screen or external monitor? both? Does the lag happen on both screens or just external? - what version of windows powershell? Try running it as `powershell.exe -noprofile` does it still lag?
Author
Owner

@Rasesh2005 commented on GitHub (Jun 7, 2020):

windows version -- 2004
amd radeon graphics chip(don't remember the exact model)
720p display
laptop

$psversiontable is as follows

Name Value


PSVersion 5.1.19041.1
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.19041.1
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1

powershell.exe -noprofile doesnt make any diffference

But My concern is that it is working smoothly when launched from win+x or right clicking start button. But When Opened in terminal it lags a lot,like after typing the whole sentence, its still typing first word at the rate of one letter every 2 seconds

@Rasesh2005 commented on GitHub (Jun 7, 2020): windows version -- 2004 amd radeon graphics chip(don't remember the exact model) 720p display laptop $psversiontable is as follows Name Value ---- ----- PSVersion 5.1.19041.1 PSEdition Desktop PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...} BuildVersion 10.0.19041.1 CLRVersion 4.0.30319.42000 WSManStackVersion 3.0 PSRemotingProtocolVersion 2.3 SerializationVersion 1.1.0.1 powershell.exe -noprofile doesnt make any diffference But My concern is that it is working smoothly when launched from win+x or right clicking start button. But When Opened in terminal it lags a lot,like after typing the whole sentence, its still typing first word at the rate of one letter every 2 seconds
Author
Owner

@skyline75489 commented on GitHub (Jun 8, 2020):

When launched from Win+X that's the original conhost which uses GDI+. Windows Terminal is something very different. It uses DirectX and DirectWrite technology. It also adds a lot of other fancy things. So it should be expected that Windows Terminal has different performance comparing to conhost. Of course we do not want the lagging. Just to point out the essential difference of those two fellows.

@skyline75489 commented on GitHub (Jun 8, 2020): When launched from Win+X that's the original conhost which uses GDI+. Windows Terminal is something very different. It uses DirectX and DirectWrite technology. It also adds a lot of other fancy things. So it should be expected that Windows Terminal has different performance comparing to conhost. Of course we do not want the lagging. Just to point out the essential difference of those two fellows.
Author
Owner

@Rasesh2005 commented on GitHub (Jun 8, 2020):

Ohk! Thanks For this Valuable Knowledge. Didn't know this. But I am frustrated by windows terminal but want it to be better because of its better customisations ... SomeOne Plz Fix this issue ASAP

@Rasesh2005 commented on GitHub (Jun 8, 2020): Ohk! Thanks For this Valuable Knowledge. Didn't know this. But I am frustrated by windows terminal but want it to be better because of its better customisations ... SomeOne Plz Fix this issue ASAP
Author
Owner

@skyline75489 commented on GitHub (Jun 8, 2020):

We'd also love to fix whatever problem you're experiencing. But you gotta give us more context. The CPU & GPU, memory, driver, all those things may help.

By the way have you tried software rendering? This may also help.

@skyline75489 commented on GitHub (Jun 8, 2020): We'd also love to fix whatever problem you're experiencing. But you gotta give us more context. The CPU & GPU, memory, driver, all those things may help. By the way have you tried [software rendering](https://docs.microsoft.com/en-us/windows/terminal/customize-settings/global-settings#software-rendering)? This may also help.
Author
Owner

@vadimkantorov commented on GitHub (Jun 8, 2020):

( related feature request about measuring time-to-character-rendering: https://github.com/microsoft/terminal/issues/5590 )

@vadimkantorov commented on GitHub (Jun 8, 2020): ( related feature request about measuring time-to-character-rendering: https://github.com/microsoft/terminal/issues/5590 )
Author
Owner

@Rasesh2005 commented on GitHub (Jun 8, 2020):

you can check the feature of hp pavillion g6 1117tx notebook pc
I didn't make any modifications over it

@Rasesh2005 commented on GitHub (Jun 8, 2020): you can check the feature of hp pavillion g6 1117tx notebook pc I didn't make any modifications over it
Author
Owner

@oising commented on GitHub (Jun 8, 2020):

@Rasesh2005 Try what @skyline75489 mentions above -- there's a setting you can change that will use a different method to draw the screen. It may alleviate the problem by bypassing bugs in your video drivers.

@oising commented on GitHub (Jun 8, 2020): @Rasesh2005 Try what @skyline75489 mentions above -- there's a setting you can change that will use a different method to draw the screen. It may alleviate the problem by bypassing bugs in your video drivers.
Author
Owner

@oising commented on GitHub (Jun 8, 2020):

For ref, his machine has a core i3 cpu and AMD Radeon HD 6470M for gpu.

@oising commented on GitHub (Jun 8, 2020): For ref, his machine has a core i3 cpu and AMD Radeon HD 6470M for gpu.
Author
Owner

@Rasesh2005 commented on GitHub (Jun 9, 2020):

Can I get help where to paste the settings? Because I don't have much idea about how json settings work

@Rasesh2005 commented on GitHub (Jun 9, 2020): Can I get help where to paste the settings? Because I don't have much idea about how json settings work
Author
Owner

@zadjii-msft commented on GitHub (Jun 9, 2020):

Sure! You want to add it to the top-level of the json object, next to defaultProfile, like so:
image

@zadjii-msft commented on GitHub (Jun 9, 2020): Sure! You want to add it to the top-level of the json object, next to `defaultProfile`, like so: ![image](https://user-images.githubusercontent.com/18356694/84146641-9cd3f280-aa21-11ea-8016-f1c51e321acb.png)
Author
Owner

@Rasesh2005 commented on GitHub (Jun 11, 2020):

Sometime when I kill it from task manager (though it ends itself when exit.but doesn’t fix the issue) , It gets Fixed and I am able to use it smoothly

@Rasesh2005 commented on GitHub (Jun 11, 2020): Sometime when I kill it from task manager (though it ends itself when exit.but doesn’t fix the issue) , It gets Fixed and I am able to use it smoothly
Author
Owner

@oising commented on GitHub (Jun 11, 2020):

@Rasesh2005 Is this a work computer? Do you have a corporate antivirus running? Or your own personal one?

@oising commented on GitHub (Jun 11, 2020): @Rasesh2005 Is this a work computer? Do you have a corporate antivirus running? Or your own personal one?
Author
Owner

@Rasesh2005 commented on GitHub (Jun 13, 2020):

personal Computer. So No Urgency

@Rasesh2005 commented on GitHub (Jun 13, 2020): personal Computer. So No Urgency
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#8889