Kodi 16.1 generates huge CPU load

  Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
SSSleep Offline
Junior Member
Posts: 2
Joined: Jun 2017
Reputation: 0
Post: #1
Hello,

first of all I started with setting up a headless Debian system with Kernel 4.9 from jessie backport repository. It runs without any x-server or window manager on an asrock j3710.

Then I thougt why not using temporarily to running kodi on it as long as my TV is available in the Network. Therefore I installed x-server, xinit and also Kodi 16.1 from repository.

On my first trial when I started a X-session with:
Code:
xinit /usr/bin/kodi-standalone

I got an error message because the installed mesa libs were out of date. So I updated them from backport repository to version 13.0.6.1, as you can see here: mesa-libs

With it the X-session with Kodi starts well, but the cpu becomes nearly 100%. Here is a screenshot made from htop while kodi is running:
[Image: t1EBN6.png]

uname -a gives the follwowing output:
Code:
Linux debianServer 4.9.0-0.bpo.2-amd64 #1 SMP Debian 4.9.18-1~bpo8+1 (2017-04-10) x86_64 GNU/Linux


Here you you can see the Kodi-Logfile. I couldn't find there any issue.

I recognise that the handling with HID-keyboard is really poor, against using web control via smartphone app. Also I read in the web, that it could be a problem, when the open gl lib (mesa) isn't running!?

Currently I've no idea how to debug this issues.

Regards

Michael
(This post was last modified: 2017-06-18 14:25 by SSSleep.)
find quote
fritsch Offline
Team-Kodi Developer
Posts: 17,897
Joined: Aug 2011
Reputation: 553
Location: Stuttgart*
Post: #2
Quote:19:50:22 T:140283938773184 NOTICE: GL_VENDOR = VMware, Inc.
19:50:22 T:140283938773184 NOTICE: GL_RENDERER = Gallium 0.4 on llvmpipe (LLVM 3.8, 128 bits)
19:50:22 T:140283938773184 NOTICE: GL_VERSION = 3.0 Mesa 13.0.6
19:50:22 T:140283938773184 NOTICE: GL_SHADING_LANGUAGE_VERSION = 1.30

Install proper GPU drivers, please.

"Your most vocal users are not reflective of your userbase" J.M.
"Of course, they [XP Users and people with outdated hardware] need to tell the world about the kind of hero they are, and block innovation for everyone else because their decades old OS / hardware needs to work =p" nevcairiel (ffmpeg)
No Debug Log no issue.
find quote
SSSleep Offline
Junior Member
Posts: 2
Joined: Jun 2017
Reputation: 0
Post: #3
Great,

with your hint I've installed the xserver-xorg-video-intel package from backport repository.

Code:
14:51:11 T:140410494941376  NOTICE: GL_VENDOR = Intel Open Source Technology Center
14:51:11 T:140410494941376  NOTICE: GL_RENDERER = Mesa DRI Intel(R) HD Graphics 405 (Braswell)
14:51:11 T:140410494941376  NOTICE: GL_VERSION = 3.0 Mesa 13.0.6
14:51:11 T:140410494941376  NOTICE: GL_SHADING_LANGUAGE_VERSION = 1.30

Now it works.

Thank you
find quote