V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Livid
V2EX  ›  Visual Studio Code

有点好奇 VS Code 1.40 更新里提到的禁用 GPU 加速会解决某些问题,具体是什么问题呢?

  •  
  •   Livid · 2019-11-14 05:48:29 +08:00 · 3719 次点击
    这是一个创建于 1597 天前的主题,其中的信息可能已经有所发展或是发生改变。

    https://code.visualstudio.com/updates/v1_40

    "We have heard issue reports from users that seem related to how the GPU is used to render VS Code's UI. These users have a much better experience when running VS Code with the additional --disable-gpu command-line argument. Running with this argument will disable the GPU hardware acceleration and fall back to a software renderer."

    3 条回复    2019-11-14 07:05:05 +08:00
    xupefei
        1
    xupefei  
       2019-11-14 06:39:19 +08:00 via iPhone   ❤️ 3
    有些硬件(比如 Parallels 的虚拟显卡)对 GPU 加速支持有问题,在虚拟出来的 Win10 里会出现全黑色窗口。
    不光是 vscode,这个问题在运行一些 unity 游戏时也会出现。

    另外还有性能问题,有些虚拟机的显卡(比如 vmware fusion )在进行 GPU 加速时会严重拖慢宿主机。
    paopjian
        2
    paopjian  
       2019-11-14 07:04:32 +08:00
    以前的版本有过性能比较差的电脑用双屏开 vscode 会很卡,需要启动项禁用 GPU 加速,现在只是放到设置里了
    crab
        3
    crab  
       2019-11-14 07:05:05 +08:00   ❤️ 1
    开启硬件加速模式应该是黑屏这个问题。Chrome 有的版本也会这样。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2838 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 13:25 · PVG 21:25 · LAX 06:25 · JFK 09:25
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.