Posts: 178
Joined: May 2010
Reputation:
5
xayide
Senior Member
Posts: 178
Seems there is something odd with 17 it uses massive amounts of cpu even for xvid. Where as the old kodi 16.1 uses 4-5% the new 17 uses 20-25%. HW decoding is turned on. Anyone seen this on Sierra?
Posts: 12
Joined: Oct 2016
Reputation:
0
teomor
Junior Member
Posts: 12
Yeah. Me too. I'm running it on an external monitor though, not sure if that's the reason.
Posts: 1,746
Joined: Nov 2014
Reputation:
160
docwra
Posting Freak
Posts: 1,746
Post a debug log to see whats going on, if its high CPU then there is a chance hardware acceleration is not working for some reason.
A log will explain this.
Posts: 16,946
Joined: Feb 2011
Reputation:
256
I tested this just a min ago. Playing h264 1080p mkv:
1. Kodi 16.1 ffmpeg-vda:
8-10% CPU load
2. Kodi 16.1 our old vda codec:
18% CPU load
3. Kodi 17 Beta5 ffmpeg-vtb:
- 12 - 15%
I measured the cpu load with "top" on a shell (this is the only sane method for getting accurate cpu stats...). Not sure what exactly you played that only needed 6% - but i don't seee that it got that much higher compared to 16...
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: 178
Joined: May 2010
Reputation:
5
xayide
Senior Member
Posts: 178
2016-11-19, 21:08
(This post was last modified: 2016-11-19, 21:16 by xayide.)
I even have 4.4% when playing 1080p on the macbook 12 retina with intel 5300 gpu. When playing on kodi 17 it uses at least 25% and that is quite easy to know since the laptop gets considerable hot and the battery is going down fast.
I used X264.
Posts: 16,946
Joined: Feb 2011
Reputation:
256
In your log all i see that hardware acceleration is used. I have no idea what to tell you else.
In Kodi 16.1 we use ffmpeg-vda (VideoDecodeAcceleration) hardware decoder in Kodi 17 we switched to ffmpeg-vtb (VideoToolbox) which is a lower layer (and the new standard in latest osx versions). There is no real tuning possible for us when it comes to those hardware acceleration frameworks.
Granted a lot of playback stuff changed in Kodi 17 additionally but its a bit hard to know what the cause is in your case (you are using a beta version of macos and a newer gpu generation then i have available for testing). Do you have any other macos versions on that macbook by any chance?
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: 308
Joined: Dec 2012
Reputation:
6
2016-11-20, 15:49
(This post was last modified: 2016-11-20, 17:32 by Waltman.)
Mkv at 1080p x264
1. Kodi 16.1 ffmpeg-vda:
memory ?
8-12% CPU load
2. Kodi 17 Beta5 ffmpeg-vtb:
memory 7%
CPU 18 - 25%
Posts: 23,266
Joined: Aug 2011
Reputation:
1,074
fritsch
Team-Kodi Developer
Posts: 23,266
Which content at which resolution? For v17 there is a big difference when playing files with e.g. 24 fps at 60 hz. It should be "the same" when running at video's fps rate.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Posts: 6,810
Joined: Jul 2010
Reputation:
198
can anybody compare sw decoding between v16 and v17?
Posts: 774
Joined: Jun 2012
Reputation:
88
jdf76
Out of memory: 1 Aug 2020
Posts: 774
Here is my Mac mini, but I'm using El Capitan on there so this may or may not help. I'm using 17 b5.
PID COMMAND %CPU TIME #TH #WQ #PORT MEM
28937 Kodi 14.9 03:21:03 29 0 514 268M- 16M
Jeff