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

Viewport input lag on Linux Wayland (5fps or so behind) #74380

Closed
sourcelocation opened this issue Mar 4, 2023 · 4 comments
Closed

Viewport input lag on Linux Wayland (5fps or so behind) #74380

sourcelocation opened this issue Mar 4, 2023 · 4 comments

Comments

@sourcelocation
Copy link

sourcelocation commented Mar 4, 2023

Godot version

4.0.stable

System information

Arch Linux KDE Plasma, AMD RX 6650 XT, Vulkan, Wayland

Issue description

There's a noticeable input lag in Viewport refreshing. For example, when looking around or moving objects you can tell that it's 3-5 frames behind. Even at >60fps. Attached a video showing the issue - you can see how the pivot is behind the cursor by a few frames.

IMG_1361.mov

Steps to reproduce

  1. Open Viewport on Linux (Wayland specific?)
  2. Try moving objects, you should feel the significant delay

Minimal reproduction project

Happens in every project

@sourcelocation sourcelocation changed the title 3D viewport input lag on Linux Wayland (5fps or so behind) Viewport input lag on Linux Wayland (5fps or so behind) Mar 4, 2023
@vvvvvvitor
Copy link

Same happens here on Gnome with Wayland.

@sourcelocation
Copy link
Author

Tried Xorg, and the delay becomes 1-2 frames behind

@CODESOLE
Copy link

CODESOLE commented Mar 5, 2023

Same here. At first launch no input lag, after some time input lag shows up. Here is my issue:

Screencast.from.2023-03-05.18-41-34.webm

Steam version of Godot.
GNOME Wayland Session
Archlinux
Nvidia GeForce GTX 920M GPU

Btw, it just like there is a screen update issue as well. In the last part of the video after I clicked, i have to shake mouse to update the screen. If I click and not move mouse, it' s never update the UI changes. Yesterday i had black tooltips. When i hover some elements, its tooltips shows as black box but today they work correctly, interesting.

@Calinou
Copy link
Member

Calinou commented Mar 13, 2023

@Calinou Calinou closed this as not planned Won't fix, can't repro, duplicate, stale Mar 13, 2023
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

5 participants