dreamer / luxtorpeda

Steam Play compatibility tool to run games using native Linux engines
https://luxtorpeda.gitlab.io/
GNU General Public License v2.0
388 stars 9 forks source link

Arx Libertatis does not load textures when using Mesa #27

Open dreamer opened 5 years ago

dreamer commented 5 years ago

To work around this issue, start the game using --debug-gl launch option.

To reproduce: start the game without any parameters on any GPU using Mesa (so far tested on Intel Sandy Bridge, RX590, Vega 56).

[edit] received a report using Intel HD 630 where the problem was not reproduced.

The game starts without any textures and looks like this in result:

intro

More info

d10sfan commented 5 years ago

Looking at the build logs, do you see anything that stands out in comparsion between the working local copy and the CI tool built one? I was looking at the build log here: https://gitlab.com/luxtorpeda/packages/arxlibertatis/-/jobs/266842676

Two interesting pieces stood out but not sure if it would contribute:

Also curious if the local copy is using different versions of the libraries.

And it's interesting that --debug-gl causing it to start working. I know very little about OpenGL, but wondering if the debug mode is letting the application ignore these errors that are getting spit out: API error #3: GL_INVALID_ENUM in glMatrixMode(mode).

"SDL is using the X11 video backend but GLEW was built without GLX support". This is also interesting, does that show up when you run the locally built copy?