question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Where to place --disable-gpu --force-cpu-draw arguments in the build process

See original GitHub issue

Hi, i’m using the electron-packager to create a setup of my electron application.

Now i have a question: In the development im using "npm start" to test an run my application and this command looks like "start": "..\\node_modules\\electron-prebuilt\\dist\\electron.exe . --disable-gpu --force-cpu-draw". But after building the setup using the packager the arguments --disable-gpu and --force-cpu-draw will be ignored. Where to put this arguments in the build process to archive the function of it?

Thanks in advance!

Which version of electron-packager are you using? 5.2.1

What CLI arguments are you passing? Alternatively, if you are using the API, what parameters are you passing to the packager() function? electron-packager . APPNAME --out=…/Staging/setup/win --platform=win32 --arch=all --version=1.2.5 --icon=icons/favicon.ico --version-string.ProductName=APPNAME --disable-gpu --force-cpu-draw

What version of Electron are you building with?

1.2.5

What is the host platform are you running electron-packager on?

Windows 7 - 64bit

What target platform(s)/architecture(s) are you building for? win32-ia32 and win32-x64

Is there a stack trace in the error message you’re seeing?

Please provide either a failing testcase or detailed steps to reproduce your problem.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:10 (3 by maintainers)

github_iconTop GitHub Comments

0reactions
aaomidicommented, Oct 1, 2019

That doesn’t seem to force the CPU to become the renderer.

Read more comments on GitHub >

github_iconTop Results From Across the Web

The GPU process still runs with --disable-gpu - Google Groups
"C:\Users\me\AppData\Local\Google\Chrome SxS\Application\chrome.exe" --disable-gpu --purge-memory-button --unlimited-quota-for-files ...
Read more >
How can I disable GPU rendering in Visual Studio Code
Disable GPU acceleration · Open the Command Palette ( Ctrl + Shift + P ). · Run the Preferences: Configure Runtime Arguments command....
Read more >
aZC - River Thames Conditions - Environment Agency - GOV.UK
C-kan biografia 2012, Mt fuji sushi castle rock, Remove artifex ghostscript! ... Blacks should vote republican, Alabama power building birmingham, ...
Read more >
Electrical power systems ddas by gopinath - Issuu
The bus impedance matrix by the ZBUS building algorithms is ... with low lagging power factor and force them to install power factor ......
Read more >
NUCLEAR ENERGY RESEARCH INITIATIVE (NERI ...
Practical processes for recycling hydride fuel need be developed as well. ... The CORAIL parameters for first recycling – fuel rod position, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found