Kodi Community Forum

Full Version: AV Sync problem
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have recently compiled and installed xbmc svn revision # 35744 on my fedora 14 x86_64 HTPC with a Radeon Mobility HD5450 video card. I have installed Catalyst 10.12 driver from ATI's website. I am solely using alsa. Pulseaudio is completely uninstalled. If I enable the option Settings -> Playback -> Sync playback to display, when I play any video, XBMC crashes as soon as I stop the video, no matter what AV Sync method I am using. Additionally, when I ff or rw videos, the audio and video gets out of sync sometimes, usually when I go at 16x or 32x. What could be the problem?

grep ERROR xbmc.log
15:16:14 T:140282569889536 M:5765005312 ERROR: CDVDAudioCodecPassthroughFFmpeg::Open - FFmpeg SPDIF muxer does not support this codec
15:16:26 T:140282255357696 M:5737893888 ERROR: VAAPI - renderer still using all freed up surfaces by decoder
15:16:26 T:140282255357696 M:5737893888 ERROR: VAAPI - unable to find free surface, trying to allocate a new one

tail xbmc.log
15:16:57 T:140283413649632 M:5742981120 NOTICE: DVDPlayer: waiting for threads to exit
15:16:57 T:140283413649632 M:5742981120 NOTICE: DVDPlayer: finished waiting
15:16:57 T:140283413649632 M:5742981120 DEBUG: LinuxRendererGL: Cleaning up GL resources
15:16:57 T:140282263750400 M:5742981120 DEBUG: CVideoReferenceClock: Cleaning up GLX
15:16:57 T:140282263750400 M:5742981120 DEBUG: Thread 140282263750400 terminating
15:16:57 T:140282263750400 M:5755830272 DEBUG: thread start, auto delete: 1
15:16:57 T:140282263750400 M:5755830272 DEBUG: DoWork - Saving file state for video item /home/parents/Desktop/Serenity.2005.1080p.BluRay.DTS.x264-HiDt.mkv
15:16:57 T:140283413649632 M:5755830272 DEBUG: SECTION:UnloadDelayed(SECTION: LCODE)
15:16:57 T:140282263750400 M:5757599744 DEBUG: CAnnouncementManager - Announcement: NewPlayCount from xbmc
15:17:28 T:140282263750400 M:5757751296 DEBUG: Thread 140282263750400 terminating (autodelete)

Thanks
I would like to know this as well. I have never been able to get the AV Sync to work.
Are you using the Catalyst driver as well? This option is working fine on my other xbmc setup with an Nvidia card.
This is a bug in the ati driver.
Thanks. Good to know.