protonscr

Max Payne 3; Tessellation Issue

dxvkclosed d3d11amd radv
doitsujin/dxvk#2202 · opened 2021-07-31 by jarrard · updated 2021-07-31 · 4 comments · github
1 matching comments, n / p to jump
Jjarrard 2021-07-31 github

Max Payne 3 has broken tessellation when using DXVK but not Wined3d11

Software information

Max Payne 3, Just enable tessellation for issue to show.

System information

  • GPU: 6800XT
  • Driver: RADV
  • Wine version: ProtonGE-6.13 AND Proton6.3-5
  • DXVK version: 1.9.1

Apitrace file(s)

  • soon

Log files

Thought I'd open this issue here since I discovered DXVK is causing the problem from what I can tell.

Any suggestions welcome, I've tried invariantgeom already. Yes I tested with MANGOHUD and VKBASALT disabled, no change.

Ddoitsujin maintainer 2021-07-31 github

Can we have an apitrace and some sort of screenshot that shows what exactly is broken? Given that this is a Rockstar game, getting it to run is very hard and I'd like to avoid wasting countless hours fighting their stupid Social Club crap.

Also, the game has been known to work in the past, probably a driver bug or something.

Jjarrard 2021-07-31 github
  1. I'll sort out the apitrace for you. (will a linux apitrace do?)
  2. The issue can be seen at the main menu where the main character is sitting down at chair.
  3. Tessellation is off by default, most people won't see the issue.
  4. Game works fine without tessellation.
  5. WineD3D11 does not produce this issue, seems DXVK related. I've tried other drivers also.

This is probably a DXVK+AMDGPU related problem is my guess.

Seems using d3d11/dxgi/dxgitrace wrappers does nothing, or the trace files are being thrown into a random folder somewhere. I may need to look for different method, or do the trace under windows.

Ddoitsujin maintainer 2021-07-31 github

I managed to get the game to run, pretty sure this is a RADV bug, works fine on the proprietary driver. Annoyingly none of the debug tools (apitrace, etc) seem to work with this game.

Jjarrard 2021-07-31 github

Yeah I couldn't get any debug tools to work either, even when disabling the rockstar launcher and using a few different methods.

Additionally when I try and run DXVK under windows10 I get a SWAP_CHAIN error so I couldn't test to see if the tessellation issue was present there.

Seems Rockstar Launcher fails to login with amdvlk. VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/amd_icd32.json
This game is 32bit even thought the store page claims its 64bit. (I tried both 32 and 64bit apitrace).

VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/amd_icd32.json:/usr/share/vulkan/icd.d/amd_icd64.json %command% is the correct command.

You are right, AMDVLK does work after-all, its just I wasn't using both 32 and 64bit ICD's.. oops.

PS. Sorry for wasting time here. Didn't expect launcher to be 64bit and game to be 32bit..