Page 1 of 1

Has anyone tried running Factorio on Raspberry Pi 5 Box64 ?

Posted: Tue Jan 16, 2024 3:49 am
by dreamshadow1977
I keep getting the following error running Ubuntu 23.04 LTS and Factorio on Box64:

1.003 Error Util.cpp:86: Failed to create OpenGL context: Could not create GL context: GLXBadFBConfig

glxinfo reports 'direct rendering: yes'

glmark2 shows the following:

OpenGL Information
GL_VENDOR: Broadcom
GL_Renderer: V3D 7.1
GL_VERSION: 3.1 Mesa 23.2.1-1ubuntu3.1

and properly runs all tests.

The basics that I read seem to indicate I need to update my video drivers, but glxinfo and glmark2 seem to indicate I'm set up just fine. Thoughts? Is there a setting I need to set on Box64 for the Pi5?

Re: Has anyone tried running Factorio on Raspberry Pi 5 Box64 ?

Posted: Tue Jan 16, 2024 6:24 pm
by DarkShadow44
AFAIK your OpenGL version is simply too low. I had the same issue on Asahi Linux, until they updated to 3.3.
You can try to fake the version like "MESA_GL_VERSION_OVERRIDE=4.3 MESA_GLSL_VERSION_OVERRIDE=430"... Not very likely to work though.

Re: Has anyone tried running Factorio on Raspberry Pi 5 Box64 ?

Posted: Wed Jan 17, 2024 4:16 pm
by dreamshadow1977
Thanks. I'll look and see what forcing the setting looks like with an understanding that it could be less than ideal.

Re: Has anyone tried running Factorio on Raspberry Pi 5 Box64 ?

Posted: Wed Jan 17, 2024 4:36 pm
by Rseding91
Even if you do get it working, I wouldn't keep your hopes up: viewtopic.php?f=23&t=110541

Re: Has anyone tried running Factorio on Raspberry Pi 5 Box64 ?

Posted: Wed Jan 17, 2024 7:08 pm
by DarkShadow44
Huh, interesting. Should affect single player though, unless I missed something.
Just don't report any issues you encounter to the factorio devs. ;)

Re: Has anyone tried running Factorio on Raspberry Pi 5 Box64 ?

Posted: Sat Jan 20, 2024 6:13 pm
by dreamshadow1977
Success. Switched to Armbian Plasma (as I'm a fan of the KDE Plasma desktop environment).
Used NicoD's Armbian-gaming script to install box64. ( https://github.com/NicoD-SBC/armbian-gaming )
Downloaded the Linux version from this website and ran
box64 factorio from the x64 directory.


Armbian Plasma has a newer set of OpenGL drivers than what I was getting from a current ubuntu download.

It was still on the slow side, so I don't think you'll see any megafactories from the Raspberry Pi 5, but I can play it. At least I think I can. It's sitting on 'Cropping Bitmaps' for a good long while now.