nativefier / nativefier Public
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support --disable-gpu flag #364
Comments
|
@kevinschaich thanks for the feedback! There's a mismatch between what your title and issue say. Looking at the title, I think I understand you want to force Electron to use the integrated (Intel, power-efficient) GPU rather than your AMD/NVIDIA chip, but Electron/Chrome has no such feature as far as I know (or has it? Correct me if I'm wrong). The request for a |
|
@ronjouch Thanks for the correction in terminology. As a revised problem statement, I think it would be helpful to have a https://github.com/electron/electron/blob/master/docs/api/app.md#appdisablehardwareacceleration I believe if you call I can try to submit a pull request if someone can provide me an overview of how command-line arguments are parsed/used, as I'm not familiar with the codebase. |
|
@kevinschaich thanks for the fast reponse
|
|
@ronjouch perhaps this could still be useful for the prior issue you mentioned (e.g. to work around crashy GPU drivers), and perhaps we rename it either to |
|
@kevinschaich yup, leaving the issue open as is, asking for a |
|
|

Description
Electron is using the discrete, high-performance GPU in very simple webapps. I think it would be nice to support a flag that uses the integrated, power-efficient Intel one for simple apps. This issue was mentioned in #312, but we never found a solution. In aluxian/Messenger-for-Desktop@bedec61, the fix seems to be
app.disableHardwareAcceleration().Please add CLI argument
--force-integrated-gputhat invokes the electron--force-integrated-gpuflag for apps that will knowingly not require any intensive GPU processing.Steps to Reproduce Issue
Run:
nativefier drive.google.com -n "Google Drive"Open and inspect in activity monitor:
Specifications
$ nativefier --version):v7.3.1$ node --version):v7.9.0MacOS 10.12.4x64MacBook Pro Retina 15" w/ touch bar, Radeon Pro 460 / 4 GB
The text was updated successfully, but these errors were encountered: