Godot: Blank Window when running on secondary monitor with NVIDIA Optimus graphics

Created on 23 Nov 2017  路  16Comments  路  Source: godotengine/godot

Windows 10 Laptop.
GTX 1060. 6GB - Driver 382.05
There is also an an intel graphics in there as well. (May be related)

Godot 3 Alpha 2

Issue description:
When I have the editor open on my external second monitor and I launch the game (F5) I get a blank screen.
If I drag the blank window down onto my primary monitor I can see the game as I should.
If I then drag the window back to the external monitor, I can see the game as I should.

Also note: If I make my external monitor my "main display" using the windows display settings, the problem goes away and I cann't reproduce the issue on any monitor.

Also note: I am also experiencing the bug where sometimes the game is launched as an editor window instead of my game, and I get a black screen for that as well.

Steps to reproduce:
Run a project from the editor on a secondary monitor on my laptop.

bug confirmed windows porting

Most helpful comment

Same issue for me. Laptop hooked up to a secondary monitor.

Godot 3.2.1
Win10
Intel UHD Graphics 630
NVIDIA GeForce GTX 1070 with Max-Q

1) Load Godot (it loads on my laptop monitor)
2) Load the game file
3) F5 (run the game)
Everything works fine

4) Close game
5) Drag the Godot editor to my secondary monitor
6) F5 (run the game)
White screen the game doesn't load.

All 16 comments

Are you running Godot on the integrated Intel graphics, or on the dedicated NVIDIA GPU? By default, it will run on the integrated graphics unless forced by right-clicking the executable then selecting the dedicated GPU in the Run with graphics processor dropdown.

In my Nvidia control panel I had it "auto selecting" in the Preferred Graphics Processor section.

It seems that its the Nvidia card that has the problem. When I forced it to used the integrated graphics the problem goes away.

Windows 10 desktop, GTX 1050 + GT440. On either of the 4 monitors I move the game window, it displays normally. I don't know how to make the window start by default on an arbitrary monitor, though.

I find that the game window always starts on the same monitor as the editor is open on. Example, if the editor is maximised on monitor 2, the game will start there.

I find that the game window always starts on the same monitor as the editor is open on. Example, if the editor is maximised on monitor 2, the game will start there.

That can be configured in the editor settings.

OK. Tested starting on either of the two nVidia cards, on each monitor, I can't reproduce the issue.
EDIT: also tested with each card owning the primary display (driver 385.41 for both cards).

Same problem with a slightly different config :
Tested on Godot 3.0 and 3.1.Beta10

Desktop Computer
OS : Windows 7 Professional
GPU : NVidia GTX 970 (No integrated shipset)

Don't know if that can help ^^'

just about the same issue on my laptop (one monitor). Right-click running with the integrated Intel graphics 620 (up to openGL 4.4) will let it run fine. but by default or forcing it to use the dedicated graphics card GeForce 940MX (upto openGL 4.6) gives a white screen for the project select box (pic 1). If I resize this box vertically, it will look okay (pic 2). Then the editor also starts blank, and has to resize to show anything, but then stays with a black border, and the window doesn't visually respond to clicks, full screen, F1/F2, anything. Only by resizing window larger, vertically or horizontally does it update. I can F2, then change size and it'll be the right screen. Hope this helps!

load
resize

Same issue for me. Laptop hooked up to a secondary monitor.

Godot 3.2.1
Win10
Intel UHD Graphics 630
NVIDIA GeForce GTX 1070 with Max-Q

1) Load Godot (it loads on my laptop monitor)
2) Load the game file
3) F5 (run the game)
Everything works fine

4) Close game
5) Drag the Godot editor to my secondary monitor
6) F5 (run the game)
White screen the game doesn't load.

@LethargicDeveloper Does it work if you force Godot to run on the integrated GPU or dedicated GPU?

@Calinou Nope.
The only place I know to do that is the NVIDIA Control Panel.
I've tried changing my Global Settings to both Integrated Graphics and High-performance NVIDIA processor with no apparent effect.
I've also tried setting just the Godot program to both in the Program Settings Tab.

I'm having the same problem with an almost exact setup to jaykyburz, is this being worked on?

@Gamegenorator As far as I know, nobody has found a solution to this bug yet.

@Calinou Sad to hear, thanks for letting me know.

I have same problem. Win10 GeForce GTX 1650 MaxQ.
I've tried with both intergated graphics and nvidia one, it shows white window when run scene on second monitor.

My workaround is to run editor on second monitor and run scene on laptop's monitor. It is not so convenient, but at least I have editor and running scene on different monitors.

Was this page helpful?
0 / 5 - 0 ratings