Page 1 of 1

[0.12.24][linux] X error 179

Posted: Tue Mar 01, 2016 5:00 pm
by hunbalazs
Hi,

When I exit the game via Exit button the game gets an X error then freezes, I only can kill it with 2 Ctrl+C.
Log:

Code: Select all

   0.000 2016-03-01 13:45:02; Factorio 0.12.24 (Build 17689, linux64)
   0.009 Operating system: Linux (Gentoo 2.2)
   0.009 Program arguments: "bin/x64/factorio" 
   0.009 Read data path: /home/hunbalazs/factorio/data
   0.009 Write data path: /home/hunbalazs/factorio
   0.009 Binaries path: /home/hunbalazs/factorio/bin
   0.031 Available display adapters: 2
   0.031  [0]: resolution 1920x1200px at [0,0]
   0.031  [1]: resolution 1280x1024px at [1920,0]
   0.031 Create display on adapter 1. Size 1280x720 at position [310, 222]. Monitor 0
   0.131 Initialised OpenGL:[1] GeForce GT 640/PCIe/SSE2; driver: 4.5.0 NVIDIA 361.28
   0.168 Graphics options: [FullScreen: false] [VSync: true] [UIScale: 100%] [MultiSampling: OFF] [Graphics quality: normal] [Video memory usage: all] [Light scale: 20%] [Screen: 255]
   0.213 Loading mod core 0.0.0 (data.lua)
   0.215 Loading mod base 0.12.24 (data.lua)
   0.264 Loading mod RailTanker 1.1.2 (data.lua)
   0.313 Loading mod base 0.12.24 (data-updates.lua)
   0.676 Initial atlas bitmap size is 16384
   0.682 Created atlas bitmap 16384x8740
   8.788 Info Updater.cpp:752: Downloading https://www.factorio.com/updater/get-available-versions?username=hunbalazs&token=<private>&apiVersion=2
   9.809 0 packages available to download (experimental updates enabled).
   9.854 Factorio initialised
  22.962 Loading map /home/hunbalazs/factorio/saves/B.zip
  22.979 Info Scenario.cpp:124: Map version 0.11.22-0
  22.984 Info PrototypeMigrationList.cpp:99: Activating migration base/2015-06-01_Factorio_0.12.0.json
  27.670 Applying migration: Base Mod: 2015-07-02_Factorio_0.12.0.lua
  27.707 Applying migration: Base Mod: 2015-10-02_Factorio_0.12.9.lua
  27.726 Applying migration: Base Mod: 2015-11-14_Factorio_0.12.11.lua
/* Exit button pressed */
X Error of failed request:  179
  Major opcode of failed request:  153 ()
  Minor opcode of failed request:  32
  Serial number of failed request:  364
  Current serial number in output stream:  364
^C13520.598 Received SIGINT, shutting down
^C
Thank you,
hunbalazs

Re: [0.12.24][linux] X error 179

Posted: Tue Mar 01, 2016 5:40 pm
by prg
I get this too with nvidia-drivers version 361.28, independent of the Factorio version. Other games do not cause such an error with that driver version. This does not happen with nvidia-drivers-358.16 and earlier.

Re: [0.12.24][linux] X error 179

Posted: Tue Mar 01, 2016 7:43 pm
by hunbalazs
prg wrote:I get this too with nvidia-drivers version 361.28, independent of the Factorio version. Other games do not cause such an error with that driver version. This does not happen with nvidia-drivers-358.16 and earlier.
Strange, I didnt try to test that, maybe its related to Vendor-Neutral Driver they wrote in the changelog.
Thanks for the info.

Re: [0.12.24][linux] X error 179

Posted: Wed Mar 02, 2016 11:25 am
by Oxyd
Well, I just tried with NVidia driver 361.28 and couldn't reproduce it.

This might be related to this bug which I also haven't been able to reproduce with nvidia-driver 361.28. But it seems that everyone in both threads seems to run Gentoo, so maybe it's some Gentoo thing?

Re: [0.12.24][linux] X error 179

Posted: Wed Mar 02, 2016 12:38 pm
by prg
It seems to be this new GLVND thing. The error does not occur with a legacy non-GLVND libGL.so.
nvidia-drivers-361.28 changelog wrote:By default, nvidia-installer will install the legacy, non-GLVND GLX client libraries. The --glvnd-glx-client command line option can be used to override the default, and install the GLVND GLX client libraries instead. Please contact the vendors of any applications that are not compatible with GLVND to ensure that their applications be updated for compatibility with GLVND.
Gentoo installs the new GLVND stuff by default.

Re: [0.12.24][linux] X error 179

Posted: Wed Mar 02, 2016 4:17 pm
by cube
I've managed to replicate this bug, it is the same as viewtopic.php?f=7&t=20583. Marking this one as duplicate.