-
-
Notifications
You must be signed in to change notification settings - Fork 21.3k
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
Vulkan: FPS counter is not working on macOS with Intel integrated GPU #51371
Comments
|
Proper hardware timestamp support was added to the MoltenVK only 12 days ago - KhronosGroup/MoltenVK#1404. Probably, previous software implementation of timestamps (which returns tick count) had insufficient precision to measure frame time. |
If the scene is effectively running at very high framerates, then this could mean the GPU time is erroneously being multiplied by 1000 on the MoltenVK side. But I doubt it's running that fast on a hiDPI display, even in an empty scene 🙂 |
Nice so we can use the xcode instruments to measure frame time :) since its technically using Metal :D |
V-Sync is enabled by default (and perhaps forced by macOS too), but remember that this new Frame Time panel displays the time taken to render the frame on the GPU, not the time between two frames. This means that even with V-Sync enabled or FPS capped to a low value via low processor mode, it can report framerates above your monitor refresh rate. It may be unusual at first, but it's definitely a win for laptop users and anyone using V-Sync in general (since you no longer need to make your machine hot and noisy to get accurate FPS reporting). |
Is this issue still valid in the newest alpha? |
Yes, it still valid in beta3, at least on my Intel GPU macbook pro |
it still valid in beta5 |
We've upgraded MoltenVK recently, including several months' work of improvements, so it might have fixed this. Closing for now, please comment if you can still reproduce this issue in 4.0 beta 8 or later. |
it still reproduced in beta9 on IntelGPU Mac |
It still works in beta9 on my mac intel-processor mac with a radeon GPU so it's not a general intel macOS issue (and maybe never was then). So the bug title could be misleading since "Intel macOS" is probably understood as a mac with an intel-based processor (as opposed to the newer M1 processors). |
Godot version
4.0.master
System information
MacOS
Issue description
Using the latest MoltenVK I'm not getting an FPS counter which works in master/4.0
I haven't ever seen it working.
Steps to reproduce
Minimal reproduction project
No response
The text was updated successfully, but these errors were encountered: