ValveSoftware / Proton

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

Rust (252490) #3104

Open Lyle-Tafoya opened 5 years ago

Lyle-Tafoya commented 5 years ago

Compatibility Report

System Information

I confirm:

steam-252490.log

Symptoms

There are several problems with this game when run via Proton.

  1. EAC doesn't work. I won't elaborate on that because it's a well known issue that impacts far more than Rust.
  2. The title screen videos do not play.
  3. In-game server browser causes the game to freeze. This issue does not occur when using Wine to run the game in Steam for Windows. Only when using Proton from native Steam.
  4. Upon exiting the game, it's process usually remains running in the background until killed with a task manager.

Despite all these problems, once a person manages to get in-game, it works quite well (better than the native version ever did for me).

Reproduction

  1. Launch Rust with Proton (any version other than 3.7, which seems to fail to connect to steam's services).
  2. You should now be looking at the main menu. There is supposed to be a video playing here, but there isn't. If you hit F1 to bring up the in-game console, you will see a debug message saying that it's loading the video. Clearly something went wrong after that point. 3a. Click on "Play Game". The game will now crash. 3b. Alternatively, click on "Quit". The game will hang for a short while, but eventually the window should disappear.
  3. Look in your task manager for "Rust.exe". This process will continue to run until it is forceably terminated.
lucifertdark commented 5 years ago

deleted as not relevant to the report, apologies.

BloodyIron commented 4 years ago

The recent iterations of Proton, 4.11-11 and 4.11-10 (maybe 4.11-9? unsure) have lead to a lot of Rust crashing but not actually killing the process. I've had to forcefully kill all STEAM processes and all Rust processes, then relaunch, multiple times, just to be able to play and connect.

Furthermore, the 4.11-11 and 4.11-10 branch have drastically reduced my performance vs 4.11-9, as I have a lot of frame stuttering and frame rate drop now. I wish I could enable the 4.11-9 beta branch again just to go back to reliable performance, but that was recently disabled with 4.11-11's release.

4.11-10 and 4.11-11 should have had their own version bump, I dunno... 4.12 maybe? So those of us could use either 4.11 or the new DXVK/etc improvements in the "4.12" so to say.

Lyle-Tafoya commented 4 years ago

As of today's Rust update, Proton is no longer able to be used to play this game. It gets stuck on the EAC splash screen. Before this update, it would proceed past the EAC splash screen and the game could still be played as long as you connected to a server which does not have EAC enabled. That is no longer the case.

BloodyIron commented 4 years ago

Yeah, it only presents an Exit button for me, and goes nowhere further. Unsure if this intentional by the Jackass that is Gary, or if this is something they're prepared to fix (they being Face Punch).

Was really looking forward to playing wipe day today, but nope! :(

Good thing us Linux gamers helped bank-roll this game years ago and now they just don't care.

Lyle-Tafoya commented 4 years ago

Anyways, the latest issue seems to be resolved after another game update. Another thing worth noting is that the game seems to cleanly exit without problems now.

alex9099 commented 4 years ago

Seems like rust broke on the latest update (boat update)

SFort commented 4 years ago

Can confirm when running steam under wine via Lutris, Rust still works and not only that it seems to fix a crash that used to happen when pushing the "play game" buttion which shows the server list it also fixes rendering issues like epilepsy inducing water, and the X marks being invisable for trees and ores

alex9099 commented 4 years ago

I know it is off-topic but lutris with "regular" wine that you are talking about is literally installing a full windows-version steam? Will it work out of the box or some workarounds are needed

Shall it be installed through this script https://lutris.net/games/rust/ ?

SFort commented 4 years ago

@alex9099 i just did add game (ID: 252490) on the "Wine Steam" runner after installing it (with -no-browser) I don't actually know if that script installs on the Steam or Wine Steam runner and as far as i can tell the Steam runner just calls steam to run the game normaly

kisak-valve commented 4 years ago

Rust (3.9.2020 Update)

Issue transferred from https://github.com/ValveSoftware/Proton/issues/4175. @TheBlackPenguin posted on 2020-09-05T23:46:59:

Compatibility Report

System Information

I confirm:

steam-252490.log

Symptoms

The game worked fine with Proton, but since the latest Rust update, the game crashes while loading. The error.log of the game report an Access Violation by the steam_api64.dll (error.log). The game now only works with a regular wine installation of steam.

Reproduction

Launch Rust with Proton

kisak-valve commented 4 years ago

Hello @TheBlackPenguin, err:steamclient:create_win_interface Don't recognize interface name: SteamUser021 looks like the line of interest from the log. Related: #3886

Cheaterman commented 4 years ago

5.13 seems to crash when joining a server instead of displaying "is Steam running" error (so it gets further).

Proton logs are humongous, how did you get one that was 2.5MB? Mine is 38...

EDIT: Direct link to full log here.

Cheaterman commented 4 years ago

Possibly relevant: https://github.com/ValveSoftware/Proton/issues/4289#issuecomment-720020589

EDIT: Not relevant to the crash, but still seems to make a huge difference in framerate in the menu, so probably still a good idea for 5.13 users.

EDIT2: I've seen many people talking about editing an entrypoint to remove soldier, but I didn't find it last time I checked. If you think it could make a difference, could you explain how to do it kisak (or someone else in the know)? Thanks in advance :-)

plasticbomb1986 commented 3 years ago

Headsup:

Compatibility Report

Name of the game with compatibility issues: RUST Steam AppID of the game: 252490

System Information CPU: AMD Ryzen 3800XT GPU: VEGA64 Driver/LLVM version: MESA 20.2.2 Kernel version: 5.9.8-zen1-1-zen Link to full system information report as Gist: https://gist.github.com/plasticbomb1986/a68256a0ebf6d714fb7a98999cc2d002 Proton version: 5.13.2

Currently the game with proton 5.13-2 is pretty much OOB, except it cant connect to servers with EAC turned on. It does not crash at the server search window, neither to pushing the play button ingame, unlike previously did.

While i was playing for an hour now, it generated an about 100 MB proton log, filled with the same issue, will attach it later.

Synkstar commented 3 years ago

Does anyone know if we can do what they did to fix EAC for squad ? I'm pretty sure the EAC file mentioned is just for that game so I don't really want to try it. Could result in a ban idk. I did try https://github.com/imaami/eac-tools but it didn't load it even when I made it so it cant delete it but only read it. Ex https://github.com/ValveSoftware/Proton/issues/938#issuecomment-655405271 It seems to just have an issue when downloading the EAC file From Loader.log

[2021.01.08-10.46.57] [Connection] Connect result: No error (0) Response Code: 403 Destination IP: 13.226.18.100
[2021.01.08-10.46.57] [HTTP Error Response] HTTP Response Code: 403 Curl Code: 0.
[2021.01.08-10.46.57] Falling back to a secondary CDN path.
[2021.01.08-10.46.57] [Connection] Connecting to URL: https://download-alt.easyanticheat.net/api/v1/games/12/client/wine64/download/?uuid=[REDACTED]
[2021.01.08-10.46.57] Download Progress: 0%.
[2021.01.08-10.46.57] Download Progress: 0%.
[2021.01.08-10.46.57] Download Progress: 0%.
[2021.01.08-10.46.57] Download Progress: 0%.
[2021.01.08-10.46.57] Download Progress: 0%.
[2021.01.08-10.46.57] Download Progress: 0%.
[2021.01.08-10.46.57] Download Progress: 0%.
[2021.01.08-10.46.57] Download Progress: 0%.
[2021.01.08-10.46.57] Download Progress: 0%.
[2021.01.08-10.46.57] Download Progress: 0%.
[2021.01.08-10.46.57] Download Progress: 0%.
[2021.01.08-10.46.57] Download Progress: 0%.
[2021.01.08-10.46.57] Download Progress: 0%.
[2021.01.08-10.46.57] Download Progress: 0%.
[2021.01.08-10.46.57] Download Progress: 0%.
[2021.01.08-10.46.57] Download Progress: 0%.
[2021.01.08-10.46.57] Download Progress: 0%.
[2021.01.08-10.46.57] Download Progress: 0%.
[2021.01.08-10.46.57] Download Progress: 0%.
[2021.01.08-10.46.57] Download Progress: 0%.
[2021.01.08-10.46.57] Download Progress: 0%.
[2021.01.08-10.46.57] Download Progress: 0%.
[2021.01.08-10.46.57] Download Progress: 0%.
[2021.01.08-10.46.57] Download Progress: 0%.
[2021.01.08-10.46.57] Download Progress: 0%.
[2021.01.08-10.46.57] Download Progress: 0%.
[2021.01.08-10.46.57] Download Progress: 0%.
[2021.01.08-10.46.57] Download Progress: 0%.
[2021.01.08-10.46.57] Download Progress: 0%.
[2021.01.08-10.46.57] Download Progress: 0%.
[2021.01.08-10.46.57] Download Progress: 0%.
[2021.01.08-10.46.57] Download Progress: 0%.
[2021.01.08-10.46.57] [Connection] Connect result: SSL connect error (35) Response Code: 0 Destination IP: 172.67.156.223
[2021.01.08-10.46.57] Connection to the Content Distribution Network failed! Curl Code: 35.
[2021.01.08-10.46.57] [EAC Callback] Code 901. Message: 'Connection to the Content Distribution Network failed! Curl Code: 35.'.
Eric1212 commented 3 years ago

I've posted "Load.... & Crash" (Currently pending) on protondb. Just want to point out that it's appear the same issue as described by https://www.protondb.com/users/2044252607 & https://www.protondb.com/users/1749720343 .

So sad for a game that i remindber buyed as native linux. Hope to play this game again this year. <3

DrymarchonShaun commented 3 years ago

Does anyone know if we can do what they did to fix EAC for squad ? I'm pretty sure the EAC file mentioned is just for that game so I don't really want to try it. Could result in a ban idk. I did try https://github.com/imaami/eac-tools but it didn't load it even when I made it so it cant delete it but only read it. Ex #938 (comment) It seems to just have an issue when downloading the EAC file

I think its that the file just doesn't exist. if you switch out the 12 in that link it gives with 55 (Squad's ID) and paste it in your browser, it downloads.

