Posts: 1,414
Joined: Nov 2008
Reputation:
35
Sorry, i thought it was only introduced in Intrepid...
Posts: 4,997
Joined: May 2004
Reputation:
12
Hmm, maybe I misread the doc I was reading. Regardless, you can clearly see that two threads are being spawned and doing work in top. The problem is that they are both doing the work on the same core.
Posts: 23
Joined: Jan 2009
Reputation:
0
aron
Junior Member
Posts: 23
2009-01-10, 03:44
(This post was last modified: 2009-01-10, 04:11 by aron.)
Btw... if i compile XBMC version of ffmpeg and try to play a file with ffplay under intrepid using "-threads 2" parameter the video is buggy. In top I see that all cores are loaded, but it seems like only one cores decoded video is shown.
I'm not a pro in video decoding so maybe I'm wrong...
Posts: 838
Joined: Jul 2007
Reputation:
6
2009-01-10, 05:51
(This post was last modified: 2009-01-10, 06:34 by dteirney.)
Playback for me is ridiculously slow for some content with lots of frames getting dropped. Weird thing is I get worse playback for some PAL Xvid content than for 720p H264.
720p H264 with Big Buck Bunny plays back pretty damn smooth with CPUs at ~30%/30%. This is in a .mov container. A few dropped frames.
720p H264 from recorded DVB-T content plays back reasonably with CPUs at ~60%/30%. This is in an .mpg container. More dropped frames than Big Buck Bunny.
1080i H264 (with PAFF interlacing) from recorded DVB-T content plays back choppy with CPUs at ~100%/65%. In an .mpg container. Huge number of dropped frames. FPS only ~19.
PAL 720x576 Xvid rip (MPEG4) has one CPU pegged at 100% with the other at ~10%. This is in an AVI container. Lots of dropped frames. This was silky smooth on the original XBox!
1080p H264 Killa Sample has one CPU pegged at 100% with other at ~20%. In an MKV container. Not too many dropped frames but playback is pretty choppy at only ~19FPS.
I'm running an ATI video system, but I'm not sure how much affect that has on playback. Similarly running AMD CPU and I don't know what impact that has. Many people suggest using Intel, but I had to find a mATX board with 2 PCI slots and DVI/HDMI out and there was bugger all choice with that requirement.
I can't believe the original XBox is whomping the 3.0Ghz CPU and 10 years newer GPU for playback of Xvid rips of PAL content.
HD 3200 / 780G graphics
AMD X2 6000+ (3.0Ghz)
2Gb RAM
ATI Catalyst 8.12 drivers
skiploopfilter set to 48 in advancedsettings.xml
VSync turned all the way on with Catalyst Control Center
VSync decided by driver in XBMC
Running SVN version of XBMC from 09-Jan.
My xorg.conf is pretty standard at the moment.
The code changes for number of threads doesn't seemed to have improved much.
Posts: 4,997
Joined: May 2004
Reputation:
12
You're using Ubuntu 8.10 and have something useful to offer this topic? Otherwise I'm moving that post to it's own thread. ATI is not under the gun here, nor will it be.
Posts: 838
Joined: Jul 2007
Reputation:
6
Yes, I'm using Mythbuntu 8.10. Post was mainly because I get completely different CPU core usage profiles depending on the content that is being played. Not sure if that information helps determine whether the issue is something to do with ffmpeg, or something else entirely. Xvid decoding has the worst CPU imbalance.
Question regarding ATI was mainly because I don't know what impact the GPU has on the performance.
Happy to create another thread regarding ATI performance in general if you think that is the better path.
Posts: 4,997
Joined: May 2004
Reputation:
12
Please do (and modify your previous), it has nothing to do with this thread.
Posts: 666
Joined: Dec 2008
Reputation:
0
motd2k
Team-XBMC Developer
Posts: 666
What hardware doesnt Hardy support? It's only from July....
If its a problem with audio (over HDMI specifically) then just install the latest alsa.
Posts: 38
Joined: Jan 2009
Reputation:
0
nipnup
Junior Member
Posts: 38
I have been testing the XBMC PPA SVN Version today with a stock 2.6.28 kernel built using Debian infrastructure (only non standard config item was low latency desktop). With Killa Sampla, I get 120-150%CPU on my C2D 2.0GHz but still about 30% Idle CPU remaining. This is better than with the Stock Intrepid Kernel but still not optimal as it still does not use the whole CPU...
Now I will go on to build a stock 2.6.24 kernel by hand just to see what happens.
Posts: 38
Joined: Jan 2009
Reputation:
0
nipnup
Junior Member
Posts: 38
2009-01-10, 14:36
(This post was last modified: 2009-01-10, 14:41 by nipnup.)
Same story on kernel.org 2.6.24.7, not all CPU is being used but a lot more than on stock Intrepid kernel.
Is there any Kernel.org Version / Kernel Configuration combo known to work? I have no issues with building my own Kernel, but the current situation is deeply unsatisfying.