LoginSignup
1
0

More than 3 years have passed since last update.

ParallelsでElectronで開発されたアプリの表示がおかしくなるのを回避する方法

Last updated at Posted at 2020-03-24

--disable-gpuオプションを付与して起動するとうまくいく。

VSCode

open /Applications/Visual\ Studio\ Code.app --args --disable-gpu

Googole Chrome

open /Applications/Google\ Chrome.app --args --disable-gpu

.zash等にエイリアスで登録するか、Automator等でスクリプト化すると良い。

(追記:2021年3月15日)

ChromeもVSCodeもハードウエア(GPU)アクセラレーションをOFFににする機能があるのでそれをOFFにしたほうが早いかもしれません。

2021年3月15日時点で、

  • VSCodeのUI乱れは何もしなくても解消してるように見える(ParallelsおよびOSは最新)
  • ChromeはUI乱れは無いが動作が遅くて事実上使い物にならない。

VSCode

cmd + shift + pでコマンドパレットを出して[Configure Runtime Argument]を選択。

スクリーンショット 2021-03-28 11.58.01.png

表示されるargv.jsonに

"disable-hardware-acceleration": true

と追記。VSCodeを再起動。(あまりかわらないけど)。

Chrome

詳細設定でハードウエアアクセラレーションをOFFにしてChromeを再起動。

スクリーンショット 2021-03-28 11.52.21.png

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0