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 [2019/01/28 06:58] – 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 |
| - | Update on Jan 28th 2019: | + | These should run both in the desktop GUI, or directly from bash. (Fullscreen) |
| + | |||
| + | First, install some tools/ | ||
| <code bash> | <code bash> | ||
| - | sudo apt-get install git | + | sudo apt-get install cmake zlib1g-dev |
| - | sudo apt-get install cmake | + | |
| sudo apt-get install libsdl2-2.0-0 libsdl2-dev | sudo apt-get install libsdl2-2.0-0 libsdl2-dev | ||
| </ | </ | ||
| - | Also, I think the GL driver needs to be set to " | ||
| - | ---- End Raspbian stretch part ---- | + | Don't forget git! |
| + | <code bash> | ||
| + | sudo apt-get install git | ||
| + | </ | ||
| - | First install Proton | + | Next, install Proton. |
| - | + | ||
| - | I ssh'ed in and did: | + | |
| <code bash> | <code bash> | ||
| Line 25: | Line 26: | ||
| </ | </ | ||
| - | Now let's build Proton' | + | Now let's build Proton' |
| <code bash> | <code bash> | ||
| Line 41: | 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, | ||
| Line 61: | 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 === | === State of Proton on the Pi === | ||
| - | | + | |
| - | - No mouse or keyboard input (SDL isn't doing its job, see below) | + | Hint: Using the RetroPi dist? You can edit the text file **/opt/retropie/ |
| - | - Video acceleration works, audio works (see my [[https://www.youtube.com/ | + | |
| - | SDL apparently can be tweaked | + | An easy way to replace the boot splash is replacing **/opt/retropie/supplementary/splashscreen/retropie-default.png** |
proton/raspi_setup.1548658723.txt.gz · Last modified: by seth
