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
Next revisionBoth sides next revision
proton:raspi_setup [2019/01/28 06:58] sethproton:raspi_setup [2019/02/06 02:56] 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 GL ES **
  
-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.+As a base, I started with a [[https://retropie.org.uk/download/|RetroPi image]] [[https://www.balena.io/etcher/|written]] to an SD card (tested with 4.4 on 1/28/2019) on a Raspberry 3B.  Why?  Because it comes with SDL2 pre-installed and pre configured so SDL will properly send mouse and keyboard input which saves a lot of hassle(don't ask me why, but the version the standard stretch has on apt-get doesn't)
  
-Update on Jan 28th 2019:  I did try this with Raspbian Stretch 4.14, you need to run these commands first to get it working:+If you REALLY want to use a standard Raspbian stretch install you can, just do these commands first to get ready:
  
 <code bash> <code bash>
-sudo apt-get install git 
 sudo apt-get install cmake 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
Line 15: Line 14:
 ---- End Raspbian stretch part ---- ---- End Raspbian stretch part ----
  
 +First, make sure you gave git installed. SSH into your PI and:
  
-First install Proton and compile its RTPack utility:+<code bash> 
 +sudo apt-get install git 
 +</code>
  
-I ssh'ed in and did:+Next, install Proton and compile its RTPack utility:
  
 <code bash> <code bash>
Line 64: Line 66:
 === State of Proton on the Pi === === State of Proton on the Pi ===
   - It runs fullscreen only both in or out of the desktop environment   - It runs fullscreen only both in or out of the desktop environment
-  - No mouse or keyboard input (SDL isn'doing its jobsee below)+  - If SDL isn'compiled a certain waymouse 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://www.youtube.com/watch?v=bk6jVk7t4i4|Atari PaperCart project]])   - Video acceleration works, audio works (see my [[https://www.youtube.com/watch?v=bk6jVk7t4i4|Atari PaperCart project]])
  
-SDL apparently can be tweaked to actually work with mouse and keyboard input but it requires some tricky stuff [[https://hg.libsdl.org/SDL/file/093b58f5de3c/docs/README-raspberrypi.md|last I checked]] Might be easier for Proton to just do its own input handling via libudev/libusb or somethingnot sure.+HintUsing 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 allso 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.txt · Last modified: 2023/12/03 06:42 by seth