2009-04-27, 16:59
In my previous post I discussed how to address the 'tearing' and choppy playback issues that affect some of us on later XBMC Live builds. It's worth reading the post for background if you haven't.
There is a more elegant solution to address choppy playback issues related to CPU scaling.
As before, remove powernowd and install rcconf :
To prevent the CPU scaling governor being altered without your say, using rcconf disable the following (where enabled) : cpufreqd, cpufrequtils, loadcpufreq, ondemand, powernowd, powernowd.early:
Finally, edit your runXBMC.sh script:
Edit your file so that the first couple of lines read:
Reboot XBMC Live for the changes to take effect.
If you're paranoid, you can check which CPU scaling governor is selected using the following command:
As mentioned in my previous post, you may wish to use lm-sensors and fancontrol to keep your CPU fan in check. I use these services to keep fan RPM and CPU temperature fairly constant instead of the default behaviour of my PC which is to turn on the system fan at full blast every 10 minutes!
There is a more elegant solution to address choppy playback issues related to CPU scaling.
As before, remove powernowd and install rcconf :
Code:
sudo apt-get remove powernowd
sudo apt-get install rcconf
To prevent the CPU scaling governor being altered without your say, using rcconf disable the following (where enabled) : cpufreqd, cpufrequtils, loadcpufreq, ondemand, powernowd, powernowd.early:
Code:
sudo rcconf
Finally, edit your runXBMC.sh script:
Code:
sudo nano /usr/bin/runXBMC.sh
Edit your file so that the first couple of lines read:
Code:
#!/bin/bash
echo performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
Reboot XBMC Live for the changes to take effect.
If you're paranoid, you can check which CPU scaling governor is selected using the following command:
Code:
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
As mentioned in my previous post, you may wish to use lm-sensors and fancontrol to keep your CPU fan in check. I use these services to keep fan RPM and CPU temperature fairly constant instead of the default behaviour of my PC which is to turn on the system fan at full blast every 10 minutes!