Posts: 113
Joined: Aug 2008
Reputation:
0
Thanks aron!
It works well. My setup went from dropping 50-60 frames during killasampla to zero dropped frames. While the CPU usage hovers at 90% on both cores.
Posts: 4,997
Joined: May 2004
Reputation:
12
Now that you guys have a patch to an unstable branch of ffmpeg that we WILL NOT BE INCLUDING until it is merged with ffmpeg HEAD, can we get back to finding a real solution to the problem?
Posts: 249
Joined: Jan 2009
Reputation:
1
Aron, you indicated earlier that this causes avi's to be a bit buggy. What did you mean by that? I'm curious to try your patch, but since a good deal of my files (tv mostly) are avi, I don't want to have to recompile twice (once for the patch, once to undo it).
Posts: 1,414
Joined: Nov 2008
Reputation:
35
Thank's Aron, but i asked Althekiller about xbmc's patch. It would still be good to make it clear why it is going with so bad performance under Intrepid.
I will also make a test if there is any performance difference with ffmpeg-mt patch applied in Hardy or in Intrepid. That would also tell us if it is effecting ALL ffmpeg versions or only the patch in xbmc.
I noticed a strange thing with SPEEDSTEP on two Intel based computers.
If i ENABLE speedstep i have the multithreaded performance dramatically BETTER.
If i DISABLE speedstep i have WORSE performance.
I really don't understand this. It is making differnce also in Intrepid and Hardy.
So anyone having speedstep disabled in BIOS should have it enabled for optimal performance.
It does not seem to be like that on windows. Somehow it is related to Linux kernel only.
Posts: 249
Joined: Jan 2009
Reputation:
1
I'm all for a permanent official solution, but in the meantime, my X2 6000+ 3.1Ghz is choking even on relatively low-bitrate 1080p blu-ray rips. If this can help in the short term, then it makes it a lot easier to wait on a better fix. Thanks for releasing this in such a user-friendly patch, Aron.
Posts: 666
Joined: Dec 2008
Reputation:
0
motd2k
Team-XBMC Developer
Posts: 666
has anyone tried compiling with gcc4.1? could be the compiler change i suppose.
Posts: 249
Joined: Jan 2009
Reputation:
1
Yep, your patch helped. Now I can watch Dark Knight w/ zero (noticeable) dropped frames. I was missing a library, but other than that it all went smoothly. Thanks!
Posts: 4,997
Joined: May 2004
Reputation:
12
Just an FYI, there's no guaranty our frame counting code works with that patch.