https://bugs.winehq.org/show_bug.cgi?id=48289
Bug ID: 48289 Summary: Grand Theft Auto 5 crashes after loading. Product: Wine Version: 4.19 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: pokemax0928@gmail.com Distribution: ---
After the Casino Heist update GTA V crashes after loading into story or online and the game is not playable. The Proton community has determined this is a Wine bug, not a Proton bug. I'm making this bug report for people to be aware and start fixing the issue. The last few posts over on Github have more information: https://github.com/ValveSoftware/Proton/issues/37
I'm not able to help very much but I'm going to try and follow. Thank you.
https://bugs.winehq.org/show_bug.cgi?id=48289
Olivier F. R. Dierick o.dierick@piezo-forte.be changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |o.dierick@piezo-forte.be
--- Comment #1 from Olivier F. R. Dierick o.dierick@piezo-forte.be --- Hello,
I had to load all the old stuff to get to the start of the current issue and for convenience, here is the link to the first post related to this bug: https://github.com/ValveSoftware/Proton/issues/37#issuecomment-564960858
Regards.
https://bugs.winehq.org/show_bug.cgi?id=48289
--- Comment #2 from Olivier F. R. Dierick o.dierick@piezo-forte.be --- Hello,
1. Note that you have to use pure wine-devel/wine-staging (=not Proton) when commenting here.
2. Some quotes extracted from the github:
--- quote --- 0201:fixme:dbghelp:elf_search_auxv can't find symbol in module seems to just be the aftermath of the actual problem. --- end quote ---
That's right. Don't worry about that message.
--- quote --- It gets stuck after the 3rd or 4th "splash screen" while loading in both Story and Online mode. (...) the game crash throwing this in the log: wine: Unhandled page fault on read access to 0x00000000 at address 0x140a1c78f (thread 00e9), starting debugger... --- end quote ---
--- quote --- GTA5.exe just goes <defunct> and consumes cpu on black screen - I didnt notice anything on the stdout though. --- end quote ---
GTA5.exe probably waits forever for another process that has crashed. We need more information about what happens before the error.
For a start, Can someone who is affected by the issue attach a normal (=without WINEDEBUG) terminal output from a pure, recent, wine-devel/wine-staging.
Instructions to get a log can be found there: https://wiki.winehq.org/FAQ#get_log
3. My brother is currently playing the game in the next room, and he says that he had the update 3 days ago and he still runs the game.
Maybe his setup can be used to compare with non-working setup.
His system is: - Debian 8 Jessie amd64; - plain wine 4.9 (shared wow 64 build) + patchset 'server: Improve handling of hooks for normal (non-injected) hardware' (patchset that was removed from staging - see bug 43102). - nvidia gtx 970, driver 384.130 from Debian 8 Jessie backports, identified as a n AMD_RX_480 in the registry to avoid bug 35062 (See https://bugs.winehq.org/show_bug.cgi?id=38436#c27) - Retail DVD version of the game, launched through the original 'Rockstar Games Social Club' (latest auto-update), _not_ the newest 'Rockstar Games Launcher'. - winetricks corefonts used, required by the RGSC (dependency of the CEF internal web browser - bug 42609 → bug 32342). - xaudio2_7 set to native (got a crash with builtin - wine 4.9 has the old xaudio implementation, but the new implementation, faudio, is not available on Debian 8 Jessie); - He doesn't play in online mode and so doesn't use any workaround for that.
Regards.
https://bugs.winehq.org/show_bug.cgi?id=48289
--- Comment #3 from pattmax pokemax0928@gmail.com --- I am using Wine, not Proton, I just thought the information would be relevant.
https://bugs.winehq.org/show_bug.cgi?id=48289
Olivier F. R. Dierick o.dierick@piezo-forte.be changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Hardware|x86 |x86-64 Ever confirmed|0 |1
--- Comment #4 from Olivier F. R. Dierick o.dierick@piezo-forte.be --- Hello,
- The game is 64-bit only. → Hardware set to x86-64. - No free download or demo. - Confirmed by many users on github. - Issue is distribution and WM agnostic according to github.
(In reply to pattmax from comment #3)
I am using Wine, not Proton, I just thought the information would be relevant.
No problem. I usually make general statements for anyone reading the bugs.
Thanks for reporting the issue.
Can you provide a terminal output or describe your setup like I did?
Regards.
https://bugs.winehq.org/show_bug.cgi?id=48289
--- Comment #5 from Olivier F. R. Dierick o.dierick@piezo-forte.be --- Hello,
Bug link submitted to the AppDB entry for both versions (DVD and Steam), as reported on github.
Grand Theft Auto V https://appdb.winehq.org/objectManager.php?sClass=application&iId=16807
Regards.
https://bugs.winehq.org/show_bug.cgi?id=48289
--- Comment #6 from pattmax pokemax0928@gmail.com --- Created attachment 65992 --> https://bugs.winehq.org/attachment.cgi?id=65992 My computer specs
https://bugs.winehq.org/show_bug.cgi?id=48289
--- Comment #7 from pattmax pokemax0928@gmail.com --- (In reply to Olivier F. R. Dierick from comment #4)
Hello,
- The game is 64-bit only. → Hardware set to x86-64.
- No free download or demo.
- Confirmed by many users on github.
- Issue is distribution and WM agnostic according to github.
(In reply to pattmax from comment #3)
I am using Wine, not Proton, I just thought the information would be relevant.
No problem. I usually make general statements for anyone reading the bugs.
Thanks for reporting the issue.
Can you provide a terminal output or describe your setup like I did?
Regards.
Just wanted to confirm I was on Wine :)
I used this installer with Lutris (should have all the config information): https://lutris.net/games/install/9386/view
I attached my neofetch.
https://bugs.winehq.org/show_bug.cgi?id=48289
Stefan Schmidt thrimbor.github@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |thrimbor.github@gmail.com
--- Comment #8 from Stefan Schmidt thrimbor.github@gmail.com --- Created attachment 65993 --> https://bugs.winehq.org/attachment.cgi?id=65993 GTA V log run via Steam
https://bugs.winehq.org/show_bug.cgi?id=48289
--- Comment #9 from Stefan Schmidt thrimbor.github@gmail.com --- Created attachment 65994 --> https://bugs.winehq.org/attachment.cgi?id=65994 Crash report
https://bugs.winehq.org/show_bug.cgi?id=48289
--- Comment #10 from Stefan Schmidt thrimbor.github@gmail.com --- I attached the requested log above. It was created by running the Steam Version of GTA V in a fresh prefix. I didn't find a way to capture GTA's log separately from Steam's, so the log unfortunately also includes entries produced by Steam. I also uploaded the crash report generated by wine - interestingly, it provides a backtrace, which is something Proton seemingly couldn't.
Just for completeness, this is my setup: Linux 5.4.3 nvidia GTX 970, driver 440.44 wine-staging 4.21 (all of the above are from Arch packages) Steam-version of GTA V
I can reproduce the bug in 100% of all attempts. No additional arguments or workarounds were being used (except the one described in the GTA V appdb entry to get the launcher to install, but the workaround was used exclusively for that).
https://bugs.winehq.org/show_bug.cgi?id=48289
hswhite@protonmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hswhite@protonmail.com
https://bugs.winehq.org/show_bug.cgi?id=48289
--- Comment #11 from Olivier F. R. Dierick o.dierick@piezo-forte.be --- Hello,
--- quote from log --- 012d:fixme:bcrypt:BCryptOpenAlgorithmProvider algorithm L"DH" not supported --- end quote ---
This is the last thing in thread 012d before the unhandled page fault in the same thread.
BCRYPT_DH_ALGORITHM is currently unimplemented in Wine.
I don't know if it's the cause of the issue, but it's worth a shot.
1. Please, provide a WINEDEBUG=+bcrypt,+seh,+tid debug trace. Instruction to get a debug trace are available at point 10.1.2 there: https://wiki.winehq.org/FAQ#get_log
2. Could anyone with a Windows copy (64-bit Win 7/8 or 10) test if overriding bcrypt with native bcrypt.dll from Windows/System32 makes a difference (if it works at all)?
To do this, copy bcrypt.dll to the directory where GTA5.exe is, set bcrypt to native on 'libraries' tab in winecfg, retest and report any change.
Regards.
https://bugs.winehq.org/show_bug.cgi?id=48289
Kim Lindgren mrkimm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mrkimm@gmail.com
--- Comment #12 from Kim Lindgren mrkimm@gmail.com --- Created attachment 66007 --> https://bugs.winehq.org/attachment.cgi?id=66007 Native BCrypt from windows 10
https://bugs.winehq.org/show_bug.cgi?id=48289
--- Comment #13 from Kim Lindgren mrkimm@gmail.com --- Sorry for double comments. I copied over bcrypt from my Windows 10 virtual machine and tried running the Steam version with bcrypt set to native. The application fails instantly with '"bcrypt.dll" failed to initialize, aborting'. I'm assuming the native bcrypt dll depends on another native dll, but not sure which.
While I fetched the native dll I noted that there was another dll named bcryptprimitives, which I also copied over. I tried to override that library as well but it made no difference (exactly the same error).
I should probably mention that both my virtual machine and the wineprefix is 64-bit.
https://bugs.winehq.org/show_bug.cgi?id=48289
Paul Gofman gofmanp@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gofmanp@gmail.com
--- Comment #14 from Paul Gofman gofmanp@gmail.com --- Created attachment 66009 --> https://bugs.winehq.org/attachment.cgi?id=66009 Add Vista+ PEB LdrData fields
I've tested the game and could reproduce the crash after starting the game itself through its nested launchers, choosing "Story mode" in the initial screen and watching 2-3 loading pictures.
To get that far, I used Wine Staging and this hack from Proton: https://github.com/ValveSoftware/wine/commit/e485252dfad51a7e463643d56fe1381....
Long story short, the game is unhappy with the current Wine's PEB block size (0x48) and wants a Vista+ one (with the size of 0x58). The attached patch (used with Wine Staging) is fixing the issue for me.
The game starts and some initial action is working (I never played it and don't have any saves). I did not test multiplayer mode.
It did not work right away with mainstream Wine for me (I could start the client at all), but I did not look into that in any details yet.
https://bugs.winehq.org/show_bug.cgi?id=48289
--- Comment #15 from pattmax pokemax0928@gmail.com --- (In reply to Paul Gofman from comment #14)
Created attachment 66009 [details] Add Vista+ PEB LdrData fields
I've tested the game and could reproduce the crash after starting the game itself through its nested launchers, choosing "Story mode" in the initial screen and watching 2-3 loading pictures.
To get that far, I used Wine Staging and this hack from Proton: https://github.com/ValveSoftware/wine/commit/ e485252dfad51a7e463643d56fe138129597e4b6.
Long story short, the game is unhappy with the current Wine's PEB block size (0x48) and wants a Vista+ one (with the size of 0x58). The attached patch (used with Wine Staging) is fixing the issue for me.
The game starts and some initial action is working (I never played it and don't have any saves). I did not test multiplayer mode.
It did not work right away with mainstream Wine for me (I could start the client at all), but I did not look into that in any details yet.
How can I apply this to my version of wine? Sorry I am new.
https://bugs.winehq.org/show_bug.cgi?id=48289
CLD2 buckstrokum@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |buckstrokum@gmail.com
--- Comment #16 from CLD2 buckstrokum@gmail.com ---
How can I apply this to my version of wine? Sorry I am new.
Since you're using Lutris, you can use Proton-4.21-GE-2. Download https://github.com/GloriousEggroll/proton-ge-custom/releases Extract folder to ~/.local/share/lutris/runners/wine Start Lutris > Right Click GTA V > Configure > Runner Options > Wine Version: Proton-4.21-GE-2.
There will probably be an official Lutris Wine version with this patch shortly.
https://bugs.winehq.org/show_bug.cgi?id=48289
--- Comment #17 from pattmax pokemax0928@gmail.com --- (In reply to CLD2 from comment #16)
How can I apply this to my version of wine? Sorry I am new.
Since you're using Lutris, you can use Proton-4.21-GE-2. Download https://github.com/GloriousEggroll/proton-ge-custom/releases Extract folder to ~/.local/share/lutris/runners/wine Start Lutris > Right Click GTA V > Configure > Runner Options > Wine Version: Proton-4.21-GE-2.
There will probably be an official Lutris Wine version with this patch shortly.
I extracted Proton-4.21-GE-2 to ~/.local/share/lutris/runners/wine but it doesn't show up in the drop down.
https://bugs.winehq.org/show_bug.cgi?id=48289
--- Comment #18 from CLD2 buckstrokum@gmail.com --- (In reply to pattmax from comment #17)
(In reply to CLD2 from comment #16)
How can I apply this to my version of wine? Sorry I am new.
Since you're using Lutris, you can use Proton-4.21-GE-2. Download https://github.com/GloriousEggroll/proton-ge-custom/releases Extract folder to ~/.local/share/lutris/runners/wine Start Lutris > Right Click GTA V > Configure > Runner Options > Wine Version: Proton-4.21-GE-2.
There will probably be an official Lutris Wine version with this patch shortly.
I extracted Proton-4.21-GE-2 to ~/.local/share/lutris/runners/wine but it doesn't show up in the drop down.
My bad. I'm a bit new at this myself. I just tried to delete the folder from Lutris, and it was still there. Seems like Lutris picked Proton-4.21-GE-2 from Steam and not from Lutris. Move the Proton-4.21-GE-2 folder to ̃ /.local/share/Steam/compatibilitytools.d/, then restart Lutris.
https://bugs.winehq.org/show_bug.cgi?id=48289
--- Comment #19 from pattmax pokemax0928@gmail.com --- (In reply to CLD2 from comment #18)
(In reply to pattmax from comment #17)
(In reply to CLD2 from comment #16)
How can I apply this to my version of wine? Sorry I am new.
Since you're using Lutris, you can use Proton-4.21-GE-2. Download https://github.com/GloriousEggroll/proton-ge-custom/releases Extract folder to ~/.local/share/lutris/runners/wine Start Lutris > Right Click GTA V > Configure > Runner Options > Wine Version: Proton-4.21-GE-2.
There will probably be an official Lutris Wine version with this patch shortly.
I extracted Proton-4.21-GE-2 to ~/.local/share/lutris/runners/wine but it doesn't show up in the drop down.
My bad. I'm a bit new at this myself. I just tried to delete the folder from Lutris, and it was still there. Seems like Lutris picked Proton-4.21-GE-2 from Steam and not from Lutris. Move the Proton-4.21-GE-2 folder to ̃ /.local/share/Steam/compatibilitytools.d/, then restart Lutris.
I had to copy it to my steam common folder (where I have all my games installed, I have it as an odd directory so I won't post it to confuse others) and I can confirm story and online are working again. Thank you!
https://bugs.winehq.org/show_bug.cgi?id=48289
houdas.rodolphe@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |houdas.rodolphe@gmail.com
--- Comment #20 from houdas.rodolphe@gmail.com --- Using proton-ge-custom does allow to load the game but unfortunately, it severely impacts performances on my computer (going from 120FPS down to 24FPS). My computer specs are as follow (output from neofetch) :
neofetch@neofetch ------------------------ OS: Arch Linux x86_64 Host: GE65 Raider 9SE REV:1.0 Kernel: 5.4.5-arch1-1 Uptime: 5 mins Packages: 1240 (pacman) Shell: zsh 5.7.1 Resolution: 1920x1080 DE: GNOME 3.34.2 WM: Mutter WM Theme: Adwaita Theme: Canta-light [GTK2/3] Icons: Canta [GTK2/3] Terminal: tilix CPU: Intel i7-9750H (12) @ 4.500GHz GPU: NVIDIA GeForce RTX 2060 Mobile GPU: Intel UHD Graphics 630 Memory: 2434MiB / 15857MiB
https://bugs.winehq.org/show_bug.cgi?id=48289
--- Comment #21 from Paul Gofman gofmanp@gmail.com --- (In reply to houdas.rodolphe from comment #20)
Using proton-ge-custom
Proton, custom builds and user support questions in general are offtopic here. As far as I am aware, the related discussion is going here: https://github.com/ValveSoftware/Proton/issues/37
Wine user support questions are usually discussed here: https://forum.winehq.org/viewforum.php?f=2&sid=7ddd908c32bcd9d42314f3f80...
It looks wise to keep the bug report clean for keeping bug related information only. It is getting hard to use it for the original purpose very quickly otherwise.
https://bugs.winehq.org/show_bug.cgi?id=48289
--- Comment #22 from houdas.rodolphe@gmail.com --- (In reply to Paul Gofman from comment #21)
(In reply to houdas.rodolphe from comment #20)
Using proton-ge-custom
Proton, custom builds and user support questions in general are offtopic here. As far as I am aware, the related discussion is going here: https://github.com/ValveSoftware/Proton/issues/37
Wine user support questions are usually discussed here: https://forum.winehq.org/viewforum. php?f=2&sid=7ddd908c32bcd9d42314f3f80a0a18d7
It looks wise to keep the bug report clean for keeping bug related information only. It is getting hard to use it for the original purpose very quickly otherwise.
Thank you for the response. I thought it was the good place because of the above comments... I'll make sure to report it where it should.
https://bugs.winehq.org/show_bug.cgi?id=48289
hswhite@protonmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|hswhite@protonmail.com |
https://bugs.winehq.org/show_bug.cgi?id=48289
--- Comment #23 from Paul Gofman gofmanp@gmail.com --- This should be fixed upstream by https://source.winehq.org/git/wine.git/commit/34e64876b271f7c2b7ebc474030dbd...
https://bugs.winehq.org/show_bug.cgi?id=48289
Matteo Bruni matteo.mystral@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Component|-unknown |ntdll Status|NEW |RESOLVED Summary|Grand Theft Auto 5 crashes |Grand Theft Auto 5 crashes |after loading. |after loading (GTA5 expects | |Vista+ PEB_LDR_DATA | |structure fields) Fixed by SHA1| |34e64876b271f7c2b7ebc474030 | |dbd4b8de322fd
--- Comment #24 from Matteo Bruni matteo.mystral@gmail.com --- (In reply to Paul Gofman from comment #23)
This should be fixed upstream by https://source.winehq.org/git/wine.git/commit/ 34e64876b271f7c2b7ebc474030dbd4b8de322fd
https://bugs.winehq.org/show_bug.cgi?id=48289
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #25 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 5.9.