Proton icon indicating copy to clipboard operation
Proton copied to clipboard

Far Cry 5 (552520)

Open alex9k1 opened this issue 6 years ago • 89 comments

Compatibility Report

  • Name of the game with compatibility issues: Far Cry 5
  • Steam AppID of the game: 552520

System Information

  • GPU: Radeon VII
  • Driver/LLVM version: Mesa 18.3.3/7.0.1
  • Kernel version: 4.20
  • Link to full system information report as Gist: https://gist.github.com/alex9k1/37289a5def5b66712a12f4ec77787d90
  • Proton version: 3.16-7 Beta

I confirm:

  • [x] that I haven't found an existing compatibility report for this game.
  • [x] that I have checked whether there are updates for my system available.

~~Log (> 10MB): https://decloud.owncube.com/s/eYYuWr6U4LDg4sf~~ Log (after manually downloading Proton): https://decloud.owncube.com/s/KumetbBYZN603zf

Symptoms

~~Uplay doesn't launch. In my system monitor I can see, that it's trying to launch Far Cry 5. The process then quits and a process called UplayCrashReporter is created and quits shortly after. During the whole time, the UI of Uplay doesn't show up. According to Steam the game is running the whole time and won't quit, until I kill the processes.~~ EDIT: After download Proton 3.16 Beta through Steam/Library/Tools Uplay is now working, but Far Cry 5 still isn't working.

Uplay works with vanilla wine. It also works with this variant of Proton: https://github.com/kakra/wine-proton . However, Far Cry 5 still won't launch. I get a popup from Uplay that Far Cry 5 is being launched, but nothing happens.

Reproduction

Download and start the game.

alex9k1 avatar Feb 22 '19 00:02 alex9k1

Hello.

@alex9k1, please make sure you had 3.16-7 update actually delivered, that was an issue when it failed to download for some users. To do so you can install "Proton 3.16 Beta" from Tools section, and verify files integrity just in case.

I just tested it, and for Far Cry 5 Uplay itself does work for me, it updates on first launch, is able to log in, and associate your Steam purchase with Uplay account (it presents a list of items, and does not ask for serial key like some games do). Game itself does not start however.

nsivov avatar Feb 22 '19 08:02 nsivov

@nsivov Steam says, it's 3.16-7. Is there another way to actually verify? Anyway, this isn't really my concern, as the unoffical proton I've linked works fine for me concerning Uplay. The game itself not starting is the actual bummer.

alex9k1 avatar Feb 22 '19 09:02 alex9k1

Yes, there was a number of issues open for this problem, like https://github.com/ValveSoftware/steam-for-linux/issues/6093#issuecomment-465794186, where Steam reports 3.16-7 but actual update was not downloaded. Basically it should be enough to go to Library -> Tools and install Proton 3.16 Beta from there manually.

nsivov avatar Feb 22 '19 09:02 nsivov

@nsivov You're right, Uplay is launching now, but the game itself still doesn't. It behaves like you described. I've appended a new log.

alex9k1 avatar Feb 23 '19 13:02 alex9k1

Hi @alex9k1

Can you try to disable uplay's overlay?

ghost avatar Feb 26 '19 14:02 ghost

@Alexander88207 I tried, but it didn't seem to have any effect.

alex9k1 avatar Feb 26 '19 18:02 alex9k1

FarCry 5 has the same DRM than AC:Origins so does not work with Wine (VMProtect + Denuvo). Atm, only FarCry : New Dawn and AC : Odyssey work fine with Wine + DXVK because they have only Denuvo DRM.

Kzimir avatar Mar 02 '19 17:03 Kzimir

Some people report that they got the game to start. Can anyone share how to do that? For me Uplay also starts and works but it doesn't launch the game.

Related link: https://bugs.winehq.org/show_bug.cgi?id=45732

Mattia98 avatar Mar 25 '19 16:03 Mattia98

Steering works with dinput8.dll & dinput.dll from Windows 7 (system32 & SysWow64) set at native,builtin

UPDATED: Now I just get: AL lib: (EE) ReleaseThreadCtx: Context 0x7fb82c027410 current for thread being destroyed, possible leak! So I'm not sure what's going on with this. Fresh prefix/overrides too, keeps crashing my game when loading in the world.

telans avatar Apr 06 '19 00:04 telans

@telans Steering works replacing both dlls , i just update the dxvk to 1.0.2 and the game hagns maybe 10 minutes after playing , im using latests Nvidia drivers.

Sebastiangperez avatar Apr 15 '19 14:04 Sebastiangperez

I'll try dxvk 1.0 and see if it still crashes

telans avatar Apr 15 '19 21:04 telans

I'll try dxvk 1.0 and see if it still crashes

I tested using 1.0.3 and do not crashes , played for at least 1 hour. Did you have the issue with 1.0.2 when the floor disappear and things were flying around?

