Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR: Failed loading OpenGL #116

Open
urstruktur opened this issue Jun 15, 2024 · 1 comment
Open

ERROR: Failed loading OpenGL #116

urstruktur opened this issue Jun 15, 2024 · 1 comment

Comments

@urstruktur
Copy link

Thank you for this amazing game!
I could already play it running Linux Mint after building it on my system.

I would like to play it via network and tried to put it on another computer also running Linux Mint, yet I can't get it to start there.
The error log tells me:

WARN: /home/abcd/.local/share/Trederia/common/audio_device.cfg file invalid or not found.
INFO: Using SDL 2.0.20
ERROR: Failed loading OpenGL

My system (Lenovo E130, GPU: HD Graphics 4000) returns following after executing glxinfo | grep "OpenGL version":
OpenGL version string: 4.2 (Compatibility Profile) Mesa 23.2.1-1ubuntu3.1~22.04.2

So OpenGL should be available. I am not sure what to try next.

@fallahn
Copy link
Owner

fallahn commented Jun 15, 2024

Hi. This might be a GPU issue - I've never managed to get the game running well if at all on Intel graphics.

Also make sure to add GL41 to your list of defines when building the crogine part (set USE_GL_41 to true if you're configuring the build with cmake) which will force the game to use OpenGL 4.1 instead of 4.6.

It's also worth updating SDL to 2.28 or better if you can because it includes some bug fixes related to controller input 😁

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants