Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Should DLSS 3 Frame Generation work today? #103

Closed
philipl opened this issue Dec 13, 2022 · 23 comments · Fixed by #213
Closed

Should DLSS 3 Frame Generation work today? #103

philipl opened this issue Dec 13, 2022 · 23 comments · Fixed by #213

Comments

@philipl
Copy link

philipl commented Dec 13, 2022

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!

@jp7677
Copy link
Owner

jp7677 commented Dec 14, 2022

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.

@adamnv
Copy link
Contributor

adamnv commented Dec 17, 2022

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! :)

@oscarbg
Copy link

oscarbg commented Mar 1, 2023

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

@philipl
Copy link
Author

philipl commented Apr 11, 2023

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

@adamnv
Copy link
Contributor

adamnv commented Apr 12, 2023

I wouldn't be able to say...

@eXt73

This comment was marked as off-topic.

@jp7677

This comment was marked as off-topic.

@eXt73

This comment was marked as off-topic.

Repository owner deleted a comment from gabriele2000 May 10, 2023
Repository owner deleted a comment from eXt73 May 31, 2023
@eXt73
Copy link

eXt73 commented Sep 26, 2023

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 ...

@K0bin
Copy link

K0bin commented Sep 26, 2023

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

@Saancreed
Copy link
Collaborator

Saancreed commented Sep 26, 2023

☝️ 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.

Repository owner deleted a comment from gabriele2000 Sep 26, 2023
@eXt73
Copy link

eXt73 commented Sep 27, 2023

☝️ 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
Copy link

eXt73 commented Dec 20, 2023

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

@jp7677
Copy link
Owner

jp7677 commented Dec 20, 2023

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 #106

@awsms
Copy link

awsms commented Sep 24, 2024

Was there any kind of feedback from NVIDIA devs regarding Frame Generation support on Linux? They seem to simply don't care about this feature (and DLSS3 as a whole) for Linux.
https://forums.developer.nvidia.com/t/dlss-3-and-frame-generation-on-linux/239304/11

@Saancreed
Copy link
Collaborator

Well, yes? If NVIDIA didn't care then why would they bother adding necessary work on vkd3d-proton side to support this in the future?

Let's stay calm for a little longer, this stuff takes (a lot of) time.

@Saancreed Saancreed linked a pull request Oct 17, 2024 that will close this issue
@jp7677
Copy link
Owner

jp7677 commented Oct 17, 2024

@gilvbp Please don't distribute binaries here from non GitHub CI locations.

@shelterx
Copy link

I know it's under review but I tried the vkd3d-proton/dxvk-nvapi commits.
Don't have many FG-games but i tired Ghost of Tsushima, seems like it needs DXVK_NVAPI_GPU_ARCH=AD100 but enabling DLSS-FG makes the screen go black.

@Blisto91
Copy link

You need the Proton Wine commit too

@Saancreed
Copy link
Collaborator

Saancreed commented Oct 17, 2024

Ghost of Tsushima

@shelterx That's the one game (with Frame Generation) for which we hide Ada GPUs by default because of a bug in some external middleware it uses, so requiring the override there is currently expected. I haven't asked around for some time now whether it had been fixed or not but GoT should probably be given another look once DLFG support is merged.

@shelterx
Copy link

Ghost of Tsushima

@shelterx That's the one game for which we hide Ada GPUs by default because of a bug in some external middleware it uses, so requiring the override there is currently expected. I haven't asked around for some time now whether it had been fixed or not but GoT should probably be given another look once DLFG support is merged.

Yeah, I remember that. that's why I tried AD100 instead.

I'm not sure if it's my proton but FYI, Black Myth says it need HAGS to be enabled. I used to have the HAGS patch but maybe it got removed...

What proton patch is needed then?

@Blisto91
Copy link

Blisto91 commented Oct 17, 2024

ValveSoftware/wine#259

The new nvapi dlls also need to be placed in the prefix system32/syswow64

@shelterx
Copy link

shelterx commented Oct 17, 2024

Well, I think I got a working proton now so tried again GoT, FG works but it does not run well with AD100 exposed, but we knew that.
Also tried Black Myth benchmark, still complains about HAGS.
Was going to try Forza Horizon 5 too but that does not run under Wayland on 560.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

10 participants