Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)

Thanks, the log answers it: your build took the desktop-GL path, not the ES one.

The default CMake configuration on Linux selects sokol’s desktop OpenGL backend, which still asks for a 4.3 core context; LINUX_GLX_CREATE_CONTEXT_FAILED is that path. The fix is in 9f9a2f2, but it is compiled only for the GLES backend, the one the official Linux builds use. Rebuild with -DUSE_GLES2=ON:

sudo apt install libegl1-mesa-dev libgles2-mesa-dev
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DUSE_GLES2=ON -DBUILD_WITH_ALL=ON
cmake --build build --parallel

Or, if rebuilding is a hassle, the current main nightly is built exactly this way and already has the fix (free build; the rendering code is shared): https://nightly.link/nesbox/TIC-80/workflows/build/main/tic80-linux.zip

Either build will still report 1.5.3345-dev — same commit, different backend. Run it without LIBGL_ALWAYS_SOFTWARE. If it still fails, the panic line should now be LINUX_EGL_... rather than LINUX_GLX_...; paste it and we’ll know where it stopped.

This is the backend the 1.5 Linux releases and the next Pro build use.

Okay, that build now loads properly without forcing software rendering.