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?
Has anyone tried running Factorio on Raspberry Pi 5 Box64 ?
-
- Manual Inserter
- Posts: 3
- Joined: Tue Jan 16, 2024 3:43 am
- Contact:
-
- Filter Inserter
- Posts: 347
- Joined: Thu Jun 01, 2017 12:05 pm
- Contact:
Re: Has anyone tried running Factorio on Raspberry Pi 5 Box64 ?
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.
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.
-
- Manual Inserter
- Posts: 3
- Joined: Tue Jan 16, 2024 3:43 am
- Contact:
Re: Has anyone tried running Factorio on Raspberry Pi 5 Box64 ?
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 ?
Even if you do get it working, I wouldn't keep your hopes up: viewtopic.php?f=23&t=110541
If you want to get ahold of me I'm almost always on Discord.
-
- Filter Inserter
- Posts: 347
- Joined: Thu Jun 01, 2017 12:05 pm
- Contact:
Re: Has anyone tried running Factorio on Raspberry Pi 5 Box64 ?
Huh, interesting. Should affect single player though, unless I missed something.
Just don't report any issues you encounter to the factorio devs.
Just don't report any issues you encounter to the factorio devs.
-
- Manual Inserter
- Posts: 3
- Joined: Tue Jan 16, 2024 3:43 am
- Contact:
Re: Has anyone tried running Factorio on Raspberry Pi 5 Box64 ?
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.
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.
Re: Has anyone tried running Factorio on Raspberry Pi 5 Box64 ?
Hey I am trying to get the game working on asahi right now, how did you do it? Using box64? I tried running it through steam now that asahi ships steam, but there appears to be some issue with the emulation on my system, so I am looking for alternativesDarkShadow44 wrote: ↑Tue Jan 16, 2024 6:24 pmAFAIK 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.
-
- Filter Inserter
- Posts: 347
- Joined: Thu Jun 01, 2017 12:05 pm
- Contact:
Re: Has anyone tried running Factorio on Raspberry Pi 5 Box64 ?
Yeah, I compiled box64 (because 16k page sizes) and then just ran it.
Re: Has anyone tried running Factorio on Raspberry Pi 5 Box64 ?
It worked! I compiled using the M1 compiler options from the page you linked, and used the -j1 flag when running make to avoid running out of memory. It runs relatively smooth on my space age world. I have yet to get it working with wayland, though. Will try a bit moreDarkShadow44 wrote: ↑Tue Nov 05, 2024 6:29 pmYeah, I compiled box64 (because 16k page sizes) and then just ran it.