microsoft / vscode

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

typing is driving me mad #198011

Closed nonki72 closed 9 months ago

nonki72 commented 9 months ago

Type: Performance Issue

since the last update ( i had to use flatpak to install since it would not even start with the rpm ), the typing cursor and characters flash and appear and disappear randomly while typing.

Linux fedora 6.5.9-200.fc38.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Oct 25 20:40:49 UTC 2023 x86_64 GNU/Linux

VS Code version: Code 1.84.0 (d037ac076cee195194f93ce6fe2bdfe2969cc82d, 2023-11-01T11:28:21.782Z) OS version: Linux x64 6.5.9-200.fc38.x86_64 Modes:

System Info |Item|Value| |---|---| |CPUs|AMD Ryzen 7 6800H with Radeon Graphics (16 x 2868)| |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
video_decode: enabled
video_encode: disabled_software
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off| |Load (avg)|2, 1, 1| |Memory (System)|14.87GB (9.73GB free)| |Process Argv|--unity-launch --crash-reporter-id 97dbb115-53e0-49d7-80dd-e16847e536e1| |Screen Reader|no| |VM|0%| |DESKTOP_SESSION|gnome| |XDG_CURRENT_DESKTOP|GNOME| |XDG_SESSION_DESKTOP|gnome| |XDG_SESSION_TYPE|wayland|
Process Info ``` CPU % Mem MB PID Process 0 168 17202 code main 0 30 17206 zygote 0 213 17240 gpu-process 0 30 17278 broker 0 30 17207 zygote 0 0 17209 zygote 0 289 17262 window [1] (computeLocations.js - cybers-cafe (Workspace) - Visual Studio Code) 0 91 18288 window [2] (Issue Reporter) 0 61 17245 utility-network-service 0 228 17549 extensionHost [1] 0 107 17602 electron-nodejs (/usr/share/code/code --ms-enable-electron-run-as-node --max-old-space-size=3072 /usr/share/code/resources/app/extensions/node_modules/typescript/lib/tsserver.js --serverMode partialSemantic --useInferredProjectPerProjectRoot --disableAutomaticTypingAcquisition --cancellationPipeName /tmp/vscode-typescript1000/eeb2288788b79a80ec4e/tscancellation-8d3fe4babfb9ab07b742.tmp* --locale en --noGetErrOnBackgroundUpdate --validateDefaultNpmLocation --useNodeIpc) 0 183 17603 electron-nodejs (/usr/share/code/code --ms-enable-electron-run-as-node --max-old-space-size=3072 /usr/share/code/resources/app/extensions/node_modules/typescript/lib/tsserver.js --useInferredProjectPerProjectRoot --enableTelemetry --cancellationPipeName /tmp/vscode-typescript1000/eeb2288788b79a80ec4e/tscancellation-89771f59fa815651f250.tmp* --locale en --noGetErrOnBackgroundUpdate --validateDefaultNpmLocation --useNodeIpc) 0 76 17618 electron-nodejs (/usr/share/code/code --ms-enable-electron-run-as-node /usr/share/code/resources/app/extensions/node_modules/typescript/lib/typingsInstaller.js --globalTypingsCacheLocation /home/jordan/.cache/typescript/5.2 --enableTelemetry --typesMapLocation /usr/share/code/resources/app/extensions/node_modules/typescript/lib/typesMap.json --validateDefaultNpmLocation) 0 76 17661 electron-nodejs (/usr/share/code/code --ms-enable-electron-run-as-node /home/jordan/.vscode/extensions/mtxr.sqltools-0.28.0/dist/languageserver.js --node-ipc --clientProcessId=17549) 0 61 18145 electron-nodejs (/usr/share/code/code --ms-enable-electron-run-as-node /home/jordan/.vscode/extensions/dbaeumer.vscode-eslint-2.4.2/server/out/eslintServer.js --node-ipc --clientProcessId=17549) 0 61 18205 electron-nodejs (/usr/share/code/code --ms-enable-electron-run-as-node /usr/share/code/resources/app/extensions/json-language-features/server/dist/node/jsonServerMain --node-ipc --clientProcessId=17549) 0 91 17561 shared-process 0 0 18301 /usr/bin/ps -ax -o pid=,ppid=,pcpu=,pmem=,command= 0 91 17562 fileWatcher [1] 0 76 17631 ptyHost 0 0 17670 /usr/bin/bash --init-file /usr/share/code/resources/app/out/vs/workbench/contrib/terminal/browser/media/shellIntegration-bash.sh ```
Workspace Info ``` | Window (computeLocations.js - cybers-cafe (Workspace) - Visual Studio Code) | Folder (neo): 11585 files | File types: json(2056) js(1650) sln(567) vcxproj(564) css(286) png(282) | md(248) h(229) cpp(204) txt(202) | Conf files: sln(567) makefile(211) launch.json(197) tasks.json(196) | package.json(23) grunt.js(7) webpack.config.js(2) | Launch Configs: node(11); ```
Extensions (6) Extension|Author (truncated)|Version ---|---|--- vscode-eslint|dba|2.4.2 vscode-firefox-debug|fir|2.9.10 vscode-github-actions|git|0.26.2 cloudcode|goo|2.1.1 sqltools|mtx|0.28.0 tabnine-vscode|Tab|3.29.0
A/B Experiments ``` vsliv368:30146709 vsreu685:30147344 python383:30185418 vspor879:30202332 vspor708:30202333 vspor363:30204092 vslsvsres303:30308271 vserr242cf:30382550 pythontb:30283811 vsjup518:30340749 pythonptprofiler:30281270 vshan820:30294714 vstes263:30335439 vscorecescf:30445987 vscod805:30301674 binariesv615:30325510 bridge0708:30335490 bridge0723:30353136 vsaa593cf:30376535 pythonvs932:30410667 py29gd2263:30880072 vsclangdf:30486550 c4g48928:30535728 dsvsc012cf:30540253 pynewext54:30695312 azure-dev_surveyone:30548225 3biah626:30602489 f6dab269:30613381 showlangstatbar:30737416 pythonfmttext:30731395 fixshowwlkth:30771522 showindicator:30805244 pythongtdpath:30769146 i26e3531:30792625 pythonnosmt12:30797651 pythonidxpt:30866567 pythonnoceb:30805159 asynctok:30869155 dsvsc013:30795093 dsvsc014:30804076 dsvsc015:30845448 pythontestfixtcf:30871695 pythonregdiag2:30871582 pyreplss2:30886141 pythonmypyd1:30879173 pythoncet0:30885854 pythontbext0:30879054 dsvsc016:30886110 dsvsc017cf:30886113 dsvsc018:30886114 aa_t_chat:30882232 ```
VSCodeTriageBot commented 9 months ago

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.84.2. Please try upgrading to the latest version and checking whether this issue remains.

Happy Coding!

nonki72 commented 9 months ago

Screenshot from 2023-11-11 12-31-05 i cant even profile it, probably due to SELINUX

nonki72 commented 9 months ago

nevermind, even firefox is doing this