Movement laggy in Window-Mode // Smooth in Fullscreen-Mode

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Yugo
:warning: Old Version Published before Godot 3 was released.

If I have a simple sprite which I can move with the arrow keys then I see on Mac and on Linux that if I move the Sprite in Window-Mode that it lags when moving. But on Fullscreen Mode its really smooth.

Why is it like that? Can it be fixed?

PS. This happens in the Game Editor and when I export the game.

I have the same behavior in my game in progress :frowning:
I use also linux.

sergicollado | 2016-03-28 11:28

Now that’s weird… on my linux it lags in fullscreen, not in window.
Maybe you can tell us the window manager, drivers, distro, and so on?

Bojidar Marinov | 2016-03-29 08:32

I use Ubuntu 15.10, Unity, and only use my Intel HD 3000 graphics card. Regarding drivers I didn’t install any others.

Should we open a ticket on the github page? I mean all my games really don’t make fun in the Window-Mode :frowning:

Yugo | 2016-03-29 10:34

Yeah, open a ticket, but make sure to follow the template, and give as much information as possible :-)

Bojidar Marinov | 2016-03-29 12:28

Does it still lag if you disable your window manager’s compositing?

Note that you can do so only on KDE/Xfce/LXDE, GNOME and Unity don’t have an option to disable compositing nowadays.

Calinou | 2016-05-23 14:49

:bust_in_silhouette: Reply From: akiyamaakira

try: Scene → Project Settings → Display → check use_vsync and check On