Periodic jerkyness

  Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
drivesoslow Offline
Fan
Posts: 372
Joined: Aug 2008
Reputation: 4
Post: #71
Personally I am stuck at 60hz with my LCD so I cannot run at 50hz, 48hz, or 24hz. As far as I know I need a 3:2 pulldown to properly display these frame rates.
find quote
miljbee Offline
Senior Member
Posts: 159
Joined: Jun 2008
Reputation: 0
Location: France
Post: #72
[ad0] :
miljbee Wrote:I am on WinXP SP3 and i Experience the same problem :
When i am watching a 24fps movie with refresh rate @ 60hz, it's super smooth during something like 10-15s, then it's jerky for 2-5s. The jerk seems really regular. I have no problem when i watch the same movie at 24Hz.
...

drivesoslow :
Yes, in the world of perfection, you need pulldown, but playing 24fps movies at 60Hz should look smooth. This situation means that XBMC has got 2,5 chances to display a frame at nearly the good timestamp (60/24 = 2,5).
It should be smooth.

The only thing that i can see that could affect all those video players is the way vBlank is called (raised ?).

I Don't know how it works, but I Think that on a multithreaded platform, it's hard to catch this event without consuming all the cpu power to wait for vBlank.
find quote
elupus Offline
Team-XBMC Developer
Posts: 3,764
Joined: Mar 2004
Reputation: 2
Post: #73
One of the big causes of this recurring stutter is when the time to present a frame according to the dvdplayer is close to the vsync time. When this occurs, the frame can with bad luck end up on different sides of that vsync every few frames or so. This skipping back and forth will cause alot of stuttering.

This could explain those periods of stuttering, (ie longer than a single frame missed).

It's quite hard to know when a vsync interval exactly is timing wise, and with a hardware clock that keeps jumping back and forth wich it can do on multicore systems it's even harder.

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


[Image: badge.gif]
find quote
[Ad0] Offline
Member+
Posts: 77
Joined: Apr 2007
Reputation: 0
Post: #74
Thanks for the info! Smile
Is this remotely fixable by the way? Smile
find quote
jochr Offline
Junior Member
Posts: 8
Joined: Jul 2009
Reputation: 0
Location: Oslo, Norway
Post: #75
[Ad0];282475 Wrote:Thanks for the info! Smile
Is this remotely fixable by the way? Smile
Did you find a fix for this problem? I have the same issue on my Sony Bravia W4500..
find quote
elupus Offline
Team-XBMC Developer
Posts: 3,764
Joined: Mar 2004
Reputation: 2
Post: #76
Turning on the setting to sync clock to video instead of audio, can reduce the problem. But it only works properly with non passthrough audio.

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


[Image: badge.gif]
find quote
[Ad0] Offline
Member+
Posts: 77
Joined: Apr 2007
Reputation: 0
Post: #77
jochr Wrote:Did you find a fix for this problem? I have the same issue on my Sony Bravia W4500..

What fixed the problem was the smoothvideo branch that got merged back to main a while back. Thanks to bob1on1 !
find quote
Post Reply