microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
163.64k stars 29.04k forks source link

My custom bash prompt is gone and terminals load slowly after the January 2023 update #173353

Closed sfsaccone closed 1 year ago

sfsaccone commented 1 year ago

Type: Performance Issue

Hi, VSC just applied the January 2023 update. Now, my custom bash prompt has been replaced with something else. That is, the value of $PS1 is not what's set in my profile script. Also, terminals load much more slowly than before. Are there new Terminal settings I can adjust to fix this? Thanks.

VS Code version: Code 1.75.0 (e2816fe719a4026ffa1ee0189dc89bdfdbafb164, 2023-02-01T15:23:45.584Z) OS version: Windows_NT x64 10.0.22000 Modes: Sandboxed: No Connection to 'ssh-remote+ninds1' could not be established Remote OS version: Linux x64 5.15.0-58-generic Remote OS version: Linux x64 5.15.0-47-generic

System Info |Item|Value| |---|---| |CPUs|12th Gen Intel(R) Core(TM) i9-12900KF (24 x 3187)| |GPU Status|2d_canvas: enabled
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off| |Load (avg)|undefined| |Memory (System)|63.80GB (44.81GB free)| |Process Argv|| |Screen Reader|no| |VM|0%| Connection to 'ssh-remote+ninds1' could not be established |Item|Value| |---|---| |Remote|SSH: coga1| |OS|Linux x64 5.15.0-58-generic| |CPUs|Intel(R) Xeon(R) CPU E5-2690 v3 @ 2.60GHz (2 x 2593)| |Memory (System)|7.76GB (6.32GB free)| |VM|100%| |Item|Value| |---|---| |Remote|SSH: ubuntu3| |OS|Linux x64 5.15.0-47-generic| |CPUs|Intel(R) Core(TM) i5-8400 CPU @ 2.80GHz (2 x 2808)| |Memory (System)|2.60GB (1.54GB free)| |VM|0%|
Process Info ``` CPU % Mem MB PID Process 0 206 25200 code main 0 257 2428 window (Settings - des-test (Workspace) [SSH: coga1] - Visual Studio Code) 0 123 4900 extension-host 0 124 6468 extension-host 0 155 21376 shared-process 0 88 39436 fileWatcher 0 76 42432 fileWatcher 0 87 44152 ptyHost 0 9 2728 console-window-host (Windows internal process) 0 5 4216 C:\Windows\System32\cmd.exe /c (type "C:\Users\Scott\AppData\Local\Temp\vscode-linux-multi-line-command-ubuntu3-648187972.sh" | "C:\Windows\System32\OpenSSH\ssh.exe" -T -D 61303 ubuntu3 bash) & exit /b 0 0 10 40528 "C:\Windows\System32\OpenSSH\ssh.exe" -T -D 61303 ubuntu3 bash 0 9 23996 console-window-host (Windows internal process) 0 5 27332 C:\Windows\System32\cmd.exe /c (type "C:\Users\Scott\AppData\Local\Temp\vscode-linux-multi-line-command-coga1-116832043.sh" | "C:\Windows\System32\OpenSSH\ssh.exe" -T -D 62178 coga1 bash) & exit /b 0 0 10 40240 "C:\Windows\System32\OpenSSH\ssh.exe" -T -D 62178 coga1 bash 0 9 31120 console-window-host (Windows internal process) 0 5 46156 C:\Windows\System32\cmd.exe /c (type "C:\Users\Scott\AppData\Local\Temp\vscode-linux-multi-line-command-ninds1-303628770.sh" | "C:\Windows\System32\OpenSSH\ssh.exe" -T -D 62127 ninds1 bash) & exit /b 0 0 10 32656 "C:\Windows\System32\OpenSSH\ssh.exe" -T -D 62127 ninds1 bash 0 89 45864 fileWatcher 0 79 23144 utility-network-service 0 238 36016 window (Release Notes: 1.75.0 - ninds1-des-test (Workspace) [SSH: ninds1] - Visual Studio Code) 0 168 40956 window (ninds-des-ubuntu3 (Workspace) [SSH: ubuntu3] - Visual Studio Code) 0 137 44680 window (undefined) 0 104 44988 extension-host 0 93 46356 issue-reporter 0 262 47516 gpu-process Connection to 'ssh-remote+ninds1' could not be established Remote: SSH: coga1 CPU % Mem MB PID Process 0 0 101548 remote agent 0 0 101585 ptyHost 0 0 104185 /bin/bash --init-file /home/ssaccone/.vscode-server/bin/e2816fe719a4026ffa1ee0189dc89bdfdbafb164/out/vs/workbench/contrib/terminal/browser/media/shellIntegration-bash.sh 0 0 101644 fileWatcher 0 0 101768 extension-host 0 0 104403 /bin/sh -c /usr/bin/ps -ax -o pid=,ppid=,pcpu=,pmem=,command= 0 0 104404 /usr/bin/ps -ax -o pid=,ppid=,pcpu=,pmem=,command= Remote: SSH: ubuntu3 CPU % Mem MB PID Process 0 0 1102123 remote agent 0 0 1102161 ptyHost 0 0 1102551 /bin/bash --init-file /home/ssaccone/.vscode-server/bin/e2816fe719a4026ffa1ee0189dc89bdfdbafb164/out/vs/workbench/contrib/terminal/browser/media/shellIntegration-bash.sh 0 0 1102296 fileWatcher 0 0 1102360 extension-host 0 0 1102391 /home/ssaccone/.vscode-server/bin/e2816fe719a4026ffa1ee0189dc89bdfdbafb164/node /home/ssaccone/.vscode-server/extensions/mtxr.sqltools-0.27.1/dist/languageserver.js --node-ipc --clientProcessId=1102360 0 0 1102483 /home/ssaccone/.vscode-server/bin/e2816fe719a4026ffa1ee0189dc89bdfdbafb164/node /home/ssaccone/.vscode-server/extensions/streetsidesoftware.code-spell-checker-2.16.0/packages/_server/dist/main.js --node-ipc --clientProcessId=1102360 0 0 1102799 /bin/sh -c /usr/bin/ps -ax -o pid=,ppid=,pcpu=,pmem=,command= 0 0 1102800 /usr/bin/ps -ax -o pid=,ppid=,pcpu=,pmem=,command= ```
Workspace Info ``` Connection to 'ssh-remote+ninds1' could not be established | Remote: SSH: coga1 | Remote: SSH: ubuntu3; ```
Extensions (24) Extension|Author (truncated)|Version ---|---|--- Bookmarks|ale|13.3.1 vscode-great-icons|emm|2.1.90 vscode-firefox-debug|fir|2.9.8 vscode-apache|mrm|1.2.0 jupyter-keymap|ms-|1.0.0 remote-containers|ms-|0.275.0 remote-ssh|ms-|0.96.0 remote-ssh-edit|ms-|0.84.0 remote-wsl|ms-|0.75.1 vscode-remote-extensionpack|ms-|0.23.0 remote-explorer|ms-|0.2.0 debugger-for-chrome|msj|4.13.0 php-docblocker|nei|2.7.0 material-icon-theme|PKi|4.23.1 json-script-tag|sis|0.3.2 vscode-autohotkey|sle|0.2.2 rewrap|stk|1.16.3 errorlens|use|3.6.0 vscode-todo-highlight|way|1.0.5 JavaScriptSnippets|xab|1.8.0 material-theme|zhu|3.15.6 vscode-terminals|fab|1.15.0 vscode-workspace-explorer|tom|1.5.0 markdown-all-in-one|yzh|3.5.0 (1 theme extensions excluded)
paste.
sfsaccone commented 1 year ago

Sorry, submitted by mistake.