如何在 Visual Studio Code 中禁用 GPU 渲染 [英] How can I disable GPU rendering in Visual Studio Code

查看:63
本文介绍了如何在 Visual Studio Code 中禁用 GPU 渲染的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我遇到了糟糕的渲染问题...似乎 Visual Studio Code 窗口在重绘之前没有清理屏幕区域.同样的事情发生在这里与 chrome 浏览器,但在 chrome 中我可以用--disable-gpu-rendering"启动它,它很顺利.

I'm with bad rendering issues... Seems that the Visual Studio Code window do not clean a screen area before redraw it. The same thing happens here with chrome browser, but in chrome I can start it with " --disable-gpu-rendering " and it goes well.

如何在 Visual Studio Code 中禁用 GPU 渲染?

How can I disable GPU rendering in Visual Studio Code ?

我认为这是一个特定于硬件的问题,我也在寻找其他方法来解决它.

I'm thinking it's a hardware specific problem, and I'm looking for a other way to solve it too.

了解我的硬件可能很有用:

May be useful know my hardware:

Machine: Notebook dell vostro 3500 (intel chipset)
CPU: Intel i5
RAM: 8G
linux kernel: 4.0
video graphics: intel i915 (latest)
X -version: X.Org X Server 1.14.0

推荐答案

在 Windows 下,我可以确认使用 --disable-gpu 启动 VSCode 不会创建 GPU 进程:

Under Windows, I can confirm that launching VSCode with --disable-gpu does not create a GPU process:

C:\Users\alex\AppData\Local\Code\app-0.1.0>Code.exe --disable-gpu

也许同样的标志也适用于 Linux?

Perhaps the same flag works on Linux too?

这篇关于如何在 Visual Studio Code 中禁用 GPU 渲染的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