libretro / swanstation

GNU General Public License v3.0
97 stars 22 forks source link

Mac OS ARM: Vsync doesn't work #56

Closed personaone closed 1 year ago

personaone commented 1 year ago

Hey - first of all, just wanted to say thanks for the ARM build! I started to test it right after it appeared :) Only thing that I noticed so far, is that Vsync doesn't seem to be working? Even forced to 60hz, it doesn't apply and there's pretty bad frame pacing all over and interlaced screens just shake in this weird way they don't on other cores. Here's a log from the core, maybe it helps?

I'm on a 2021 MacBook Pro with M1 Pro and the latest build of RA/Swanstation core. Tried with both, ProMotion enabled and syncing to content and without using manually set 60hz in the system.

https://pastebin.com/0GC7ebSm

personaone commented 1 year ago

False positive - looks like the new RA build set GLcore as the default Mac OS driver, Metal works just as it should.

LibretroAdmin commented 1 year ago

I think a better alternative could be the Vulkan driver now with Vulkan/MoltenVK.

personaone commented 1 year ago

I think a better alternative could be the Vulkan driver now with Vulkan/MoltenVK.

Vulkan does run very well too - I just realized it's there now too :D again, ProMotion @120hz doesn't seem to engage VRR when trying to sync to content, but 60hz fixed refresh rate is way to go around that problem :)