Smoothvideo ("Sync playback to display" feature) now merged in the mainline branch
#46
bobo1on1 Wrote:I think changing the refreshrate at the same time as setting up direct3d is a bad thing, I added something in 20416 which prevents that.

Look forward to testing it out.
#47
AzzX Wrote:XBMC is unusable when I have selected Synch playback to display

My HTPC box XP SP3 exhibits significant stuttering whilst my Win 7 box is completely out of synch with the audio. Both ATI and nvidia.

Setting to audio clock is as perfect as it was before as long as Synch playback is not selected.
Probably depends on your display and connectivity methods.

Please post a debug log.
#48
20416 is still the same but now even with 'adjust refresh rate' off it doesn't work.

EDIT: I see you've changed something for 20430.
#49
Hitcher Wrote:I don't know if this is any help or not but if I manually change the refresh rate in XBMC to 24Hz before playing a 23.97FPS video and to 50Hz before playing a 25FPS one everything works fine. It's only when the refresh rate is automatically adjusted by XBMC that it fails.

Log for manual refresh rate changes -

http://pastebin.com/f109bd3d5

Judging from the discontinuity errors there, I'm wondering if the refreshrate really is what direct3d says it is, it looks like the clock is running way too fast.

Try running without aero, maybe that helps.
#50
SVN: 20436 Aero Off -

http://pastebin.com/f5629b2eb
#51
Try running xbmc as administrator.
#52
UAC is off.
#53
XP SP3, 8800GT, synch to display activated, resample medium quality, adjust refresh rate activated

Everything is perfect. GREAT JOB!

I tried several problem samples, all played smoothly. I have lots of vsynch missed when calling the OSD. Is that normal? 23.969 refresh rate according to Reclock. It's either this or 24.004, they are the two closest results I'm able to get through Nvidia control panel.

Should I prefer one over the other?
#54
Hitcher Wrote:UAC is off.
Just to make sure, rightclick on xbmc.exe and click run as administrator.

ashlar Wrote:XP SP3, 8800GT, synch to display activated, resample medium quality, adjust refresh rate activated

Everything is perfect. GREAT JOB!

I tried several problem samples, all played smoothly. I have lots of vsynch missed when calling the OSD. Is that normal? 23.969 refresh rate according to Reclock. It's either this or 24.004, they are the two closest results I'm able to get through Nvidia control panel.

Should I prefer one over the other?
It doesn't really matter which refreshrate you choose when you're using resampling, both are fine.

The missed vblanks is a little strange, but as long as the video isn't jerky and you don't miss a vblank every frame I wouldn't worry about it.
#55
OK I'm a bit confused as to who exactly this feature helps. I have a projector that supports 24/50/60 Hz and my audio is digital SPDIF passthrough. Does this feature accomplish anything for me or is it just for people who can't match their display refresh rate to a multiple of the video fps (24fps on 50Hz display, for example)?
#56
ashlar,
What skin you running?
#57
SlaveUnit Wrote:ashlar,
What skin you running?
MediaStream
#58
Anything similar to my issues?

http://forum.xbmc.org/showthread.php?tid=51150

http://forum.xbmc.org/showthread.php?tid=51297

Try another skin and see if you get any jerkiness maybe. I dont believe I do but I havent tested for too long yet.
#59
sorry, I haven't had time to try out your new builds much bobo Blush I had a few mins over now though, so I built and ran rev 20460. Here is the debug log:
http://pastebin.com/md2ab9eb
I also tried building the same rev using the debug and running the same rev in debug configuration in Visual Studio, but when I ran that I got only half the laog, and nothing from CVideoReferenceClock. Did I miss something?

Anyway the problem persists, even when launching XBMC as administrator No

Also since both me and Hitcher use Vista together with ATI cards we can't really rule one or the other out as the problem cause. Have anyone tried this with Vista and an Nvidia card? Or ATI and XP? (My guess is that Vista is causing the problems though :p)

Probably won't have much time to debug the coming few days either, but keep up the good work bobo! Big Grin
#60
It's definitely a vista issue.

Logout Mark Read Team Forum Stats Members Help
Smoothvideo ("Sync playback to display" feature) now merged in the mainline branch0