Proton: Far Cry 4 (298110)

Created on 26 Dec 2018  路  17Comments  路  Source: ValveSoftware/Proton

Compatibility Report

  • Name of the game with compatibility issues: Far Cry 4
  • Steam AppID of the game: 298110

System Information

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.

Symptoms

A Uplay window with the title "Looking for updates" appears, accompanied by an error message box that tells us that Uplay has detected an unrecoverable error and must shut down.

Screenshot

Log file: steam-298110.log

Uplay crash dump (GZipped):
Uplay.exe_4.8.1.3617_2018-12-26_18-53-02.dmp.gz

Reproduction

Install Far Cry 4 and click the "Play" button.

Game compatibility - Unofficial XAudio2

Most helpful comment

I've bisected the flickering issue, it's caused by this commit in DXVK.

All 17 comments

This has been raised before, can be fixed by manually installing older version of uplay into the prefix and then changing the version number. https://www.reddit.com/r/linux_gaming/comments/a8f2kl/proton_3166_beta_released/ecbdi99/ Not a nice fix, but a fix at that.

I've managed to get this game running after doing the above steps, but am now encountering lack of audio and a rendering bug, I've uploaded the video of my issue here: https://jackryder.co.uk/stuff/far-cry-rendering-bug.mp4

@kisak-valve would my issue be best in a separate issue? Didn't want to create another open issue for the same game.

Hello @JackRyder, unless you find the root cause of an issue and the issue affects multiple games or the game is whitelisted, then it's best to discuss the game specific issues here.

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. Also, please add PROTON_LOG=1 %command% to the game's launch options, reproduce the issue, and drag and drop the generated $HOME/steam-$APPID.log into the comment box.

system info :https://gist.github.com/JackRyder/d706d3038a2b8893595214a95e930045

Since the game runs, the proton log is pretty hefty so I split it into two parts, I imagine the second part would be the best for infomation, but i'll attach both anyway.
steam-298110A.log
steam-298110B.log

Also using proton 3.16-6 Beta.

I was able to get it working with Proton 3.16-8 Beta, and I got sound working too. I achieved this by using protontricks to run winecfg and add FarCry4.exe with the compatibility mode set to Windows XP, then using protontricks to install xact. Now I have an issue where the game is freezing every few minutes. This is because I'm on Ryzen isn't it? The issue reminded me of another issue I had with other Dunia Engine games on wine-staging because I had too many CPU cores. This is definitely not the culprit (and shouldn't be since esync is enabled). The stuttering seems to be caused my me rapidly moving my mouse. Any ideas? I plugged a different mouse into my computer and the freezing went away. Thanks Corsair.

Had the same mouse problem but disabling Uplay overlay fixed it..!

With Proton 4.2-4 the game working with follow issues:
1) No sound after first cutscene, this issue can be workarounded:

  • $ WINEPREFIX=~/.steam/steam/steamapps/compatdata/298110/pfx/ winecfg
    and set Windows Version to Windows XP
    Screenshot from 2019-05-21 03-10-23
  • $ WINEPREFIX=~/.steam/steam/steamapps/compatdata/298110/pfx/ winetricks xact

2) Appearing on random locations rectangular dimming in game:
Screenshot from 2019-05-20 21-40-10-1
How it looks in dynamic I demonstrate on Youtube video: https://youtu.be/6O_LUtFXP58

3) After switching to another application and returning to game by pressing "Alt -Tab" unable rotate protagonist on 360 degrees (only 180 is possible), this issue can be workarounded if in main game menu (Escape button) and select "Resume" item.

4) Not working gamepad in my case it Dualshok 4

$ inxi -bM
System:    Host: localhost.localdomain Kernel: 5.1.0-ea5aee6d97fd+ x86_64 bits: 64 Desktop: Gnome 3.33.1 
           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: 2202 date: 04/11/2019 
CPU:       8-Core: AMD Ryzen 7 2700X type: MT MCP speed: 3779 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.4 driver: amdgpu resolution: 3840x2160~60Hz 
           OpenGL: renderer: AMD Radeon VII (VEGA20 DRM 3.32.0 5.1.0-ea5aee6d97fd+ LLVM 8.0.0) v: 4.5 Mesa 19.1.0-rc2 
Network:   Device-1: Intel I211 Gigabit Network driver: igb 
           Device-2: Realtek RTL8822BE 802.11a/b/g/n/ac WiFi adapter driver: N/A 
Drives:    Local Storage: total: 11.57 TiB used: 8.15 TiB (70.4%) 
Info:      Processes: 456 Uptime: 6h 58m Memory: 31.40 GiB used: 16.62 GiB (52.9%) Shell: bash inxi: 3.0.34 

The game is crashes when I enable renderdoc (ENABLE_VULKAN_RENDERDOC_CAPTURE=1) for record a trace.

steam-298110.log

Gamepad controls are not recognized in the game...

Also all foliage appears flickering

To fix flickering foliage, install/compile dxvk 1.4.4 or less for now.
Related: https://github.com/doitsujin/dxvk/issues/1257

I've bisected the flickering issue, it's caused by this commit in DXVK.

As Far Cry 4 was on sale I got it. Works with an nvidia card as far as I can see. The audio issues still exist but can be worked around as previously detailed.
I would like to get the controller part to work though. Any ideas how to go about it? The initial menu react to controller input but seem to misinterpret the input. This probably leads to controllers being disabled.
Any ideas how to go about debugging this? I'm not very experienced with wine/proton debugging.
Searching for this issue I see that Far Cry Primal also has trouble with controllers, same issue maybe.

Far Cry 4 don't run. Uplay run correctly without any problem, but when I click play on Far Cry 4 it didn't run

I've bisected the flickering issue, it's caused by this commit in DXVK.

Have you reported it to DXVK?

I've bisected the flickering issue, it's caused by this commit in DXVK.

Have you reported it to DXVK?

I wrote a comment about it in the Far Cry Primal issue (https://github.com/doitsujin/dxvk/issues/1257) because that seems to have the same problem. Unfortunately they don't really know what's causing the issue, and are not really interested in fixing it(see https://github.com/doitsujin/dxvk/issues/1257#issuecomment-558790007)

Unfortunately they don't really know what's causing the issue, and are not really interested in fixing it

from the later comment it seems like it you tracked it down pretty closely. I guess the next step (unless someone spots the issue) would be to look at the disassembly (ghidra has a diffing mode) with and without the call. not in the mood to wade through x86 assembly now, though.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

matou68 picture matou68  路  3Comments

AwesamLinux picture AwesamLinux  路  3Comments

shaphanpena1 picture shaphanpena1  路  3Comments

AwesamLinux picture AwesamLinux  路  3Comments

AwesamLinux picture AwesamLinux  路  3Comments