Hi, Mesa currently doesn't allow to create 3.1+ compatibility profiles mainly because various features are unimplemented and bugs can happen.
However, some buggy apps request a compat profile without using any old features but they fail to start because Mesa clamps the GLSL version to 130 for compat. This option should help some games but it's not enough for all. For example, Dying Light requires a 4.4 compat profile but overriding the version doesn't work. More work is needed if we want to support that game. If force_compat_profile looks too strong, we could try to add support for override_gl_version/override_glsl_version in drirc but that seems a bit more complicated (and not sure this will really help for now). This solution has the advantage to be simple and not really intrusive, although we have to be careful when forcing creation of compat profiles. I'm open to all other suggestions if you really dislike the idea. Comments are welcome! Thanks. Samuel Pitoiset (4): driconf: add new force_compat_profile option drirc: add force_compat_profile for Worms WMD drirc: add force_compat_profile for Crookz - The Big Heist drirc: add force_compat_profile for Tropico 5 src/gallium/include/state_tracker/st_api.h | 1 + src/gallium/state_trackers/dri/dri_screen.c | 3 +++ src/mesa/drivers/dri/common/drirc | 12 ++++++++++++ src/mesa/drivers/dri/common/xmlpool/t_options.h | 5 +++++ src/mesa/drivers/dri/i965/brw_context.c | 3 +++ src/mesa/main/mtypes.h | 5 +++++ src/mesa/main/version.c | 6 ++++-- src/mesa/state_tracker/st_extensions.c | 4 ++++ 8 files changed, 37 insertions(+), 2 deletions(-) -- 2.11.1 _______________________________________________ mesa-dev mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-dev
