[0.17.69] Linux Startup Crash: GLXBadContext &| GLXBadFBConfig

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.
Post Reply
vzybilly
Fast Inserter
Fast Inserter
Posts: 143
Joined: Thu May 14, 2015 6:10 pm
Contact:

[0.17.69] Linux Startup Crash: GLXBadContext &| GLXBadFBConfig

Post by vzybilly »

Code: Select all

vzybilly@vzy-Lubuntu-Laptop:~/Desktop/Factorio-StandaloneTest$ ./bin/x64/factorio
   0.000 2019-10-07 10:53:34; Factorio 0.17.69 (build 47194, linux64, alpha)
   0.069 Operating system: Linux (Ubuntu 18.04)
   0.070 Program arguments: "./bin/x64/factorio" 
   0.070 Read data path: /home/vzybilly/Desktop/Factorio-StandaloneTest/data
   0.070 Write data path: /home/vzybilly/Desktop/Factorio-StandaloneTest [261479/459845MB]
   0.070 Binaries path: /home/vzybilly/Desktop/Factorio-StandaloneTest/bin
   0.087 System info: [CPU: Intel(R) Core(TM) i3 CPU       M 380  @ 2.53GHz, 4 cores, RAM: 7776 MB]
   0.087 Environment: DISPLAY=:0.0 WAYLAND_DISPLAY=<unset> DESKTOP_SESSION=Lubuntu XDG_SESSION_DESKTOP=Lubuntu XDG_CURRENT_DESKTOP=LXDE __GL_FSAA_MODE=<unset> __GL_LOG_MAX_ANISO=<unset> __GL_SYNC_TO_VBLANK=<unset> __GL_SORT_FBCONFIGS=<unset> __GL_YIELD=<unset>
   0.087 Display options: [FullScreen: 1] [VSync: 1] [UIScale: automatic (100.0%)] [Native DPI: 1] [Screen: 255] [Special: lmw] [Lang: en]
libGL error: MESA-LOADER: failed to open i965 (search paths /usr/lib32/dri)
libGL error: failed to load driver: i965
libGL error: MESA-LOADER: failed to open i965 (search paths /usr/lib32/dri)
libGL error: failed to load driver: i965
libGL error: MESA-LOADER: failed to open swrast (search paths /usr/lib32/dri)
libGL error: failed to load driver: swrast
X Error of failed request:  GLXBadContext
  Major opcode of failed request:  155 (GLX)
  Minor opcode of failed request:  6 (X_GLXIsDirect)
  Serial number of failed request:  111
  Current serial number in output stream:  110
vzybilly@vzy-Lubuntu-Laptop:~/Desktop/Factorio-StandaloneTest$ ./bin/x64/factorio --gfx-safe-mode
   0.000 2019-10-07 10:55:38; Factorio 0.17.69 (build 47194, linux64, alpha)
   0.072 Operating system: Linux (Ubuntu 18.04)
   0.072 Program arguments: "./bin/x64/factorio" "--gfx-safe-mode" 
   0.072 Read data path: /home/vzybilly/Desktop/Factorio-StandaloneTest/data
   0.072 Write data path: /home/vzybilly/Desktop/Factorio-StandaloneTest [261479/459845MB]
   0.072 Binaries path: /home/vzybilly/Desktop/Factorio-StandaloneTest/bin
   0.091 System info: [CPU: Intel(R) Core(TM) i3 CPU       M 380  @ 2.53GHz, 4 cores, RAM: 7776 MB]
   0.091 Environment: DISPLAY=:0.0 WAYLAND_DISPLAY=<unset> DESKTOP_SESSION=Lubuntu XDG_SESSION_DESKTOP=Lubuntu XDG_CURRENT_DESKTOP=LXDE __GL_FSAA_MODE=<unset> __GL_LOG_MAX_ANISO=<unset> __GL_SYNC_TO_VBLANK=<unset> __GL_SORT_FBCONFIGS=<unset> __GL_YIELD=<unset>
   0.091 Display options: [FullScreen: 1] [VSync: 1] [UIScale: automatic (100.0%)] [Native DPI: 1] [Screen: 255] [Special: lmw] [Lang: en]
libGL error: MESA-LOADER: failed to open i965 (search paths /usr/lib32/dri)
libGL error: failed to load driver: i965
libGL error: MESA-LOADER: failed to open i965 (search paths /usr/lib32/dri)
libGL error: failed to load driver: i965
libGL error: MESA-LOADER: failed to open swrast (search paths /usr/lib32/dri)
libGL error: failed to load driver: swrast
X Error of failed request:  GLXBadContext
  Major opcode of failed request:  155 (GLX)
  Minor opcode of failed request:  6 (X_GLXIsDirect)
  Serial number of failed request:  111
  Current serial number in output stream:  110
I tried first in Steam then got the newest standalone version. The above log is the standalone execution and crash, first with no arguments and second with gfx safe mode. Everything is fully updated with computer restarts used before posting. I am running Lubuntu/Ubuntu/Linux.
I know that I've had afew issues before with textures and poor performance on my potato computer. It's also been a while since I've played last, maybe a year or so.


I guess my main question is: is this fixable or is this computer just to old to possibly play?



EDIT: Noticed that the Steam log is different from the Stand alone log, Also updated the title since it reflects a differentish error;

Code: Select all

GameAction [AppID 427520, ActionID 1] : LaunchApp changed task to ProcessingInstallScript with ""
GameAction [AppID 427520, ActionID 1] : LaunchApp changed task to SynchronizingCloud with ""
GameAction [AppID 427520, ActionID 1] : LaunchApp changed task to SiteLicenseSeatCheckout with ""
GameAction [AppID 427520, ActionID 1] : LaunchApp changed task to CreatingProcess with ""
GameAction [AppID 427520, ActionID 1] : LaunchApp waiting for user response to CreatingProcess ""
GameAction [AppID 427520, ActionID 1] : LaunchApp continues with user response "CreatingProcess"
Opted-in Controller Mask for AppId 427520: 0
Game update: AppID 427520 "", ProcID 13754, IP 0.0.0.0:0
Starting app 427520
Installing breakpad exception handler for appid(steam)/version(1570046470)
>>> Adding process 13754 for game ID 427520
GameAction [AppID 427520, ActionID 1] : LaunchApp changed task to WaitingGameWindow with ""
ERROR: ld.so: object '/home/vzybilly/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/vzybilly/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
GameAction [AppID 427520, ActionID 1] : LaunchApp changed task to Completed with ""
   0.000 Initializing Steam API.
Game update: AppID 427520 "", ProcID 13757, IP 0.0.0.0:0
Setting breakpad minidump AppID = 427520
Steam_SetMinidumpSteamID:  Caching Steam ID:  76561198000490055 [API loaded no]
   0.000 2019-10-07 13:44:09; Factorio 0.17.69 (build 47194, linux64, steam)
ERROR: ld.so: object '/home/vzybilly/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/vzybilly/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
>>> Adding process 13756 for game ID 427520
>>> Adding process 13757 for game ID 427520
>>> Adding process 13758 for game ID 427520
>>> Adding process 13759 for game ID 427520
   0.127 Operating system: Linux (Ubuntu 18.04)
   0.127 Program arguments: "/home/vzybilly/.local/share/Steam/SteamApps/common/Factorio/bin/x64/factorio" 
   0.127 Read data path: /home/vzybilly/.local/share/Steam/SteamApps/common/Factorio/data
   0.127 Write data path: /home/vzybilly/.factorio [261455/459845MB]
   0.127 Binaries path: /home/vzybilly/.local/share/Steam/SteamApps/common/Factorio/bin
   0.142 System info: [CPU: Intel(R) Core(TM) i3 CPU       M 380  @ 2.53GHz, 4 cores, RAM: 7776 MB]
   0.142 Environment: DISPLAY=:0 WAYLAND_DISPLAY=<unset> DESKTOP_SESSION=Lubuntu XDG_SESSION_DESKTOP=Lubuntu XDG_CURRENT_DESKTOP=LXDE __GL_FSAA_MODE=<unset> __GL_LOG_MAX_ANISO=<unset> __GL_SYNC_TO_VBLANK=<unset> __GL_SORT_FBCONFIGS=<unset> __GL_YIELD=<unset>
   0.142 Display options: [FullScreen: 1] [VSync: 1] [UIScale: automatic (100.0%)] [Native DPI: 1] [Screen: 255] [Special: lmw] [Lang: en]
   0.181 Available displays: 1
   0.181  [0]: 0 - {[0,0], 1366x768, SDL_PIXELFORMAT_RGB888, 60Hz}
   0.225 Error Util.cpp:83: Failed to create OpenGL context: Could not create GL context: GLXBadFBConfig
JS method call Messaging.PostMessage with 4 arguments
JS method call SharedConnection.SendMsgAndAwaitResponse with 3 arguments
   1.731 Steam API shutdown.
   1.735 Goodbye
Game removed: AppID 427520 "", ProcID 13757 
Exiting app 427520
No cached sticky mapping in ActivateActionSet.JS method call Messaging.PostMessage with 4 arguments
The most notable differences are these three lines:

Code: Select all

   0.181 Available displays: 1
   0.181  [0]: 0 - {[0,0], 1366x768, SDL_PIXELFORMAT_RGB888, 60Hz}
   0.225 Error Util.cpp:83: Failed to create OpenGL context: Could not create GL context: GLXBadFBConfig
Will code for Food. I also have 11+ mods!

posila
Factorio Staff
Factorio Staff
Posts: 5201
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [0.17.69] Linux Startup Crash: GLXBadContext &| GLXBadFBConfig

Post by posila »

Based on your CPU, unless you have dedicated GPU, the integrated one would not be OpenGL 3.3 capable. If that's the case, you can't run 0.17, I am sorry.

vzybilly
Fast Inserter
Fast Inserter
Posts: 143
Joined: Thu May 14, 2015 6:10 pm
Contact:

Re: [0.17.69] Linux Startup Crash: GLXBadContext &| GLXBadFBConfig

Post by vzybilly »

So, revert to 0.16 would be the only way to play with some trains?

EDIT: I was able to opt into the 0.16 beta in Steam, Got the change log for 0.16 so things seem to be working and I'm pretty sure I completely missed 0.16...
Last edited by vzybilly on Mon Oct 07, 2019 6:51 pm, edited 1 time in total.
Will code for Food. I also have 11+ mods!

posila
Factorio Staff
Factorio Staff
Posts: 5201
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [0.17.69] Linux Startup Crash: GLXBadContext &| GLXBadFBConfig

Post by posila »

vzybilly wrote:
Mon Oct 07, 2019 6:35 pm
So, revert to 0.16 would be the only way to play with some trains?
I'm afraid so.

vzybilly
Fast Inserter
Fast Inserter
Posts: 143
Joined: Thu May 14, 2015 6:10 pm
Contact:

Re: [0.17.69] Linux Startup Crash: GLXBadContext &| GLXBadFBConfig

Post by vzybilly »

Too bad there wasn't an error message or anything put in to tell of the change in requirements if not met...
Will code for Food. I also have 11+ mods!

posila
Factorio Staff
Factorio Staff
Posts: 5201
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [0.17.69] Linux Startup Crash: GLXBadContext &| GLXBadFBConfig

Post by posila »

vzybilly wrote:
Mon Oct 07, 2019 6:54 pm
Too bad there wasn't an error message or anything put in to tell of the change in requirements if not met...
Normally, it manages to initialize older OpenGL, test its version and then complain about OpenGL version being too low. For some people though, it fails completely during the initialization, unfortunatelly.

I don't know what's up with this part ... why can't OpenGL load driver?

Code: Select all

libGL error: MESA-LOADER: failed to open i965 (search paths /usr/lib32/dri)
libGL error: failed to load driver: i965
libGL error: MESA-LOADER: failed to open i965 (search paths /usr/lib32/dri)
libGL error: failed to load driver: i965
libGL error: MESA-LOADER: failed to open swrast (search paths /usr/lib32/dri)
libGL error: failed to load driver: swrast

vzybilly
Fast Inserter
Fast Inserter
Posts: 143
Joined: Thu May 14, 2015 6:10 pm
Contact:

Re: [0.17.69] Linux Startup Crash: GLXBadContext &| GLXBadFBConfig

Post by vzybilly »

No clue, if you know of any commands I can use to help test, it would be nice. I've been wanting to update my drivers for a while but always come up short since it's an integrated GPU for a laptop... I think when I last looked into it, it was using a mobile driver or something.

Good news, I'm fiddling about with 0.16 mods so I will safely assume everything works correctly now, apart from potato computer


EDIT: looking at names it asks for, I found some nifty info;

Code: Select all

i965: v2.1.0 located at /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
swrast: No versions listed in Synaptic
Will code for Food. I also have 11+ mods!

Post Reply

Return to “Technical Help”