-
I am trying to run Ebitengine on the raspberry PI 3 with Bookworm OS and get the following GLX error when trying to run the test rotate example (go run github.com/hajimehoshi/ebiten/v2/examples/rotate@latest) 2023/11/15 06:07:16 VersionUnavailable: GLX: Failed to create context: GLXBadFBConfig I am wondering if this is an issue with the version of OpenGL? Can anyone point me in the right direction? glxinfo shows the following output (truncated for brevity) |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
No idea, but here's some guesses. A quick search shows that an actual port to Pi would give better results, but it should (?) be possible to at least get it working: #760 Ebitengine also uses GLFW to handle rendering and input, so it might be good to check out how to get that to work first? |
Beta Was this translation helpful? Give feedback.
-
The solution is just forcing the OpenGL version:
At least this worked for me on raspiban bookworm |
Beta Was this translation helpful? Give feedback.
HI @SolarLune , I tried several versions of ebitengine and several OS images and finally had success with Ubuntu server 20.04.05 LTS (32 bits) and ebitengine v2.6.3.
Anyway, for anyone interested in a working version of ebitengine on RPI3, the following steps should give you a working ebitengine:
You will need a Raspberry PI 3 and SD card