Np2Kai Screen flickering

I hope this is the right place to ask. I’ve been trying to play some pc98 games with Np2Kai but for some reason I keep getting a screen flicker on games. In some it’s more subtle while in others it’s super noticeable. I’ve tried tinkering with the synchronization settings but i don’t know much about them, plus I’m not even sure it’s the real cause. Anyone got any advice? Here is a video that sort of shows the flickering,though Youtube’s compression makes it seem slower and more muted than it actually is in game. https://youtu.be/XSgskb0dH4M

Could be caused by a couple of factors. Don’t know on what type of device you’re using the core but for reference, I use the Np2kai core on Windows and don’t get the flickering seen in your video.

First, are you using any shaders? If so, try to disable them see if it’s still occurring then. I experienced that kind of flickering with certain shaders on some cores unless I enable (or disable depending) interlaced mode for example.

Second, the PC-98 usually runs at a weird/uncommon refresh rate of 56.4 or so. I don’t have a g-sync setup but (on Windows at least) if you use something like Nvidia control panel you can create a bunch of custom refresh rates, making it possible to match the refresh rate of the core.

It seems RetroArch can actually round up or down the speed of the emulation so that a core’s emulation speed will match the refresh rate of the monitor. Few examples:

  • 59,94hz content played on a 60hz refresh rate are usually sped up ever so slightly to 60hz, avoiding getting a frame skip you’d get otherwise every couple of seconds.

  • 56.41hz content on a monitor with a 57.00hz refresh rate will be sped up a bit (again, not really noticeable unless you have them side by side)

  • Likewise, a 56.41hz content/core can be slowed down if played on a 56hz refresh rate,

Pretty useful for things like MAME (or the NP2Kai core) or anything with a non “standard” 50hz or 60hz refresh rate.

In any case, it’s likely related to some sync issue as you’ve already guessed.

It seems I can’t edit the original post, so I’ll say it here: turns out Retroarch was applying the shaders I had set up for other emulators to this one as well. That’s what was causing the graphic glitch. Solved I guess, sorry for the trouble.