ValveSoftware / Proton

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

ARK: Survival Evolved (346110) #3218

Open Nayr438 opened 4 years ago

Nayr438 commented 4 years ago

Compatibility Report

System Information

I confirm:

Symptoms

Some areas of water don't render. This mostly occurs where the water is supposed to be more clear.

Reproduction

load into the Valguero Map on ARK and look for water sources.

Notes

A Linux version of this game is available however the game is almost unplayable and currently in a much worse state than running the windows version through proton.

steam-346110.log

Nayr438 commented 4 years ago

I just tried loading in using AMDVLK instead of libvulkan_radeon. That fixes the water but causes the shadows in game to become blocky and also comes with a big performance hit. I also tried the AMDGPU-PRO-Vulkan and so far that was the worst out of them all.

kisak-valve commented 4 years ago

Hello @Nayr438, can you check if adding RADV_PERFTEST=llvm %command% to the game's launch options affects the game's rendering behavior?

Nayr438 commented 4 years ago

llvm and aco both have the same issue. llvm just seems to add stutter.

hakzsam commented 4 years ago

Can you upload a screenshot of the problem? Can you also record a capture with renderdoc please?

hakzsam commented 4 years ago

Did you do anything to avoid the "DX11 feature level 10.0 is required to run the engine" popup message?

Nayr438 commented 4 years ago

I never got a error message or did any workarounds. The game just works, apart from battleye.

DXVK with Mesa 11-14-2019_18:39:59

Windows 10 20191114201241_1

renderdoc https://mega.nz/#!eBxUSA4L!ZMDxaSINTSSbKX9p5Wys-hWVrjytyuXZne8lUeMASGE

hakzsam commented 4 years ago

Can you upload your savegame please?

Nayr438 commented 4 years ago

Heres my entire Save Directory containing my Settings and a fresh valguero map (mods / workshop content was disabled) with it saved at that location. I play on unofficial servers. Saved.tar.gz

hakzsam commented 4 years ago

Where should I put this Saved directory ?

Ruedii commented 4 years ago

Everything is functional at gold level (minor graphic artifacts) except BattlEye (which is a separate bug). Should we link the BattlEye bug?

I've noticed some blockey artifacts on distant objects. It seems related to truesky as when I turn the sky quality to off it goes away. Should I file a separate bug report for this?

kisak-valve commented 4 years ago

Hello @Ruedii, we're using one issue report per unofficially supported game, so this is the right place to discuss any issues you see with this game. Also, please copy your system information from Steam (Steam -> Help -> System Information) and put it in a gist, then include a link to the gist in this issue report.

Ruedii commented 4 years ago

Here is my system info.

https://gist.github.com/Ruedii/79c6e6b7b668bbf598b1b8b8e69483f0

As a note, cloning over the Linux quirks profile for ARK in .drirc drastically reduced the artifacts in question from substantial artifacts all along the edges of objects to tiny artifacts on a very small number of object edges.

The quirk in question is "Clear DB Cache before fast depth clear"

They are definitely truesky related as they don't occur at all with truesky off. I am suspecting the particle cloud effects between depth layers. (That effect is so pretty too.)

kisak-valve commented 4 years ago

Hello @Ruedii, are you sure you're testing this game with Proton?

You have to use the per-game override if you want to experiment with Proton on games that have a native linux release. The quirk you've mentioned shouldn't have any effect on a d3d11/dxvk -> radv render path.

Nayr438 commented 4 years ago

@hakzsam, It goes in the ARK ShooterGame Folder eg. steamapps/common/ARK/ShooterGame/Saved/

I haven't personally noticed any artifacts on my particular setup using the Proton version, The linux version however is full of them along with random texture loss, random crashes, and Graphics that haven't been updated since early access.

Ruedii commented 4 years ago

Yes. I think I could tell. The Linux version has barely functioning graphics.

Ruedii commented 4 years ago

I have not experienced the water bug myself. Do people know what map it is on?

Nayr438 commented 4 years ago

Valguero has missing water in some places, The custom map olympus has no water. Water issue occurs using RADV and seems to be the only issue, AMDVLK the water is present but there is blocky lighting and shadows. AMDVLK also has constant stuttering and FPS drops along with its blocky shadows and lighting.

Nayr438 commented 4 years ago

I see protondb reports for ARK with people using other AMD Cards without issues, my issue may be related to NAVI.

