2013-06-14, 15:39
(2013-06-14, 13:06)fritsch Wrote:Surprisingly removing that line lined up the difference between vsync off/vsync on. Now both are equally smooth (like vsync on before) , so I actually like TripleBuffer . Didn't help with dropped frame at the beginning though.Quote:Option "TripleBuffer" "true"
Remove this, it harms in a "swapBuffer" World, where front and back buffers are used to measure number of glSwaps.
(2013-06-14, 11:18)FernetMenta Wrote: Looks like I was wrong. vsync can be disabled by the setting in xbmc. Maybe the behavior has changed since those lines have been written (not by me)
Code:#ifdef TARGET_POSIX
// for nvidia cards - vsync currently ALWAYS enabled.
// the reason is that after screen has been setup changing this env var will make no difference.
setenv("__GL_SYNC_TO_VBLANK", "1", 0);
setenv("__GL_YIELD", "USLEEP", 0);
#endif
If you disable vsync, you see fps in the menu rising to 100, right?
During video playback we only render at video fps. If video gets late, it can catch up without vsync, because it can render at higher speed.
I always run with vsync on and don't see any improvement when switching it off. As long as you don't observe drops/skips when running with vsync, I have no explanation why this should not as smooth as running without.
Yes, fps in menu is ~100 fps.
I also notice same kind of smoothness difference with vsync on when using different video scalers. Like lower quality ones feels smoother than higher quality ones (NN/Bilinear/Bicubic/Lanczos2 > Spline36,Lanczos3 optimized > Spline36,Lanczos3), but there is no difference in dropped/skipped/missed when comparing them.
In XVBA there is new Auto setting, how does that exactly work?