XCOM 2
Zebulon Feb 5, 2016 @ 1:29pm
[SOLVED] Black map and menu / red artifacts under Linux
Hi,

I just reported this issue to Feral, who will be looking into it.

Symptoms are: the main menu is black, only the cursor is visible. Presing several times Enter triggers the introductory videos, which work fine. Then soldiers are dropped and the map is entirely black, with coloured artifacts, as seen here:
http://steamcommunity.com/sharedfiles/filedetails/?id=616413534
One can guess the map (the red bas are the hit point bars, some shapes correspond to text area, etc. The red and orange bits are redrawn when moving around the map or using keys to rotate (Q/E). Everything seems to work fine, except for the graphics.

It seems that another user has reported it on Ubuntu. I am using Archlinux, Nvidia drivers 361.18. Playing around nvidia options does not help so far.

Has anyone got the same issue and found a fix?

EDIT: try with a brand new user account. It worked for me, meaning the issue is with a local, user specific setting.

EDIT: unset LC_ALL solves the issue.
Last edited by Zebulon; Feb 10, 2016 @ 9:18am
< >
Showing 1-15 of 60 comments
alpha6 Feb 5, 2016 @ 1:31pm 
I've the same issue and reported bug to Feral too.

My config is:
Ubuntu 14.04
Nvidia GT840M with 358.16 driver
deresh Feb 6, 2016 @ 5:47am 
yep, i have the same issues.

Ubuntu 15.10
Nvidia GT760 361.18 driver
Zebulon Feb 7, 2016 @ 1:53am 
That is the problem with Friday releases: support is postponed after the week-end...
Zebulon Feb 7, 2016 @ 7:29am 
Don't forget to generate your spec report when contacting Feral, you can create it from the XCOM 2 launch window, in the Support tab.
deresh Feb 7, 2016 @ 1:01pm 
yep did all that.

Also i hope they solve this soon.
Zebulon Feb 7, 2016 @ 1:35pm 
What is your CPU? Mine is the i7-870. But I do not think it could be the cause. I have tried to play with mesa packages, but it did not work. Anyway, glxinfo reports Nvidia drivers are used, and I have no problem with other games.
Zebulon Feb 7, 2016 @ 1:41pm 
Originally posted by deresh:
yep did all that.

Also i hope they solve this soon.

I got a message from Feral support, they will look into the issue tomorrow morning, and will let me know of any progress.
deresh Feb 8, 2016 @ 12:28am 
i have i5 skylake 6600K 16Gb Ram ddr4
Zebulon Feb 8, 2016 @ 1:04am 
This is weird. There seems to be no common denominator.
deresh Feb 8, 2016 @ 11:57am 
Originally posted by Zebulon:
This is weird. There seems to be no common denominator.
did you get any info from Feral. THey didn't respond to my request yet.
deresh Feb 8, 2016 @ 12:01pm 
also when starting steam (ad game) from shell i do get those errors:

[0208/205935:ERROR:gl_context_glx.cc(107)] Couldn't make context current with X drawable.
[0208/205935:ERROR:gles2_cmd_decoder.cc(3200)] GLES2DecoderImpl: Context lost during MakeCurrent.
[0208/205935:ERROR:gl_bindings_autogen_gl.cc(6831)] Trying to call glGetGraphicsResetStatusARB() without current GL context
[0208/205935:ERROR:gl_bindings_autogen_gl.cc(6831)] Trying to call glGetGraphicsResetStatusARB() without current GL context
[0208/205935:WARNING:x11_util.cc(1490)] X error received: serial 965, error_code 171 (GLXBadDrawable), request_code 154, minor_code 26 (X_GLXMakeContextCurrent)
[0208/205935:ERROR:gl_context_glx.cc(107)] Couldn't make context current with X drawable.
[0208/205935:ERROR:gles2_cmd_decoder.cc(3200)] GLES2DecoderImpl: Context lost during MakeCurrent.
[0208/205935:ERROR:gl_bindings_autogen_gl.cc(6831)] Trying to call glGetGraphicsResetStatusARB() without current GL context
[0208/205935:WARNING:x11_util.cc(1490)] X error received: serial 995, error_code 8 (BadMatch (invalid parameter attributes)), request_code 154, minor_code 26 (X_GLXMakeContextCurrent)
[0208/205935:ERROR:gl_context_glx.cc(107)] Couldn't make context current with X drawable.
[0208/205935:ERROR:gles2_cmd_decoder.cc(3200)] GLES2DecoderImpl: Context lost during MakeCurrent.
[0208/205935:ERROR:gl_bindings_autogen_gl.cc(6831)] Trying to call glGetGraphicsResetStatusARB() without current GL context
[0208/205935:WARNING:x11_util.cc(1490)] X error received: serial 1023, error_code 8 (BadMatch (invalid parameter attributes)), request_code 154, minor_code 26 (X_GLXMakeContextCurrent)
[0208/205935:ERROR:gl_context_glx.cc(107)] Couldn't make context current with X drawable.
[0208/205935:ERROR:gles2_cmd_decoder.cc(3200)] GLES2DecoderImpl: Context lost during MakeCurrent.
[0208/205935:ERROR:gl_bindings_autogen_gl.cc(6831)] Trying to call glGetGraphicsResetStatusARB() without current GL context
[0208/205935:WARNING:x11_util.cc(1490)] X error received: serial 1051, error_code 8 (BadMatch (invalid parameter attributes)), request_code 154, minor_code 26 (X_GLXMakeContextCurrent)
[0208/205935:ERROR:gl_bindings_autogen_gl.cc(6522)] Trying to call glDeleteVertexArraysOES() without current GL context
[0208/205935:ERROR:gl_bindings_autogen_gl.cc(6512)] Trying to call glDeleteTextures() without current GL context
[0208/205935:WARNING:x11_util.cc(1490)] X error received: serial 1080, error_code 3 (BadWindow (invalid Window parameter)), request_code 4, minor_code 0 (X_DestroyWindow)
[0208/205935:ERROR:channel.cc(305)] RawChannel read error (connection broken)

Do you getr something similar?
Zebulon Feb 8, 2016 @ 12:25pm 
Originally posted by deresh:
did you get any info from Feral. THey didn't respond to my request yet.

Hi, yes I got an answer but no progress. They say they cannot reproduce the issue.

They said to try driver 352.55 (the driver number they gave initially was a typo, it did not exist). For me it does not fix it.

I asked them for a way to launch with debug enabled.

I will try to see debug messages and will return to you.
Last edited by Zebulon; Feb 8, 2016 @ 12:28pm
Zebulon Feb 8, 2016 @ 12:33pm 
Deresh, when I launch Steam and game using
LIBGL_DEBUG=verbose .local/share/Steam/SteamApps/common/XCOM\ 2/XCOM2.sh

I get a similar outcome:

[0208/202928:ERROR:gl_context_glx.cc(107)] Couldn't make context current with X drawable. [0208/202928:ERROR:gles2_cmd_decoder.cc(3200)] GLES2DecoderImpl: Context lost during MakeCurrent. [0208/202928:ERROR:gl_bindings_autogen_gl.cc(6831)] Trying to call glGetGraphicsResetStatusARB() without current GL context [0208/202928:ERROR:gl_bindings_autogen_gl.cc(6831)] Trying to call glGetGraphicsResetStatusARB() without current GL context [0208/202928:WARNING:x11_util.cc(1490)] X error received: serial 926, error_code 171 (GLXBadDrawable), request_code 154, minor_code 26 (X_GLXMakeContextCurrent) [0208/202928:ERROR:gl_bindings_autogen_gl.cc(6831)] Trying to call glGetGraphicsResetStatusARB() without current GL context [0208/202928:ERROR:gl_context_glx.cc(107)] Couldn't make context current with X drawable. [0208/202928:ERROR:gles2_cmd_decoder.cc(3200)] GLES2DecoderImpl: Context lost during MakeCurrent. [0208/202928:ERROR:gl_bindings_autogen_gl.cc(6831)] Trying to call glGetGraphicsResetStatusARB() without current GL context [0208/202928:WARNING:x11_util.cc(1490)] X error received: serial 958, error_code 8 (BadMatch (invalid parameter attributes)), request_code 154, minor_code 26 (X_GLXMakeContextCurrent) [0208/202928:ERROR:gl_context_glx.cc(107)] Couldn't make context current with X drawable. [0208/202928:ERROR:gles2_cmd_decoder.cc(3200)] GLES2DecoderImpl: Context lost during MakeCurrent. [0208/202928:ERROR:gl_bindings_autogen_gl.cc(6831)] Trying to call glGetGraphicsResetStatusARB() without current GL context [0208/202928:WARNING:x11_util.cc(1490)] X error received: serial 987, error_code 8 (BadMatch (invalid parameter attributes)), request_code 154, minor_code 26 (X_GLXMakeContextCurrent) [0208/202928:ERROR:gl_context_glx.cc(107)] Couldn't make context current with X drawable. [0208/202928:ERROR:gles2_cmd_decoder.cc(3200)] GLES2DecoderImpl: Context lost during MakeCurrent. [0208/202928:ERROR:gl_bindings_autogen_gl.cc(6831)] Trying to call glGetGraphicsResetStatusARB() without current GL context [0208/202928:WARNING:x11_util.cc(1490)] X error received: serial 1015, error_code 8 (BadMatch (invalid parameter attributes)), request_code 154, minor_code 26 (X_GLXMakeContextCurrent) [0208/202928:ERROR:gl_bindings_autogen_gl.cc(6522)] Trying to call glDeleteVertexArraysOES() without current GL context [0208/202928:WARNING:x11_util.cc(1490)] X error received: serial 1044, error_code 3 (BadWindow (invalid Window parameter)), request_code 4, minor_code 0 (X_DestroyWindow)

but I cannot ascertain this is caused by XCOM2. This appears when launching the game, but there are no further messages during play and the corrupted map drawing.
deresh Feb 8, 2016 @ 1:45pm 
It looks to me that game cannot get GL context (needed for 3d graphics) and after that everything goes wonky ( videos play, but no 3d stuff - menus, gameplay, etc)
Zebulon Feb 8, 2016 @ 1:56pm 
Originally posted by deresh:
It looks to me that game cannot get GL context (needed for 3d graphics) and after that everything goes wonky ( videos play, but no 3d stuff - menus, gameplay, etc)

OK, this could be worth sending this to Feral.

What happens if you launch another game that works? Do you get different messages?

I just tried with Alien Isolation, and indeed there are no GL context errors.
Last edited by Zebulon; Feb 8, 2016 @ 2:01pm
< >
Showing 1-15 of 60 comments
Per page: 1530 50

Date Posted: Feb 5, 2016 @ 1:29pm
Posts: 60