hakzsam commented 4 years ago

@Nayr438 Can you please pull your Mesa repo? I wonder if https://gitlab.freedesktop.org/mesa/mesa/commit/f3cccd05d9f6e9d05c18d1a3a5f9eb863e4f264b fixes the water issue for you.

Nayr438 commented 4 years ago

@hakzsam The water issue is fixed.

Ruedii commented 4 years ago

What driver version and proton version are you using?

Also what card?

I have experienced no such issues and I am using RADV under latest Mesa version with an Rx480. I have used both Proton 4.9 and 4.11.

Keep in mind this game defaults to a very broken Linux port. That sounds like an issue more typical of that Linux port, or an old Mesa version. (There was a mesa version that fixed this issue.)

Valguero has missing water in some places, The custom map olympus has no water. Water issue occurs using RADV and seems to be the only issue, AMDVLK the water is present but there is blocky lighting and shadows. AMDVLK also has constant stuttering and FPS drops along with its blocky shadows and lighting.

Nayr438 commented 4 years ago

GPU: AMD Radeon 5700 XT (NAVI10) Driver/LLVM version: 4.5 Mesa 20.0.0-devel (git-525cbe85ef) LLVM 10.0.0 Kernel version: 5.4.6-15linux-tkg-pds-zen2 System Information Gist: https://gist.github.com/Nayr438/7edd0775c30dc932ed0e6bb8a31259d6 Proton version: 4.11-11 Processors: 12 × AMD Ryzen 5 3600 6-Core Processor Memory: 15.6 GiB of RAM

If I use the standard kernels available in Manjaro or Arch 5.3 - 5.5 ARK gives a out of memory error. I thought it was a hardware error since memtest detected a fault. I have since fixed this and the error still occurs. The error does seem to go away when using this custom build of the kernel I found in the Chaotic-AUR linux-tkg-pds-zen2 5.4.6-15 ( https://github.com/Tk-Glitch/PKGBUILDS/tree/master/linux54-tkg ). Using latest Mesa-Git and llvm-git from the Chaotic-AUR, it gets updated like twice a day so I assume its recent. When using linux-tkg-pds-zen2, I do occasionally get a random drop in frames, and it seems to stay low for a couple minutes, then fixes itself. The highest ARK has reached on System memory is 10GB out of 16GB. The crash happens randomly. Sometimes as soon as i load into the main menu, join a server, or start moving around in a map. switching between ACO and LLVM makes no difference and switching proton versions make no difference. I can reproduce this result on Ubuntu, Arch, and Manjaro. This also occurs on both mesa-git with llvm-git, and the standard mesa with llvm that is shipped in the distributions packages.

steam-346110.log

Ran out of memory allocating 1736704 bytes with alignment 0

stevenlafl commented 4 years ago

Will not launch on Proton 5.0-7. I think this is a regression. It works on 4.11-13.

kisak-valve commented 4 years ago

Hello @stevenlafl, please add PROTON_LOG=1 %command% to the game's launch options and drag and drop the generated $HOME/steam-$APPID.log into the comment box. Also, please copy your system information from Steam (Steam -> Help -> System Information) and put it in a gist, then include a link to the gist in this issue report.

jazztickets commented 4 years ago

Anyone else having a problem where the first time you hit Alt, it shows up as NumLock in the game? Numlock on the keyboard isn't actually triggered, the game just interprets it as such the first time. Subsequent presses work. However, if you alt-tab out of the game and come back you have to hit alt twice for it to work. It's slightly annoying since i use it for orbiting the camera and the first time doesn't work.

EDIT: After testing some more, it appears the problem only happens when numlock is turned on.

To test, load up the game, go to the keyboard rebind options menu, click any action then hit alt (left or right). The first time it detects it as NumLock. If you do it again it'll show up correctly as alt.

System info: Arch w/ XFCE 4.14. https://gist.github.com/jazztickets/f07f40cf0896a257b911325fc21f5e1a

I don't have Alt set for any special function in the desktop, and it was working fine in the native linux version of ARK.

DarkArc commented 4 years ago

Doesn't start for me in with either 5.0-9, or 4.11-13 steam-346110.log

I get this when I run with the no battleye option: image

Validated files, 527 were invalid, working now. Sorry

kisak-valve commented 3 years ago

ARK: Survival Evolved - Crystal Isles Map will not start when joining server (works on local single player)

Issue transferred from https://github.com/ValveSoftware/Proton/issues/4203. @rastermann posted on 2020-09-17T16:56:31:

Compatibility Report

System Information

I confirm:

steam-ark-join-crystal-isles-map.log

Symptoms

This issue happens with CrystalIsles map (recently released). IT does not happen with Ragnarok, TheIsland etc. that I have seen. The amdvlk driver works with single player and CrystalIsles. If you use the new ACO compiler in Mesa git, it also works like amdvlk. 20.01 Mesa does not. So this assumes wither amdvlk or Mesa git

Reproduction

Game name and id as above. You will need a game server that doesn't need BattlEye. For example:

Go to Steam -> View -> Servers and "Add a server": IP Address: 195.201.57.56:7780

And "find games on this IP" and then add one of them and close that dialog. Now

Start ARK, then "join game" and select "favorites" at the bottom and select the above server (S2 EliteArk 25x).

It will begin loading and part way through just dump you back into the main menu and not join. It works find for other Maps I have tried. BattlEye does not work so I have not enabled/installed that when prompted. We know that already - another bug, so avoiding that one as above.

Note that if you do not use amdvlk or last mesa with ACO enabled then your system may go down in flames with amdgpu kernel paging request failures and the entire display stack dies with a GPU reset. That is a separate issue and already solved by ACO or amdvlk, but if you hit this issue the above solutions (ACO shader compiler for AMD cards in git master or amdvlk) will solve the problem.

kisak-valve commented 3 years ago

Hello @rastermann, it may be worthwhile to also mention your experience to your video driver vendor if it hasn't been already.

rastermann commented 3 years ago

Already Mentioned - Mesa. :) (git master with commit hash with ACO enabled - but amdvlk has the same result).

hakzsam commented 3 years ago

Do you still experiment issues with RADV?

Nayr438 commented 3 years ago

Do you still experiment issues with RADV?

No, everything has been working wonderfully going on several months. Both the original texture issue and memory issues have been resolved and any patches that it depended on in the past have landed into stable. The only issue remaining with the game is it's use of Battleye, which is only a concern if you want to join any Official Servers.

rastermann commented 3 years ago

yes. still doesn't work for some bizarre reason when connecting to a server - but local single player works. it's something in the load sequence that ends up with things falling over. it's a pain to debug without source and with a complex launching scenario of emulated windows binaries... :(

hakzsam commented 3 years ago

What's the Battleye issue?

Nayr438 commented 3 years ago

What's the Battleye issue?

For the Windows build of the game, Battleye AntiCheat is still unsupported, it just fails to load.

hakzsam commented 3 years ago

Ah ok, so this is totally unrelated the driver, thanks!

Nayr438 commented 3 years ago

yes. still doesn't work for some bizarre reason when connecting to a server - but local single player works. it's something in the load sequence that ends up with things falling over. it's a pain to debug without source and with a complex launching scenario of emulated windows binaries... :(

I haven't experienced this issue. All maps going up through Genesis load in fine for both Single Player and Server Instances. I recently just played on a Server using the Crystal Isles Map along with a couple dozen mods.

alan-cugler commented 3 years ago

Spun Ark up on proton in my ubuntu 20.04 setup, and noticed trying to load my own single player map with primitive+ will result in the game crashing when the map is about to finish loading. Tried this with both Ragnorak map and "the Center" map. running steam in the foreground of the terminal isnt showing any unique errors at time of failure.

Nayr438 commented 3 years ago

Spun Ark up on proton in my ubuntu 20.04 setup, and noticed trying to load my own single player map with primitive+ will result in the game crashing when the map is about to finish loading. Tried this with both Ragnorak map and "the Center" map. running steam in the foreground of the terminal isnt showing any unique errors at time of failure.

I would try verifying your files as I can't reproduce this. Primitive+ Loads fine on my end.

alan-cugler commented 3 years ago

@Nayr438 yeah I had uninstalled and reinstalled to get the game to work. However, its happening again, so I am going forward with the verifying files as you suggested.

I did find an error log that coincides repeatedly with the failure, was googling around to see if the internet knows how to resolve it but most of the top results are showing the error for trying to connect to multiplayer servers.

ark_error.txt

If this has already been resolved, I'd love a link outlining the solution ;)

rastermann commented 3 years ago

I'm not sure that verifying will help. I've verified so many times it's not amusing anymore and never once was the game corrupt. I'm sure I have eaten up terabytes of bandwidth uninstalling and re-installing. It just has bugs - and definitely under proton. :( The hard bit is trying to debug it.

alan-cugler commented 3 years ago

So setup a dedicated server for some friends and I to play on. We've noticed that every time we play the game, the next time we try to jump on we have to verify our entire ark game on our clients and there are always two files corrupted consistently.

does anyone know how to get steam verify to output the files it found corrupted? because backing them up myself would be faster than an hour long verify.

kisak-valve commented 3 years ago

Hello @alan-cugler, you should be able to find something by checking Steam's content_log.txt or keeping an eye on it live while validating the game with something like tail -f ~/.local/share/Steam/logs/content_log.txt.

alan-cugler commented 3 years ago

So being in the Steam's Ark directory I can run this, to output the 5 most recently modified files. So hopefully after Steam Verify it will clearly show which files were modified.

$ find . -type f -printf '%T@ %p\n' | sort -k1,1nr | head -5
./ShooterGame/Saved/Config/WindowsNoEditor/Engine.ini
./ShooterGame/Saved/Logs/Dump1112821648.dmp
./ShooterGame/Binaries/Win64/officialserverstatus.ini
./ShooterGame/Binaries/Win64/officialservers.ini
./ShooterGame/Saved/Config/WindowsNoEditor/GameUserSettings.ini

If that works then I would like to write a small script to backup and replace those files. Obviously, the .dmp file can be ignored but the engine and binary files strike me as what could be getting corrupted?

EyesWithoutFace commented 3 years ago

I can't even get the game to launch past the mini splash screen after asking to install battle-eye. Getting a crash error like the image below. ark-crash steam-346110.log

rastermann commented 3 years ago

oh god no.. don't use battleye!!! avoid it. it's broken on linux+proton. the game will work without it BUT you cannot join official servers. you have to use unofficial ones that have disabled battleye. I run one of these just for this reason. :) I do wish battleye would work and wine/proton would somehow fake/emulate enough to allow it. :) But that's a different problem.

Just FYI - I am using proton + ark on a 6800xt and it actually all works fine now... except battleye.

EyesWithoutFace commented 3 years ago

oh god no.. don't use battleye!!! avoid it. it's broken on linux+proton. the game will work without it BUT you cannot join official servers. you have to use unofficial ones that have disabled battleye. I run one of these just for this reason. :) I do wish battleye would work and wine/proton would somehow fake/emulate enough to allow it. :) But that's a different problem.

Just FYI - I am using proton + ark on a 6800xt and it actually all works fine now... except battleye.

Oh I hit uninstall battle-eye it didn't fix it. Should I reinstall?

rastermann commented 3 years ago

Maybe... :)

EyesWithoutFace commented 3 years ago

with the new update I can no longer move. Character isn't stuck just doesnt attempt to move also using proton 6.3-4 steam-346110.log

kisak-valve commented 3 years ago

ARK Survival Evolved

Issue transferred from https://github.com/ValveSoftware/Proton/issues/5017. @Curve posted on 2021-07-27T12:09:38:

Compatibility Report

System Information

I confirm:

steam-346110.log

Symptoms

The game crashes with the following message:

Fatal error!

VERSION: 0.0 
UnknownModule!EntryPoint() (0x000000007b01236e) + 0 bytes [UnknownFile:0]
UnknownModule!__delayLoadHelper2() (0x000000014385bcb5) + 0 bytes [UnknownFile:0]
UnknownModule!__tailMerge_ApexFramework_x64_dll() (0x00000001437778d6) + 0 bytes [UnknownFile:0]
UnknownModule!InitGamePhys() (0x0000000142cd9fbe) + 0 bytes [UnknownFile:0]
UnknownModule!FEngineLoop::PreInit() (0x0000000140111311) + 0 bytes [UnknownFile:0]
UnknownModule!GuardedMain() (0x000000014010e3c0) + 0 bytes [UnknownFile:0]

The issue seems to only occur since the latest ARK-Update from the 24th, before it ran fine

Reproduction

Start the Game, the issue occurs before any menus / windows are visible.

Nayr438 commented 3 years ago

I can't reproduce that issue on the Proton Experimental that you are using. I also can't reproduce it on Proton 6.3-5 or Proton-GE(Latest)

Have you tried verifying your Game Files from within Steam?