Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Editor shrinks vertically slightly when maximized on Windows 11 Laptop #83975

Open
Bryce-Dixon opened this issue Oct 26, 2023 · 4 comments
Open

Comments

@Bryce-Dixon
Copy link

Godot version

4.2 beta 3; 4.1.2 stable; 3.5.3 stable

System information

Windows 11; NVidia RTX4050 Laptop GPU (Driver version 31.0.15.2901); AMD Ryzen 7 7735HS CPU (Radeon display driver version 31.0.14050.3); 1080p 144hz Display

Issue description

When the Godot Editor window is maximized, the rendered area shrinks vertically by a few pixels after a few seconds of inactivity.

Unfortunately, this seems fairly system specific. I'm not sure if anyone else has encountered an issue like this and this is the first device I've used and run into it.

Notice the black strip of pixels at the bottom and the middle of script line 23 missing.
godot-squish

Interestingly, when trying to capture a recording of the issue, it couldn't be recorded when only capturing the Godot window - the full display needed to be captured. It's possible there is an issue of the GPU rendering the window contents and CPU's integrated graphics then scaling the window contents incorrectly, though Godot is the only program which reproduced this issue and only during periods of inactivity. dxdiag reports the CPU's integrated graphics' display as the laptop's display with the GPU's display as n/a.

Steps to reproduce

  1. Open Editor
  2. Make fullscreen
  3. Black strip appears due to vertical shrink after a second of inactivity or when window not in focus

This issue is not reproduced in exported projects; only in the editor and Project Manager.

Minimal reproduction project

No project necessary, though a script open in the editor makes the issue more apparent.

@Bryce-Dixon Bryce-Dixon changed the title Editor shrinks vertically slightly when maximized on Windows 11 Editor shrinks vertically slightly when maximized on Windows 11 Laptop Oct 26, 2023
@Ieunn
Copy link

Ieunn commented Oct 31, 2023

I've encountered the same issue on the same Godot version as you plus 4.2 beta 1 and 4.2 beta 4 on my desktop (.NET version). I use NVidia RTX4090 and Intel i7-13700k with LG 4k 144Hz display. The only common thing we have should be 144Hz display and Windows 11.
Besides I noticed that this issue only happened after I updated my Windows two weeks ago. The temporary solution I found should be lower the refresh rate to 90Hz or 60Hz. And this issue won't happen if I move the editor window to my second screen with 165Hz refresh rate.

Edit: Have checked my update history, should be some windows updates between Oct 4 and Oct 13 screwing up everything.
Screenshot

@Calinou
Copy link
Member

Calinou commented Nov 1, 2023

Is V-Sync disabled in the project settings? This may be resolved by #80566, as I get a feeling this is related to V-Sync.

Also, can you reproduce this after switching to the Compatibility rendering method in the top-right corner of the editor?

@Ieunn
Copy link

Ieunn commented Nov 1, 2023

Is V-Sync disabled in the project settings? This may be resolved by #80566, as I get a feeling this is related to V-Sync.

Also, can you reproduce this after switching to the Compatibility rendering method in the top-right corner of the editor?

V-Sync is enabled in my project settings, but I can still reproduce this when disable V-Sync. However after switching to the Compatibility rendering method I could not reproduce this by now.

@Bryce-Dixon
Copy link
Author

I ended up returning the laptop that was seeing this issue, so I can no longer repro it.

However, I can at least say the issue persisted regardless of VSync state or renderer selection.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants