Black screen on resize

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By anb

I have my screen size set to 192x192 and whenever I resize it to any other resolution, the window goes completely black.

My stretch settings are:
Mode: Viewport
Aspect: Keep
Shrink: 1

enter image description here

I’m running Godot v3.0.5 on windows 7.

Edit: I’ve found out that as long as one of the dimensions is of the original and none are less than the original, it will display. But my problem still remains.

enter image description here

I’m running into the same problem, see this GitHub issue. I don’t know of any fix so far.

Calinou | 2018-07-13 13:54

I have the exact same problem, Stretch Mode “2d” works as expected, but Stretch Mode “viewport” also causes a black screen for me. Did you manage to fix that issue, or work around it? #23054

exploids | 2018-10-17 12:08

:bust_in_silhouette: Reply From: ZacB

I think this is due to your Windows settings. To change this you might have to change some settings :

-Open the Start menu
-Right-click Computer
-Choose “Properties” from the context menu
-In the left panel, click “Advanced system settings”
-In the Performance section, click the “Settings” button
-The dialog box shown in the figure below will open
-Make sure the “Visual Effects” tab is selected
-Select the button for the best appearence
-Click “OK” and “OK”

Hmm… That doesn’t seem to affect the problem, regardless if I choose performance or appearance. I have found another detail and I’ve updated my original post.

anb | 2018-07-13 18:43

Have you tried starting a new project to see if the problem was here again ? I strongly think the problem is due to your game config if it’s not to your Windows’s one.

ZacB | 2018-07-14 13:27

Sorry for the late reply, but yes, this happens in all my other projects as well. I’ve tested it on my laptop and I didn’t have this problem. I’m thinking it may be some side effect of some background process running or an error or bug within my operating system.

anb | 2018-07-19 20:59