[LINUX] XBMC crashes when a/v sync is enabled
#1
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:

Code:
Section "ServerLayout"

        Identifier     "X.org Configured"

        Screen      0  "Screen0" 0 0

        InputDevice    "Mouse0" "CorePointer"

        InputDevice    "Keyboard0" "CoreKeyboard"

EndSection



Section "InputDevice"

        Identifier  "Keyboard0"

        Driver      "kbd"

EndSection



Section "InputDevice"

        Identifier  "Mouse0"

        Driver      "mouse"

        Option      "Protocol" "auto"

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

        Option      "ZAxisMapping" "4 5 6 7"

EndSection



Section "Monitor"

        Identifier   "Monitor0"

        VendorName   "Monitor Vendor"

        ModelName    "Monitor Model"

EndSection



# 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"

EndSection



Section "Screen"

        Identifier "Screen0"

        Device     "Card0"

        Monitor    "Monitor0"

        DefaultDepth    24

        SubSection "Display"

                Viewport   0 0

                Depth     24

                Modes     "1360x768"

        EndSubSection

EndSection



Section "DRI"

        Mode 0666

EndSection



Section "ServerFlags"

    Option "AIGLX" "false"

    Option "GlxVisuals" "all"

EndSection

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.
Reply
#2
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.
Reply
#3
The crashlog is pasted:

http://pastebin.com/rZQpnBUh

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?

--Thelonius
Reply
#4
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.
Reply
#5
Hey!
I crashed it once more with debugging.

http://pastebin.com/kEUaPrB5

--Thelonius
Reply
#6
Code:
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.
Reply
#7
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.

--Thelonius
Reply
#8
Post a debug log when playing such a video and I'll take a look.
Reply
#9
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.

http://pastebin.com/9SEHf2rA

--Thelonius
Reply
#10
Get any framedrops?
Reply

Logout Mark Read Team Forum Stats Members Help
[LINUX] XBMC crashes when a/v sync is enabled0