ValveSoftware / Proton

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

Deep Rock Galactic (548430) #284

Open jarrard opened 5 years ago

jarrard commented 5 years ago

Updated Info: This game runs quite well for most, however it still suffers from a %36 performance tax compared to Windows which gives 75fps under 4k while Linux only provides 55fps. To resolve this (assuming you have less then 60fps) you may need to run at a slightly lower resolution such as 1800p.

The game can also experience performance drops in certain areas of hectic combat and explosions which affect proton more then windows in comparison. At present MIC or voice chat may not work for you which hopefully is resolved in the future. (there is no voice chat indicator for yourself ingame, you must ask other players if it works)

My Configuration: 4k (1800p ingame) with a second 1080p monitor on the side for reference.

System Information: Pop_OS Specs.txt

No special configurations have been attempted at this stage except for setting permissions correctly to my userid and groupid on the NTFS drive this game is installed on. Also ensuring Proton is installed correctly into the .steam folder (don't try and run it via ntfs), and compatdata is symlinked also correctly (refer to documentation).

NOTE: Some users are having issues getting this running correctly, this could be due to incorrect or corrupt proton install, I've encountered this many times myself, its a very easy trap to fall into!

jarrard commented 5 years ago

Some terminal error readouts from this game, no special debug flags used.

Created OPUS PLC voice encoder warning: The VAD has been replaced by a hack pending a complete rewrite AL lib: (WW) GetSymbol: Failed to load jack_error_callback: /home/theriddick/.local/share/Steam/ubuntu12_32/steam-runtime/pinned_libs_64/libjack.so.0: undefined symbol: jack_error_callback AL lib: (WW) jack_msg_handler: Cannot connect to server socket err = No such file or directory AL lib: (WW) jack_msg_handler: Cannot connect to server socket AL lib: (WW) jack_msg_handler: jack server is not running or cannot be started AL lib: (WW) ALCjackBackendFactory_init: jack_client_open() failed, 0x11 AL lib: (WW) alc_initconfig: Failed to initialize backend "jack"

Not sure if this jack thing is the cause of the slow down but could be responsible for the audio stutters.

jarrard commented 5 years ago

Problem is not related to JACK. I've read reports of it working for people on 1060 cards so not exactly sure what the problem is.

jarrard commented 5 years ago

Tested this with DXVK 0.71 and the issue is even worse there. So it looks like the developer might have updated the game and in the process caused something to break. I'll look into getting this looked at again sometime in the future.

Feel free to provide your own data on the issue, I do know SOME people are not having any issues and that could be due to using a older version of dxvk, something I will need to test.

h8672 commented 5 years ago

To me settings didn't work until restart, nothing worked with audio volumes. had to go to the sound settings and lower the volume of the game separately. (So I dont really listen to it as it was so loud...) I have had problems in shooting with minigun where some bullets wont even spawn and the ammunition is running out a lot faster than when using windows. The best performance I've gotten is using lowest settings and resolution scale 100%, still lags but I can play it.

jarrard commented 5 years ago

under dxvk I get below 5fps (often 2) and with proton via wine it seems to pulse between 2fps and 60fps depending on where I'm looking. Quite odd.. I have done quite a bit of testing and can't seem to figure anything out..

lieff commented 5 years ago

Seems UE4 game, disable nvapi or fake AMD card can help https://github.com/ValveSoftware/Proton/issues/165 .

jarrard commented 5 years ago

Yes perhaps just disabling it via lutris no longer works, however I don't think I can edit any source to fix the issue? I'll look into it more.

EDIT: Nothing seems to help with my issue here, perhaps I'm doing something wrong. Steam info still claims my card is a nvidia 1080ti even thought I try and trick it into thinking its amd with those variables.. odd.

Seems I need to use the per game config file now.. sigh

jarrard commented 5 years ago

Update:

Ok faking AMD card seems to have worked (via conf file) even thought it was not fooling steam, the game launched via steam does appear to work without the horrid slowdown now, so yay :)

For proton you can use following command:

DXVK_CONFIG_FILE=/path/to/dxvk.conf %command%

You can use the example given on https://github.com/doitsujin/dxvk/wiki/Configuration

UPDATE: Some further testing is required, still sound issue remains and it seems possible missions don't work. This is a odd one!

lieff commented 5 years ago

For audio try this workaround https://github.com/ValveSoftware/Proton/issues/943#issuecomment-417854312

jarrard commented 5 years ago

The game fails to load into missions, often zombies the process. Damn, so close yet so far :(

As for AUDIO fix, yes that did appear to allow me to change volume and get audio controls to work however it did make it worse as it now crashes and has more crackling then before. Perhaps more is needed to resolve that.

jarrard commented 5 years ago

To fix audio fully you need to install xact. The exact command I used without edits, as example ONLY (one whole line)

env WINEPREFIX="/mnt/GamesSSD/SteamLibrary/steamapps/compatdata/548430/pfx" WINEPATH="/mnt/GamesSSD/SteamLibrary/steamapps/common/Proton 3.7 Beta/dist/bin" winetricks xact

Game still goes to black screen when trying to launch down into a mission, hangar works fine now... baby steps it seems. It's possible it doesn't like something about the vendor override,...

I can confirm game runs better with AMD vendor override for NVIDIA users, and that the mission load sequence black screens (process freeze) regardless of vendor settings. (I tried just nvapi64 disabling, still black screen on mission load and it had lower fps)

jarrard commented 5 years ago

Update:

Game works fine via Lutris and DXVK 0.71 with the AMD override, the missions launch. Not sure whats going on with proton but there ya go. Maybe disabling esync will resolve the issue.

Yep was esync.

jarrard commented 5 years ago

So you need the following to get this game working decently.

lieff commented 5 years ago

@jarrard What ulimit -aH says on your system? Esync usually do not works because of low open files limit.

jarrard commented 5 years ago

core file size (blocks, -c) unlimited data seg size (kbytes, -d) unlimited scheduling priority (-e) 0 file size (blocks, -f) unlimited pending signals (-i) 63277 max locked memory (kbytes, -l) 1024 max memory size (kbytes, -m) unlimited open files (-n) 4096 pipe size (512 bytes, -p) 8 POSIX message queues (bytes, -q) 819200 real-time priority (-r) 0 stack size (kbytes, -s) unlimited cpu time (seconds, -t) unlimited max user processes (-u) 63277 virtual memory (kbytes, -v) unlimited file locks (-x) unlimited

lieff commented 5 years ago

open files (-n) 4096

Too low, needs to raise. It's described in doc https://github.com/zfigura/wine/blob/esync/README.esync

jarrard commented 5 years ago

Ok I made the edits and will give that a shot.

Yep that fixed it. Cheers,

h8672 commented 5 years ago

I have increased open file limit to 65535. I installed xact before, didn't notice change in performance. Thanks @jarrard for the script :+1: Updating nvapi fixed the problem with minigun bullets and fps. Used the process in https://github.com/ValveSoftware/Proton/issues/1374#issuecomment-420547987

My audio codec didn't like pulseaudio module-suspend-on-idle so I disabled it and enabled module-echo-cancel in /etc/pulse/default.pa. It caused frequent freezes when I had mic switch on when playing windowed CS:GO)

Currently I have small frame freezes once in a while in Deep Rock Space, but not as frequent as before. I play Deep Rock Space on windowed mode and max settings. I disabled ESYNC from proton, I think it helped a little with the freezes, don't really look at it now. Do you think changing that PULSE_LATENCY_MSEC=60? Where do I add it?

jarrard commented 5 years ago

PULSE_LATENCY_MSEC=60 %command% should work with steam. It may not help, there are pulseaudio configuration files you can tweak timings and such with also.

kisak-valve commented 5 years ago

Deep Rock Galactic doesn't start anymore

Issue transferred from https://github.com/ValveSoftware/Proton/issues/1751. @DerBunman posted on 2018-10-15T17:48:40:

Compatibility Report

System Information

I confirm:

steam-548430.log

Symptoms

The game wont start since updating to 3.16-1.

It only displays the (non fullscreen) splash screen, after that the screen goes black and the game crashes back to desktop.

The game worked fine with 3.7-8 after installing xact and raising ulimits as described here: https://github.com/ValveSoftware/Proton/issues/284

Reproduction

Start the game with proton 3.16-1 enabled.

DerBunman commented 5 years ago

@DerBunman posted on 2018-10-15T17:48:40:

Compatibility Report

* Name of the game with compatibility issues: Deep Rock Galactic

* Steam AppID of the game: 548430

Symptoms

The game wont start since updating to 3.16-1.

It only displays the (non fullscreen) splash screen, after that the screen goes black and the game crashes back to desktop.

The game worked fine with 3.7-8 after installing xact and raising ulimits as described here:

284

Using proton 3.16-3 the game works fine again.

alasky17 commented 5 years ago

The audio issues are fixed with 3.16-5 Beta. Are there any other remaining issues with this title?

svenstaro commented 5 years ago

I can't start the game on 3.16-6 Beta. It shows as running but nothing happens.

System Information GPU: 1080Ti Driver/LLVM version: 415.25 Kernel version: 4.19.10 Proton version: 3.16-6 Beta

svenstaro commented 5 years ago

Actually it does appear to work if I force use of 3.16-6 Beta under Settings -> Steam Play -> Advanced -> Use this tool -> Select 3.16-6 Beta.

It appears that otherwise, this game uses a different tool instead, though I don't know which.

ghost commented 5 years ago

@kisak-valve

Whitelist Request

System Information

I confirm:

Issues

kisak-valve commented 5 years ago

Is anyone else seeing an issue with this game and Proton 3.16-6 that would block it from being whitelisted?

jarrard commented 5 years ago

Sorry haven't played the game for 6months, I should probably give it another go sometime :)

h8672 commented 5 years ago

Just tested using GTX 1060 6GB, nvidia driver 415.25 and proton 3.16-6 beta. After updating proton, deleting game folder 548430 from compatdata the game made the first installation again and started to work well without additional parameters or settings. :+1:

jarrard commented 5 years ago

Fresh install XFCE Antergos and game doesn't launch for me, probably fixable but that isn't the point. If you need to dig into the dirt of it to fix problems then it isn't working.

GameAction [AppID 548430, ActionID 3] : LaunchApp changed task to ProcessingInstallScript with ""
installscript_posix.cpp (355) : Assertion Failed: strCommonRedistForeignInstallPath != ""
installscript_posix.cpp (355) : Assertion Failed: strCommonRedistForeignInstallPath != ""
installscript_posix.cpp (355) : Assertion Failed: strCommonRedistForeignInstallPath != ""
installscript_posix.cpp (355) : Assertion Failed: strCommonRedistForeignInstallPath != ""
Proton: Missing or invalid openvrpaths.vrpath file! [Errno 2] No such file or directory: '/home/riddick/.config/openvr/openvrpaths.vrpath'
wine: /mnt/GamesSSD/SteamLibrary/steamapps/compatdata/548430/pfx is not owned by you
GameAction [AppID 548430, ActionID 3] : LaunchApp changed task to SynchronizingCloud with ""
Proton: Missing or invalid openvrpaths.vrpath file! [Errno 2] No such file or directory: '/home/riddick/.config/openvr/openvrpaths.vrpath'
wine: /mnt/GamesSSD/SteamLibrary/steamapps/compatdata/548430/pfx is not owned by you
GameAction [AppID 548430, ActionID 3] : LaunchApp changed task to SiteLicenseSeatCheckout with ""
GameAction [AppID 548430, ActionID 3] : LaunchApp changed task to CreatingProcess with ""
GameAction [AppID 548430, ActionID 3] : LaunchApp waiting for user response to CreatingProcess ""
GameAction [AppID 548430, ActionID 3] : LaunchApp continues with user response "CreatingProcess"
Game update: AppID 548430 "", ProcID 29226, IP 0.0.0.0:0
>>> Adding process 29226 for game ID 548430
GameAction [AppID 548430, ActionID 3] : LaunchApp changed task to WaitingGameWindow with ""
ERROR: ld.so: object '/home/riddick/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/riddick/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/riddick/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
GameAction [AppID 548430, ActionID 3] : LaunchApp changed task to Completed with ""
>>> Adding process 29227 for game ID 548430
Proton: Missing or invalid openvrpaths.vrpath file! [Errno 2] No such file or directory: '/home/riddick/.config/openvr/openvrpaths.vrpath'
ERROR: ld.so: object '/home/riddick/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
wine: /mnt/GamesSSD/SteamLibrary/steamapps/compatdata/548430/pfx is not owned by you
ERROR: ld.so: object '/home/riddick/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object '/home/riddick/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
wine: /mnt/GamesSSD/SteamLibrary/steamapps/compatdata/548430/pfx is not owned by you
>>> Adding process 29228 for game ID 548430
>>> Adding process 29229 for game ID 548430
Game removed: AppID 548430 "", ProcID 29226 
No cached sticky mapping in ActivateActionSet.

Probably easy fix, but again fresh install, and this shouldn't be happening.

Could be corrupt files also, seems the update is downloaded corrupt so I can't test the game at this time. Not sure the issue.

EDIT: Yeah I forgot to setup my NTFS drives correctly, forgot you need uid=1000,gid=1000,umask=000 problems be had, also big_writes helps a big with performance.

jarrard commented 5 years ago

Seems the game does nothing when you go into the drop ship to do a mission. Just does %0 process and stalls forever? anyone experiencing this?

XFCE Latest Proton beta and Nvidia Vulkan beta drivers.

Uggg, you know what it is, that damn open file limit... Biggest pitfall of steamplay, requiring people to do these adjustments to drive mounts and file limit sizes.

ghost commented 5 years ago

a̶̶m̶̶d̶̶ ̶̶g̶̶r̶̶a̶̶p̶̶h̶̶i̶̶c̶̶s̶̶ ̶̶c̶̶a̶̶r̶̶d̶̶s̶̶ ̶̶h̶̶a̶̶v̶̶e̶̶ ̶̶g̶̶p̶̶u̶̶ ̶̶h̶̶a̶̶n̶̶g̶̶s̶̶ ̶̶w̶̶h̶̶e̶̶n̶̶ ̶̶p̶̶l̶̶a̶̶y̶̶e̶̶r̶̶s̶̶ ̶̶f̶̶i̶̶g̶̶h̶̶t̶̶ ̶̶a̶̶g̶̶a̶̶i̶̶n̶̶s̶̶t̶̶ ̶̶s̶̶u̶̶c̶̶h̶̶ ̶̶o̶̶p̶̶p̶̶o̶̶n̶̶e̶̶n̶̶t̶̶s̶̶.̶

̶f̶̶r̶̶o̶̶m̶̶ ̶̶t̶̶h̶̶e̶̶ ̶̶p̶̶r̶̶o̶̶t̶̶o̶̶n̶̶ ̶̶p̶̶o̶̶i̶̶n̶̶t̶̶ ̶̶o̶̶f̶̶ ̶̶v̶̶i̶̶e̶̶w̶̶,̶̶ ̶̶i̶̶t̶̶ ̶̶r̶̶u̶̶n̶̶s̶̶ ̶̶o̶̶u̶̶t̶̶ ̶̶o̶̶f̶̶ ̶̶t̶̶h̶̶e̶̶ ̶̶b̶̶o̶̶x̶̶ ̶̶b̶̶u̶̶t̶̶ ̶̶t̶̶h̶̶e̶̶ ̶̶m̶̶e̶̶s̶̶a̶̶ ̶̶d̶̶r̶̶i̶̶v̶̶e̶̶r̶̶ ̶̶o̶̶n̶̶f̶̶o̶̶r̶̶ ̶̶a̶̶m̶̶d̶̶ ̶̶g̶̶r̶̶a̶̶p̶̶h̶̶i̶̶c̶̶s̶̶ ̶̶c̶̶a̶̶r̶̶d̶̶s̶̶ ̶̶c̶̶a̶̶u̶̶s̶̶e̶̶s̶̶ ̶̶g̶̶p̶̶u̶̶ ̶̶h̶̶a̶̶n̶̶g̶̶s̶̶ ̶̶s̶̶o̶̶ ̶̶t̶̶h̶̶a̶̶t̶̶ ̶̶t̶̶h̶̶e̶̶ ̶̶w̶̶h̶̶o̶̶l̶̶e̶̶ ̶̶p̶̶c̶̶ ̶̶c̶̶o̶̶m̶̶e̶̶s̶̶ ̶̶t̶̶o̶̶ ̶̶a̶̶ ̶̶s̶̶t̶̶a̶̶n̶̶d̶̶s̶̶t̶̶i̶̶l̶̶l̶̶ ̶̶f̶̶o̶̶r̶̶ ̶̶i̶̶t̶̶ ̶̶t̶̶h̶̶e̶̶r̶̶e̶̶ ̶̶i̶̶s̶̶ ̶̶o̶̶n̶̶e̶̶ ̶̶w̶̶a̶̶l̶̶k̶̶a̶̶r̶̶o̶̶u̶̶n̶̶d̶̶:̶ Edit: Fixed

megatog615 commented 5 years ago

Deep Rock Galactic's Update 21 doesn't seem to start. The game doesn't save logs at all, just crash dump files. It shows the splash image(normal), then goes to a black screen(normal) for a time before it crashes.

I'm using AMDVLK to handle Vulkan, though I have tested it with and without launch options just to be certain.

ghost commented 5 years ago

I can confirm it even withouit dxvk the game wont start so its maybe a proton issue.

megatog615 commented 5 years ago

The developer updated the engine from Unreal Engine 4.19 to 4.21. Is there a bug report just for Unreal Engine 4? Perhaps some references could be made so we can all work together.

ghost commented 5 years ago

The game works fine in wine 4.0

bildschirmfoto von 2019-02-07 18-55-04

ghost commented 5 years ago

and works in proton too bildschirmfoto von 2019-02-07 19-11-09

ghost commented 5 years ago

@megatog615 if you enter the game just wait..a bit. This is what i did :smiley:

megatog615 commented 5 years ago

It should be noted here that the developer put out a hotfix which fixes the problem. https://steamcommunity.com/games/DeepRockGalactic/announcements/detail/1750114627268690376

I wonder if the crash only occurred on wine and they fixed it just for us?

Hopefully one day they decide to just make a native port, since Unreal Engine 4 can be compiled for Linux.

ghost commented 5 years ago

@kisak-valve you can remove "mesa drivers" this bug got fixed with Mesa 18.3.3

megatog615 commented 5 years ago

Unfortunately I think update 21 killed ingame voice chat. I can hear others using it(presumably from Windows) but it does not function for me or my friend(who also plays with Steam Play).

aport commented 5 years ago

Same issue with voice transmit here. PulseAudio is showing the input stream and it responds to audio, but the game does not transmit.

jarrard commented 5 years ago

cant seem to get this working anymore. just shuts down.

Seems the latest proton beta is broken. 3.16-4 appears to work. Can't even uninstall -8 beta, complains about missing shared content... whatever

kisak-valve commented 5 years ago

Hello @jarrard, 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.

jarrard commented 5 years ago

ok, I had it run once, but now it won't again. I think proton is gutting itself somehow. Get lots of these

OSError: [Errno 22] Invalid argument: '/' -> '/mnt/GamesSSD/SteamLibrary/steamapps/common/Proton 3.16 Beta/dist/./share/default_pfx/dosdevices/z:'

Think I know whats going on, it might be failing to create the wine sub system... odd, the drives are mounted correctly. AND it works via lutris wine dxvk...

I'll reset steam play, maybe I closed steam before it was finished creating the wine subsystem which can sometimes take a while if its installing loads of stuff.

jarrard commented 5 years ago

it only creates a empty steam log file, nothing to post.

jarrard commented 5 years ago

Ok got it working, what I did was disable steamplay, delete all the compat folders and proton folders and installed proton tools in steam.

Then started steam runtime (native probably works also) and enabled steamplay again with latest proton selected, THEN I had to download redistrubution stuff and THEN manually installed proton 3.16-8 tool (otherwise it would not install it for me), THEN it started installed the directx stuff as it should and the game launched fine...

what a bother... :)

kisak-valve commented 5 years ago

Reviewing recent history of this issue report, the whitelist request is blocked pending evaluation of the voice chat transmission issue.

jarrard commented 5 years ago

Yes I will be testing that out tomorrow sometime. Will let you know, however its sometimes hard to find people who also use voice.

Rabcor commented 5 years ago

I was just playing this game for 4 hours straight, though I didn't actually use the in-game voice chat so I can't say anything about it, but besides that one possible failure point, the game ran perfectly. I installed, played, got 100+fps the entire time, no problems with alt-tabbing either, everything was silky smooth from top to bottom.

vilnius-leopold commented 5 years ago

I also wanted to confirm the issue with the in-game voice chat (I'm on ubuntu 18.04) . I was playing with a friend (he's on windows). I was able to hear him on my end just fine, but he could not hear me. Apart from that everything seems to work really well.