To clarify: I first tried running Colobot Gold Edition 0.2.1-alpha from the Bianbu Star repository. After that version crashed, I tried building Colobot Gold Edition 0.2.2-alpha from source. Judging by the error described in this post, the game crashed because an older version of Mesa was installed on the system. However, that version supports PowerVR B-Series BXE-2-32 MC1 graphics cards, which newer versions of Mesa no longer support. And the game requires a fresh version of Mesa!
It appears the issue isn’t with the Mesa version, but rather a failure in GLEW initialization. The following command can be used to specify the OpenGL version used at runtime: colobot -graphics gl33 -glprofile opengles
SDL2 should be working correctly, you can run the SDL2 demo to confirm:
sudo apt install libsdl2-tests
cd /usr/libexec/installed-tests/SDL2
./testviewport
Colobot (in this case, version 0.2.1 was compiled from the source code) still produces errors.
I’ve indicated this with a red arrow here. Colobot 0.2.1 requires OpenGL version 1.4, but the system currently has version 1.1 installed - “It seems your graphics card does not support OpenGL 1.3…” This is the cause of the problem launching Colobot. I tested this with manually compiled versions 0.2.2 and 0.2.1. I can’t test version 0.2.0; for some reason, it doesn’t allow me to download the necessary resources for the build, so I haven’t tested it.
The command to run is as follows:
SDL_VIDEODRIVER=x11 colobot -graphics auto/opengl/gl14/gl21/gl33 -glprofile core/compatibility
It freezes terribly, but it works !
Not use -graphics default & -glprofile default/opengles
At the moment, there is no possibility to rebuild Glew for Bianbu 3.0, and in Bianbu 2.1.7 version, Colobot does not start with the command “MESA_LOADER_DRIVER_OVERRIDE=zink colobot” .
** By changing the patch version, the team worked…but again with an error.
Спойлер
sudo patch -p1 < /home/user/Build/Spacemit/glew_patch4zink/002.patch
patching file debian/control
patching file debian/rules
patch unexpectedly ends in middle of line
Hunk #2 FAILED at 30.
1 out of 2 hunks FAILED – saving rejects to file debian/rules.rej