proton:raspi_setup
                Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| proton:raspi_setup [2018/07/28 09:24] – seth | proton:raspi_setup [2023/12/03 06:42] (current) – seth | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ** Compiling Proton and its examples on the Raspberry Pi with GL ES ** | + | ** Compiling Proton and its examples on the Raspberry Pi with OpenGL 2** | 
| - | As a base, I started  | + | Test with the latest  | 
| - | First install Proton and compile its RTPack utility: | + | These should run both in the desktop GUI, or directly from bash. (Fullscreen)  | 
| - | I ssh'ed in and did: | + | First, install some tools/libs you'll need: | 
| + | |||
| + | <code bash> | ||
| + | sudo apt-get install cmake zlib1g-dev | ||
| + | sudo apt-get install libsdl2-2.0-0 libsdl2-dev | ||
| + | </ | ||
| + | |||
| + | |||
| + | Don't forget git! | ||
| + | |||
| + | <code bash> | ||
| + | sudo apt-get install git | ||
| + | </ | ||
| + | |||
| + | Next, install Proton. | ||
| <code bash> | <code bash> | ||
| cd ~ | cd ~ | ||
| git clone https:// | git clone https:// | ||
| + | </ | ||
| - | //Build proton's RTPack  | + | Now let's build Proton's RTPack  | 
| + | |||
| + | <code bash> | ||
| cd ~/ | cd ~/ | ||
| sh linux_compile.sh | sh linux_compile.sh | ||
| Line 25: | Line 42: | ||
| </ | </ | ||
| - | If that worked, enjoy the spinning triangle and text stretching! | + | If that worked, enjoy the spinning triangle and text stretching!  | 
| Now let's do RTSimpleApp, | Now let's do RTSimpleApp, | ||
| <code bash> | <code bash> | ||
| - | sudo apt-get libsdl2-mixer-dev | + | sudo apt-get  | 
| </ | </ | ||
| Line 45: | Line 62: | ||
| If that worked, enjoy the app.  If it didn' | If that worked, enjoy the app.  If it didn' | ||
| + | |||
| + | === Note from Dec 3rd, 2023 === | ||
| + | |||
| + | I updated things so pulseaudio is used by default instead of alsa when compiling on a pi, this fixes audio on the latest Raspberry Pi OS. (in AudioManagerSDL.cpp) | ||
| + | |||
| + | === State of Proton on the Pi === | ||
| + |    | ||
| + | Hint: Using the RetroPi dist? You can edit the text file **/ | ||
| + | |||
| + | An easy way to replace the boot splash is replacing **/ | ||
proton/raspi_setup.1532769874.txt.gz · Last modified:  by seth
                
                