Created
December 5, 2020 14:48
-
-
Save kythuatwebso/6b71a3e98a2a19c0286ef59e388c4fc8 to your computer and use it in GitHub Desktop.
Sữa lỗi GPU không hiển thị được vscode
This file contains 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
To add this flag: | |
Open the Command Palette (Ctrl+Shift+P). | |
Run the Preferences: Configure Runtime Arguments command. This command will open an argv.json file to configure runtime arguments. | |
You might see some default arguments there already. | |
Add "disable-hardware-acceleration": true. | |
Restart VS Code. | |
Note: Do not use this setting unless you are seeing issues! | |
####################################################################### | |
Trường hợp không mở đc vscode thì mở cmd.exe lên và chạy lệnh sau: | |
code . --disable-gpu | |
sau đó bấm (Ctrl+Shift+P) và dán dòng sau vào: | |
Preferences: Configure Runtime Arguments | |
lệnh này sẽ mở file argv.json để cấu hình. Tìm vào bật dòng sau: | |
"disable-hardware-acceleration": true | |
khởi động lại vscode là oke |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment