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.

Blank windows with chromium-args (in-process-gpu)

See original GitHub issue

NWJS 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:closed
  • Created 4 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
ol-webcommented, Sep 6, 2019

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

0reactions
stale[bot]commented, Sep 20, 2020

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Blank full screen when main monitor is on NVIDIA GPU in dual ...
Issue 622167: Blank full screen when main monitor is on NVIDIA GPU in dual-GPU system. · 1. The bug only happens when chrome://gpu...
Read more >
Pages randomly appear completely "blank/white" until I resize ...
I have noticed that when I set the chrome://flag called "GPU compositing on all pages Mac, Windows, Linux" to DISABLED, it causes the...
Read more >
New Window Opens Blank Screen on Incognito and Regular
In my experience the blank screen only occurs when opening a new WINDOW when ... Some drivers are unable to reset the D3D...
Read more >
161476 - GPU rendering does not work when chrome is run ...
When Chrome is published as a remote app and is started without the --disable-gpu flag most pages render blank and Pepper flash produce...
Read more >
1198567 - Headless browser freezes on Windows unless ...
args : ['--disable-gpu'], dumpio: true, }); console.log('got browser'); const page = await browser.newPage(); console.log('got page'); process.exit(); } ...
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