weihuoya / citra

A Nintendo 3DS Emulator
https://citra-emu.org
GNU General Public License v2.0
2.1k stars 194 forks source link

Video sync to display refresh, not content. #467

Open RaduNastase opened 2 years ago

RaduNastase commented 2 years ago

It involves every Citra mmj version.

Can the video be synced to display, instead of content's exact framerate? My display is actually 59.3 hz in "60 hz" (Rog Phone 3) and as a result, the 60 fps games do not sync perfectly, there are small micro stutters.

Can something be done? Thanks!!

Tappy-tech commented 2 years ago

Try editing config-mmj.ini file, then add this code: enable_vsync = True Add this code under show_fps = False or show_fps = True. They are in Renderer section. If you don't have them, just write it in last free line.

RaduNastase commented 2 years ago

Oh, thanks man. Will try it!

RaduNastase commented 2 years ago

Well, it didn't do it sadly. This phone's screen in 60 hz is really really a mess. Fortunately, playing in 144 hz or 160 hz (the secret one) display, eliminates the stutter, with an added deblur effect, which is virtually unnoticeable. (my test is Super Street Fighter 4 with the scrolling figure cards bonus menu, that should be perfectly smooth, without any hickups)

A quick question i've been meaning to ask and maybe, maybe have a clarification/fix for, if you have the time to answer friend. Street Fighter 4 has this strange bug where randomly it goes from perfect 60 fps to 45 - 55, all while playing, and completely random (can happen in training, or in demo mode, or inside a match, after 1 minute or 10). It can be quickly fixed by pausing the game, NOT the emulation, but the actual game (press start) for a split second and then everything is perfectly fine until it happends again...seemingly randomly. It happended on my Oneplus 7 and now it happends identically on my Rog Phone 3. I tried various Citra mmj various and various settings for many hours. Nothing eliminates the issue. It's not thermal throttling or anything related to performance. I can play perfectly smooth at 3x and Fxaa, but this happends at 1x as well. I also have a full shader cache, with zero stutters in-game.

So, is this a bug, or a feature? :)

Thanks so much for your time and effort man!

Tappy-tech commented 2 years ago

It's more like a bug. Try enabling CPU Usage Limit + FMV Hack.

Well, it didn't do it sadly. This phone's screen in 60 hz is really really a mess. Fortunately, playing in 144 hz or 160 hz (the secret one) display, eliminates the stutter, with an added deblur effect, which is virtually unnoticeable. (my test is Super Street Fighter 4 with the scrolling figure cards bonus menu, that should be perfectly smooth, without any hickups)

A quick question i've been meaning to ask and maybe, maybe have a clarification/fix for, if you have the time to answer friend. Street Fighter 4 has this strange bug where randomly it goes from perfect 60 fps to 45 - 55, all while playing, and completely random (can happen in training, or in demo mode, or inside a match, after 1 minute or 10). It can be quickly fixed by pausing the game, NOT the emulation, but the actual game (press start) for a split second and then everything is perfectly fine until it happends again...seemingly randomly. It happended on my Oneplus 7 and now it happends identically on my Rog Phone 3. I tried various Citra mmj various and various settings for many hours. Nothing eliminates the issue. It's not thermal throttling or anything related to performance. I can play perfectly smooth at 3x and Fxaa, but this happends at 1x as well. I also have a full shader cache, with zero stutters in-game.

So, is this a bug, or a feature? :)

Thanks so much for your time and effort man!

— Reply to this email directly, view it on GitHub https://github.com/weihuoya/citra/issues/467#issuecomment-1041579190, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARHIHZN3GW2BQCHPEGTEST3U3O3OZANCNFSM5ORHU2LQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you commented.Message ID: @.***>

RaduNastase commented 2 years ago

Thanks for answering so fast man.

I did try those settings together (i have the CPU usage limit on, usually). However, there is still the random drop in fps. It's by no means a game breaking bug (though a fix would definitelly be nice), but it's a very very peculiar one. No other 60 fps game in Citra, that i played, does this (DoA:D, Tekken, etc)