Synkstar commented 3 years ago

It actually download the eac file using eac tools which is strange. It seems like the game devs would have to add support for it like squad did unless you can get the full windows version to run some how.

Off-topic content

But like about rust why tf does it have macos support and not linux support. Mac sux. Idk why they would rid the native linux version either. Most game engines allow you to develop for multiple os's easily. But the least they can do is add support for proton all they need to fix is the eac like squad did. But yeah the error code is a missing file so all they would have to do is add it then it would work. Full EAC and everything. EAC is crap anyways 2bh. Like most cheats could be blocked with a hardened server side that doesn't allow you to fly or do anything fishy and maybe just a server side anti cheat instead of an invasive client side one. But to be fair to the developers this is pretty hard to do unless you were designing it like that from the ground up because they would have to go through the whole server side code. People still bypass EAC either way. Best way is a hardened server side with a server side AI based anti cheat to detect aimbot and ESP. Its really hard to stop all cheaters its a cat and mouse game really. A little personal rant about Linux: The design of Linux is better than windows all its missing is a user base like windows has and that will give it more application support because it would make more sense for developers. Linux dominates the server market because it has both. Linux doesn't have to deal with crappy windows updates. Programs can be all updated at the same time by your package manager but on windows you have to update them all separately. On Linux you don't have to wait for the updates when you boot the computer all you need to reboot for is to load a new kernel which doesn't take time. The Linux network stack is way better than windows networking. Can windows filter millions of packets per second and be used on routers viably ? Linux also has more robust options for file systems too. It would also be benificial to game streaming providers as linux is more scalable than having to spin up a bunch of windows vms. There is also too many more benifits that I cant mention. All we need is a main stream Linux distro with a user base and application support. That doesn't require using the terminal at all for the noobs which would give it the application support for power users that like using the terminal and the beauty of Linux. Macos is the closest example of this(as its based off of Unix too and has good application support. Still not a Linux distro though) but we want this to be more popular than windows. I also think opensource and privacy should be a law and the default. No more of these big companies monitoring you like lab rats and brain washing you with propaganda and targeted ads. I hate people sometimes 2bh. This would cause the end of having to use wine/proton and other hacky things too.

