Open heuripedes opened 10 years ago
Same observation here on win7 x64. Tested games such as Dark Forces and Hexen, GL driver is a lot worse than d3d.
Vsync + Hard sync causes the game to crash after a while. Just Vsync ON is slow, drop frames + heavy slowdowns. Vsync OFF is better but still have some heavy slowdowns. Trying to limit the framerate and disabling sound sync just crashed.
When playing in the best scenario (Vsync OFF) I see messages like this in the log:
RetroArch [INFO] :: Average audio buffer saturation: 47.02 %, standard deviation (percentage points): 16.75 %. RetroArch [INFO] :: Amount of time spent close to underrun: 7.67 %. Close to blocking: 1.13 %.
I observe the same problem with d3d after some more tests: same audio buffer saturation messages and huge slowdowns, vsync goes off...
The core is quite immature, and sadly there is no easy way to make dosbox return on a per-frame basis.
I don't understand completely how they work but basically it runs in another thread (libco thread) and the frontend runs the callback at vsync rate and renders the frames but it's not really running in sync like other cores.
It works well enough for simple games (keen, jazz, tyrian) but complex games that might take more than 16.66ms to return a frame seem problematic.
Thanks for the explanation. I feared something like that when I read about Dosbox cpu cycles configuration; if sound stutters, lower the cycles, etc.
A game like OMF2097 always run too fast in Retroarch. EDIT: forget it, there is a speed setting in the game itself and it was on crazy fast by default.
Perhaps this core would need to handle most of the sync and ignore some Retroarch settings. And perhaps keep the key config tool it has in stand-alone too, that's missing a lot.
The DOSBox core performs very badly when it is run under a RetroArch instance that uses the
gl
driver with VSync on. There is no impact on the frame rate (58-60fps), but audio loops sometimes and it takes at least twice as much time to load and run games in comparison to thesdl
andxvideo
driver.Both
dosbox_libretro.so
andretroarch
were compiled from git today (Dec 29 in UTC-3).Video settings:
Games tested:
System configuration: