[Mesa-dev] [RFC PATCH 0/1] New driconf option for ARK games

Samuel Pitoiset samuel.pitoiset at gmail.com
Fri Feb 3 17:23:26 UTC 2017


Hi,

This patch adds a new driconf option override_glsl_version for launching ARK
games without the MESA_GLSL_VERSION_OVERRIDE hack which should be only for
developers.

This sounds redundant with force_glsl_version but that one is only for shaders
that lack an explicit #version line. while this one will change the version of
the core context. And this is especially useful for returning the version
requested by the given app and not a more recent version.

This option is for the ARK games which "explicitely" [1] require a 3.2 context,
and fail if the version is > 3.2. Presumably, "ShellShock Live" [2] will also
need but I don't have that game yet (though I will be able to test in the next
few days).

Although some users know how to launch the ARK games with that envvar, I think
it would be really much better to be able to launch them "natively". And "ARK:
Survival Evolved" is one of the most played game... [3]

I'm open to any suggestions if you don't really like this option.

Comments are welcome!

Thaknks.

[1] https://bugs.freedesktop.org/show_bug.cgi?id=95374
[2] https://www.gamingonlinux.com/wiki/Games_broken_on_Mesa
[3] https://steamdb.info/graph/?category=999

Samuel Pitoiset (1):
  st/dri: add a new driconf option override_glsl_version for ARK games

 src/gallium/include/state_tracker/st_api.h      | 1 +
 src/gallium/state_trackers/dri/dri_screen.c     | 3 +++
 src/gallium/state_trackers/osmesa/osmesa.c      | 1 +
 src/mesa/drivers/dri/common/drirc               | 4 ++++
 src/mesa/drivers/dri/common/xmlpool/t_options.h | 5 +++++
 src/mesa/drivers/dri/i965/brw_context.c         | 3 +++
 src/mesa/state_tracker/st_extensions.c          | 3 +++
 7 files changed, 20 insertions(+)

-- 
2.11.0



More information about the mesa-dev mailing list