Synkstar commented 3 years ago

But that file has to be corrupt or something. The one I got from eac tools is only 152kb and the one for squad is 4mb

SaladinAyyub commented 3 years ago

The issue was closed instantly be Garry Newman I contacted them too but they simply closed the ticket there too..

DrymarchonShaun commented 3 years ago

It actually download the eac file using eac tools which is strange. It seems like the game devs would have to add support for it like squad did unless you can get the full windows version to run some how.

You are sure? Mine doesn't download anything.

Synkstar commented 3 years ago

Yeah it did for me which is strange. But like I think the devs would have to enable it. They probably have the wine64 version of EAC disabled. Idk I never made a game or used EAC before. It would probably just take enabling it because EAC is like a simple drop in anti cheat for game developers.

Synkstar commented 3 years ago

@jatin-cbs Where did you contact them before ? Did you use the submit a request thing on their website ?

SaladinAyyub commented 3 years ago

@Synkstar Yes I used submit request on their website and also on Steam Discussions..

Synkstar commented 3 years ago

What about this: https://rust.nolt.io/ post it as like a public suggestion and get a bunch of linux users to flock to it. Well we need to get a voice of linux users.

BloodyIron commented 3 years ago

Do you guys really think Gary is going to change his mind about supporting Linux? If he was going to, he would have a year or two ago. Nowhere near enough people read this thread, let alone will post there, to convince him to change his mind.

