XBMC Community Forum
24p and audio sync issues - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: XBMC General Help and Support (/forumdisplay.php?fid=111)
+---- Forum: Windows support (/forumdisplay.php?fid=59)
+---- Thread: 24p and audio sync issues (/showthread.php?tid=80247)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48


RE: 24p and audio sync issues - torcar - 2012-05-18 13:42

I have now purchased and installed a new AMD 6450 card and the problem is.... wait for it... still there ;/

The 6450 card did no difference what so ever i'm sad to say.

So... square one againWink

Ideas anyone?


RE: 24p and audio sync issues - DDDamian - 2012-05-18 13:48

Hi torcar - are you still using AE with the 6450? We now have nearly identical systems, and I never get that issue. Not only that, the 6450 ranked about the best in 23.976 timing in professional tests, and several others reported great sync with it.


RE: 24p and audio sync issues - torcar - 2012-05-18 13:51

DDDamian: Im back to standard Eden 11.0. AE crashed every few hours when running slideshow screensaver.
Could of course try swapping to AE just for the hell of it Wink


And while we're on it... just to rule out any differences in our setup... Could you tell me all your relevant settings?

Windows desktop resolution/hz
XBMC settings (Adjust display refresh rate to match video), Sync to display, rendering etc etc...


RE: 24p and audio sync issues - DDDamian - 2012-05-18 14:37

Heh, never tried a slideshow with it. The interesting thing is I have no sync issues almost regardless of settings. The two I always have specifically set are: always run true fullscreen (never a fullscreen window) and never use Sync to Display.

In Catalyst Control Center makes sure you have added 1080p24 to the list of supported resolutions under "My FlatPanel TV"


RE: 24p and audio sync issues - torcar - 2012-05-21 13:23

@DDDamian

I have now tried AE again with the 6450 and the problem still accours in about the same way as before...

First:
Just to have asked it, and don't take this the wrong way;p
You are absolutely sure that you dont have any kind of audio delay in your setup when running 24p material? No dropped frames and no delays even with "Adjust display refresh rate to match video" enabled?
I only ask because some people are very aware of delays, and others are not... same principle as with the rainbow effect on DLP-projectors... some people see it, others dont... even if it's thereWink

Second:
Do you (guys) have any idea as to what the root cause to this issue is or are we still shooting in the dark on this one?

