protonscr

Rendering issues in Far Cry 3

dxvkclosed amd radv
doitsujin/dxvk#303 · opened 2018-04-18 by tdjb · updated 2018-05-25 · 7 comments · github
Ttdjb 2018-04-18 github

Experiencing rendering issues in Far Cry 3.
The menus and the campaign intro are running fine.

I noticed this in the log, does this mean that backwards compatibility is in use?
err: DXGI: CheckInterfaceSupport: No D3D10 support

Screenshot

Software information

Far Cry 3 (v1.05 / Steam)

Settings

Tried low, medium, high, and some manual permutations as well
Plus different ambient occlusion methods.

All resulting in the same artifacts, maybe changing the effect to some degree.

System information

  • GPU: AMD R9 390X
  • Driver: Mesa 18.0.0
  • Wine version: 3.6 (Staging)
  • DXVK version: v0.42-31-g8125d53

Apitrace file(s)

  • Crashes with Wine before reaching the main menu.

Log files

Ddoitsujin maintainer 2018-04-18 github

Looks like your average RADV/LLVM bug. Can you test with mesa-git and LLVM 7.0.0-svn please?

This issue seems to be similar to what I've seen in Kingdom Come: Deliverance (fixed in LLVM-svn) and Elex (#289).

Ttdjb 2018-04-18 github

Built LLVM and Mesa from current sources and re tested, sadly to no success.
The rendering issues appear unchanged.

But I did notice these messages:
SC(ERROR / SPEC): object: 0x0 type: 0 msgNum: 3 - Attachment 1 not written by fragment shader
SC(ERROR): object: 0x0 type: 0 location: 806 msg_code: 3: Object: 0x0 | Attachment 1 not written by fragment shader
SC(ERROR / SPEC): object: 0x0 type: 0 msgNum: 3 - Attachment 2 not written by fragment shader
SC(ERROR): object: 0x0 type: 0 location: 806 msg_code: 3: Object: 0x0 | Attachment 2 not written by fragment shader

SC(ERROR / SPEC): object: 0x0 type: 0 msgNum: 3 - Attachment 1 not written by fragment shader
SC(ERROR): object: 0x0 type: 0 location: 806 msg_code: 3: Object: 0x0 | Attachment 1 not written by fragment shader
SC(ERROR / SPEC): object: 0x0 type: 0 msgNum: 3 - Attachment 2 not written by fragment shader
SC(ERROR): object: 0x0 type: 0 location: 806 msg_code: 3: Object: 0x0 | Attachment 2 not written by fragment shader

SC(ERROR / SPEC): object: 0x0 type: 0 msgNum: 3 - Attachment 1 not written by fragment shader
SC(ERROR): object: 0x0 type: 0 location: 806 msg_code: 3: Object: 0x0 | Attachment 1 not written by fragment shader

Ddoitsujin maintainer 2018-04-18 github

Those issues are usually harmless.

I'll see if I can get the game to run and look into it.

Ttdjb 2018-04-18 github

While in-game when changing MSAA from 0 to 2 (or above?), most of the issues just go away.
There is flickering on some occasions, like menu transitioning from in-game.

Here is an apitrace, excuse the included intro, I didn't have a save earlier.
https://tdjb.2ds.eu/static/tmp/dxvk/farcry3_d3d11.trace.xz

Make sure xaudio2_7 is set to native if you want to try it yourself. It kept randomly crashing and the audio was heavily distorted the whole time.

BBulbyzarr 2018-04-19 github

Can you try to enable MSAA in your graphic settings ?
I had this issue with "MSAA" to off and set to 2 resolv this issue.

Hhakzsam 2018-05-21 github
Ddoitsujin maintainer 2018-05-25 github

Should be fixed with latest mesa-git.

Nothing extracted yet.