Skip to content

Instantly share code, notes, and snippets.

@mnkhouri
Last active June 7, 2016 21:51
Show Gist options
  • Save mnkhouri/0ae8b431ceadf5e6e1b8309929ffc752 to your computer and use it in GitHub Desktop.
Save mnkhouri/0ae8b431ceadf5e6e1b8309929ffc752 to your computer and use it in GitHub Desktop.
My Raspbian -> Retropie Setup
#!/usr/bin/env bash
# Fix locale settings
export LANGUAGE=en_US.UTF-8
export LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8
sudo dpkg-reconfigure locales
sudo locale-gen en_US.UTF-8
sudo dpkg-reconfigure keyboard-configuration
# Install basic packages
sudo apt-get update && sudo apt-get upgrade -y
sudo apt-get install -y git vim
# Overclock (Need a really beefy power supply)
echo "
#Overclock Settings
arm_freq=1400
over_voltage=6
temp_limit=80
core_freq=500
#GPU Based
h264_freq=333
avoid_pwm_pll=1
gpu_mem=450
v3d_freq=500
#Ram Overclock
sdram_freq=500
sdram_schmoo=0x02000020
over_voltage_sdram_p=6
over_voltage_sdram_i=4
over_voltage_sdram_c=4
#Sound Fix
hdmi_drive=2
" | sudo tee --append /boot/config.txt
# Install retropie (see https://github.com/retropie/retropie-setup/wiki/manual-installation)
sudo apt-get install -y dialog
cd
git clone --depth=1 https://github.com/RetroPie/RetroPie-Setup.git
cd RetroPie-Setup
chmod +x retropie_setup.sh
sudo ./retropie_setup.sh
@mnkhouri
Copy link
Author

mnkhouri commented Jun 7, 2016

Sound Fix

hdmi_drive=2

Overclock Settings

arm_freq=1350
over_voltage=5
temp_limit=80
core_freq=450

GPU Based

h264_freq=333
avoid_pwm_pll=1
gpu_mem=450
v3d_freq=450

Ram Overclock

sdram_freq=500
sdram_schmoo=0x02000020
over_voltage_sdram_p=6
over_voltage_sdram_i=4
over_voltage_sdram_c=4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment