Build gles3 and gles2 and EGL on arm linux with VideoCore GPU (Raspberry Pi)#492
Build gles3 and gles2 and EGL on arm linux with VideoCore GPU (Raspberry Pi)#492dkonar wants to merge 20 commits intoskylersaleh:devfrom
Conversation
36643cc to
c8b4c86
Compare
|
Thanks for submitting this! Could you give a shot at creating a github workflow for building the Raspberry Pi variant, so that we can make sure this target stays working through our CI? You can reference the existing workflow files here: https://github.com/skylersaleh/SkyEmu/tree/dev/.github/workflows |
|
So for the action we can do : Other possibilities are: Anyway will probably remove the GPU detection code and just have explicit options |
|
If GLES2.0 works reliably on the Pi 3-5, it might be the way to go. I don't use any features that OpenGL ES 3.x provides and the GLES 2.x path should work very similarly to the WebGL path which gets a lot of testing. |
|
WRT, the broken ios, android, and web builds. There is some patches in sokol_app (and maybe sokol_gfx) that never made it upstream. You'll have to port them to the updated versions of the libraries if you want to upgrade the library versions. The patches should be pretty simple and easy to pull out by diffing the source files in my repo against the upstream sokol source code of the matching release or by looking back at the history of those files in my repo. |
|
The IOS and Android builds are passing now. The web build is building but failing on permissions on the deploy step (expected?) |
|
Awesome, so it is ready for me to review? |
|
Yes it's ready for review |
|
@skylersaleh Are there any blockers on this? |
|
@dkonar Basically testing for potential problems with updated Sokol, I tested today on Linux, Android and Windows 11, Sky needs to test on macOS and iOS and then it should be ready |
|
To add some more details to what offtkp said, here is what we are testing on each of the platforms to check for regressions in the area that is touched by your code change.
So far the following platforms are looking good:
I'd also like to see some verification of the arm64 build working on a raspberry pi. |
|
Cool, I can post a video of the build running on a Raspberry Pi 5 in the testing channel on discord |
|
Could you please rebase with the latest dev? |
Uses OpenGLES 3 or 2 with EGL Updated sokol from https://github.com/floooh/sokol/tree/gles2
This reverts commit 3a3b4d1.
97f646e to
b9c2475
Compare
|
Rebased on dev |
Builds and runs smoothly on Raspberry Pi 5