V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
Livid
272.76D
572.66D

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

  •  
  •   Livid ·
    PRO
    · Nov 14, 2019 · 4475 views
    This topic created in 2369 days ago, the information mentioned may be changed or developed.

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

    另外还有性能问题,有些虚拟机的显卡(比如 vmware fusion )在进行 GPU 加速时会严重拖慢宿主机。
    paopjian
        2
    paopjian  
       Nov 14, 2019
    以前的版本有过性能比较差的电脑用双屏开 vscode 会很卡,需要启动项禁用 GPU 加速,现在只是放到设置里了
    crab
        3
    crab  
       Nov 14, 2019   ❤️ 1
    开启硬件加速模式应该是黑屏这个问题。Chrome 有的版本也会这样。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2900 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 11:24 · PVG 19:24 · LAX 04:24 · JFK 07:24
    ♥ Do have faith in what you're doing.