Sebastiangperez avatar Apr 16 '19 14:04 Sebastiangperez

@Sebastiangperez Where do you put the files, in the windows32 and winwow64 dirs in ../steamapps/compatdata/gameid/pfx/drive_c/windows/{system32,syswow64}/, or in ../steamapps/common/Proton 4.2/dist/share/default_pfx/drive_c/windows/{system32,syswow64}/ dirs?

Thanks!

joeg1484 avatar Apr 21 '19 20:04 joeg1484

@Sebastiangperez I still crashed, but I think it was a prefix issue unrelated as it happened almost instantly.

@joeg1484 Within the game prefix, setting (native) gets them from the prefix and (builtin) from the system (default install?) I believe. Please let me know if it worked for you

telans avatar Apr 21 '19 21:04 telans

@Sebastiangperez Where do you put the files, in the windows32 and winwow64 dirs in ../steamapps/compatdata/gameid/pfx/drive_c/windows/{system32,syswow64}/, or in ../steamapps/common/Proton 4.2/dist/share/default_pfx/drive_c/windows/{system32,syswow64}/ dirs?

Thanks!

I use Wine Stand alone and not with Proton , i will not mess with Proton files that came with Steam. But maybe you can try copy in the game prefix on those directories. For me, the game still crashes after i played maybe 30 minutes, it was during the mission with the Truck, can be related to dxvk or the dlls inputs because i was using the truck.

Sebastiangperez avatar Apr 21 '19 21:04 Sebastiangperez

@Sebastiangperez I still crashed, but I think it was a prefix issue unrelated as it happened almost instantly.

My crash is during the game , suddenly stopped and closes the windows.

Sebastiangperez avatar Apr 21 '19 21:04 Sebastiangperez

Some people report that they got the game to start. Can anyone share how to do that? For me Uplay also starts and works but it doesn't launch the game.

Related link: https://bugs.winehq.org/show_bug.cgi?id=45732

I also wonder how it works for some ... Are the people who running the game use Proton and start it from steam ui ? Can somebody explain please how we can get it running ?

ChrisLauinger77 avatar Apr 22 '19 18:04 ChrisLauinger77

With Proton 4.2-6 Uplay start, but the game crashes immediately.

steam-552520.log

$ inxi -bM
System:    Host: localhost.localdomain Kernel: 5.1.0-1.fc31.x86_64 x86_64 bits: 64 Desktop: Gnome 3.33.2 
           Distro: Fedora release 31 (Rawhide) 
Machine:   Type: Desktop Mobo: ASUSTeK model: ROG STRIX X470-I GAMING v: Rev 1.xx serial: <root required> 
           UEFI: American Megatrends v: 2304 date: 05/03/2019 
CPU:       8-Core: AMD Ryzen 7 2700X type: MT MCP speed: 2195 MHz min/max: 2200/3700 MHz 
Graphics:  Device-1: Advanced Micro Devices [AMD/ATI] Vega 20 [Radeon VII] driver: amdgpu v: kernel 
           Display: wayland server: Fedora Project X.org 1.20.5 driver: amdgpu resolution: 3840x2160~60Hz 
           OpenGL: renderer: AMD Radeon VII (VEGA20 DRM 3.30.0 5.1.0-1.fc31.x86_64 LLVM 8.0.0) v: 4.5 Mesa 19.1.0-rc4 
Network:   Device-1: Intel I211 Gigabit Network driver: igb 
           Device-2: Realtek RTL8822BE 802.11a/b/g/n/ac WiFi adapter driver: r8822be 
Drives:    Local Storage: total: 11.57 TiB used: 8.55 TiB (73.9%) 
Info:      Processes: 536 Uptime: 3d 21h 18m Memory: 31.37 GiB used: 14.75 GiB (47.0%) Shell: bash inxi: 3.0.34 

NTMan avatar Jun 09 '19 14:06 NTMan

WORKAROUNDS (updated)

  1. Disable Easy Anti-Cheat and use DXVK Game uses Easy Anti-Cheat which is currently not supported under Wine. Follow the instructions: https://pcgamingwiki.com/wiki/Far_Cry_5#Disable_Easy_Anti-Cheat Game installation directory (<path-to-game>) is in .../steam/steamapps/common/FarCry5/.

  2. Disable overlay and change Uplay to work in offline mode and If the game crashes while connecting online then you need to run it in offline mode. Run it once, let it crash and in Uplay change setting to offline mode: How do I launch the Uplay PC client in Offline Mode? Unfortunately you won't be able to play online, so no co-op and multiplayer.

  3. Steering issue - use native 64bit dinput8 from Windows 7. Windows 10 version is not working. For some reason protontricks broke my wineprefix, so better do not use it. Put it in "bin" in the installation directory. Set dinput8 to native, you can do that by using Launch Options: WINEDLLOVERRIDES="dinput8=n" %command% You can also change this in winecfg.

  4. Stutters On the first run game stutters. Run benchmark from setting to compile most of the shaders. On second run you will get much better frame rates.

  5. If game does not start it may be cause by incompatible shaders cache. Steam downloads pre-compiled shaders to speed up startup, try deleting the cache directory: .../steamapps/shadercache/552520

