High CPU usage when launched using remote
#1
Maybe this is an issue with what I'm doing, but I thought I'd ask. I have a button mapped to kill and then launch xbmc using lirc and irexec. Basically, I have an lirc script mapped to irexec that launches a script "startxbmc.sh".

This startxbmc.sh has the following code:

Code:
#!/bin/bash

# Test to see if XBMC is running first
if ps -ef|grep -v grep|grep -i xbmc.bin
then
# Do nothing
echo "XBMC already Running!"
else
# Startup XBMC
/usr/bin/xbmc
fi
exit

Now, when I launch xbmc using my remote, it launches but the process uses 80-90% of my CPU. When I VNC into my computer and launch /usr/bin/xbmc from a terminal, CPU usage hovers near 15-20%. I'm not sure why this is happening, since the script launching xbmc is owned by the same user.

Here is the pastebin: http://pastebin.org/1115

I am using xbmc version 9.04.1 r20654, installed from PPA repositories.
This is on top of a mythubuntu installation, kernel 2.6.24-19.
Athlon 64 3200+ processor with 2gb RAM and a Geforce 7600GS card.
Reply

Logout Mark Read Team Forum Stats Members Help
High CPU usage when launched using remote0