I'd love to be wrong, but you need to actually pay attention to his behaviour in the year-ish lead up time before they removed Linux support. He was very very toxic to the Linux community, blaming them/us for things that was clearly his fault (not even testing code, for example).

Synkstar commented 3 years ago

@BloodyIron idk its worth a try but that is very true. The only difference with this is im pretty sure the wine64 version of eac would just need to be enabled which would take like 30 secs or less. It is definitely there as EAC responds with a 403 which means forbidden. Correct me if im wrong.... The rust server does support linux but it uses mono

BloodyIron commented 3 years ago

It would be a glorious day if we could convince Gary to change his mind. I would rather play Rust natively. Please, prove me wrong if you're reading this! Don't let me dissuade anyone from getting passionate about this and changing the world. I'm just trying to remind us what has happened, and it's actually more than I've said.

Rust was native on Linux (as a client) for the majority of the game's history. I for one was exceptionally frustrated to hear it lose native support on Linux, as I've had plenty of fun in the year+ before that happened (apart from the roll-out of Vulkan, which broke the game on Linux for 3 months for 100% of Linux gamers).

I'm not so sure if enabling EAC64 is the easy solution here, but if you want to try to convince Gary to change that, maybe not use the word Linux when engaging him/Facepunch?

One thing I would like to add is the people involved with getting EAC (Windows version) and other such things working through Wine, that effort is still being worked on. I do not represent them, just to be clear, but that is an avenue that could address this (when, maybe this year).

Either way, if Rust was playable on Linux again, on EAC servers, without any fuss, muss, or whatever. I'd play!

TheBlackPenguin commented 3 years ago

Rust is working again on NON EAC Servers with latest Proton out of the box. If you want to play with other linux users there is a friendly server with a good active admin, you can connect via the F1 console with: connect play.deadlock.com:1333 (around 40 players play here lately). Honestly i don't have any hope in Garry and Facepunch, they will never do anything for Linux: https://www.reddit.com/r/linux_gaming/comments/43263f/garry_newman_regrets_supporting_linux_if_i_could/. And don't have any hope in EAC too that is now owned by Epic Games so supporting Proton means supporting Steam/Valve and they don't want that. My only hope and trust is in Valve, that i think should improve/make a new Valve Anti-Cheat that could be a new better alternative to EAC and friends.

kisak-valve commented 3 years ago

EAC on Rust

Issue transferred from https://github.com/ValveSoftware/Proton/issues/4624. @davidaamesjr posted on 2021-02-17T02:15:00:

Just curious if there are any resolutions on the EAC not working for Rust on Proton.. requested a refund and I'm only played 3 hours on a windows box but cannot connect to servers on Linux.. main PC is linux, deleted windows anyway now.,, they are denying my refund request over and over again and wont forward me to a supervisor or manager or anything... really either want my money back or for it to work.. lol. Thanks.

<Blank compatibility report template omitted>

Cheaterman commented 3 years ago

Rust seems to blow up with the latest update.

See attached PROTON_LOG=1 session log.

steam-252490.log

kisak-valve commented 3 years ago

Proton 6.3-4 DirectX 11 won't install for Rust

Issue transferred from https://github.com/ValveSoftware/Proton/issues/4887. @EscapedAI posted on 2021-06-06T14:28:18:

Compatibility Report

System Information

Vulkan and 32-bit is enabled, I used this guide for my drivers, which is more detailed than your guide.

I confirm:

steam-252490.log

Symptoms

When running Rust, it will either not try or will get stuck half way with installing DirectX 11

DirectX-hangs

Reproduction

I am not sure how to reproduce this. It seems to possibly be specific to my system.

Rust worked on Proton 5.13-6 three months ago but for Linux gamers only 6.3-4 works now and that won't install Dx11 for me.

I have:

kisak-valve commented 3 years ago

Hello @EscapedAI, just to check, does it get further if you try to run the game first with Proton 5.13, let it finish the first time setup, then set it to use Proton 6.3 after that completes or does the DirectX redist installer stall infinitely with Proton 5.13 as well?

