Summary: | Black Mesa cannot compile shaders because of missing GL_EXT_gpu_shader4 | ||
---|---|---|---|
Product: | Mesa | Reporter: | ben <ben> |
Component: | Mesa core | Assignee: | mesa-dev |
Status: | RESOLVED FIXED | QA Contact: | mesa-dev |
Severity: | normal | ||
Priority: | medium | CC: | mirh |
Version: | git | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
ben@besd.de
2018-05-03 21:47:44 UTC
The application should use GLSL 1.30. Mesa is not going to support GL_EXT_gpu_shader4. GLSL 1.30 has been around for a decade. It looks like they are now using a compat profile which is unfortunate. I think the biggest problem is that they use DirectX emulation even though they use the source engine of halflife 2 (which runs absolutely fine btw) Patches appeared this morning to implement this feature. Seems like this isnt really a wontfix anymore. :) https://patchwork.freedesktop.org/series/47859/ Just tested the patch series with Black Mesa (non beta) and it started working. While the patches allow the non-beta and beta version of Black-Mesa to start, I still get out of memory errors for both. The beta version does this right after you select to start a new game (in the loading game data stage), the non-beta version only allows to select the lowest graphics options (otherwise crashes) and then runs out of memory sometime after you put on the hazmat suit and go down the elevators. I had a similar effect when modifying the shaders so they would just compile without caring whether they actually work. So while this is a significant improvement (thanks Marek!) I think there is still some memory leak, dont know where though system memory looks fine at first glance. This is the first time I got the 32-bit drivers to compile, but for comparison: Bioshock Infinite runs fine on ultra settings. I can capture and successfully compile the shaders with shader-db now. The game still crashes with out of memory errors, but this seems to be a problem with the game itself, as this always happens when it tries to allocate more than 4 GB of system memory. I think the original problem is solved and the rest doesnt seem to be mesa related. |
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.