Smoothvideo ("Sync playback to display" feature) now merged in the mainline branch

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Closed
althekiller Offline
Team-XBMC Developer
Posts: 4,710
Joined: May 2004
Reputation: 12
Post: #71
You guys need to realize that "smoothvideo" was just the name of the branch for development of greater control over how audio/video are synchronized. It's NOT the name of any setting or feature. Now that the facilities it added are in mainline, it's just some more settings to play with. Those settings have appropriate names to designate what it is that they do. Read the very first post in this thread for a detailed explanation of each.
find
bobo1on1 Offline
cheapass Team-XBMC Developer
Posts: 2,757
Joined: Dec 2008
Reputation: 21
Post: #72
mach170 Wrote:I see that, but the feature is called and has been discussed on the forum as 'SmoothVideo'. Why not, from and end-user viewpoint, list the main option as 'Enable SmoothVideo' instead of 'Sync playback to display'. It just adds confusion when a feature is labeled one way on the forums, but the option is labeled differently in the application. I just think there should be some continuity.

Thanks for pointing out the startpost was written in an ancient northern dialect of Klingon.
find
seeker83 Offline
Member
Posts: 67
Joined: Apr 2009
Reputation: 0
Post: #73
Kaplah! Wink

Here's a debug log from rev 20522:
http://pastebin.com/m5f69395f

lots of "CDVDPlayerAudio:: Discontinuty" in there... dunno if it's any use for debug though... Any more news on what could be the problem in Vista bobo?
find
Hitcher Offline
Skilled Skinner
Posts: 9,976
Joined: Aug 2007
Reputation: 67
Location: Eastleigh, UK
Post: #74
seeker83 Wrote:Kaplah! Wink

Here's a debug log from rev 20522:
http://pastebin.com/m5f69395f

lots of "CDVDPlayerAudio:: Discontinuty" in there... dunno if it's any use for debug though... Any more news on what could be the problem in Vista bobo?

Looks like it's working for you as there's none of these -

CVideoReferenceClock: Setup failed, falling back to QueryPerformanceCounter

[Image: sig_zps3af3b48e.jpg]
find
bobo1on1 Offline
cheapass Team-XBMC Developer
Posts: 2,757
Joined: Dec 2008
Reputation: 21
Post: #75
Well the vista issue can be fixed by removing a call to SetForegroundWindow() but that breaks other stuff.

The log filled with discontinuities is a different issue, which we're currently investigating.
find
ashlar Offline
Member+
Posts: 2,048
Joined: Mar 2006
Reputation: 26
Post: #76
bobo1on1, do you have evidence of problems with audio synch still happening while resampling? It happened to me yesterday, but I was watching a TV episode with my wife and could not activate debug. I quit XBMC, restarted and it was back ok (resuming from where it left).
find
hotlobster Offline
Senior Member
Posts: 241
Joined: Jan 2009
Reputation: 0
Location: Paris FR
Post: #77
Hello developpers.

I use xbmc under debian testing with vdpau.

Since smoothvideo feature, i wanted to try it. Unfortunatly, if Sync Playback feature is enabled, i have Xorg crashing when starting a video.

NVidia drivers are: 185.18.04

xbmc SVN:20517

xbmc crash with :

Code:
Thread 0xb25ffb90 (LWP 3661) exited]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xa47fbb90 (LWP 3745)]
0xb7249c06 in XUngrabPointer () from /usr/lib/libX11.so.6

Xorg crash with this pointer:

Code:
[Switching to Thread 0xb7a396d0 (LWP 3788)]
0xb65aee37 in _nv003187X () from /usr/lib/xorg/modules/drivers//nvidia_drv.so

Backtrace:
0: /usr/bin/Xorg(xf86SigHandler+0x7e) [0x80c91ce]
1: [0xb7ee8400]

Fatal server error:
Caught signal 11. Server aborting

xbmc log: http://xmltv.free.fr/xbmc.log

Xorg core file: http://xmltv.free.fr/core.Xorg


Happens booth with vdpau and gl render with any video file.

part of my xorg.conf:

Code:
Section "Module"
    Load           "dbe"
    Load           "extmod"
    Load           "type1"
    Load           "freetype"
    Load           "glx"
EndSection
Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    HorizSync       28.0 - 33.0
    HorizSync       15.0 - 68.0
    VertRefresh     43.0 - 72.0
    VertRefresh     23.0 - 61.0
    ModeLine       "1920x1080@24" 74.250 1920 2558 2602 2750 1080 1116 1121 1125 +hsync +vsync
    ModeLine       "1920x1080@50" 148.500 1920 2448 2492 2640 1080 1084 1089 1125 +hsync +vsync
    ModeLine       "1920x1080@60" 148.350 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync
    Option         "DPMS"
    Option         "UseEDID" "false"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    Option "TripleBuffer" "True"
    Option "Composite" "False"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "DynamicTwinView" "false"
    Option         "AddARGBGLXVisuals" "True"
    Option         "ExactModeTimingsDVI" "True"
    SubSection     "Display"
        Depth       24
        Modes      "1920x1080@50" "1920x1080@60" "1920x1080@24"
    EndSubSection
EndSection

Section "Extensions"
    Option         "Composite" "Disable"
EndSection

Smoothvideo branch always gived me this result, and now linux branch is doing the same.

If it can help to debug. Need any other info to help solving this ?

Cheers.
find
bobo1on1 Offline
cheapass Team-XBMC Developer
Posts: 2,757
Joined: Dec 2008
Reputation: 21
Post: #78
ashlar Wrote:bobo1on1, do you have evidence of problems with audio synch still happening while resampling? It happened to me yesterday, but I was watching a TV episode with my wife and could not activate debug. I quit XBMC, restarted and it was back ok (resuming from where it left).
If it happens you'll get a lot of discontinuity errors in the log.

hotlobster Wrote:Hello developpers.

I use xbmc under debian testing with vdpau.

Since smoothvideo feature, i wanted to try it. Unfortunatly, if Sync Playback feature is enabled, i have Xorg crashing when starting a video.

NVidia drivers are: 185.18.04
You could try installing 185.18.10, but if Xorg crashes it's probably an issue with either Xorg or the nvidia drivers.

And that brings me to my next conclusion, this thread is getting filled up with issues that may or may not have been caused by the smoothvideo merge, but appeared around that time.
I'm prepared to investigate those issues or in the least provide some explanation of what is happening, but having them all in the same thread makes things very disorganized, therefore I'm locking this thread.

If you have an issue, start a thread on the forum or post a bug report on trac.
find
Thread Closed