https://bugs.winehq.org/show_bug.cgi?id=38969
Bug ID: 38969 Summary: RAGE crashes on startup Product: Wine Version: 1.7.47 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: opengl Assignee: wine-bugs@winehq.org Reporter: hp@tmm.cx Distribution: ---
Created attachment 51913 --> https://bugs.winehq.org/attachment.cgi?id=51913 Backtrace
I have installed RAGE through a winetricks steam installation, it crashes on startup. System information:
$ lsb_release -a LSB Version: :core-4.1-amd64:core-4.1-noarch:cxx-4.1-amd64:cxx-4.1-noarch:desktop-4.1-amd64:desktop-4.1-noarch:languages-4.1-amd64:languages-4.1-noarch:printing-4.1-amd64:printing-4.1-noarch Distributor ID: Fedora Description: Fedora release 22 (Twenty Two) Release: 22 Codename: TwentyTwo
00:02.0 VGA compatible controller: Intel Corporation Broadwell-U Integrated Graphics (rev 09)
OpenGL vendor string: Intel Open Source Technology Center OpenGL renderer string: Mesa DRI Intel(R) HD Graphics 5500 (Broadwell GT2) OpenGL core profile version string: 3.3 (Core Profile) Mesa 10.6.1 (git-6ff3ae8) OpenGL core profile shading language version string: 3.30
$ wine --version wine-1.7.47 (Staging)
Attached you will find the output of WINEDEBUG="+wgl,+opengl,+tid" WINEPREFIX="/home/hp/.local/share/wineprefixes/steam" wine Rage.exe and the subsequent crash log.
https://bugs.winehq.org/show_bug.cgi?id=38969
--- Comment #1 from Hein-Pieter van Braam hp@tmm.cx --- Created attachment 51914 --> https://bugs.winehq.org/attachment.cgi?id=51914 +wgl,+opengl,+tid trace
https://bugs.winehq.org/show_bug.cgi?id=38969
Hein-Pieter van Braam hp@tmm.cx changed:
What |Removed |Added ---------------------------------------------------------------------------- Distribution|--- |Fedora
https://bugs.winehq.org/show_bug.cgi?id=38969
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID
--- Comment #2 from Ken Sharp imwellcushtymelike@gmail.com --- Report wine-staging bugs to wine-staging. https://bugs.wine-staging.com/
https://bugs.winehq.org/show_bug.cgi?id=38969
Matteo Bruni matteo.mystral@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |matteo.mystral@gmail.com
--- Comment #3 from Matteo Bruni matteo.mystral@gmail.com --- Can you attach a trace with plain Wine, if you can reproduce the issue there?
https://bugs.winehq.org/show_bug.cgi?id=38969
Michael Müller michael@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |michael@fds-team.de
--- Comment #4 from Michael Müller michael@fds-team.de --- Since the bug was rejected in this bug tracker, the analysis of issue is available at https://bugs.wine-staging.com/show_bug.cgi?id=472#c10
https://bugs.winehq.org/show_bug.cgi?id=38969
Matteo Bruni matteo.mystral@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|INVALID |--- Ever confirmed|0 |1
--- Comment #5 from Matteo Bruni matteo.mystral@gmail.com --- (In reply to Michael Müller from comment #4)
Since the bug was rejected in this bug tracker, the analysis of issue is available at https://bugs.wine-staging.com/show_bug.cgi?id=472#c10
Well... Reopened now.
I'd like to see a trace with plain Wine though, there is something weird going on with filter_extensions() and I want to be sure the same happens on WineHQ.
https://bugs.winehq.org/show_bug.cgi?id=38969
--- Comment #6 from Hein-Pieter van Braam hp@tmm.cx --- I'm building 1.7.47 vanilla now. What trace would you like to see exactly?
https://bugs.winehq.org/show_bug.cgi?id=38969
--- Comment #7 from Matteo Bruni matteo.mystral@gmail.com --- (In reply to Hein-Pieter van Braam from comment #6)
I'm building 1.7.47 vanilla now. What trace would you like to see exactly?
+wgl,+tid is fine. Thanks!
https://bugs.winehq.org/show_bug.cgi?id=38969
Hein-Pieter van Braam hp@tmm.cx changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #51913|0 |1 is obsolete| |
--- Comment #8 from Hein-Pieter van Braam hp@tmm.cx --- Created attachment 51938 --> https://bugs.winehq.org/attachment.cgi?id=51938 backtrace with wine-1.7.47
https://bugs.winehq.org/show_bug.cgi?id=38969
Hein-Pieter van Braam hp@tmm.cx changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #51914|0 |1 is obsolete| |
--- Comment #9 from Hein-Pieter van Braam hp@tmm.cx --- Created attachment 51939 --> https://bugs.winehq.org/attachment.cgi?id=51939 +wgl,+opengl,+tid trace wine 1.7.47
https://bugs.winehq.org/show_bug.cgi?id=38969
--- Comment #10 from Hein-Pieter van Braam hp@tmm.cx --- I've replaced the wine-staging logs with 1.7.47 logs. Please let me know if I can provide more information.
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.
https://bugs.winehq.org/show_bug.cgi?id=38969
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #12 from Bruno Jesus 00cpxxx@gmail.com --- Closing invalid bugs.
https://bugs.winehq.org/show_bug.cgi?id=38969
Michael Müller michael@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |l.gambetta@alice.it
--- Comment #13 from Michael Müller michael@fds-team.de --- *** Bug 43176 has been marked as a duplicate of this bug. ***