kmaterka avatar Jun 25 '19 09:06 kmaterka

  1. Disable Easy Anti-Cheat and use DXVK Game uses Easy Anti-Cheat which is currently not supported under Wine. Follow the instructions: https://pcgamingwiki.com/wiki/Far_Cry_5#Disable_Easy_Anti-Cheat Game installation directory is somewhere in ./steamapps/compatdata/552520/pfx/drive_c/Program Files.../bin.

This workaround is not suitable for me because I want play campaign with my friend online.

NTMan avatar Jun 25 '19 12:06 NTMan

Workaround does not work for me, Uplay works fine but the game does not launch. .NET Framework also can't be installed correctly & it tries to install again on every start up. (Proton 4.2-9)

MadByteDE avatar Jun 30 '19 12:06 MadByteDE

Workaround does not work for me, Uplay works fine but the game does not launch. .NET Framework also can't be installed correctly & it tries to install again on every start up.

Have you disabled the Uplay overlay from within the client before launching the game?

telans avatar Jun 30 '19 12:06 telans

Workaround does not work for me, Uplay works fine but the game does not launch. .NET Framework also can't be installed correctly & it tries to install again on every start up.

Have you disabled the Uplay overlay from within the client before launching the game?

Yes.

MadByteDE avatar Jun 30 '19 12:06 MadByteDE

Also can't get the game to launch here.

  1. cleaned prefix - using Proton 4.2-9
  2. protontricks 552520 uplay
  3. disabled overlay, enabled offline mode
  4. replaced EAC DLL. Hexedited the other DLL.

image

C0rn3j avatar Jun 30 '19 12:06 C0rn3j

I had this as well. Started then 1 time in online mode let it crash. Then closed everything and turned offline mode again on. Worked again

ChrisLauinger77 avatar Jun 30 '19 13:06 ChrisLauinger77

@ChrisLauinger77 That did the trick. The game needs to be launched once in online mode to work!

EDIT: White screen only in-game though or extremely washed out bright/dark colors... 1080 Ti with 430.26 driver Benchmark works but is incredibly dark image image

C0rn3j avatar Jun 30 '19 14:06 C0rn3j

That looks like a DXVK error, try deleting your shadercache.

telans avatar Jun 30 '19 21:06 telans

@telans Thank you so much! That did the trick.

C0rn3j avatar Jun 30 '19 21:06 C0rn3j

WORKAROUNDS but fixed up

I assume you're using Proton on a 64-bit OS.

You won't be able to play online.

  1. Game uses Easy Anti-Cheat which is currently not supported under Wine. Disable it by using a custom EAC DLL and patching another one. Game installation directory (<path-to-game>) is in .../steam/steamapps/common/FarCry5/.

  2. Next up install uplay via protontricks protontricks 552520 uplay - when Uplay launches, disable Uplay overlay in settings. Quit Uplay.

  3. Start the game via Steam. It should load into the main menu and crash. It needs to be launched once this way for offline mode to work. Go to Network settings in Uplay and tick offline mode checkbox. Quit Uplay.

  4. Steering vehicles in this game is broken. You need to use 64-bit dinput8.dll from Windows 7 system32 folder. It is 195KB (not 145KB, that's the 32-bit version) and sha256 sum is 567f08044e2c31375a31cd66016cb8f9e3226f3640c9ab82f9f4fe79fc09fc6a You need to copy this dll into .../steamapps/compatdata/552520/pfx/drive_c/windows/system32/ and then override it via winecfg WINEPREFIX=/your/path/to/steamapps/compatdata/552520/pfx winecfg - set it as native,builtin, which is the default override setting.

  5. Launching the game via Steam should now successfully launch it in offline mode.

EDIT: And now I get why the original post was edited by Valve staff, they don't like people linking to potentially malicious binaries, so don't try posting dinput8.dll in here.

C0rn3j avatar Jul 01 '19 14:07 C0rn3j

@ChrisLauinger77 That did the trick. The game needs to be launched once in online mode to work!

EDIT: White screen only in-game though or extremely washed out bright/dark colors... 1080 Ti with 430.26 driver Benchmark works but is incredibly dark image image

Getting the same problem, https://github.com/ValveSoftware/Proton/issues/2356#issuecomment-507068972 didn't help (deleted ~/.nv/* and steamapps/shadercache/552520)

Any suggestions?

LemiSt24 avatar Jul 02 '19 22:07 LemiSt24