![]() ![]() Note that it can be difficult to confirm whether vscode is obeying this setting. ![]() The terminal features 3 renderers that fallback if they are detected to perform poorly in this order: Option 2: Edit Terminal Rendering SettingĪccording to the vscode docs, the integrated terminal renderer can be changed with the setting,. The difference will be very noticeable if this worked, particularly in the integrated terminal. Warning: 'ignore-gpu-blacklist' is not in the list of known options, but still passed to Electron/Chromium It's expected that the following warning appears: In some cases, Electron/Chromium may prevent VS Code from enabling GPU acceleration due to a blacklist, which can be disabled by launching VS Code with code -ignore-gpu-blacklist. If hardware acceleration appears to be disabled, (e.g., webgl: disabled_software, skia_renderer: enabled), performance will likely suffer until that's addressed. Check the output for errors, and note the "GPU Status" section.In a separate terminal window, run code -status.To check whether the underlying Chromium engine provides hardware acceleration to VS Code: The most likely culprit for general slowness of Electron apps on Linux is a lack of GPU acceleration, which is (often? always?) disabled by default. YMMV, depending on system configuration and hardware. However, the options below have been known to resolve the issue. performance is really bad (compared to sublime + im very impatient).Īs of Feb 2022, some systems still experience poor performance in the latest VS Code with default settings on Ubuntu 20.04. after moved to SSD, performance of writing text is good, because write and read speed from the SSD is faster.īut vs code is still slow. Try setting your cpu to performance mode. Try uninstalling the unimportant extensions or make a sacrifice to reduce the total number. vim extension is single-threaded and not very well optimized and when you type you may have bad performance, so uninstall vim extension. Usually, vs code is handling the keypresses by itself, but when vim extension is installed it overrides the control. i know, why talking about manjaro on askubuntu, but i had the same problem in ubuntu 20.04 gnome too, but at that time i wasnt stroke with a refresh rate idea. right now its not lagging anymore when typing/selectin text and im using manaro 21 xfce. ![]() disable built-in display (laptop display)įor me, this option with refresh rate worked like a charm.If you have a secondary external monitor (laptop user case), then: if you GPU has a max of 60hz then configure your monitor to 60hz. (desktop user case) check you graphics card refresh rate. There are several causes for this problem: My problem with vs code: bad performance when writing text and selecting text in the editor. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |