Page 1 of 1

Supertux 6.0 appimage won't start

PostPosted: 19 Jun 2019, 16:10
by Random Paradox
When i try to start up supertux, I get this error:
[WARNING] /home/travis/build/SuperTux/supertux/src/video/video_system.cpp:52 Error creating GLVideoSystem-330core, using GLVideoSystem-20 fallback: Couldn't set video mode 1920x1135: Couldn't find matching GLX visual
Does anyone why this happens and how to fix it?

Re: Supertux 6.0 appimage won't start

PostPosted: 19 Jun 2019, 19:04
by fluffrabbit
My naive assumption would be that your system lacks GL 3.3 hardware drivers, so you could start by trying the Mesa software driver:

{l Code}: {l Select All Code}
export LIBGL_ALWAYS_SOFTWARE=1
./supertux


As a developer who does a lot of OpenGL stuff, I would really like to know if this solves the problem for you. If not, my only advice is that people have been experiencing similar GL issues with recent releases of SuperTux (another thread here where where I suggested the same thing, and in which an idiot suggested that it "doesn't seem logical" because other apps would break, incorrectly asserting or implying that every piece of software requests the same GL version), so maybe try an older version of SuperTux if all else fails.

EDIT: It does say that it's taking a stab at GL 2 fallback mode, so perhaps there is an actual bug in an actual piece of software here, not sure.

Re: Supertux 6.0 appimage won't start

PostPosted: 20 Jun 2019, 01:45
by Random Paradox
Believe it or not, I already tried that. Still gave me that error.

Re: Supertux 6.0 appimage won't start

PostPosted: 20 Jun 2019, 04:33
by fluffrabbit
Random Paradox {l Wrote}:Believe it or not, I already tried that. Still gave me that error.

Then it sounds to me like SuperTux itself is broken. When initializing OpenGL, one can tell their initializer to go "hardware only", which will override any flags to the contrary. This combined with other issues can make a game unplayable. The SuperTux developer does lurk around here, so let's see what he has to say about it.

Re: Supertux 6.0 appimage won't start

PostPosted: 13 Jul 2019, 03:04
by Random Paradox
Alright, as it turns out, all I had to do was update Kubuntu.

Re: Supertux 6.0 appimage won't start

PostPosted: 18 Jan 2020, 00:48
by gwater
In case this helps someone, I saw this error when launching a current ST build from source,(1/2020). I'm on an Ubuntu 16.xLTS virtual box. I did " export LIBGL_ALWAYS_SOFTWARE=1" and launched with ./supertux2 --renderer sdl. The error cleared for me after these moves.