Skip to content

Instantly share code, notes, and snippets.

@andriyudatama
Last active October 31, 2025 13:01
Show Gist options
  • Save andriyudatama/fe5d00deb36feeea30ef35a5ea0f7eff to your computer and use it in GitHub Desktop.
Save andriyudatama/fe5d00deb36feeea30ef35a5ea0f7eff to your computer and use it in GitHub Desktop.
Disable Hardware Acceleration (GPU) on Visual Studio Code
Visual Studio Code frequently crashes linux. Using NVIDIA GPU
1. Open command pallete (Ctrl + Shift + P)
2. Enter "Preferences: Configure Runtime Arguments"
3. Add config: "disable-hardware-acceleration": true
4. Restart VS Code
@ahakkar
Copy link

ahakkar commented Oct 31, 2025

"disable-hardware-acceleration": true

Seems to still work. Am am using 1.94.2 since I do not need the new chat features provided by newer builds. This on 25H2 and 5090, so not limited to Linux it seems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment