Skip to main content

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

Thanks, your details found the cause, and there is a test build now.

The 1.4 builds ask for an OpenGL 4.3 core context, and the 1.5 dev builds ask for OpenGL ES 3.1. Your 3rd-gen i5 (Ivy Bridge) provides OpenGL 4.2 / ES 3.0, so context creation fails and the release build exits without a message. That is also why the exported HTML works, the browser gives it WebGL2, which is exactly ES 3.0.

TIC-80 itself only needs ES 3.0, so this build asks for that instead:

https://github.com/nesbox/TIC-80/actions/runs/43709325896

Download tic80-linux unzip it and run ./tic80 without LIBGL_ALWAYS_SOFTWARE on one of the school PCs. It should report 1.5.3346-dev.

Please tell me if the window opens and renders on the hardware driver. If it still fails, run it as:

LIBGL_DEBUG=verbose ./tic80

and paste the output here.

The fix is in the shared renderer, so it will be in 1.5.0 (and the next Pro build) once confirmed. This test build is the free one, HTML export is in the free build too, so you can try your usual export as well.

I've tried downloading the artifacts, but the link (https://github.com/nesbox/TIC-80/actions/runs/43709325896/artifacts/14160116587) is broken, and the actions page only has a list of uninteractable builds.

Alternatively, I've tried cloning the repo today, double-checking with "git log" and confirming the repo is on commit 9f9a2f2ca9fe33db17f51d10656f3601f0ec88b1. Upon building the Linux executable and running it with LIBGL_ALWAYS_SOFTWARE, it reports: version 1.5.3345-dev Pro (9f9a2f2). Leaving out the LIBGL_ALWAYS_SOFTWARE causes the program to fail to run.

Verbose console output of my build is the following:

etec@214-00-10148:~/TIC-80-1.5/TIC-80/bin/bin$ LIBGL_DEBUG=verbose ./tic80

[sapp] warning: LINUX_X11_QUERY_SYSTEM_DPI_FAILED: failed to query system dpi value, assuming default 96.0 (/home/etec/TIC-80-1.5/TIC-80/vendor/sokol/sokol_app.h:12679)

libGL: Can't open configuration file /etc/drirc: No such file or directory.

libGL: Can't open configuration file /home/etec/.drirc: No such file or directory.

using driver i915 for 4

libGL: Can't open configuration file /etc/drirc: No such file or directory.

libGL: Can't open configuration file /home/etec/.drirc: No such file or directory.

pci id for fd 4: 8086:0152, driver crocus

libGL: Can't open configuration file /etc/drirc: No such file or directory.

libGL: Can't open configuration file /home/etec/.drirc: No such file or directory.

libGL: Can't open configuration file /etc/drirc: No such file or directory.

libGL: Can't open configuration file /home/etec/.drirc: No such file or directory.

libGL: Can't open configuration file /etc/drirc: No such file or directory.

libGL: Can't open configuration file /home/etec/.drirc: No such file or directory.

Using DRI3 for screen 0

[sapp] panic: LINUX_GLX_CREATE_CONTEXT_FAILED: Failed to create GL context via glXCreateContextAttribsARB (/home/etec/TIC-80-1.5/TIC-80/vendor/sokol/sokol_app.h:12930)

X Error of failed request: BadMatch (invalid parameter attributes)

Major opcode of failed request: 152 (GLX)

Minor opcode of failed request: 5 (X_GLXMakeCurrent)

Serial number of failed request: 166

Current serial number in output stream: 166