https://bugs.winehq.org/show_bug.cgi?id=38969
Matteo Bruni matteo.mystral@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution|--- |INVALID
--- Comment #11 from Matteo Bruni matteo.mystral@gmail.com --- (In reply to Hein-Pieter van Braam from comment #10)
I've replaced the wine-staging logs with 1.7.47 logs. Please let me know if I can provide more information.
Thanks. There is indeed a cosmetic bug in filter_extensions(), unrelated to the crash.
About the crash itself, Michael's analysis looks right. The game requests an OpenGL 3.1 context, which in the case of Mesa is in practice a 3.2 core profile context. That's perfectly legitimate but unfortunately not expected by the game, which on Windows would always get an actual 3.1 context with ARB_compatibility.
The missing legacy entrypoints could be partially emulated in opengl32.dll by generating and plugging in some ARB -> core wrapper functions. That's quite ugly and insufficient in general and specifically for RAGE, as Michael discovered.
I think there isn't much we can reasonably do here. I'd call this a game bug and it's likely other OpenGL Windows games suffer from the same issue. I'm resolving this bug as invalid for the time being.