2010-08-04, 06:03
I've noticed the last couple nights that A/V does not stay in sync. It's not an immediate desync but a gradual drift where it can go several minutes just fine but eventually it gets too annoying. Sometimes pausing/resuming fixes it but usually that makes it worse. Using the "audio clock" and the 2 "video clock" sync options don't really help. It seems to build up to around 0.2s of desync (audio ahead of video) and then it gets too annoying for me. CPU usage never went above 35% (dual core atom 330 with 2GB ram).
While playing with the different settings I remembered that I had recently turned on vsync to get rid of tearing. I turned off vsync, rebooted, and now playback is reliably around 0.025s of desync and appears in sync.
Of course, turning off vsync allows tearing occasionally. If I then set the sync option to "video clock (resample audio)" that doesn't help with the tearing (I'm not sure if it should, seemed reasonable to try).
Any thoughts? I've read in other posts that this is kind of a known issue but what I've found didn't seem to fully match what I'm seeing.
With XBMC is it really a choice between A/V sync and tearing? Any other ideas to address the tearing?
While playing with the different settings I remembered that I had recently turned on vsync to get rid of tearing. I turned off vsync, rebooted, and now playback is reliably around 0.025s of desync and appears in sync.
Of course, turning off vsync allows tearing occasionally. If I then set the sync option to "video clock (resample audio)" that doesn't help with the tearing (I'm not sure if it should, seemed reasonable to try).
Any thoughts? I've read in other posts that this is kind of a known issue but what I've found didn't seem to fully match what I'm seeing.
With XBMC is it really a choice between A/V sync and tearing? Any other ideas to address the tearing?