Giter Club home page Giter Club logo

Comments (9)

apathy-dude avatar apathy-dude commented on May 7, 2024

Work around by switching to proprietary drivers instead of using Nouveau drivers.

from endless-sky.

 avatar commented on May 7, 2024

Yes, the game requires at least OpenGL 3.0, which is GLSL version 1.30. That message is saying your Nouveau drivers only support GLSL 1.20, which is OpenGL 2.1.

I will modify the program to check your OpenGL version on start-up and to print a clearer and more informative error message. And, I'll make sure the next release includes a note that OpenGL 3.0 is needed. Sorry about that!

from endless-sky.

apathy-dude avatar apathy-dude commented on May 7, 2024

Thanks for letting me know. I've renamed the issue to better describe course of action.

**Editing again to reduce verbosity

from endless-sky.

 avatar commented on May 7, 2024

Fixed in 822adca. Can you try switching back to the Nouveau drivers and verify that you receive a more helpful warning message in the terminal?

from endless-sky.

apathy-dude avatar apathy-dude commented on May 7, 2024

When running with Nouveau from terminal I get:
Endless Sky requires OpenGL version 3.0 or higher.
Your OpenGL version is 2.1.2 NVIDIA 304.125, GLSL version 1.20 NVIDIA via Cg compiler.
Please update your graphics drivers.
terminate called without an active exception
Aborted (core dumped)

When running with Nouveau and double clicking the executable I get no error message and it just crashes.

from endless-sky.

 avatar commented on May 7, 2024

It looks like I had not been quitting OpenAL properly, so it was crashing when the program quits. See if this is fixed in 896ce68.

from endless-sky.

apathy-dude avatar apathy-dude commented on May 7, 2024

The message is now as follows:
Endless Sky requires OpenGL version 3.0 or higher.
Your OpenGL version is 2.1.2 NVIDIA 304.125, GLSL version 1.20 NVIDIA via Cg compiler.
Please update your graphics drivers.

When double clicking the executable I still get no error message just a crash. Which I'm assuming is intended since you're only piping to cerr.

Also it seems that the Nouveau drivers do work I didn't realize I was actually using an older version of the proprietary drivers that had the issue.

from endless-sky.

 avatar commented on May 7, 2024

I've modified the code to quit cleanly after printing that error message, instead of crashing (f534be9). Also, the error message should now be displayed in a message box in addition to the terminal, so it will be visible even if you launched the program by double-clicking it.

from endless-sky.

apathy-dude avatar apathy-dude commented on May 7, 2024

The message is now the same in console and in the message box.

This issue seems resolved, I'd close the ticket but I'm not sure if you're waiting to do an official tag before you close it or something.

from endless-sky.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.