-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
RPi 4 Support #6436
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
This post for relating to making changes to the Rpi3/Stretch to run using the GL driver/windowed apps from @bakercp might be useful here. https://forum.openframeworks.cc/t/compiling-of-in-raspbian-stretch/27562/15 |
If you got it to work with the legacy driver, i think that could be enough for now. that's what most people would want to use i think, not a full x windows session would be good to test it on the old rpi but i think if it compiles on the ci servers then it should be ok |
Thanks @sourya-sen So far I can build and run with the legacy approach with those small changes and the ones @bakercp details, but no window appears on Rpi 4. The app gets mouse events and there isn't anything unusual in the debug so I think its something with buster configuration or the libs it's using. Would be ideal to get legacy working on both, before looking at the GL / GLFW method. |
Nothing I have tried works so far.
Next I am going to try this: Which uses X11 combined with the ofAppEGLWindow. |
Okay got it working with @ThomasColliers 's commit. @ThomasColliers did you ever get it working with GLFW or just ofAppEGLWindow + X11? |
supports the Rpi 4 with EGL and GLFW. Closes openframeworks#6436
Ah.. I actually thought I was running GLFW but that doesn't seem to be the case: |
@ThomasColliers I did get GLFW working with some tweaks to your changes ( mainly just not changing ofConstants.h ) See this PR: #6438 Thanks again for your help with this! |
Yay!! Sorry, I've been on another project and didn't respond to your question. thank you so much for getting it to work! |
Making a comment to track getting RPi 4 working in the core.
This thread on the forum has been really helpful: https://forum.openframeworks.cc/t/rpi-4-raspbian-buster-openframeworks/32856
And there is a PR here which I haven't tried out yet.
#6325
Notes from @arturoc on allowing for switching between EGL and GL.
#6412 (comment)
This thread suggests legacy EGL support is not possible via the old approach:
https://www.raspberrypi.org/forums/viewtopic.php?p=1486714&sid=dc1c24dee4649d114b7cf089347f1833#p1486714
Current Status:
I have RPi 4 building the core and running headless ( using the nightly builds ) with these changes ( https://forum.openframeworks.cc/t/rpi-4-raspbian-buster-openframeworks/32856/21 )
Switch this line in install_dependencies.sh to:
And add
PROJECT_LDFLAGS += -latomic
to this file.Once I have a monitor/keyboard will start looking into the GL / EGL changes needed to get windowed apps running.
The text was updated successfully, but these errors were encountered: