Run VS code with `--disable-gpu` flag by default

I'm having lagging spikes in VS code due to hardware acceleration.

How can I make VS Code always start with the --disable-gpu flag (when starting from the command line, as well as from the context menu)?

+5
source share
1 answer

For me it worked:

Go to Properties => Compatibility => Run this program in compatibility mode for Windows 7

This problem has been going on for 3 years and has not yet been resolved. ( https://github.com/Microsoft/vscode/issues/15211 )

0
source

All Articles