OpenElec Raspberry PI – tweaks

Increase video buffering:

Create a file advancedsettings.xml here /Storage/.xbmc/userdata

<advancedsettings>
  <network>
    <cachemembuffersize>30242880</cachemembuffersize>
  </network>
  <fanartheight>560</fanartheight>
  <thumbsize>256</thumbsize>
  <gui>
    <algorithmdirtyregions>3</algorithmdirtyregions>
    <nofliptimeout>0</nofliptimeout>
  </gui>
  <bginfoloadermaxthreads>2</bginfoloadermaxthreads>
</advancedsettings>

more settings here: http://mrpfister.com/journal/setting-up-openelec-on-the-raspberry-pi/#comment-31801

Overclocking:
(Be careful those setting will void your warranty)

/system/config.txt

arm_freq=850
core_freq=250
sdram_freq=400
force_turbo=1
initial_turbo=30
disable_overscan=1
hdmi_force_hotplug=1


Raspberry PI CPU Temperature and current speed – bash script


echo Raspberry Pi SysInfo.
echo ---------------------
MHZ=$(cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq)
TEMPE=$(cat /sys/class/thermal/thermal_zone0/temp)
TEMPS=$'\xc2\xb0'C

echo Hardware:
echo CPU Speed $(($MHZ/1000)) Mhz "|" CPU Temp $(($TEMPE/1000)) $TEMPS

output:


Raspberry Pi SysInfo.
---------------------
Hardware:
CPU Speed 850 Mhz | CPU Temp 28 °C


Raspberry PI kiosk mode with Chromium.

1. Install chromium, x11-xserver-utils and unclutter

sudo apt-get update && apt-get upgrade -y
sudo apt-get install chromium x11-xserver-utils unclutter

2. We need to prevent screen from going blank and disable screen saver.
– edit /etc/xdg/lxsession/LXDE/autostart and comment # screen saver line and add those lines:

@xset s off
@xset -dpms
@xset s noblank
@chromium --kiosk --incognito http://some.web.

Done.