dxvk-nvapi icon indicating copy to clipboard operation
dxvk-nvapi copied to clipboard

Should DLSS 3 Frame Generation work today?

Open philipl opened this issue 2 years ago • 23 comments

I've been trying to work out if the existing DLSS support is supposed to be enough to enable frame generation? There hasn't been any unambiguous statement from nvidia. I've been trying out Portal RTX on a 4090 and the Frame Generation option is not exposed, although the rest of the DLSS functionality works just fine.

Is there additional work nvidia needs to do? Is this related to the fact that dxvk-nvapi reports Ampere instead of Ada as noted in the 0.6 release notes - although that says its only for DLSS 2.0 -> 2.4 and Portal RTX should be using 3.0? or something else?

Thanks!

philipl avatar Dec 13 '22 17:12 philipl

I don’t know how exactly how DLSS3 works (tbf, I don’t know the details about DLSS2 either :)), but I’m pretty certain that getting support for it would still need work on several places in the stack. So yes, at least from my limited knowledge, DLSS3 not being available should be the current state.

For reference, bringing DLSS2 to Linux/Proton resulted in work in the NVIDIA driver, in DXVK/VKD3D-Proton and in this project. But I don’t know if the same applies to DLSS3. From my understanding DLSS3 is also a very different kind of beast than DLSS2.

Yeah, the spoofing work around is really just for a certain range of DLSS2 versions, newer versions know about Ada and for those Ada architecture will be reported.

jp7677 avatar Dec 14 '22 22:12 jp7677

I’m pretty certain that getting support for it would still need work on several places in the stack. So yes, at least from my limited knowledge, DLSS3 not being available should be the current state.

Correct! :)

adamnv avatar Dec 17 '22 19:12 adamnv

@jp7677 Curious if new NV 530 Linux driver branch has some progress toward supporting DLSS3 frame generarion on Proton?

oscarbg avatar Mar 01 '23 18:03 oscarbg

@adamnv is nvidia working on exposing Frame Gen on Linux?

philipl avatar Apr 11 '23 22:04 philipl

I wouldn't be able to say...

adamnv avatar Apr 12 '23 00:04 adamnv

I wouldn't be able to say...

So You don't know anything about it ? Nvidia is 'playing' with us ;/

eXt73 avatar Apr 17 '23 21:04 eXt73

@eXt73 Please refrain from making nonsensical comments.

jp7677 avatar Apr 17 '23 21:04 jp7677

@eXt73 Please refrain from making nonsensical comments.

ok, but you can see that Nvidia's behavior [no answer to any questions asked in this topic] is very annoying here

eXt73 avatar Apr 18 '23 08:04 eXt73

The Cyberpunk 2077: Phantom Liberty expansion has been released, and there is support for NVIDIA DLSS 3.5 Ray Reconstruction ... and of course it does not work on Linux - this is just a 'supplement' to the above-mentioned report ...

eXt73 avatar Sep 26 '23 05:09 eXt73

@eXt73 As far as I know, ray reconstruction works. You just need to make NVAPI report a higher driver version and enable path tracing.

K0bin avatar Sep 26 '23 09:09 K0bin

:point_up: This is correct, @eXt73 you need make sure you don't have outdated driver that doesn't support Ray Reconstruction (find _nvngx.dll file that comes with it and run strings _nvngx.dll | grep dlss on it, if it mentions dlssd then you are good to go) and export DXVK_NVAPI_DRIVER_VERSION=53742 (until Nvidia releases 545 driver for Linux).

The requirement to enable Path Tracing to use Ray Reconstruction is the same as on Windows.

In fact, support for Ray Reconstruction in dxvk-nvapi has been implemented in b4b33c2abd2ba8aa70fa8081459bd2e511ac61ff and merged over a month ago.

Saancreed avatar Sep 26 '23 16:09 Saancreed

☝️ This is correct, @eXt73 you need make sure you don't have outdated driver that doesn't support Ray Reconstruction (find _nvngx.dll file that comes with it and run strings _nvngx.dll | grep dlss on it, if it mentions dlssd then you are good to go) and export DXVK_NVAPI_DRIVER_VERSION=53742 (until Nvidia releases 545 driver for Linux).

The requirement to enable Path Tracing to use Ray Reconstruction is the same as on Windows.

In fact, support for Ray Reconstruction in dxvk-nvapi has been implemented in b4b33c2 and merged over a month ago.

You're right ;) I'm honoring Nvidia here... the entry: DXVK_NVAPI_DRIVER_VERSION=53742 works as it should. Thanks. ... but... we still don't have frame generation :P

Best regards

eXt73 avatar Sep 27 '23 08:09 eXt73

Maybe > since Nvidia is still not kind enough to provide us with FG... maybe it would be possible to use the code of this modification? ;)

Nvidia DLSS-G Frame Generation

dlssg-to-fsr3

eXt73 avatar Dec 20 '23 07:12 eXt73

Maybe > since Nvidia is still not kind enough to provide us with FG... maybe it would be possible to use the code of this modification? ;)

See https://github.com/jp7677/dxvk-nvapi/issues/106

jp7677 avatar Dec 20 '23 07:12 jp7677