godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
88.88k stars 20.15k forks source link

Occasional stutters in compatibility mode on macOS #74523

Open skarline opened 1 year ago

skarline commented 1 year ago

Godot version

4.0-stable

System information

macOS 13.2.1, OpenGL 4.1 Metal 83, Compatibility, Apple M1

Issue description

I'm experiencing very occasional stutters during gameplay on my M1 MacBook Air when running a very simple game in compatibility mode. This issue exclusively occurs when the game window is on my main Retina display and I have an external monitor connected.

The stuttering is also present on the release exports. I already tried disabling V-Sync and playing around with other settings, so I guess this issue might be specificaly related to Metal.

Steps to reproduce

  1. Connect an external monitor
  2. Set any game to compatibility mode
  3. Run the game
  4. Place the window on your main display

Minimal reproduction project

N/A. Just any project in general, though the 2D Platformer demo works well enough to reproduce the issue.

wxx1764753522 commented 1 year ago

When compiling godot4.0 in Mac M1 Pro environment, I encountered "ld: symbol(s) not found for architecture arm64". Have you ever encountered such a problem

Cyangmou commented 10 months ago

I tested this, it's most likely a problem with the V-Sync and the hardware, as it's not a 60hz screen. results of the tests can be found in this thread here:

Issue #81727