https://bugs.winehq.org/show_bug.cgi?id=46940
Bug ID: 46940 Summary: GTA 5 clients cannot connect to each other behind home router Product: Wine Version: 4.5 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: electrodexsnet@gmail.com Distribution: ---
When the game is running, it seems to be unable to do anything that requires the ability to host a direct connection. In most circumstances this is not noticeable as the game will fall back to using rockstar servers when direct is not available.
However, if you have multiple players behind the same home router, they will experience symptoms of this issue, as the game expects to be able to use p2p/direct connectivity between clients on a home network.
This includes:
* Inability to join an invite-only or friend-only session hosted by either
* Inability to join a public (or hosted by another player) session if either player is already in it; as soon as one connects, the other cannot join, and vice-versa. This can be worked around consistently by disabling UPnP on the home router. Workaround only works for joining public sessions.
* Inability to join a heist hosted by either (even when started from a public or 3rd-party hosted session)
These were tested and confirmed with 4 accounts at 4 computers at 2 locations. Tested with respective firewalls enabled/disabled. Players at different locations could connect to each other without issue; players at the same location could not.
This issue does not manifest if one of the computers is Windows [tested W10 build 1803]. It can join or be joined to local friend-only/private sessions as you'd expect.
====Steps used to produce logs (on Majaro Linux)====
(Did steps on 2 computers running separate instances of GTA 5)
sudo pacman -S --needed --noconfirm wine-staging wine-mono wine_gecko winetricks lib32-gtk3 lib32-mpg123 mpg123 yay WINEPREFIX=~/.wine_vulkan winetricks -q allfonts steam yay -S --noconfirm dxvk-bin WINEPREFIX=~/.wine_vulkan setup_dxvk install WINEDLLOVERRIDES=winedbg.exe=d WINEPREFIX=~/.wine_vulkan wine Steam.exe
Launch game in Story Mode, then launch a Friend-only Online session. Once both are at this point, try connecting either of them to the other.
GTA On-screen Messages: Alert: Getting GTA Online session details Alert: Unable to connect to game session.
========================
This affects both wine and wine-staging, but I could not get logs from vanilla wine as GTA 5 in recent versions does not get past the socialclub launcher.
This also affects Proton. I've limited the logs scope to just wine for this report, but you can find the related Proton reports here: https://github.com/ValveSoftware/Proton/issues/37#issuecomment-445510575 https://github.com/ValveSoftware/Proton/issues/37#issuecomment-478411346