Hi,
For several days, I am trying to discover why Retroarch does not work with my G-Sync setup as it should be. When GSYNC is enabled, some cores stutter/microstutter.
FACTS:
- MameUIFX 0.175 works perfectly with GSYNC enabled, fps are adjusted to the game and is perfectly synced, smooth. Games like Mortal Kombat or Air Buster have the right speed like the arcade while synced with monitor.
- Other emulators also work right, like WinUAE. If I chose a PAL system, 50fps, the sync is perfect, no flaws or stuttering.
Test specs:
- Asus G751 ROG laptop with GSYNC integrated panel enabled.
- Windows 10 x64 Creators Edition
- 16GB RAM
- nVidia 980M 4GB DDR5
- Intel i7 8 cores
- Usual set of apps installed: Avira, drivers, Virtualbox, hard disk sentinel, Steam, GOG Galaxy
Retroarch config:
I have almost tried every combination on retroarch.cfg regarding audio/video, but I may be missing something important. These are the results:
VIDEO:
Vsync disabled. Hard CPU Sync : Does not matter if I enable it or not. Vertical refresh rate: Set to 75Hz (my monitor default refresh). Does not matter if I change this to other value. Estimated refresh rate: Strangely, this value goes around 60Hz. Old retroarch versions, like 1.2, shows 75Hz here, as it should be. I do not know were the 60Hz comes. Fullscreen: Yes Windowed fullscreen: No Video Driver: gl
AUDIO:
Audio Disable: If I disable audio the problem is gone, game runs smoothly gsynced at the original FPS. Audio Maximum Timing Skew: 0. If I increase this to 0.5, FPS goes up to 60Hz and emulation play smoothly with no stuttering. But not at the real FPS of game/system. Dinamic Audio Rate Control: 0. If I enable it, same behaviour as audio maximum skew. With a value of 0.150, FPS goes up to 60Hz and stuttering is gone. Audio Sync: If I enable it, game FPS is right, and stuttering appears. If I disable it, game is smooth at 60fps, no stuttering but wrong refresh rate. This is true for several cores, like MAME and BlueMSX. But for VICE core, it does not matter if I enable this or not, it works perfectly as intended, Gsynced without stuttering, at 50 fps (PAL). Audio Latency: 60ms. If I change this value, stuttering behaviour changes, but I suppose it is only the audio buffer. If it is very low, stuttering is shorter, but still there. Driver: Tried all of them, currently xaudio. All show the problem, some make stuttering worse.
I have changed several options in nVidiaâs retroarch profile, like forcing Tripe Buffer or vsync, but all of them does nothing apparently.
TRIED with no changes in retroarch behaviour:
Retroarch: 1.2, 1.3, 1.6.5, 1.6.7, nightly build. Windows: Disconnected the external monitor, all USB, changed audio output (HDMI/analog)
Now I am stuck, run out of ideas. Any help would be greatly appreciated.