EscapedAI commented 3 years ago

Proton:

lsteamclient.dll caused an Access Violation (0xc0000005) in module lsteamclient.dll at 0033:8d3ab65c.

(I have also tried PROTON_USE_WINED3D=1 %command% without success.)

Screenshots ![2021-06-06-163813_394x238_scrot](https://user-images.githubusercontent.com/85445538/120930859-fe877500-c6e6-11eb-9de4-a1dfc8fac26c.png) ![2021-06-06-164335_388x224_scrot](https://user-images.githubusercontent.com/85445538/120930861-00e9cf00-c6e7-11eb-969c-d58908efc00a.png) ![2021-06-06-163611_384x240_scrot](https://user-images.githubusercontent.com/85445538/120930864-03e4bf80-c6e7-11eb-823d-fd12fd26178c.png) ![2021-06-06-163522_384x240_scrot](https://user-images.githubusercontent.com/85445538/120930867-07784680-c6e7-11eb-8848-878b564e503a.png) ![2021-06-06-165100_2560x1440_scrot](https://user-images.githubusercontent.com/85445538/120930995-94bb9b00-c6e7-11eb-89cc-04d8c92dbd1c.png)
EscapedAI commented 3 years ago

The recent update fixed my problems. Thank you!

BloodyIron commented 3 years ago

@EscapedAI are you able to play on EAC servers? o.O!?!

EscapedAI commented 3 years ago

@EscapedAI are you able to play on EAC servers? o.O!?!

No, there is a community one and I might start one without EAC for my friends.

turowicz commented 3 years ago

Ubuntu 21.10 with Proton 6.3-6: Rust and EAC start OK without any need for tweaking, but I can't join official servers due to EAC auth timeout.

GloriousEggroll commented 2 years ago

Game needs WINE_DO_NOT_CREATE_DXGI_DEVICE_MANAGER=1 %command% with experimental for videos to not be broken/tinted pink

Zorrototo commented 2 years ago

Nice I just installed this game again today to check for EAC support (no support yet) and was wondering what the problem was :+1:

Synchronicity.

Thanks.

BloodyIron commented 2 years ago

Game needs WINE_DO_NOT_CREATE_DXGI_DEVICE_MANAGER=1 %command% with experimental for videos to not be broken/tinted pink

Confirmed, this fixes the main menu videos for me

poiu477 commented 2 years ago

would be nice for facepunch to respond to this issue..

Zorrototo commented 2 years ago

You mean here? Also to which issue?

poiu477 commented 2 years ago

@Zorrototo uh, well, anywhere really, and specifically supporting EAC under proton.

turowicz commented 2 years ago

I think Facepunch believes it's EAC who are supposed to fix their code running in the proton emulation.

t-leclercq commented 2 years ago

Here's an update tho : https://twitter.com/garrynewman/status/1531235676653510657

kisak-valve commented 1 year ago

Proton games won't launch

Issue transferred from https://github.com/ValveSoftware/steam-for-linux/issues/9808. @waaynee posted on 2023-07-07T08:54:13:

Your system information

Please describe your issue in as much detail as possible:

It seems like the new update broke launching proton games. If you start a game it says 'launching' as shown in the screenshot attached, but it will hang there. Already deleted compatdata as suggested in some reddit threads and tried any newer Proton version including the normal ones an GE. image

Steps for reproducing this issue:

  1. Choose any proton version for you game
  2. Start it
kisak-valve commented 1 year ago

Hello @waaynee, please add PROTON_LOG=1 %command% to the game's launch options and attach the generated $HOME/steam-$APPID.log to this issue report as a file. (Proton logs compress well if needed.) Also, please copy the contents of Steam Runtime Diagnostics from Steam (Steam -> Help -> Steam Runtime Diagnostics) and put it in a gist, then include a link to the gist in this issue report.

njaksch commented 1 year ago

Hello @kisak-valve, thank you for your answer. I uploaded the gist here. Also, I added PROTON_LOG=1 %command% to the launch options but unfortunately there is no steam-252490.log file generated in my home directory. I guess because the game won't launch at all.

kisak-valve commented 1 year ago

Since no log at all is generated, that hints that something went wrong before Proton had a chance to run at all. Skimming over your extended diagnostics information, I suspect you're seeing a symptom of #6809.

Unset MANGOHUD=1 in the environment you run Steam from and see if that has an effect, otherwise, completely close Steam, then run steam from a terminal and check if there's a hint in the terminal spew when you tell Steam to start the game with Proton.