Last active
December 11, 2025 08:22
-
-
Save dougg0k/2c50ef89aec97f779135dc0f7f2c1c9f to your computer and use it in GitHub Desktop.
VSCode flags - Path ~/.config/code-flags.conf
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # There are two threads that if ever get implemented into vscode, could bring improvements to the usage experience. | |
| # https://github.com/microsoft/vscode/issues/27378 | |
| # https://github.com/microsoft/vscode/issues/221145 | |
| # CPU | |
| --enable-features=RawDraw,HighEfficiencyModeAvailable,EarlyHintsPreloadForNavigation,WebRTCPipeWireCapturer | |
| --disable-gpu | |
| --disable-software-rasterizer | |
| --enable-begin-frame-scheduling | |
| # GPU | |
| # There are some slowdowns currently, since WebGPU are not yet fully implemented into vscode. | |
| # There are bugs still, that may be affected by various flags. | |
| # When selecting text, it seemed somewhat sluggish, not responsive. | |
| # Never use more than one --enable-features and --disable-features as it can overwrite the previous. | |
| # WaylandWindowDecorations cause slowdown, SkiaGraphite break webgpu, RawDraw cause UI to break on 1.98 | |
| # | |
| # --enable-features=Vulkan,UseClientGmbInterface,DirectRenderingDisplayCompositor,VizDisplayCompositor,CanvasOopRasterization,UseGpuSchedulerDfs,UseSkiaRenderer,HighEfficiencyModeAvailable,EarlyHintsPreloadForNavigation,WebRTCPipeWireCapturer,UiGpuRasterization,EarlyEstablishGpuChannel,EstablishGpuChannelAsync | |
| # --disable-features=WaylandWindowDecorations,SkiaGraphite,DefaultANGLEVulkan,VulkanFromANGLE,RawDraw | |
| # --enable-unsafe-webgpu | |
| # --use-vulkan=native | |
| # --enable-gpu-rasterization | |
| # --enable-oop-rasterization | |
| # --canvas-oop-rasterization | |
| # --enable-drdc | |
| # --enable-native-gpu-memory-buffers | |
| # --ui-enable-zero-copy | |
| # --enable-accelerated-2d-canvas | |
| # --use-skia-renderer | |
| # --enable-use-gpu-scheduler-dfs | |
| # --enable-accelerated-compositing | |
| # --enable-gpu-async-worker-context | |
| # --new-canvas-2d-api | |
| # --disable-gpu-vsync | |
| # --enable-gpu-memory-buffer-video-frames | |
| # --ui-enable-shared-image-cache-for-gpu | |
| # --use-client-gmb-interface | |
| # --max-gum-fps=500 | |
| # --enable-viz-display-compositor | |
| # --disable-image-animation-resync | |
| # --force_high_performance_gpu | |
| # --enable-gpu-early-init | |
| # --disable-webgl | |
| # --enable-gpu-compositing | |
| # --enable-hardware-overlays | |
| # Style | |
| --force-device-scale-factor=1 | |
| --force-color-profile=srgb | |
| --disable-font-subpixel-positioning | |
| --disable-lcd-text | |
| --enable-use-zoom-for-dsf | |
| --disable-renderer-accessibility | |
| --high-dpi-support=1 | |
| # Others | |
| --gtk-version=4 | |
| --wm-window-animations-disabled | |
| --animation-duration-scale=0.0 | |
| --cc-scroll-animation-duration-in-seconds=0.0 | |
| --disable-login-animations | |
| --disable-modal-animations | |
| --disable-wayland-ime | |
| --enable-raw-draw | |
| --main-thread-compositing-priority | |
| --disable-smooth-scrolling | |
| --high-efficiency-mode-available | |
| --allow-pre-commit-input | |
| --enable-threaded-texture-mailboxes | |
| --enable-threaded-compositing | |
| --enable-threaded-animation | |
| --enable-threaded-scrolling | |
| --scheduler-configuration | |
| --disable-renderer-backgrounding | |
| --back-forward-cache=force-caching-all-pages | |
| --enable-waitable-swap-chain=1 | |
| --num-raster-threads=8 | |
| --disable-input-event-activation-protection | |
| --enable-zero-copy | |
| # Disable list | |
| # --ignore-gpu-blocklist | |
| # --disable-gpu-driver-workarounds | |
| # --disable-gpu-driver-bug-workarounds | |
| # --max-active-webgl-contexts=100 # GL usage only | |
| # --use-gl=egl # Breaks webgpu | |
| # --in-process-gpu # Breaks webgpu | |
| # --enable-skia-graphite # Breaks webgpu or cause slowdown | |
| # --disable-frame-rate-limit # Cause slow down with webgpu | |
| # --disable-vulkan-surface |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment