Linux 100% CPU usage when playing music, video works fine - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111) +---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52) +---- Thread: Linux 100% CPU usage when playing music, video works fine (/showthread.php?tid=162890) |
100% CPU usage when playing music, video works fine - V-Turn - 2013-04-20 I am using XBMC 12.1 on a Zotac ION box over Ubuntu 10.04.4 LTS. I've been using this for several years now, but I recently noticed that the audio was clicking when I was playing music. Looking into more details, I found out that the CPU is hogged. Strange thing, this onyl occurs when I play music. Playing SD/HD video works fine (even when the audio streams are MP3). It seems that this occured when I upgraded to Frodo, but I am not 100% sure. Here are some output of the top command for different scenario: Playing a SD video Code: top - 17:37:40 up 2:26, 3 users, load average: 0.97, 1.07, 1.10 Playing a HD video (720p, DTS) Code: top - 17:40:03 up 2:28, 3 users, load average: 1.07, 1.06, 1.09 Playing a MP Code: top - 17:41:52 up 2:30, 3 users, load average: 1.29, 1.10, 1.10 As you can see, a sinple MP3 puts two cores to their limit... I thought about some issue with the audio drivers or something like that, but when I play the exact same songs in the Ubunta media player, the CPU usage is very small. I tried to play with the XBMC System settings (pretty much every possible combination), I alo tried to wipe my ~/.xbmc folder to get a cleap profile, same problem. I am looking for some ideas on how I could troubleshoot this. Thank you in advance. V. RE: 100% CPU usage when playing music, video works fine - V-Turn - 2013-04-22 I have installed Frodo 12.1 on a Linux Mint 13 system, and I do not witness this high CPU usage behavior. (The CPU is much more powerful, it is a Core i3 2100, but I do not think this matters). Anybody has any idea on how I should proceed to diagnose where this is coming from? Maybe I should get binaries from another (unofficial) source, any suggestion? V. RE: 100% CPU usage when playing music, video works fine - wsnipex - 2013-04-22 if you really run frodo on ubuntu 10.4(lucid), then your binaries _are unofficial_ We do not provide packages for ubuntu <11.10 RE: 100% CPU usage when playing music, video works fine - V-Turn - 2013-05-04 In case this can useful for somebody else : Following a HD crash, I had to resinstall the OS. I installed Xubuntu 12.04 (LTS) as well as Frodo 12.2, and the problem is gone. Yay! V. Code: top - 21:42:36 up 7 min, 2 users, load average: 0.90, 1.27, 0.66 |