User Tools

Site Tools


proton:raspi_setup

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
proton:raspi_setup [2018/07/28 09:26] sethproton: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 with RetroPi (the image from 7/28/2018) on a Raspberry 3 B.  I should try it with a vanilla Raspbian Stretch install and see if that works too.+Test with the latest Raspberry Pi OS and RetroPi as of June 9th, 2023.
  
-First install Proton and compile its RTPack utility:+These should run both in the desktop GUI, or directly from bash. (Fullscreen)  I guess it's all identical to running on Ubuntu Linux/etc these days, no special stuff is needed.
  
-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 
 +</code> 
 + 
 + 
 +Don't forget git! 
 + 
 +<code bash> 
 +sudo apt-get install git 
 +</code> 
 + 
 +Next, install Proton.
  
 <code bash> <code bash>
Line 12: Line 26:
 </code> </code>
  
-Now let's build Proton's RTPack utility, will come in handle later.+Now let's build Proton's RTPack utility, will come in handle later to build and optimize resources.
  
 <code bash> <code bash>
Line 28: Line 42:
 </code> </code>
  
-If that worked, enjoy the spinning triangle and text stretching!+If that worked, enjoy the spinning triangle and text stretching!  It got 300+ fps on my Pi 4. Starting it from an ssh session worked for me as well.
  
 Now let's do RTSimpleApp, same thing but it needs SDL2_mixer for its audio, so let's get that installed: Now let's do RTSimpleApp, same thing but it needs SDL2_mixer for its audio, so let's get that installed:
  
 <code bash> <code bash>
-sudo apt-get libsdl2-mixer-dev+sudo apt-get install libsdl2-mixer-dev
 </code> </code>
  
Line 48: Line 62:
  
 If that worked, enjoy the app.  If it didn't... off to the forums and yell at Seth! If that worked, enjoy the app.  If it didn't... off to the forums and yell at Seth!
 +
 +=== 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 **/opt/retropie/configs/all/autostart.sh** and comment out where it runs emulationstation and change that to run your own app - or nothing at all, so it drops into the shell on boot.
 +
 +An easy way to replace the boot splash is replacing **/opt/retropie/supplementary/splashscreen/retropie-default.png**
proton/raspi_setup.1532769975.txt.gz · Last modified: 2018/07/28 09:26 by seth