Nazgulled Wrote:I've been following this and other threads about smooth playback and you guys talk a lot about v-sync and triple buffering, but I'm not sure what's the best configuration for this:
1) Changing these settings (v-sync and triple buffer), only have effect on the "xbmc-smoothvideo" branch or it will also do good on other branches, namely the "linuxport" one?
2) I own a GeForce 8300, which is the best setting for v-sync in XBMC and triple-buffer/v-sync at the drivers level for OpenGL?
3) How does the work done here compares to the "adjust video framerate" option in the "linuxport" branch?
I really appreciate it if someone can answer me these three questions
For smoothvideo to work you need vsync, it relies on it heavily.
I don't have an option called "adjust video framerate", do you mean "Adjust refreshrate" ? That changes the refreshrate of the monitor to match the framerate of the movie playing.
Smoothvideo adjusts the fps of the movie to play at a rate that is exactly matched to the refreshrate, it should be a very good combination with "Adjust refreshrate", I can't test it though, so I hope the refreshrate is detected correctly (you might have to restart the movie).
Hitcher Wrote:I've got this option on my card but never knew what it did or if it even helps XBMC. Hopefully get a chance to try this out later.
Usually you have two buffers with opengl, on one you draw everything and the other is what the user sees, triple buffering adds a third buffer, this increases performance when vsync is on at the cost of having a greater delay between drawing and displaying on the screen, which is really only an issue for games.
alanwww1 Wrote:Yes i turned it on. Except i have costom modelines in my xorg.conf with 23.98hz. If is set it to this refresh rate, the fps is arround this value but with a little variation. Shouldn' it be fixed to this fps with no change at all ? Shouldn't the a/v time difference number be 0 all the time ?
I found this resampler if you are interested. This is the one they use for winows Reclock also.
libsamplerate
http://www.mega-nerd.com/SRC/
I think you have an old revision that doesn't sync the fps to the refreshrate yet, so the gui option is only an option with no logic behind it (I hope you enjoyed the placebo effect
).