ValveSoftware / Proton

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

Rising Storm / Red Orchestra 2 Multiplayer (35450) #155

Open Thinkaboutmin opened 6 years ago

Thinkaboutmin commented 6 years ago

Compatibility Report

System Information

I confirm:

Symptoms

~There's no depth in audio. Commented on #54~ Fixed! Game crashes from time to time...

Reproduction

Start training or an online match and notice the worst, washed and non directional audio from gunshots.

Log

~steam-35450.log~ Old log steam-35450.log New log!

Notes

~To fix the audio problem, install xact.~

Faalagorn commented 5 years ago

As of Proton 3.16-4 you can now connect to the servers. There's still problem with audio, that seems to be related to Unreal Engine – I had the same issue when playing Super Monday Night Combat using regular Wine back when the servers were alive (but the same issue can be heard when launched from Steam now) you can hear all the sound at the same loudness, even if they are turn off in options.

opal1974 commented 5 years ago

Game still freaks out about .net 3.5 SP1 every time you launch the game after install, crashes are now rare in 4.2.2 but I saw texture errors (blacking out scenery, etc) in addition to the audio problems already noted above. Audio doesn't seem quite as bad as it was several releases ago.

solenum commented 5 years ago

I've been playing multiplayer on the latest proton, runs pretty well for me at medium/high settings (a solid 60fps most of the time). I've had no crashing/punkbuster issues so far.

Interestingly, playing via proton seems to solve one of the issues I had with the game on Windows where the game would stutter like crazy unless you had vsync on, and having vsync on would induce a lot of latency to mouse input and make the game feel sluggish.

soredake commented 4 years ago

Game works fine with proton 5.0-2.

Thinkaboutmin commented 4 years ago

Well, the game works now. Graphically it's perfect and the sound is ok as well. But, the game keeps crashing when you connect to a server, play the actual game or anything else.

I attached a log of when the crash happened.

steam-35450.log

Thinkaboutmin commented 4 years ago

I could give the unreal engine log as well but I don't think it will help in any way...

solenum commented 4 years ago

@Thinkaboutmin I noticed the game crashing a lot for me with d9vk enabled, perhaps try disabling that assuming its not already and see if that resolves the issue? I found d9vk from the latest GE release would result in less crashing.

Thinkaboutmin commented 4 years ago

@exezin, indeed, playing without d9vk gives no crash but the performance decreases by a lot. Not that it became unplayable yet it bothers. Whenever you are in an open area it turns below 50~ fps while with d9vk its rock stable. Using Proton 5.2 GE doesn't solve the crashes on d9vk as well...

Thinkaboutmin commented 4 years ago

I forgot to put some logs from d9vk, silly me.

Here it is: ROGame_d3d9.log

Although it just says that it failed to allocate memory from my gpu... Btw, this was taken from Proton GE 5.4

kisak-valve commented 4 years ago

Hello @Thinkaboutmin, can you check what the behavior is with Proton 5.0-4? (or add PROTON_FORCE_LARGE_ADDRESS_AWARE=1 %command% to the game's launch options if testing with older Proton versions)

Thinkaboutmin commented 4 years ago

Sure, I will give it a try when I have the time :)

But, I guess that the same will happen because the Proton GE 5.4-1 seems to have the same fixes from Proton 5.0-4.

Thinkaboutmin commented 4 years ago

Hey @kisak-valve I did test with Proton 5.0-4 and the problem still persists.

This is a log from when the game hang steam-35450.log.

Thinkaboutmin commented 4 years ago

Hmmm, seems kinda related to this. Maybe 32 bit may run out of memory due to limitations from dxvk or its just a crash - bug - which we aren't aware yet...

CSahajdacny commented 4 years ago

Hmmm, seems kinda related to this. Maybe 32 bit may run out of memory due to limitations from dxvk or its just a crash - bug - which we aren't aware yet...

Have You tried this method? https://github.com/doitsujin/dxvk/issues/1318#issuecomment-593708592

Thinkaboutmin commented 4 years ago

Hi @CSahajdacny, I have tried it and it seems to fix the crashes. I will keep playing to see if it crashes once although I did play today for 1 hour straight and no crashes after applying this option :)

ahyattdev commented 3 years ago

I get extreme lag when moving the mouse. Standing still is fine, then 300ms frame latency according to mangohud when moving the mouse around aggressively. Neither GPU nor CPU are bottlenecked according to mangohud.

Ubuntu 20.04 Latest proton on steam AMD RX 5600 XT

Faalagorn commented 3 years ago

I get extreme lag when moving the mouse. Standing still is fine, then 300ms frame latency according to mangohud when moving the mouse around aggressively. Neither GPU nor CPU are bottlenecked according to mangohud.

Ubuntu 20.04 Latest proton on steam AMD RX 5600 XT

Are you on Wayland or Xorg? If latter, did you try without compositor? I'm not using Ubuntu, but I think Wayland is default session now, especially on AMD and that would be the first thing I'd check.

ahyattdev commented 3 years ago

@Faalagorn thank you for the response, yes I am on Xorg. How can I run the game without the compositor?

Faalagorn commented 3 years ago

@Faalagorn thank you for the response, yes I am on Xorg. How can I run the game without the compositor?

Not on Ubuntu, but a limited Google search found out that it might not be so easy… You can try Wayland for comparison or switch the DE to something in lieu of Xfce, though it might require some effort so your issue still stands.

ahyattdev commented 3 years ago

@Faalagorn OK I will try Wayland and report back. I use Gnome so there is an option to pick between X11 and Wayland at the login screen

ahyattdev commented 3 years ago

@Faalagorn yes that was the problem thank you!

solenum commented 3 years ago

https://github.com/doitsujin/dxvk/issues/1318#issuecomment-593708592 Resolves the crashing with d9vk, performance is great now but I had to do a few other changes.

While not really relevant to this thread, I'll note them down to clarify for anyone else suffering the same problems as me.

First, add d3d9.evictManagedOnUnlock = True to your dxvk.conf file to prevent crashing, if you aren't sure where to add that, just put it anywhere and add DXVK_CONFIG_FILE=/path/to/dxvk.conf %command% to the games launch commands.

After this, I noticed performance was still rather terrible. The game doesn't handle high refresh rates very well, so you need to uncap the framerate manually. Do so by modifying ROEngine.ini in the following directory

compatdata/35450/pfx/drive_c/users/steamuser/My Documents/My Games/RedOrchestra2/ROGame/Config

Here you will find TWO instances of the following options, modify both instances of them to match your desired framerate (for me, I went with 165 to match my monitors refresh rate)

BEFORE:

MaxSmoothedFrameRate=1
MinSmoothedFrameRate=50

AFTER:

MaxSmoothedFrameRate=165
MinSmoothedFrameRate=165

Modify the configs permissions so that they cannot be changed, or the game will reset them.

Two other options in this config file to look at, bSmoothFrameRate=TRUE, Setting this to false will uncap the framerate (there are two instances of this again, you need to set both), however this will chug on your CPU and tank your performance, so you need some external way to limit the games framerate. I recommend leaving this option to true.

Setting the option PoolSize=4000 also increased my performance a fair bit.

I also recommend turning off ambient occlusion, this seems to have a drastic performance impact.