High CPU usage

  • Hi there,

    I am experiencing very high CPU usage when playing videos (>100%) which results in the fan becoming very loud. I tried making sense of the log, but I have no clue what to look for.


    The log can be found here: http://ix.io/2nqY

    it starts at 21:00 and till 21:15 I have verbose logging turned on all components. From 21:15 onwards I have only normal debbugging turned on. I am running on a Core i3 CPU with integrated intel video card. The whole time the CPU was on steroids... This used to never be a problem.


    Hopefully someone can makes sense out of this. Happy to answer any questions off course...

  • Sorry my statement is incorrect. The log starts at 21:00 till 21:30 but halfway I turned off the verbose logging just because if the normal debug log would be enough to identify an issue it would perhaps be easier. Nothing special happened at 21:15.


    I played a video from 21:00 - 21:30 and all the time the CPU has been plus 100%


    Regards,


    y3ll3r

  • Thanks.

    1. Use the default skin.
    2. When high CPU usage happens again, login and use top command to find the most consuming process. (leave top by Strg + C)

    Flexin' vinyl, jammin' break beats. 8)

  • Hiya,


    So I did what you asked and after playback (using default skin) the kodi.bin process is the only high consumer of the CPU for about 20%. After 20 minutes the "kodi.bin" process increases to 110-120% CPU and stays on this level.


    Regards,


    y3LL3r

  • Thanks. Then it could be a playback issue, and the suggestion of smp might help.

    Flexin' vinyl, jammin' break beats. 8)

  • Well it happens with all files I play but here is the one from yesterday:

    General

    Unique ID :

    47132858075277093611863998660612777079 (0x2375755164029F8EF0E991085508E477)

    Complete name :

    /Volumes/media/tv_series/Why Women Kill/Season 01/Why Women Kill - S01E04 - You Had Me at Homicide HDTV-1080p.mkv

    Format :

    Matroska

    Format version :

    Version 4

    File size :

    2.62 GiB

    Duration :

    41 min 3 s

    Overall bit rate :

    9 152 kb/s

    Encoded date :

    UTC 2020-04-09 20:02:32

    Writing application :

    mkvmerge v45.0.0 ('Heaven in Pennies') 64-bit

    Writing library :

    libebml v1.3.10 + libmatroska v1.5.2

    Video

    ID :

    1

    Format :

    AVC

    Format/Info :

    Advanced Video Codec

    Format profile :

    [email protected]

    Format settings :

    CABAC / 4 Ref Frames

    Format settings, CABAC :

    Yes

    Format settings, Reference frames :

    4 frames

    Codec ID :

    V_MPEG4/ISO/AVC

    Duration :

    41 min 3 s

    Bit rate :

    9 025 kb/s

    Width :

    1 920 pixels

    Height :

    1 080 pixels

    Display aspect ratio :

    16:9

    Frame rate mode :

    Constant

    Frame rate :

    25.000 FPS

    Standard :

    Component

    Color space :

    YUV

    Chroma subsampling :

    4:2:0

    Bit depth :

    8 bits

    Scan type :

    MBAFF

    Scan type, store method :

    Interleaved fields

    Scan order :

    Top Field First

    Bits/(Pixel*Frame) :

    0.174

    Stream size :

    2.59 GiB (99%)

    Default :

    No

    Forced :

    No

    Color range :

    Limited

    Color primaries :

    BT.709

    Transfer characteristics :

    BT.709

    Matrix coefficients :

    BT.709

    Audio #1

    ID :

    2

    Format :

    AAC LC SBR

    Format/Info :

    Advanced Audio Codec Low Complexity with Spectral Band Replication

    Commercial name :

    HE-AAC

    Format settings :

    Explicit

    Codec ID :

    A_AAC-2

    Duration :

    41 min 3 s

    Bit rate :

    61.9 kb/s

    Channel(s) :

    2 channels

    Channel layout :

    L R

    Sampling rate :

    48.0 kHz

    Frame rate :

    23.438 FPS (2048 SPF)

    Compression mode :

    Lossy

    Stream size :

    18.2 MiB (1%)

    Title :

    French

    Language :

    French

    Default :

    Yes

    Forced :

    No

    Audio #2

    ID :

    3

    Format :

    AAC LC SBR

    Format/Info :

    Advanced Audio Codec Low Complexity with Spectral Band Replication

    Commercial name :

    HE-AAC

    Format settings :

    Explicit

    Codec ID :

    A_AAC-2

    Duration :

    41 min 3 s

    Bit rate :

    61.9 kb/s

    Channel(s) :

    2 channels

    Channel layout :

    L R

    Sampling rate :

    48.0 kHz

    Frame rate :

    23.438 FPS (2048 SPF)

    Compression mode :

    Lossy

    Stream size :

    18.2 MiB (1%)

    Title :

    English

    Language :

    English

    Default :

    No

    Forced :

    No

    Text #1

    ID :

    4

    Format :

    UTF-8

    Codec ID :

    S_TEXT/UTF8

    Codec ID/Info :

    UTF-8 Plain Text

    Duration :

    40 min 32 s

    Bit rate :

    62 b/s

    Count of elements :

    708

    Stream size :

    18.5 KiB (0%)

    Title :

    French

    Language :

    French

    Default :

    No

    Forced :

    No

    Text #2

    ID :

    5

    Format :

    UTF-8

    Codec ID :

    S_TEXT/UTF8

    Codec ID/Info :

    UTF-8 Plain Text

    Duration :

    40 min 45 s

    Bit rate :

    72 b/s

    Count of elements :

    842

    Stream size :

    21.6 KiB (0%)

    Title :

    French (SDH)

    Language :

    French

    Default :

    No

    Forced :

    No


    I stream all my files from my nas btw.

  • Please post a link to a log file and name the audio format (MediaInfo) you're playing.

    Sorry im new to all this finally got reports

    Logfile

    http://ix.io/2ohn


    Music im playing is just normal mp3's mp4's

    it was freezing without playing music


    Im really just guessing, i under clocked it to 900 mhz and it seems to have stopped freezing but still cpu is high 98 99%

    I also put on a heatsink.


    Music output example

    General

    Complete name : C:\Users\User\Downloads\The Prodigy - Their Law (The Singles 1990-2005)\Their Law (The Singles 1990-2005) [CD-01\04 Out Of Space.mp3

    Format : MPEG Audio

    File size : 11.8 MiB

    Duration : 5 min 2 s

    Overall bit rate mode : Constant

    Overall bit rate : 320 kb/s

    Album : Their Law (The Singles 1990-2005) [CD-01]

    Part/Position : 1

    Part/Total : 1

    Track name : Out Of Space

    Track name/Position : 4

    Track name/Total : 15

    Performer : The Prodigy

    Composer : L. Howlett

    Genre : Electronica Dance

    Recorded date : 1992

    Writing library : iTunes 11.0.2.26

    Cover : Yes

    Cover MIME : image/png

    iTunPGAP : 0


    Audio

    Format : MPEG Audio

    Format version : Version 1

    Format profile : Layer 3

    Duration : 5 min 2 s

    Bit rate mode : Constant

    Bit rate : 320 kb/s

    Channel(s) : 2 channels

    Sampling rate : 44.1 kHz

    Frame rate : 38.281 FPS (1152 SPF)

    Compression mode : Lossy

    Stream size : 11.5 MiB (98%)


    Thanks

  • Sorry for the late response. I haven't found any playback related errors at your log.

    It could be a buffering issue, so please try this.

    Flexin' vinyl, jammin' break beats. 8)