godot icon indicating copy to clipboard operation
godot copied to clipboard

Full-Screen Screen flickering

Open Chronos-89 opened this issue 10 years ago • 17 comments

Hello, I have a pretty basic issue with Godot which is full-screen. Every time I enter full screen the screen will flicker, but is just fine in Window mode.

OS: Windows 10 PRO X64 GPU: Nvidia Titan-X Drivers: 365.10

Just turn on fullscreen in the project settings, this may be a driver issue but I've tried several and get the same. I did NOT have these issues in 1x!

Chronos-89 avatar May 10 '16 00:05 Chronos-89

seems it's not vsyncing on Windows for some reason, will have to check

On Mon, May 9, 2016 at 9:22 PM, Rukiri [email protected] wrote:

Hello, I have a pretty basic issue with Godot which is full-screen. Every time I enter full screen the screen will flicker, but is just fine in Window mode.

OS: Windows 10 PRO X64 GPU: Nvidia Titan-X Drivers: 365.10

Just turn on fullscreen in the project settings, this may be a driver issue but I've tried several and get the same. I did NOT have these issues in 1x!

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/godotengine/godot/issues/4605

reduz avatar May 10 '16 00:05 reduz

@reduz BTW, there is still strong interest in the community for a way to force vsync on (#2621). You mentioned there that it's hardly relevant as it's always forced on by compositors, but it seems not to always be the case.

akien-mga avatar May 10 '16 06:05 akien-mga

@akien-mga ~ Considering that fullscreen is usually not managed by the composer, it might be it :smile:

bojidar-bg avatar May 10 '16 07:05 bojidar-bg

@akien-mga ~ Considering that fullscreen is usually not managed by the composer, it might be it :smile:

Also, V-Sync is not forced on Windows by default, except by Intel graphics drivers.

Calinou avatar May 10 '16 08:05 Calinou

Yeah, it seems on fullscren, vsync is not forced on by default.. I thought it was. Will have to work on this.

On Tue, May 10, 2016 at 5:39 AM, Calinou [email protected] wrote:

@akien-mga https://github.com/akien-mga ~ Considering that fullscreen is usually not managed by the composer, it might be it [image: :smile:]

Also, V-Sync is not forced on Windows by default, except by Intel graphics drivers.

— You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub https://github.com/godotengine/godot/issues/4605#issuecomment-218093825

reduz avatar May 10 '16 15:05 reduz

Enabling V-Sync in the Nvidia control panel doesn't solve the problem though...

Chronos-89 avatar May 10 '16 21:05 Chronos-89

@reduz I've added Vsync a while ago but never did a PR because I'm not sure it's the neatest way to implement it. it is in this commit here

Alex-doc avatar May 11 '16 08:05 Alex-doc

Switched resolutions, have a 4K display but go back down to 1080p for normal desktop use, go back to 1440p or 4K for gaming and forgot to switch back the resolution and noticed the massive flickering is gone... I have noticed major screen tearing in games like dolphin island 2 and a few others and forcing v-sync probably isn't as effective as forcing it in engine.

Chronos-89 avatar May 13 '16 00:05 Chronos-89

@Rukiri Could you try again in the current master branch, which has vsync support?

akien-mga avatar Jun 07 '16 07:06 akien-mga

this is most likely fixed now

reduz avatar Jun 18 '16 21:06 reduz

Closing then, please reopen if you still experience this issue once we release 2.1 alpha (or when you build the master branch from source).

akien-mga avatar Jun 18 '16 22:06 akien-mga

I do not know if it's the case of opening a new issue, but I'm using official Godot 3.1 with Windows 10 x64 and an NVIDIA GeForce GTX 1060 6GB video card.

In the project (above) where I did a simple test with PathFollow, I noticed two problems:

  1. I have 3 monitors. When the game screen is running on monitor 1 (LG M2380A), the animation displays flickers (after the third loop of the mesh). By dragging the screen to monitor 2 (AOC 2269W) or to monitor 3 (Samsung SyncMaster), no flickers occur. Maybe it's something with the clock in Monitor 1 (although I only saw this problem with Godot).
  2. Another strange situation: turning off VSync, the animation is simply crazy, the mesh keeps jumping from side to side, following the path.

Project: path.zip


Now see this project:

  1. If Vsync is ON, flickers occurs (in both videos)
  2. If Vsync if OFF, as well as the FPS getting absurdly faster, the flickers disappear.

This is pretty crazy, is not it?

Project: esteira.zip


What could be done?

rogeriodec avatar Mar 15 '19 00:03 rogeriodec

I have the same Problem as @rogeriodec . I am using a 144hz Screen and a 60hz Screen. The flickering occurse on my 144hz Screen but not on my 60hz screen. Godot Version: 3.2.1.stable.official using OpenGL 3.0 My graphics card is a Nvidia GeForce RTX 2080.

PragmaticBeaver avatar Apr 14 '20 18:04 PragmaticBeaver

@PragmaticBeaver Can you make a video recording of the flickering and upload it here, if it's visible on a video?

Calinou avatar Apr 14 '20 19:04 Calinou

@PragmaticBeaver Please open a dedicated issue. What you describe is very different from this issue.

Before doing that however, have you tried setting Vsync to use the windows compositor? There was a setting added recently to use the Windows compositor for VSync, and that may help with your issue. See https://docs.godotengine.org/en/3.2/classes/class_projectsettings.html#class-projectsettings-property-display-window-vsync-vsync-via-compositor

clayjohn avatar Apr 14 '20 19:04 clayjohn

Maybe 2.1 Milestone can be removed or changed as 3.x seems to be affected too.

Anutrix avatar Jul 27 '20 07:07 Anutrix

This is a 2016 bug report about Godot 2.0, I would suggest opening new issues for similar-sounding issues that happen in 3.2+.

akien-mga avatar Jul 27 '20 08:07 akien-mga