Third:
Using my own rig as an example... I can run any movie @50fps or @60fps (using desktop refresh rate) with 0 dropped frames and absolutely no audio sync issues. I can even pause, skip, add subtitles etc etc. without one single dropped frame even on large (20-30GB mkv's)
So... if i'm not totally mistaken here the rig should have more than enough ompf to handle the load. Average CPU load when running a large file is 0.5-2.0%


RE: 24p and audio sync issues - DDDamian - 2012-05-21 16:57

@torcar

My sync is bang-on: no delay and no dropped frames. While it's possible I'm just not sensitive to it (I'm much more audio-centric) I have spent quite some time looking for it, as well as using the diagnostics overlay to watch for dropped frames with various settings.

It is absolutely a shot in the dark - based on anecdotal evidence (user reports) that 24p sync is good with AE. Being a total re-write of the audio code, any sync improvement was accidental only. There is no "aha - there it was" line of code anyone can point at. Part of the issue is that none of the devs can repro this problem. I've been in team chats of the type "do you get it? no? I don't get it either. Perfect here, does anyone see it?"

I've never thought it was a horsepower issue. Much more likely that it's a slight mismatch in sync between video and audio clocking frequencies, whether from your TV, receiver, GPU or XBMC.

It sounds like an issue which affects a subset of users: those with systems that suffer from it and users sensitive to it. By all accounts, both here and in professional reviews, the ATI 6450 should be the best clocker out there, and it has many fans here for that reason. That only rules out one part of the puzzle though. Does your NAD support HDMI lip-sync? As another test, bypass the NAD and see how sync is straight to the TV.


RE: 24p and audio sync issues - torcar - 2012-05-21 17:43

@DDDamian

Never really though you didn't have sync... just good to rule out anything that's possible to rule outWink

Don't know if I'll manage to free up time for it today, but as soon as possible I will install a fresh disk in the rig and re-install everything from the ground up. That way I'll be able to rule out settings, bad installs etc etc...

If you could assist me with some info from your rig, that would be great. (Will try to duplicate your rig as close as possibleWink

Which XBMC-AE build? (DL-link if possible?)
Which Windows version (X86/X64) with patch-level. (SP1 with all windows updates?)
Which Catalyst drivers?
Which main-board and what BIOS version? (I just thought of this now... that could also maaaaybe be a factor since both audio and video is sent to the VGA-card through the PCI-E slot) The BIOS could possible manage to screw something up here... Wink
Other relevant drivers, add-ons, settings etc?
What Windows desktop resolution/refresh-rate do you use?

And to fill in...
The NAD does have lip-sync adjustment, but not lip-sync on/off. The M15 is recognized as one of the worlds most exact pre-amps, so they don't see any need for lip-sync other than to manually compensate for delays in other components.

The Pioneer KRP display does not have any speakers, so testing a direct connection will be difficult... however the delay is exactly the same when using both a Denon 3808, a DENON AVP-A1HDA and the NAD M15 HD2, so i'm very doubtful that the delay is produced by the amp/pre-amp. Also, there is no delay when running a 24p movie through the NAD with a Popcorn Hour C-300, WDTV live gen.3 or with VLC player running on the same rig. It all points directly to XBMC sadly :/

Anyhow... If you could supply me with the most possible info on your rig I will try to duplicate my own to match yours as close as possible.


RE: 24p and audio sync issues - DDDamian - 2012-05-21 21:19

@torcar,

- using really any XBMC, from Eden w/o AE to latest nightly with AE no issues here
- Win 7 x64, SP1 all updates current
- have used Catalyst 12.1 - 12.4
- mobo MSI 870G54 - prolly haven't checked BIOS version for a year now
- desktop resolution 1080p 60hz (until switched by XBMC to match frequency)
- only odd setting might be "Enforce Smooth Playback" in Catalyst Control Center

- that machine has very little else on it. My dev machine has everything on it lol - codecs, tweaks, you name it, but same smoot sync

- other details in my sig

Just one thing - NAD can consider themselves what they like, but the lipsync thing was meant to compensate for delays in device processing beyond just the amp - they can be as "precise" as they want, and they are a good name, but if your TV adds delay it matters little how "precise" the amp is Wink

Unfortunately if your other software doesn't exhibit this issue, it certainly does point to XBMC, or at least the interaction of XBMC with your system.


RE: 24p and audio sync issues - DDDamian - 2012-06-02 04:05

@torcar - any updates?


RE: 24p and audio sync issues - torcar - 2012-06-02 09:28

Sorry for using a bit of time on this guysWink

Updates... yes, I'll sum it up as short as possibleWink

I re-installed the entire OS and went for the latest nightly and the AMD6450 card. This seemed to be a good combo and the sync was spot on even on 24p material.
The problem with this install however was that when turning off the TV and pre-amp for a while (over night) I got a problem when starting up again.
In the log files I got a "resize event" that caused XBMC to end up in a window in the top left corner of the screen with the windows desktop visible around it. The window covered about 1/3 of the screen. XBMC still reported to be 1920x1080@60HZ, but it didn't cover more than 1/3 of the screen.
I figured this to be a Catalyst related problem, so I changed the VGA card to a Nvidia GT520 and the problem disappeared at once.
I'm still testing, but so far it seem that the audio sync is pretty spot on with some exceptions. Sometimes I can find that the sync is a little of, but just a few seconds later it seems good again. I have not had the time to watch a lot of material since the last change, so I can't say anything certain yet.

Does anyone else have the same experiences?

I think I'm going to wait for the May cycle and try the 6450 card once more with that build to see if this resize problem disappears with that update. I would like to be able to keep the 6450 since this is thought to be the best 24p card out there... however I cant compromise any user-friendliness (having to re-start XBMC everytime the TV is turned on) as I'm not the only one using the rig.

So... this is as far as I've come so far... still keeping the hope up Wink