FCEUX new build/source discussion #294
Replies: 3 comments 7 replies
-
Hmm! You're right. On careful observation, there is a very small difference in the emulation/performance of the two builds. And I think I know what's going on: the stock build is prioritising the emulation of video without a cap, unsynced with the audio, while the new build is keeping audio and video consistent/synced -- which is why the video refresh is a little slower on it. Both suffer from the same problem with the system/SDL video memory/rendering, and experience slow emulation on certain launches, but in the case of the old/stock build (which prioritises video at the cost of sound), this shows as stuttering/broken music/sound, while in the new build it shows as choppier video (but still smooth, un-broken sound). I think it comes down to how the emulation prioritisation was set up in these two builds (source codes). Unfortunately the source code to the old/stock build is actually lost, so we'll never know what was done there, exactly. But I have to say, I think the new build is actually more accurate in terms of emulation. I don't remember video being as smooth on my Famicom (NES) as it plays with the stock build (don't forget that TV screens of the time had a 25-30 FPS cap). And music/audio was certainly never choppy on the Famicom/NES. So overall I think the new build provides a more accurate emulation experience, even if video refresh is a tiny bit slower than in the stock build. Not sure I would want to change it, but you're welcome to (just fork the source). |
Beta Was this translation helpful? Give feedback.
-
This still leaves the question as to what's going on with the FPS counter in FCEUX. Because I doubt that the video refresh is 60 FPS in both builds. There is a small visible/feelable difference if you pay careful attention (even if we discount the occasional system/SDL bug/issue). Which suggests to me that the new build actually has an FPS of less than 60 FPS, not as displayed by the counter. Although the counter does occasionally drop to 55 FPS with the new build -- so that may be enough to notice the visual difference. And that means that the counter may be accurate after all -- except when encountering the system-wide/SDL slowdown bug/issue (which is not up to the emulator and its performance). I wonder what the native/set refresh rate of the IPS screens in the current Miyoo devices are, too. (Because that, too, counts.) |
Beta Was this translation helpful? Give feedback.
-
There is beta section on Main page, you can find there a few FCEUX builds which supposedly should improve performance/fix stuff but in reality people were reporting decrease in framerate and were coming back to stock build for better experience. |
Beta Was this translation helpful? Give feedback.
-
Continuing the discussion regarding the new, updated build of the FCEUX that was started here: #260 (comment)
@Apaczer:
There's no hidden FPS capping. (You can check the source code.) That's actually the speed FCEUX is rendering the game at. (Which is why I said the performance is top-notch for NES games on current Miyoo devices, and that the frame skipping setting is completely useless and unnecessary.) The inconsistency that you see between the FPS rendered/displayed and what you see on screen is happening on the system/SDL side.
I'm putting this down to chance, to bad luck while you were testing it. There's no reason why the old build would work any better. They're using the same rendering mode (the only one available on Miyoo devices). They work exactly the same, emulation-wise. Give it another go and check. (I'll do the same using Ninja Gaiden.)
I don't understand. What do you mean decrease? The display/performance changes?
Beta Was this translation helpful? Give feedback.
All reactions