Kodi Community Forum

Full Version: [LINUX] XBMC crashes when a/v sync is enabled
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey everybody!
I have been having problems with the audio video sync on my xbmc. Everytime I enable it (any of the modes) and I try to watch a video, xbmc crashes.
I have read that nvidia cards caused that problem, if triple buffering was turned on, but my graphics card has no feature in the xorg.conf that sounds like it could be sth similar.

My card is an Intel Polsbou card configured as follows:

Section "ServerLayout"

        Identifier     "X.org Configured"

        Screen      0  "Screen0" 0 0

        InputDevice    "Mouse0" "CorePointer"

        InputDevice    "Keyboard0" "CoreKeyboard"


Section "InputDevice"

        Identifier  "Keyboard0"

        Driver      "kbd"


Section "InputDevice"

        Identifier  "Mouse0"

        Driver      "mouse"

        Option      "Protocol" "auto"

        Option      "Device" "/dev/input/mice"

        Option      "ZAxisMapping" "4 5 6 7"


Section "Monitor"

        Identifier   "Monitor0"

        VendorName   "Monitor Vendor"

        ModelName    "Monitor Model"


# Primary (First/only) display

Section "Device"

    Identifier "Card0"

    Driver     "iegd"

    VendorName "Intel(R) DEG"

    BoardName  "Embedded Graphics"

    BusID      "0:2:0"

    Screen      0

    Option     "PcfVersion"            "1792"

    Option     "ConfigId"              "1"

    Option     "SWCursor"              "true"

    Option     "ALL/1/name"                   "fit-PC2 "

    Option     "ALL/1/General/PortOrder"      "20000"

    Option     "ALL/1/General/DisplayConfig"  "1"

    Option     "ALL/1/General/DisplayDetect"  "1"

    Option     "ALL/1/General/xVideo"         "1"

    Option     "ALL/1/General/XVideoBlend"    "0"

    Option     "ALL/1/General/DRI"            "1"

    Option     "ALL/1/Port/2/General/name"           "DVI"

    Option     "ALL/1/Port/2/General/EdidAvail"      "2"

    Option     "ALL/1/Port/2/General/EdidNotAvail"   "1"

    Option     "ALL/1/Port/2/General/Rotation"       "0"

    Option     "ALL/1/Port/2/General/Edid"           "1"

    Option     "PortDrivers"           "sdvo"


Section "Screen"

        Identifier "Screen0"

        Device     "Card0"

        Monitor    "Monitor0"

        DefaultDepth    24

        SubSection "Display"

                Viewport   0 0

                Depth     24

                Modes     "1360x768"



Section "DRI"

        Mode 0666


Section "ServerFlags"

    Option "AIGLX" "false"

    Option "GlxVisuals" "all"


Did anybody have similar problems or has an idea how I can fix this problem. Because currently I have to watch a lot of my videos on vlc because on xbmc they are out of sync.
Post one of the generated crashlogs on pastebin and I'll take a look.
Turning those settings on won't improve a/v sync though.
The crashlog is pasted:


What do you mean it will not help my a/v sync? What DOES it do then? And how do I get my videos to synchronize?

Those settings are described here: http://wiki.xbmc.org/index.php?title=Vid...s#Playback

Can you turn on debug logging in system settings and make it crash again, the crashlog doesn't have all information otherwise.
I crashed it once more with debugging.


CVideoReferenceClock: X server does not support SGI_video_sync
Sync playback to display can't work without that extension, I don't know why it crashes though.
So what can I do when my videos become out of sync with their sound in xbmc? It affects not all videos (still trying to find a commonality, but so far it is only simple xvid avis with mp3 sound) and the affected videos work fine in vlc.

Right now I have vlc installed as external player, however that is not too satisfying, because in the player I lack the nice features i have in native xbmc - like wiiremote control and subtitle search.

Post a debug log when playing such a video and I'll take a look.
This is the log of a session, where I played one of the problematic videos for a few minutes.
By the end the sound was already 5 or 6 seconds off.


Get any framedrops?