ValveSoftware / Proton

Compatibility tool for Steam Play based on Wine and additional components
Other
23.87k stars 1.04k forks source link

Network connection not working inside Steam Play games (440900 874240 232910 381210 232090) #162

Open vampywiz17 opened 6 years ago

vampywiz17 commented 6 years ago

Hello there,

I try to start some games (Conan Exiles, Mu legends) but i recognize that it not working, because the game can not able to connect to the internet.

The games, that need internet connection, is not working?

Exagone313 commented 6 years ago

I tried the game Creativerse (not a supported game either), and while I had graphical glitches on the menu (and in-game not working), it could connect without issue.

pilith commented 6 years ago

Metal Gear solid V is giving me a "server not reachable" error when trying to start.

Loooooouuuuu commented 6 years ago

Same problem with Trackmania2 Stadium and Dead By Daylight. TM2Stadium is telling me "http error 12 157"

ChrisJAllan commented 6 years ago

Possibly related, in Killing Floor 2, none of the player progress appears and the game crashes after being on the server browser for a few seconds.

rdlf4 commented 6 years ago

I can confirm I have the same issues when playing HELLDIVERS and Super Street Fighter IV Arcade Edition. SSFIVAE doesn't mention any network error messages and tricks me into thinking everything is just fine. But when looking for a match online it gives me a 'no match found' message 2 seconds after I hit search, which is NOT true. I then proceeded to boot into Windows, launched the game and the matches were there. Back to Linux Mint, HELLDIVERS gives me a message saying it couldn't connect to Steam server right away.

rdlf4 commented 6 years ago

I've bought Far Cry 3 thinking it'd be fine to play the game, totally ignoring the warnings about Uplay. Now, Uplay requires a one-time login in order to open the game, but it won't work because network connection is an issue. No matter what I do, it won't let me in, as it won't log me in. Really frustrating. Hard to think why they let it pass with no working network TBH. So yeah, this does affect FAR CRY 3 as well. I wonder how long this will take to remedy the situation.

Zeioth commented 6 years ago

I can confirm the network work fine in Street Fighter IV and all its variants, and I'm able to find online matches and play them normally.

mijofa commented 6 years ago

I'm having this same issue with TrackMania² Stadium, I first noticed this problem while trying to get some non-Steam games working in Proton, but I've confirmed I'm getting the same issue with TrackMania² Stadium so it's not just me doing something wrong. I'm having trouble confirming this suspicion, but I get the feeling that web protocols (http/https) seem to work just fine but anything on non-standard ports seems to just not even appear in a local tcpdump report. These same apps seem to actually work fine running my local Wine install using Proton's WINEPREFIX, so this is definitely isolated to a Proton issue rather than the games/apps themselves, and likely isn't an issue in my environment.

vanyasem commented 6 years ago

I am able to play GTA V Online (271590) just fine, but Allods Online (RU) (381640) fails to connect to the Internet. I have gnutls installed on my system (both 32-bit and 64-bit)

Farenjihn commented 6 years ago

I am experiencing the same problem as pilith when trying to run MGSV: TPP on Archlinux.

With the steam runtime disabled, the logs indicate: err:winediag:schan_imp_init Failed to load libgnutls, secure connections will not be available when trying to GET / on an EC2 instance through HTTPS for some denuvo check.

Enabling the steam runtime resolves the problem so it may to be some kind of binary compatibility issue with gnutls as both the 32 and 64 bit libraries are installed on my machine.

mijofa commented 6 years ago

What do you mean by enable/disable the steam runtime? It doesn't seem to make a difference to me whether I'm running it with 'proton run' or whether I set the WINEPREFIX and run it myself.

I've confirmed that HTTPS is the problem for me, on mine and I get this error when I crank the WINEDEBUG up to "+all:-trace" via /tmp/proton_user/run

0046:err:winediag:schan_imp_init Failed to load libgnutls, secure connections will not be available.

I definitely have libgnutls installed for both i386 & amd64:

$ dpkg -l libgnutls30 ii libgnutls30:amd64 3.5.8-5+deb9u3 amd64 GNU TLS library - main runtime library ii libgnutls30:i386 3.5.8-5+deb9u3 i386 GNU TLS library - main runtime library

I also tried copying the libgnutls files from /usr/lib//libgnutls.so.30 to ~/.steam/.../Proton 3.7 Beta/dist/lib*/ and that didn't make any difference at all.

Googling around I found this Solos issue, note I'm not running Solos but it seems to be the same issue. Looks like they found the issue was the the older version of Wine did not support the newer version of libgnutls, perhaps Proton hasn't merged in the necessary Wine patches? Tonight I'll see if I can install a downgraded version of libgnutls, and see if Proton supports that better. I note that SteamOS's Alchemist repos have only libgnutls26, so that's the version I'll be trying out tonight.

