https://bugs.winehq.org/show_bug.cgi?id=46474
Bug ID: 46474 Summary: GTA V crashing when loading the online mode Product: Wine Version: unspecified Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: jopiku@googlemail.com Distribution: ---
Until a few days ago, the GTA V online mode could be started directly with Steam Play for Linux/Proton without any problems. Latest Proton 3.16-6. This worked until January 11th. Since January 12th no one can start GTA V in online mode anymore: -> https://github.com/ValveSoftware/Proton/issues/2211 -> https://github.com/ValveSoftware/Proton/issues/37#issuecomment-453743326
The Singleplayer works perfectly.
I have the same problems. If you start the game directly in online mode, it loads for a while and crashes. A page appears in the Social Club client that indicates an exception error.
There is a workaround that someone posted at Github, with which you can start the game. By a STRACE on the GTAV.exe the abort is prevented when loading the game and the online mode starts correctly: -> https://github.com/ValveSoftware/Proton/issues/37#issuecomment-454812160
That´s the workaround:
1. In gnome terminal run: until ps -C GTA5.exe >/dev/null; do sleep 1; echo "Waiting for GTA5.exe process..."; done; strace -p $(ps -C GTA5.exe -o pid=)
2. start GTA5 via Steam (could be directly to Online mode)
I work with Linux Mint 19.1, Kernel 4.19.9, AMD Ryzen 5 1600X, AMD rx580 8GB, 16GB DDR4, Mesa 19.0 (Padoka PPA). But all other players with different configurations have the same problem (see Github).
https://bugs.winehq.org/show_bug.cgi?id=46474
Kai jopiku@googlemail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |3.16
https://bugs.winehq.org/show_bug.cgi?id=46474
Kai jopiku@googlemail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|GTA V crashing when loading |GTA V crashing when loading |the online mode |the online mode / | |regression
https://bugs.winehq.org/show_bug.cgi?id=46474
Olivier F. R. Dierick o.dierick@piezo-forte.be changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEEDINFO Ever confirmed|0 |1 CC| |o.dierick@piezo-forte.be
--- Comment #1 from Olivier F. R. Dierick o.dierick@piezo-forte.be --- SteamPlay for Linux/Proton are derivative products of Wine. WineHQ is the open source community developing Wine. WineHQ don't provide support for third party derivative products. You should direct inquiries related to Proton to Valve support.
Unless you can reproduce the issue with current (4.0-rc6+) plain wine/wine-staging and provide the required basic information [1] this bug will be marked invalid.
https://bugs.winehq.org/show_bug.cgi?id=46474
--- Comment #2 from Olivier F. R. Dierick o.dierick@piezo-forte.be --- [1] https://wiki.winehq.org/Bugs#How_to_report
https://bugs.winehq.org/show_bug.cgi?id=46474
Kai jopiku@googlemail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |CLOSED Resolution|--- |FIXED
--- Comment #3 from Kai jopiku@googlemail.com --- Thanks for the information. I will report this to Valve.
A recent download of 65+ GB for a plain Wine installation is too costly for me. Since there is, as written, a workaround with which I can start the online mode, I will just live with the workaround.
I thought the bug report would also be interesting for the upstream wine. Hence the report.
Since I'm not going to provide any further support for this ticket here, I set it to closed.
Translated with www.DeepL.com/Translator
https://bugs.winehq.org/show_bug.cgi?id=46474
Kai jopiku@googlemail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|FIXED |WONTFIX
https://bugs.winehq.org/show_bug.cgi?id=46474
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|WONTFIX |ABANDONED
https://bugs.winehq.org/show_bug.cgi?id=46474
Frank S. xeophy@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xeophy@gmail.com
--- Comment #4 from Frank S. xeophy@gmail.com --- Reopening because of a request on github.
This can be replicated using the current version (Wine 4.0-rc6).
Refer to: https://github.com/ValveSoftware/Proton/issues/37
https://bugs.winehq.org/show_bug.cgi?id=46474
Olivier F. R. Dierick o.dierick@piezo-forte.be changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|ABANDONED |--- Status|CLOSED |REOPENED
--- Comment #5 from Olivier F. R. Dierick o.dierick@piezo-forte.be --- (In reply to Frank S. from comment #4)
Reopening because of a request on github.
This can be replicated using the current version (Wine 4.0-rc6).
Reopened.
Please, attach full terminal output[1] of the issue and a screen capture of the exception error in social club if available.
Someone mentioned wininet in the Proton ticket so a WINEDEBUG=+tid,+seh,+wininet log[2] might shed some light on the issue too.
The Rockstar Social Club from GTAV is built around CEF (Chromium Embedded Framework). If possible, try with wine-staging: It includes patches that are needed by CEF (Chromium-based applications need syscall thunks in ntdll.dll - bug 21232).
[1] https://wiki.winehq.org/FAQ#How_can_I_get_a_debugging_log_.28a.k.a._terminal...
[2] https://wiki.winehq.org/FAQ#How_do_I_get_a_debug_trace.3F
https://bugs.winehq.org/show_bug.cgi?id=46474
Olivier F. R. Dierick o.dierick@piezo-forte.be changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|GTA V crashing when loading |GTA V crashing when loading |the online mode / |the online mode |regression |
https://bugs.winehq.org/show_bug.cgi?id=46474
Olivier F. R. Dierick o.dierick@piezo-forte.be changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEEDINFO
https://bugs.winehq.org/show_bug.cgi?id=46474
--- Comment #6 from Frank S. xeophy@gmail.com --- The process enters a zombie state even after getting the strace and leaving it to play the game without impact to performance. This happens and occurs with no real exception...the game just freezes, sound still running.
https://mgble.sh/i/lb8HJzUn.png > Shown on ps aux
A few modifications had to of been done to get this to work. I did get it to work without a strace for awhile. Here's what I did:
This can be achieved by loading into single player, then going to solo session, load in, find new session.
Wine did have a few overrides.
https://mgble.sh/i/2avvqUXY.png > Loading in on a private session https://mgble.sh/i/ZCilYt5p.png > Ability to tab out with steam shown https://mgble.sh/i/8DqMji5k.png > Ability to join public sessions.
Using a trace doesn't need the overrides, although something I did find interesting is that it gets a SEGFAULT from ntdll specifically from an exception generated from GTA V. The memory address it tries to access 0x145e98000
https://mgble.sh/t/0MGBKTZL.txt > This is the report from steam console.
I know that it shows the wrong steam version, but the same thing happens with the most current version. If you need it, I can get you a report of it on the current build on wine...although I don't see why. It's the same exact report with the same exception and same memory address.
If you need any more information, just respond on here or add me on Discord. Frank#6617
https://bugs.winehq.org/show_bug.cgi?id=46474
--- Comment #7 from Frank S. xeophy@gmail.com --- Also, someone reported the strace from the time of the crash.
https://mgble.sh/t/YvcYzhMR.txt
https://bugs.winehq.org/show_bug.cgi?id=46474
--- Comment #8 from Kai jopiku@googlemail.com --- Also, someone posted the log of crash at startup: -> https://friendpaste.com/17oN4P7KnRzIUiCNSibI2t
https://bugs.winehq.org/show_bug.cgi?id=46474
--- Comment #9 from Olivier F. R. Dierick o.dierick@piezo-forte.be --- Created attachment 63315 --> https://bugs.winehq.org/attachment.cgi?id=63315 WINEDEBUG=+tid wine 4.0-rc6 terminal output (96.7MB uncompressed)
Confirmed with wine 4.0-rc6 and wine-staging 4.0-rc6.
https://bugs.winehq.org/show_bug.cgi?id=46474
--- Comment #10 from Olivier F. R. Dierick o.dierick@piezo-forte.be --- Created attachment 63316 --> https://bugs.winehq.org/attachment.cgi?id=63316 WINEDEBUG=+relay wine 4.0-rc6 crashing thread only
WINEDEBUG=+relay log made on the character creation screen just before the crash. The full log is 2.3GB. The attached log is filtered to remove all Calls and Rets not from the crashing thread. All other lines are kept.
https://bugs.winehq.org/show_bug.cgi?id=46474
--- Comment #11 from Olivier F. R. Dierick o.dierick@piezo-forte.be --- Created attachment 63317 --> https://bugs.winehq.org/attachment.cgi?id=63317 Backtrace wine 4.0-rc6
Backtrace attached here for convenience.
https://bugs.winehq.org/show_bug.cgi?id=46474
Olivier F. R. Dierick o.dierick@piezo-forte.be changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW
--- Comment #12 from Olivier F. R. Dierick o.dierick@piezo-forte.be --- My tests were made with: GTA V: Retail DVD (non-steam) updated to 1604; GTA online 1.46. OS: Debian 8 Jessie Graphics: NVidia GTX 970 (nvidia-driver 384.130 from Debian Jessie backports)
wine-4.0-rc6 customized with 2 patches: - shell32: environment variable overrides userdirs (private patch; not required). - server: Improve handling of hooks for normal (non-injected) hardware (Required for GTA V; Formerly in wine-staging but was removed; Bug 43102).
winetricks: corefonts (Required by CEF/Rockstar Social Club; Bug 32342)
Winecfg settings: Version setting : default (Win 7) DLL overrides: default (none) Display tab: Emulate virtual desktop and Capture mouse in fullscreen = on; WM decoration and WM control = off. Sound: default (Pulseaudio)
Registry edits: - MaxVersionGL REG_DWORD 0x00030002 - VideoMemorySize REG_SZ "4096" - VideoPciDeviceID REG_DWORD 0x000067df - VideoPciVendorID REG_DWORD 0x00001002
Notes: - GTA V/Online has severe performance degradation with wine-staging compared to plain wine. - Issue also happened to me when starting in story mode and then going online through the in-game menu.
https://bugs.winehq.org/show_bug.cgi?id=46474
Olivier F. R. Dierick o.dierick@piezo-forte.be changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |win64
https://bugs.winehq.org/show_bug.cgi?id=46474
Robert Walker bob.mt.wya@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |bob.mt.wya@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=46474
alasky@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |alasky@codeweavers.com
https://bugs.winehq.org/show_bug.cgi?id=46474
Lectrode electrodexsnet@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |electrodexsnet@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=46474
Piotr Caban piotr.caban@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |piotr.caban@gmail.com
--- Comment #13 from Piotr Caban piotr.caban@gmail.com --- It's caused by incorrect PAGE_EXECUTE_WRITECOPY handling in Wine. Application makes the executable image writeable, modifies its code segment and expects that it causes memory protection change to PAGE_EXECUTE_READWRITE.
There are some patches that implement it in wine-staging but only for i386 case (the game is 64-bit).
It's possible to start the game with following environment variable: WINE_DLLOVERRIDES="winedbg.exe=d" wine ... This is causing the application to work in the same way as with strace attached but doesn't affect game speed.
https://bugs.winehq.org/show_bug.cgi?id=46474
AsciiWolf mail@asciiwolf.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mail@asciiwolf.com
https://bugs.winehq.org/show_bug.cgi?id=46474
rawfox rawfox@freenet.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |rawfox@freenet.de
--- Comment #14 from rawfox rawfox@freenet.de --- Adding WINE_DLLOVERRIDES="winedbg.exe=d" has not solved it here. Its not joining into the online mode while story mode is perfect. Using wine-4.2 (staging) .. Running until ps -C GTA5.exe >/dev/null; do sleep 1; echo "Waiting for GTA5.exe process..."; done; strace -p $(ps -C GTA5.exe -o pid=) in bash made it into online, but was unplayable due to constant freezes up to 5 seconds.
https://bugs.winehq.org/show_bug.cgi?id=46474
--- Comment #15 from Matteo Bruni matteo.mystral@gmail.com --- (In reply to rawfox from comment #14)
Adding WINE_DLLOVERRIDES="winedbg.exe=d" has not solved it here.
It's actually supposed to be WINEDLLOVERRIDES (no underscore).
https://bugs.winehq.org/show_bug.cgi?id=46474
--- Comment #16 from rawfox rawfox@freenet.de --- (In reply to Matteo Bruni from comment #15)
Dang! It felt so "unknown" but now its clear :) Yes it worked like a charm again, thank you !
Not sure if this is the final solution, tho^^
https://bugs.winehq.org/show_bug.cgi?id=46474
firedefender1@googlemail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |firedefender1@googlemail.co | |m
https://bugs.winehq.org/show_bug.cgi?id=46474
Neko-san nekoNexus@protonmail.ch changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nekoNexus@protonmail.ch