--- title: Chrome add button to toggle GPU tags: SideeX --- Chrome add button to toggle GPU === Command to start chrome with gpu-disabled --- - `open -a "Google Chrome" --args --load-extensions="${extensionPath}" --disable-gpu` 可以在 `chrome://gpu` 中查看現在是否使用 GPU ==一般情況下如下圖:==   使用的 GPU 為 `Intel(R) UHD Graphics 617` ==Disable-gpu 後如下圖:==   使用 Google [swiftshader](https://github.com/google/swiftshader) Button ---  控制流程: button :arrow_right: ChromeProxy.exeGpuHandler :arrow_right: store & action to store value in state.template :arrow_right: 開啟 selenium 時讀取值 current problems: - mac: - 必須要關閉所有視窗才可以正確的開啟或者關閉硬體加速。 - linux: - normal mode 沒有辦法停用 GPU。 - windows: - None
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up