[RESOLVED] [0.17.79] OpenGL problem appeared after software updates (Ubuntu 18.04)

Anything that prevents you from playing the game properly. Do you have issues playing for the game, downloading it or successfully running it on your computer? Let us know here.
everything-narrative
Burner Inserter
Burner Inserter
Posts: 13
Joined: Fri Aug 16, 2019 5:31 pm
Contact:

[RESOLVED] [0.17.79] OpenGL problem appeared after software updates (Ubuntu 18.04)

Post by everything-narrative »

Problem resolved!!! Seems like it was a bug introduced upstream. Another software update resolved the issue... *shrug*
After running a full apt-get upgrade I can no longer run Factorio.

The error is a popup that says

Code: Select all

Failed to create OpenGL context: Could not create GL context: BadValue (integer parameter out of range for operation)
.

My laptop is an older Acer model with a Geforce 920M, which in theory should support OpenGL up to version 4.5 or so, and internet searches tell me Factorio will throw this error if it finds the available OpenGL version to be less than 3.3 .

I have tried both nouveau and proprietary driver version 390 .

My Mesa installation is version 20.1 .

I've done some searching for solutions and have come upon the MESA_GL_VERSION_OVERRIDE parameter, which i have set to the highest available version according to glxinfo, it being 3.3.

The OpenGL-relevant parts of my glxinfo:

Code: Select all

OpenGL vendor string: VMware, Inc.
OpenGL renderer string: llvmpipe (LLVM 9.0.1, 256 bits)
OpenGL core profile version string: 3.3 (Core Profile) Mesa 20.1.0-devel (git-23c1376 2020-02-05 bionic-oibaf-ppa)
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL version string: 3.3 (Compatibility Profile) Mesa 20.1.0-devel (git-23c1376 2020-02-05 bionic-oibaf-ppa)
OpenGL shading language version string: 3.30
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL ES profile version string: OpenGL ES 3.1 Mesa 20.1.0-devel (git-23c1376 2020-02-05 bionic-oibaf-ppa)
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10
I have come to the end of my ability to try and fix this; any help?
Last edited by everything-narrative on Thu Feb 06, 2020 8:25 pm, edited 2 times in total.
posila
Factorio Staff
Factorio Staff
Posts: 5341
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [0.17.79] OpenGL problem appeared after software updates (Ubuntu 18.04)

Post by posila »

Maybe similar issue as here? 77502
everything-narrative
Burner Inserter
Burner Inserter
Posts: 13
Joined: Fri Aug 16, 2019 5:31 pm
Contact:

Re: [0.17.79] OpenGL problem appeared after software updates (Ubuntu 18.04)

Post by everything-narrative »

posila wrote: Thu Feb 06, 2020 9:53 am Maybe similar issue as here? 77502
Sadly, no; I do not have that specific package installed, and glxgears runs just fine on my machine.
movax20h
Fast Inserter
Fast Inserter
Posts: 164
Joined: Fri Mar 08, 2019 7:07 pm
Contact:

Re: [RESOLVED] [0.17.79] OpenGL problem appeared after software updates (Ubuntu 18.04)

Post by movax20h »

You don't have nvidia drivers installed, and it is falling back to use software rasterizer using CPU. Which is very slow and doesn't support all required features. It would be horribly slow too.

Not a Factorio issue.
Post Reply

Return to “Technical Help”