Summary: | Black screen in War Thunder | ||
---|---|---|---|
Product: | Mesa | Reporter: | Sven Arvidsson <sa> |
Component: | Mesa core | Assignee: | mesa-dev |
Status: | RESOLVED WORKSFORME | QA Contact: | mesa-dev |
Severity: | normal | ||
Priority: | medium | CC: | kai.huuhko, lemody |
Version: | 11.0 | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
Apitrace warnings
hack that fixes issue hack that fixes issue |
Description
Sven Arvidsson
2015-10-04 19:04:03 UTC
On quick glance at the trace it looks like one issue here is that Mesa does not expose EXT variants for TextureParameteri and TextureParameterfv but exposing those won't fix this as there are other major issues. Created attachment 119191 [details] [review] hack that fixes issue OK, looks like exposing EXT_direct_state_access would be enough after all, with attached patch game works and renders just fine (tested on HSW desktop). I'm not sure if there is enough interest to expose EXT variants, instead someone could pursue game vendor to use the ARB functions? Created attachment 119200 [details] [review] hack that fixes issue This is slightly cleaner but still just a hack, it looks like we would need full GL_EXT_direct_state_access and also GL_EXT_depth_bounds_test extension. The patch works fine here, awesome work! Fantastic to have it fixed so quickly! The developer of the game is Gaijin Entertainment, http://gaijinent.com I could probably open a support ticket with them, but chances are they're not interested. The FAQ for Linux only mentions "install proprietary drivers" which is quite hard to do on Intel. (In reply to Sven Arvidsson from comment #5) > The patch works fine here, awesome work! Fantastic to have it fixed so > quickly! > > The developer of the game is Gaijin Entertainment, http://gaijinent.com > > I could probably open a support ticket with them, but chances are they're > not interested. The FAQ for Linux only mentions "install proprietary > drivers" which is quite hard to do on Intel. I will attempt to make contact with the developer. (In reply to Tapani Pälli from comment #4) > Created attachment 119200 [details] [review] [review] > hack that fixes issue > > This is slightly cleaner but still just a hack, it looks like we would need > full GL_EXT_direct_state_access and also GL_EXT_depth_bounds_test extension. Why do you think GL_EXT_depth_bounds_test is necessary? Either way... we're absolutely not going to do EXT_dsa. We have ARB_dsa in core profile, and that's what applications should use. Spending a bunch of time to implement the backward-looking extension, at the expense of other features, when we already support the forward-looking functionality doesn't help anyone in the long run. (In reply to Ian Romanick from comment #7) > (In reply to Tapani Pälli from comment #4) > > Created attachment 119200 [details] [review] [review] [review] > > hack that fixes issue > > > > This is slightly cleaner but still just a hack, it looks like we would need > > full GL_EXT_direct_state_access and also GL_EXT_depth_bounds_test extension. > > Why do you think GL_EXT_depth_bounds_test is necessary? There's calls to glEnable and glDisable with DEPTH_BOUNDS_TEST_EXT, not sure if it is really needed as I haven't spotted any graphical glitches during those scenes. > Either way... we're absolutely not going to do EXT_dsa. We have ARB_dsa in > core profile, and that's what applications should use. Spending a bunch of > time to implement the backward-looking extension, at the expense of other > features, when we already support the forward-looking functionality doesn't > help anyone in the long run. Yep I agree. (In reply to Sven Arvidsson from comment #5) > The patch works fine here, awesome work! Fantastic to have it fixed so > quickly! > > The developer of the game is Gaijin Entertainment, http://gaijinent.com > > I could probably open a support ticket with them, but chances are they're > not interested. The FAQ for Linux only mentions "install proprietary > drivers" which is quite hard to do on Intel. hi, same problem here, for intel 6000. Green screen after war thunder launcher. how do you apply the patch ? worked with MESA_GL_VERSION_OVERRIDE=4.1COMPAT ~/.steam/steam/steamapps/common/War\ Thunder/launcher (In reply to kominato from comment #10) > worked with > MESA_GL_VERSION_OVERRIDE=4.1COMPAT ~/.steam/steam/steamapps/common/War\ > Thunder/launcher Sweet, I've confirmed this works fine. Now we can just forget about the patch. I'll resolve this bug as WORKSFORME and real fix in the future will happen when we reach OpenGL 4.1 support. Until then, a context version override is required. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.