|Summary:||[steam] Grand Ages: Medieval crashes instantly|
|Product:||Mesa||Reporter:||Christoph Berliner <caberliner>|
|Component:||Drivers/Gallium/radeonsi||Assignee:||Default DRI bug account <dri-devel>|
|Status:||RESOLVED FIXED||QA Contact:||Default DRI bug account <dri-devel>|
|i915 platform:||i915 features:|
basic system information
Description Christoph Berliner 2017-03-25 15:08:41 UTC
Created attachment 130451 [details] crashlog The Steam game Grand Ages:Medieval crashes instantly after startup. Please tell me what further information you need, this is my first bug report.
Comment 3 Christoph Berliner 2017-03-25 15:19:43 UTC
*** Bug 100388 has been marked as a duplicate of this bug. ***
Comment 4 Christoph Berliner 2017-03-25 15:27:30 UTC
Created attachment 130454 [details] basic system information
Comment 5 Christoph Berliner 2017-03-25 15:30:27 UTC
And probably a similar problem described in the steam community: http://steamcommunity.com/app/221410/discussions/0/540743757387624740/
Comment 6 Samuel Pitoiset 2017-03-27 23:07:22 UTC
The game requests a 4.1 compatibility profile which is unsupported by Mesa and it crashes because it doesn't check the return value of glXCreateContextAttribsARB. I'm investigating in order to know if it's possible to add a driconf option, but it looks like the game really needs some unsupported features.
Comment 7 Samuel Pitoiset 2017-03-27 23:57:11 UTC
Okay, the game uses ARB_texture_buffer_object which is only exposed with a core profile for some reasons. I'm able to run the game with some hacky changes but it fails to render correctly at some point. Unfortunately, I don't think we can do anything for it because compat >= 3.1 is not supported for now (and probably won't be in the near future). Anyways, the game should not crash when the returned context is NULL.
Comment 8 Christoph Berliner 2017-03-28 07:28:36 UTC
That doesn't sound to bad, does it? At least it looks like the problem could be isolated. Thanks and I'm happily trying fixes as long they're not exhausting my capabilities.
Comment 9 Timothy Arceri 2018-05-09 04:48:21 UTC
This game should now be playable using MESA_GL_VERSION_OVERRIDE=4.1COMPAT MESA_GLSL_VERSION_OVERRIDE=410 after the following commit: commit e7a7b712fe81aac96eaae267ad6cb5444f02e7f6 Author: Timothy Arceri <firstname.lastname@example.org> Date: Tue May 8 10:35:40 2018 +1000 mesa: remove hard-coded OpenGL 3.2 compat limit Just let validate_context_version() do it instead. This fixes MESA_GL_VERSION_OVERRIDE for compat, it will also allow us to enable new compat versions on a per driver bases in future. Reviewed-by: Marek Olšák <email@example.com> There are still bits missing in compat but the game seems playable with the overrides. Since further work simply involves implementing compat profile I'm going to close this bug.