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 [2023/06/08 15:29] sethproton:raspi_setup [2023/12/03 06:42] (current) seth
Line 8: Line 8:
  
 <code bash> <code bash>
-sudo apt-get install cmake+sudo apt-get install cmake zlib1g-dev
 sudo apt-get install libsdl2-2.0-0 libsdl2-dev sudo apt-get install libsdl2-2.0-0 libsdl2-dev
 </code> </code>
Line 42: 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:
Line 62: 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 === === State of Proton on the Pi ===
proton/raspi_setup.txt · Last modified: 2023/12/03 06:42 by seth