Skip to content
This repository has been archived by the owner on May 16, 2020. It is now read-only.

Raspberry Pi support #373

Open
wants to merge 19 commits into
base: master
Choose a base branch
from
Open

Raspberry Pi support #373

wants to merge 19 commits into from

Conversation

techyian
Copy link

Removed GLES directory and brought forward relevant changes required to run GLES into renderer 1 directory. CMake changes for correct linking to GLES and Broadcom lib. Added install notes for RPI. Tested on Raspbian using full OpenGL and GLES.

@rmarquis rmarquis requested review from rmarquis and removed request for rmarquis June 28, 2019 08:52
@rmarquis
Copy link
Contributor

rmarquis commented Feb 7, 2020

Someone was able to run OpenGL on RPi simply with:

ztealmax: actually just used:  git clone https://github.com/etlegacy/etlegacy.git and added this to easyconfig.sh under -RPI section:
            BUNDLED_SDL=0
            BUNDLED_OPENAL=0
            FEATURE_OMNIBOT=1
            INSTALL_OMNIBOT=1
but im using OpenGL not GLES.

@techyian
Copy link
Author

techyian commented Feb 8, 2020

Hi Remy,

I haven't looked over the Raspberry Pi support for a while now due to issues on the Raspberry Pi 4. Currently on the Pi 4, you're not able to run the game directly off the framebuffer using SDL. I believe support will eventually become available, but not any time soon unfortunately.

After discussing with the etlegacy devs, it was agreed that the GLES folder should remain and not all be merged into the GL folder with ifdef everywhere. My latest work on this can be found at this fork and also here for etlegacy-libs.

When I last looked, Raspberry Pi 3 worked great, Pi 4 worked well with full OpenGL and had great performance improvements over Pi 3, but I think I recall GLES having issues. When moving the mouse to the left, the mouse cursor would appear briefly and stop the camera movement. I'm not sure if that's an issue with the game but makes it quite unplayable with Pi 4 & GLES.

Skyhawk was keen for Pi 3 & 4 using both GL and GLES to be working well before any official builds could be put out. Would it help if I do some testing again to see what the current status is?

@rmarquis
Copy link
Contributor

rmarquis commented Feb 8, 2020

I see. We don't have anybody testing RPi builds in the team, but feel free to let us know if/when something can be merged. I don't think much has changed since last time you looked into these issues.

I'm not sure having both GL and GLES fully working is required before a merge, but having at least one of these working correctly would be a must.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants