dosbox-pure icon indicating copy to clipboard operation
dosbox-pure copied to clipboard

[Bug] ios lag (under 100%) with metal and MoltenVK

Open QcSamuel opened this issue 1 year ago • 5 comments

im using the latest nightly retroarch build and playing dosbox pure with the performance statistics its not fullspeed and there audio lag/sync issue and when you enable force 60fps its playing normally

device: iphone 14

QcSamuel avatar May 01 '23 21:05 QcSamuel

Can you post a screenshot with both core performance statistics (Core Options -> Emulation -> Show Performance Statistics = Detailed Information) and also the RetroArch statistics (Settings -> On-Screen Display ->On-Screen Notifications -> Notification Visibility -> Display Statistics = ON) enabled? Make sure the screenshot is taken at a moment where the emulation is unexpectedly slow.

I don't have an iPhone to test but I think the iPhone 14 has a 120 hz display (or 240 hz?) so this might cause RetroArch to refresh at that rate which could be the cause of slowness. Fiddling with the video synchronization settings in RetroArch might also help.

schellingb avatar May 02 '23 03:05 schellingb

A2C2D9DF-CAB6-408C-ABED-5CE2CA04424F A739F9A2-D1C6-4BCA-94B3-D1ABD9998BB1 first image with default settings second with force 60fps also the iphone 14 screen is 60hz only the pro model have 120hz

video with force 60fps off and on notice the choppy audio and 85.9 speed https://streamable.com/fww25r

QcSamuel avatar May 02 '23 16:05 QcSamuel

some new info this is only happening with metal and moltenvk video driver opengl is fine

QcSamuel avatar May 17 '23 02:05 QcSamuel

@warmenhoven hey maybe you can help with this issue :)

QcSamuel avatar Jun 14 '23 16:06 QcSamuel

its still a issue with the latest version only fix for it right now would be to force opengl on ios for this core seem like the moltenvk/metal driver doesn't allow the core to exceed 60fps this is maybe why the speed is at 85%

QcSamuel avatar Apr 07 '24 01:04 QcSamuel