Posts: 1,414
Joined: Nov 2008
Reputation:
35
2008-12-27, 02:50
(This post was last modified: 2008-12-29, 12:35 by alanwww1.)
My dual core Intel E7200 (2.6Ghz) cpu has one core almost 100% whilest the other core only 10-20% playing back HD content. I have a lot of dropped frames because of this.
With the very same hardware, playing it back with XBMC Live it is 45-45% the core usage with zero dropped frames.
I am really stuck as i tried different Intrepid kernels, the latest nvidia driver, latest alsa driver, with or without powernowd. Stable xbmc release or the latest SVN with the same result.
The CPU can decode the content no problem as it shows in the live version.
What is the difference why i can not use it properly on Intrepid kernel ?
Thanks for any help.
EDIT 29.12.2008:
I tested the things on Ubuntu Hardy full install and here it is all fine !!!! So it looks as a problem of the new Intrepid kernel or the way XBMC is compiled on this new kernel.
Posts: 1,414
Joined: Nov 2008
Reputation:
35
2008-12-27, 11:24
(This post was last modified: 2008-12-27, 11:57 by alanwww1.)
None had such problem ?
It's only me making something wrong ?
I also checked the same hardware under Windows port. It's all fine there 50-50% utilization of the cores.
Posts: 12,706
Joined: Nov 2003
Reputation:
129
spiff
Team-Kodi Member
Posts: 12,706
xbmc live is just xbmc for linux in a package... you must be doing something wrong at the os level
Posts: 1,414
Joined: Nov 2008
Reputation:
35
Thanky everyone for the help i will try them.
The triple buffer option is already set in xorg.conf
i have not tried the useevents otion, but it is not in the live xorg.conf eighter
and it works without it.
Maybe it is the kernel the difference ?
It seems something like mplayer is not working multithreaded on my Intrepid version. Maybe i am wrong.
I report back what i found out.
Posts: 1,414
Joined: Nov 2008
Reputation:
35
I cheked both xorg.options you suggested but the utilization of the cpu cores remain very uneven (80-100 against 10-20%)
I tried a completely different setup with a P45 board and a 8600 Nvidia board with the very same bad results.
It seems that the video decoding is only going on one core whilst the other core does some audio decoding and other stuff.
Note that i've only tested Intrepid Ibex as i would like to use the new kernel.
Isn't there some kind of power management or ACPI related package i miss ?
I did a fresh install with Intrepid alternate CD with command line install.
I added packages SSH, ALSA, XORG, NVIDIA-GLX-177 XBMC and i added the xorg.conf magic lines but it is always the samer result.
Anyone having a nearly even CPU Core utilization in Intrepid presson key "O" while playing a HD material ? Now i am desperate that my core 2 duo 7300 is not enough for all content.
Posts: 795
Joined: Feb 2008
Reputation:
25
Have you tried 177.82 direct from Nvidia's site?
Dave
Posts: 1,414
Joined: Nov 2008
Reputation:
35
Hello Adix !
What OS you tried. Mine was on Intrepid.
I think the problem is certainly OS or ffmpeg related and has nothing to do with xorg.conf. My cpu utilization when video is paused is 3-5% evenly balanced. So the unbalanced load comes from decoding the video portion of the stream.
I will test it on Hardy today. The strange thing what i wrote in the first post is that in XBMC Live it works perfectly balanced. But here i don't have HDMI audio.
I also tried the latest Nvidia beta from nvidia site. Same result.
Posts: 51
Joined: Aug 2008
Reputation:
0
hi,
I'm using new intel dg45fc board - G45 chipset. so i have to use intrepid - live didn't work but I expected that.
Interestingly i installed mplayer on ubuntu and the cpu utilisation is shared equally between cores for the killa sample (shown by system monitor), but keeps throwing back a "too many video packets in buffer" error.
other messing about has shown a few things but nothing has solved it. i've upgraded drivers (made xbmc unuseable - too jerky).
yes like you said all xorg options have had not effect on xbmc. with mplayer sharing the cpu load fine i thinking it may be pointing towards ffmepg which is compile with xbmc.( some correct if that is stupid thiing to say)
So i'm tempted to compile xbmc from source and see if that does the trick.
keep me informed of your progress
cheers
Posts: 1,414
Joined: Nov 2008
Reputation:
35
I've already tried to compile XBMC from SVN. It has some cool new features (auto adjust refresh rate) but it does the same unbalanced cpu core utilization (at least on intrepid. I will try hardy later).
Maybe there is a configuration option for compile the internal player which could be the cure.
Any Dev has some idea ?
Posts: 1,414
Joined: Nov 2008
Reputation:
35
I found out that on Ubuntu Hardy 804 it is all working fine. The CPU cores share the load 45-45% while playing 1080p content.
So it is eighter Kernel related problem or the way XBMC uses the Interpid kernel.
I will try to use mplayer on both OS and report back if it has the same behaviour or not.
Anyway on Hardy it's ok, on Intrepid it's not working properly. I think we should fill out a ticket.