themayarose commented 6 years ago

Hi, it seems Proton expects a libgnutls.so.26, and not a libgnutls.so. I was able to remove all gnutls warnings symlinking /usr/lib{32,}/libgnutls.so to /usr/lib{32,}/libgnutls.so.26, even it being the 3.5 version of the library, and running Steam with runtime off (see #74). It didn't help run the game I was trying to run, but it did fix gnutls errors.

mijofa commented 6 years ago

Ah, that's much easier than my approach, I installed libgnutls26 from the Alchemist repos on my Debian Stretch desktop (I do not recommend this approach!) and that made iexplore.exe work with a https URL, I haven't yet tested any games.

$ dpkg -l libgnutls*
ii  libgnutls26:amd64  2.12.20-8+steamos1+deb7u2+bs  amd64  GNU TLS library - runtime library
ii  libgnutls26:i386   2.12.20-8+steamos1+deb7u2+bs  i386   GNU TLS library - runtime library
ii  libgnutls30:amd64  3.5.8-5+deb9u3                amd64  GNU TLS library - main runtime library
ii  libgnutls30:i386   3.5.8-5+deb9u3                i386   GNU TLS library - main runtime library

But I got a few validation errors, I think it was algorithms not supported by libgnutls26, so I took your approach and symlinked "/usr/lib//libgnutls.so.30" to "$HOME/.steam/steam/steamapps/common/Proton 3.7 Beta/dist/lib/libgnutls.so.26" and that worked even better (after uninstall libgnutls26). I would definitely recommend only creating that symlink in Proton's lib directories rather than doing it for your entire system, although that does have the downside that you might need to redo the fix for future updates of Proton. However I think this is something that should be fixed in Proton, so hopefully we won't need this workaround for very long anyway.

dubigrasu commented 6 years ago

Anyone having this issue tried Proton 3.7-4 Beta? I had this issue myself with a number of games, but switching to 3.7-4 beta all seem OK.

rdlf4 commented 6 years ago

@dubigrasu You mean that after switching to 3.7-4 beta, "all of your games" not only get past "any" DRM, but also connect to the internet? Haven't you messed with Wine or patched it yourself?

dubigrasu commented 6 years ago

@rdlf4 The one I'm playing now (Alice Madness Returns) required connecting to Origin for registration, and with 3.7.3 I had a error message stating that my PC is not connected to the internet. After switching to 3.7-4 beta, the error message is gone and I could enter my EA email and password. The same with some other games, forgot which ones. I didn't tried "all of my games", just a few. Edit: I haven't modified the Proton installation.

mijofa commented 6 years ago

Using Proton 3.7-4 Beta without the libgnutls.so.26 symlink did not fix the issue with iexplore.exe not being able to do https. However I've just found that the libgnutls.so.26 symlink doesn't fix TrackMania² Stadium not being able to log in either, so while that is certainly a problem, I'm not so sure it's the main problem here. EDIT/UPDATE: Oh wait, I tell a lie, Steam is not updating Proton when I tell it to use 3.7-4, hmmm, gonna try deleting all of Proton and start again EDIT/UPDATE2: So Steam won't update my Proton install, and I'm not sure how to force it to do so, I deleted the Proton directory, and then on relaunching a Windows game it just pulls down the same version again and the Proton Python script says "CURRENT_PREFIX_VERSION="3.7-2" " despite my configuring the Steam settings to use only 3.7-4.

vanyasem commented 6 years ago

Proton Python script always says 3.7-2. It's hardcoded, it doesn't mean that you're not using the Beta vesrion. I removed the "Proton 3.7" folder and only left "Proton 3.7 Beta" to be completely sure I'm running the Beta version.

You can see that the wineprefix is being updated on first launch: wine: configuration in '/mnt/antihype/SteamLinux/steamapps/compatdata/ID/pfx' has been updated.

The issue with trackmania was in fact fixed. 20180828142658_1

mijofa commented 6 years ago

Ah ok, well I definitely have "3.7 Beta" so I guess I've probably got 3.7-4, and that did not solve the libgnutls issue on its own, I had to also do the symlink 26->30 mentioned above.

rdlf4 commented 6 years ago

For those of you who managed to simlink and made it so that your game does connect to the internet, could you try it with Far Cry 3? I'm curious whether this works or not with Uplay.

mijofa commented 6 years ago

I've still been having trouble even with the symlink, it's like now things work somewhat, but not everything all the time. Problem is I'm not getting any useful debug output (with WINEDEBUG="+all:-trace") so I haven't been able to narrow it down any further.

beniwtv commented 6 years ago

With the symlink Wine Internet Explorer seems to load https pages just fine. But Uplay unfortunately still thinks it's offline - it can however update itself :/

I also compiled my own Proton version with GnuTLS 2.8 and a wine patch for Uplay, no dice. So there must be more patches in Wine needed for Uplay to work.

I guess unless Proton is rebased on a new Wine version, Uplay won't work.

thomas15v commented 6 years ago

Same issue for game 310380 (fractured space). The launcher (what is most likely loading a web-page) shows a blank screen, launching the game with -autostart results in to an offline mode like game.

Kiwii commented 6 years ago

Neither symlinking libgnutls.so nor switching to Proton 3.7 beta seems to fix perk progression being unavailable in Killing Floor 2 (232090) and the game also still freezes in the server browser.

blah238 commented 6 years ago

Unable to log in to Tribes: Ascend (AppId 17080) with Proton 3.7-5 Beta, says it can't connect to the login server. TrackMania 2 Stadium works fine though.

daniel-fanjul-alcuten commented 6 years ago

Proton 3.7-5 Beta and symlink 26->30 in Ubuntu 18.04.1 LTS does not make Conan Exiles (440900) validate it is online. It plays fine offline.

ghost commented 6 years ago

I'm having this issue with Metal Gear Solid V: The Phantom Pain.

Attempting to run the game, it complains that "the server is not reachable, check your internet connection". If I try launching the game with Steam in offline mode (or by unplugging my ethernet) as a way to potentially work around this, it states that "Steam is currently in offline mode, for the first launch go in online mode". Tried with both 3.7-3 and 3.7-6 to the same result.

Blayyke commented 6 years ago

Trackmania2 works for me only under steam-runtime, not steam-native.

Xeers commented 5 years ago

Reborn OS (Arch Linux) AMD FX, Nvidia Geforce GTX 950 Proton Beta 3.7-4/5/6

Metal Gear Solid V: The Phantom Pain. "server not reachable"

recke96 commented 5 years ago

I have the same issue with NieR:Automata (Denuvo?) on Linux 4.18.6-arch1-1-ARCH x86_64 with an Intel i7-7700K and an Zotac GTX 1080 AMP Extreme with Proton 3.7-3.

nier_failure

Also when clicking "next" in the dialog a browser-window should open but all I get is an empty window-frame that closes so fast I can't screenshot it

Zeioth commented 5 years ago

Quake Champions is also experiencing connectivity issues only on proton #225

mijofa commented 5 years ago

Guessing no one's had any real movement with this one in a while? I haven't been able to figure anything out since symlinking libgnutls made iexplore.exe work, which just made the problem harder to test & debug but didn't seem to actually fix the problem with any game launchers.

alley-oop commented 5 years ago

On which version of wine is based Proton? I found these 2 related fixes.

https://bugs.winehq.org/show_bug.cgi?id=40271 https://bugs.winehq.org/show_bug.cgi?id=41652

ChrisJAllan commented 5 years ago

Bugs fixed in 3.9 and 3.15, Proton is based on 3.7. That might me it.

beniwtv commented 5 years ago

If I have time this weekend I might just try to compile Proton again with that additional patch that was in 3.9. (Already applied the other patch, but that did not help completely).

alley-oop commented 5 years ago

Any news guys? On which wine will be based the next proton version? does Valve has a channel to communicate these changes?

ChrisJAllan commented 5 years ago

I built Proton natively on my Arch system without using the Steam runtime or any changes to Wine and was able to get Killing Floor 2 progress to sync, but nothing else worked. Conan Exiles would crash on the server browser and Dawn of War: Soulstorm (which works fine normally) wouldn't even start, so it wasn't exactly a usable solution.

TheJackiMonster commented 5 years ago

Just wow, creating a symlink from /usr/lib/libgnutls.so.26 to /usr/lib/libgnutls.so just worked... I could not start Nier Automata before.. Valve should definitly find a automatic solution for this checking different versions for the necessary libraries and trying to use them - especially newer versions.

Kiwii commented 5 years ago

I built Proton natively on my Arch system without using the Steam runtime or any changes to Wine and was able to get Killing Floor 2 progress to sync, but nothing else worked.

KF2's issue seems to have been fixed by Valve themselves. It's working with the 3.7-6 Beta Proton shipped in the client. Also some people's screwed up perk stats got manually reverted. Seems to have been an unrelated issue after all.

recke96 commented 5 years ago

Little Update from my side: Today I switched from a cable connection to WLAN and the game starts correctly. Don't know why or how...

recke96 commented 5 years ago

Little Update from my side: Today I switched from a cable connection to WLAN and the game starts correctly. Don't know why or how...

recke96 commented 5 years ago

Little Update from my side: Today I switched from a cable connection to WLAN and the game starts correctly. Don't know why or how...

daniel-fanjul-alcuten commented 5 years ago

I do not confirm, Conan Exiles with WLAN on & wired off:

SNK-ChamCham commented 5 years ago

Dragon Quest XI cannot connect to server. Was working perfectly before last update.

screenshot_20180924_152617

Edit: Fixed with symlinking "/usr/lib//libgnutls.so.30.14.11" to "$HOME/.steam/steam/steamapps/common/Proton 3.7/dist/lib/libgnutls.so.26

Thanks @mijofa

Zeioth commented 5 years ago

Worked for me too (on arch):

sudo ln -s /usr/lib/libgnutls.so.30.14.11 /usr/lib/libgnutls.so.26

You'll need to replace '30.14.11' in the command for your highest avaliable version. You can check it with the command:

cd /usr/lib/ && ls | grep libgnutls.so

On Ubuntu the lib directory is on a different place, so, run this instead:

sudo ln -s /usr/lib/i386-linux-gnu/libgnutls.so.30.14.10 /usr/lib/i386-linux-gnu/libgnutls.so.26
sudo ln -s /usr/lib/x86_64-linux-gnu/i386-linux-gnu/libgnutls.so.30.14.10 /usr/lib/x86_64-linux-gnu/libgnutls.so.26

THIS POST REQUIRES ATTENTION FROM THE DEVELOPERS -> FIXES CRITICAL BUG

tingvarsson commented 5 years ago

That's not a fix, it's a dirty workaround. And how the solution is done it is rather a fix on the Distro side than on Steam/Proton side. However steam-runtime should be able to overload with their own version of the lib I would imagine, but no expert in the area. Even if possibly it might break other things (which is the general concern when replacing versions like this.. the version number is supposed to protect against changes in API/ABI). In that case there would be no need to touch system installed libs.

mijofa commented 5 years ago

I agree there, I reckon the issue is actually that Steam's runtime doesn't include the relevant version of libgnutls, the version that Proton is compiled against isn't that big a deal. I am certainly nervous about just symlinking these files around as it's the "wrong" solution, but I'm ok with it for now purely because I expect Valve to fix this better... eventually

tingvarsson commented 5 years ago

@mijofa Looked some at my runtime:

./.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgnutls.so.26
./.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgnutls.so.26.21.8
./.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libgnutls.so.26
./.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libgnutls.so.26.21.8

So steam-runtime do provide rev 26, the rev asked for if I understand previous posts. If so the issue is rather that Proton/wine is not provided with the steam-runtime libs when run. Not sure if the intended solution is to provide the libs under Proton/dist/lib as someone mentioned above or if it is some mech within Proton or the steam client that needs adjustment. (if the later it should be moved to https://github.com/ValveSoftware/steam-for-linux instead)

That it want just rev 26 is perhaps not strange if their wine version is built with a steam-runtime as chroot and that is provided then. The issues is not seen for anyone using vanilla wine as it is probably built towards latest greatest that people have installed (rev 30).

beniwtv commented 5 years ago

The problem is, symlinking doesn't help in all cases. For example Uplay will still not work with that workaround. For a proper solution, some patches to Proton's Wine are required, or the version must be updated to 3.15+.

On 01.10.2018 09:11, Thomas Ingvarsson wrote:

@mijofa [1] Looked some at my runtime:

./.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgnutls.so.26 ./.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgnutls.so.26.21.8 ./.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libgnutls.so.26 ./.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libgnutls.so.26.21.8

So steam-runtime do provide rev 26, the rev asked for if I understand previous posts. If so the issue is rather that Proton/wine is not provided with the steam-runtime libs when run. Not sure if the intended solution is to provide the libs under Proton/dist/lib as someone mentioned above or if it is some mech within Proton or the steam client that needs adjustment. (if the later it should be moved to https://github.com/ValveSoftware/steam-for-linux instead)

That it want just rev 26 is perhaps not strange if their wine version is built with a steam-runtime as chroot and that is provided then. The issues is not seen for anyone using vanilla wine as it is probably built towards latest greatest that people have installed (rev 30).

-- You are receiving this because you commented. Reply to this email directly, view it on GitHub [2], or mute the thread [3].

Links:

[1] https://github.com/mijofa [2] https://github.com/ValveSoftware/Proton/issues/162#issuecomment-425809674 [3] https://github.com/notifications/unsubscribe-auth/ABVg8CmOwDZix8KwGt4E5EYE2xsJ4g30ks5ugcAmgaJpZM4WIZf9

tingvarsson commented 5 years ago

@beniwtv that may very well be true, but don't think 3.15+ will fix this lib. So both issues are most likely needed to be solved.