Running Godot engine with RP5 on Raspberry Pi OS

Godot version v4.6.2 stable linux

OS: Debian GNU/Linux 13 (trixie) aarch64

Host: Raspberry Pi 5 Model B Rev 1.1

Architecture: arm64

Godot just runs well and snappy right out of the box.

If you run it from command line, it will give you a non-fatal error
ERROR: Condition “ctxErrorOccurred || !gl_display.context->glx_context” is true. Returning: ERR_UNCONFIGURED 

I’ve tested functionality and nothing changed in particular, but if you want to remove this error you can launch Godot with:

export MESA_GL_VERSION_OVERRIDE=4.3
/path/to/godot-binary-name.arm64

The best tip I can give is that you don’t choose Compatibility as render mode. This gives bad in-editor performance in all my tests, so choose Mobile renderer. This works extremely well (above my expectations), and with my tests of several 2D demo projects it easily stayed at steady 144hz which my display refresh cap. If you wish to export as Compatibility, I would switch at the last point before export. Most likely everything still looks the same, maybe unless you’re doing GPU accelerated shaders with 3D rendering, but I doubt that on this device.

When it comes to Forward+ renderer, you can experiment but for me it always gives this warning, so I don’t think its actually turned on when I use it:

Vulkan 1.3.305 - Forward+ - Using Device #0: Unknown - V3D 7.1.10.2
WARNING: Platform supports less than 48 textures per stage which is less than required by the Clustered renderer. Defaulting to Mobile renderer.
     at: RendererCompositorRD (servers/rendering/renderer_rd/renderer_compositor_rd.cpp:327)

But I think you also shouldn’t spend your time on troubleshooting this, as clearly this device shines in the 2D realm, not the 3D one, and I can confirm what this person posted here:

At last a tip I would give is to turn off smooth scrolling in the script editor. This gives lag while scrolling on my display. You can do this in the Editor Settings → Text Editor ->Behavior → Smooth Scrolling. Also, obligatory fastfetch : )

1 Like