Blank windows with chromium-args (in-process-gpu)
See original GitHub issueNWJS Version : 0.39.3 32/64 bit (Windows normal/sdk) and nwjs-v0.40.0-beta1-win-x64 (normal/sdk)
Operating System : Windows 10 32/64 bit
Expected behavior
The application (nw.exe) should start normally like my older version 0.30.5 (I need an NW update because I need add vibration for the gamepad for some players 😄).
Actual behavior
Using “chromium-args”: “–in-process-gpu”, in package.json will cause windows (including DevTools - chrome-error://chromewebdata/) to be “blank/black”.
Screenshot: https://pasteboard.co/IqdsHOx.png
It works when I remove “–in-process-gpu”, but I have low fps on some devices (low-end).
How to reproduce
This is my package.json. You can try load credits.html, for me windows is black/blank like on the screenshot. I can drag credits.html (or game files) to nwjs window (nw.exe) and then it works…
{
"main": "credits.html",
"chromium-args": "--in-process-gpu --disable-transparency",
"version": "1.37.51",
"window": {
"toolbar": false,
"fullscreen": true,
"width": 900,
"height": 510,
"resizable": true
},
"webkit": {
"plugin": false,
"page-cache": false
}
}
Similar post (but on the Mac OS): https://github.com/nwjs/nw.js/issues/5741
PS. I will check later Mac OS / Linux.
Issue Analytics
- State:
- Created 4 years ago
- Comments:5
Top GitHub Comments
I had the same problem on win10 (didn’t check other systems). My devtools window was blank, my main window was simply transparent with shadow around it. It was still usable, everything seemed to work fine by navigating through it blindly but it just didn’t render any of the windows. Downgraded to 33.3 and it works perfectly now.
Maybe it’s gpu/driver related? Mine is AMD R9 290x with drivers: 18.50.21.01-190212a-339148E-RadeonSoftwareAdrenalin2019
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.