Posts: 99
Joined: Dec 2013
Reputation:
1
Hello,
I have been playing back some video streams with xbmc. I turned on the debug logging from the settings screen. This causes print outs to appear on the video showing the CPU usage among other thins.
The print out looks like this on my tablet that has a dual core chip from Marvel:
CPU: CPU0: 0.0% CPU1:0.0% (CPU-XBMC 74.16%)
It is somewhat confusing but it looks like xbmc is only using one of the cpu cores. Is there a way to configure xbmc to use both cores?
It also seems that xbmc detects both cores but does not correctly determine which of the cores it is running on. Is that the expected behavior?
Thanks,
rdg
Posts: 11,582
Joined: Feb 2008
Reputation:
84
davilla
Retired-Team-XBMC Developer
Posts: 11,582
reporting of cpu percent is broke for arm/android and no one cares enough to fix it right now.
Posts: 99
Joined: Dec 2013
Reputation:
1
Is it just a reporting issue? Does xbmc use more than one core on arm/android?
Thanks,
rdg
Posts: 16,946
Joined: Feb 2011
Reputation:
256
Dream on dude - this is our hobby - hobbies are never and won't be ever bug free.
Beside that - it depends on the used xbmc version and video codec if multiple cores are used (this is same for all platforms). Are we talking about real problems here? Or are we just talking about nothing?
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much:
click here
HowTo setup NFS for Kodi:
NFS (wiki)
HowTo configure avahi (zeroconf):
Avahi_Zeroconf (wiki)
READ THE IOS FAQ!:
iOS FAQ (wiki)
Posts: 11,582
Joined: Feb 2008
Reputation:
84
davilla
Retired-Team-XBMC Developer
Posts: 11,582
Here's the history, it was working, then someone broke it fixing something else. Sometimes I get tired of fixing things over and over so I just ignore it for now. Personally, I'd rip all CPU percent monitoring code out as useless eye candy. You want to know the CPU usage, ssh in and run top.
Posts: 99
Joined: Dec 2013
Reputation:
1
Memphiz,
I am interested to determine if and when multiple cores are used. I am also interested in when hardware acceleration is used. As I am new to the code base, I don't know exactly where to look. I can tell from the debug logs that XBMC recognizes that the Marvel chip on the Galaxy Tab 3 has NEON support.
I have observed that for some 1080p streams the Samsung player that came pre installed on my Galaxy Tab 3 plays them back. XBMC exits when trying to play these streams. I am trying to find out what kind of hardware XBMC is using for these streams.
I posted because I found the debug display confusing.
davilla, thanks for the suggestion about using top. I will look into this as I have not run top on my Android device to date.
-rdg