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/02/06 02:56] – 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 |
| - | If you REALLY want to use a standard Raspbian stretch | + | These should run both in the desktop GUI, or directly from bash. (Fullscreen) |
| + | |||
| + | First, | ||
| <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 | ||
| </ | </ | ||
| - | Also, I think the GL driver needs to be set to " | ||
| - | |||
| - | ---- End Raspbian stretch part ---- | ||
| - | First, make sure you gave git installed. SSH into your PI and: | + | Don't forget |
| <code bash> | <code bash> | ||
| Line 20: | Line 19: | ||
| </ | </ | ||
| - | Next, install Proton | + | Next, install Proton. |
| <code bash> | <code bash> | ||
| Line 27: | Line 26: | ||
| </ | </ | ||
| - | Now let's build Proton' | + | Now let's build Proton' |
| <code bash> | <code bash> | ||
| Line 43: | 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 64: | Line 63: | ||
| If that worked, enjoy the app. If it didn' | If that worked, enjoy the app. If it didn' | ||
| - | === State of Proton on the Pi === | + | === Note from Dec 3rd, 2023 === |
| - | - It runs fullscreen only both in or out of the desktop environment | + | |
| - | - If SDL isn't compiled a certain way, mouse and keyboard won't work right. (use the RetroPi dist!) | + | |
| - | - Even though mouse and keyboard can work, there is no mouse cursor, you'd need to draw it yourself | + | |
| - | - Video acceleration works, audio works (see my [[https:// | + | |
| + | 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 **/ | Hint: Using the RetroPi dist? You can edit the text file **/ | ||
| An easy way to replace the boot splash is replacing **/ | An easy way to replace the boot splash is replacing **/ | ||
proton/raspi_setup.1549421789.txt.gz · Last modified: 2019/02/06 02:56 by seth
