dxvk icon indicating copy to clipboard operation
dxvk copied to clipboard

[request] Expose VXAO via DXVK?

Open RareMv opened this issue 2 years ago • 3 comments

So DXVK is able to emulate all DirectX9-10-11 calls through Vulkan.

DXVK also allows to set a custom device ID, for device spoofing.

Is it possible to make DXVK expose Nvidia's VXAO option in games, if you don't have a Maxwell GPU or newer?

It's only present in like 4 games total to my knowledge. Rise of the Tomb Raider, Final Fantasy 15, I think Division 1 and I think Shadow of the Tomb Raider. And it's only present in DX11, not DX12.

It's a voxel based AO solution, similar to a path traced AO option like ReShade MXAO. Or you can think of it a precursor to Nvidia's work on RT ambient occlusion.

I'm really not sure if this is within's DXVK or any developer's means, but I wanted to ask.

RareMv avatar Sep 19 '22 10:09 RareMv

VXAO works in FFXV if you have a supported GPU (even AMD). I don't know about the other games, they may require some sort of nvapi magic that probably doesn't work on Linux.

doitsujin avatar Sep 19 '22 13:09 doitsujin

I only tried on Windows, on 5700 XT and NimeZ 22.8.2 drivers. Used DXVK 1.10.3, set the Nvapi to not report as an AMD GPU (so False) and set the device ID to an RTX 3080.

Rise of the Tomb Raider in DX11 would still not expose VXAO.

I am aware DXVK is not meant for Windows necessarily, but was curious about this possibility in regards to VXAO. There's nobody else on the internet doing any work on this topic.

RareMv avatar Sep 19 '22 13:09 RareMv

DXVK supports all the features necessary, if the game decides to only expose VXAO on an actual Nvidia GPU due to some vendor library interactions (which cannot ever work with DXVK on Windows) then there's nothing we can do on our end.

doitsujin avatar Sep 19 '22 13:09 doitsujin