Nvidia DLSS for UE5.0 Branch or Main

I changed a few lines of code in the Nvidia DLSS plugins code so I can use it with UE 5.0 Branch build from source.It should work with Main source too, I have not try .
If anyone need it you can download it from here Unreal Engine 5 - Google Drive
Thanks me later :wink:

3 Likes

Why not GitHub? :wink:

I`m not to experience with GitHub, also this is Nvidia project, I guess they will update it soon, but I could not wait :smiley:

There you go https://github.com/truefranco/Nvidia-DLSS-Plugin

1 Like

Quick Question which is the best Branch to use,

I see 4 of them.
5.0
ue5-main
ue5-release-engine-staging
ue5-release-engine-test

I use, 5.0 branch.

Hi.
Do you able to compile the latest version from UE5.1 main branch? I got these errors:

Severity Code Description Project File Line Suppression State
Error LNK2019 unresolved external symbol public: void __cdecl FD3D12Device::RegisterGPUWork(unsigned int,unsigned int) (?RegisterGPUWork@FD3D12Device@@QEAAXII@Z) referenced in function public: virtual void __cdecl FNGXD3D12RHI::ExecuteDLSS(class FRHICommandList &,struct FRHIDLSSArguments const &,class TSharedPtr<struct FDLSSState,1>) (?ExecuteDLSS@FNGXD3D12RHI@@UEAAXAEAVFRHICommandList@@AEBUFRHIDLSSArguments@@anonymous_user_e71e0d8a1?$TSharedPtr@UFDLSSState@@$00@@@Z) Compile51 C:\Users\Administrator\Documents\Unreal Projects\Compile51\Intermediate\ProjectFiles\NGXD3D12RHI.cpp.obj 1
Error C2672 ‘EnumHasAnyFlags’: no matching overloaded function found Compile51 C:\Users\Administrator\Documents\Unreal Projects\Compile51\Plugins\DLSS\Source\NGXVulkanRHI\Private\NGXVulkanRHI.cpp 262
Error C2065 ‘FVulkanTextureBase’: undeclared identifier Compile51 C:\Users\Administrator\Documents\Unreal Projects\Compile51\Plugins\DLSS\Source\NGXVulkanRHI\Private\NGXVulkanRHI.cpp 254
Error C2065 ‘VulkanTexture’: undeclared identifier Compile51 C:\Users\Administrator\Documents\Unreal Projects\Compile51\Plugins\DLSS\Source\NGXVulkanRHI\Private\NGXVulkanRHI.cpp 254
Error C2065 ‘VulkanTexture’: undeclared identifier Compile51 C:\Users\Administrator\Documents\Unreal Projects\Compile51\Plugins\DLSS\Source\NGXVulkanRHI\Private\NGXVulkanRHI.cpp 262
Error C2065 ‘VulkanTexture’: undeclared identifier Compile51 C:\Users\Administrator\Documents\Unreal Projects\Compile51\Plugins\DLSS\Source\NGXVulkanRHI\Private\NGXVulkanRHI.cpp 264
Error C2065 ‘VulkanTexture’: undeclared identifier Compile51 C:\Users\Administrator\Documents\Unreal Projects\Compile51\Plugins\DLSS\Source\NGXVulkanRHI\Private\NGXVulkanRHI.cpp 265
Error C2065 ‘VulkanTexture’: undeclared identifier Compile51 C:\Users\Administrator\Documents\Unreal Projects\Compile51\Plugins\DLSS\Source\NGXVulkanRHI\Private\NGXVulkanRHI.cpp 266
Error C2065 ‘VulkanTexture’: undeclared identifier Compile51 C:\Users\Administrator\Documents\Unreal Projects\Compile51\Plugins\DLSS\Source\NGXVulkanRHI\Private\NGXVulkanRHI.cpp 268
Error C2065 ‘VulkanTexture’: undeclared identifier Compile51 C:\Users\Administrator\Documents\Unreal Projects\Compile51\Plugins\DLSS\Source\NGXVulkanRHI\Private\NGXVulkanRHI.cpp 269
Error C2065 ‘VulkanTexture’: undeclared identifier Compile51 C:\Users\Administrator\Documents\Unreal Projects\Compile51\Plugins\DLSS\Source\NGXVulkanRHI\Private\NGXVulkanRHI.cpp 270
Error C2065 ‘VulkanTexture’: undeclared identifier Compile51 C:\Users\Administrator\Documents\Unreal Projects\Compile51\Plugins\DLSS\Source\NGXVulkanRHI\Private\NGXVulkanRHI.cpp 272
Error C2065 ‘VulkanTexture’: undeclared identifier Compile51 C:\Users\Administrator\Documents\Unreal Projects\Compile51\Plugins\DLSS\Source\NGXVulkanRHI\Private\NGXVulkanRHI.cpp 274
Error C2065 ‘VulkanTexture’: undeclared identifier Compile51 C:\Users\Administrator\Documents\Unreal Projects\Compile51\Plugins\DLSS\Source\NGXVulkanRHI\Private\NGXVulkanRHI.cpp 275
Error C2065 ‘VulkanTexture’: undeclared identifier Compile51 C:\Users\Administrator\Documents\Unreal Projects\Compile51\Plugins\DLSS\Source\NGXVulkanRHI\Private\NGXVulkanRHI.cpp 278
Error C2065 ‘VulkanTexture’: undeclared identifier Compile51 C:\Users\Administrator\Documents\Unreal Projects\Compile51\Plugins\DLSS\Source\NGXVulkanRHI\Private\NGXVulkanRHI.cpp 279
Error LNK1120 3 unresolved externals Compile51 C:\Users\Administrator\Documents\Unreal Projects\Compile51\Plugins\DLSS\Binaries\Win64\UnrealEditor-NGXD3D12RHI.dll 1
Error C2061 syntax error: identifier ‘FVulkanTextureBase’ Compile51 C:\Users\Administrator\Documents\Unreal Projects\Compile51\Plugins\DLSS\Source\NGXVulkanRHI\Private\NGXVulkanRHI.cpp 254
Error MSB3073 The command C:\UnrealEngine-ue5-main\Engine\Build\BatchFiles\Build.bat -Target=Compile51Editor Win64 Development -Project=\C:\Users\Administrator\Documents\Unreal Projects\Compile51\Compile51.uproject\ -Target=ShaderCompileWorker Win64 Development -Quiet -WaitMutex -FromMsBuild exited with code 6. Compile51 C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.MakeFile.Targets 44
Error LNK2019 unresolved external symbol public: class FRHITexture * __cdecl FD3D12BackBufferReferenceTexture2D::GetBackBufferTexture(void) (?GetBackBufferTexture@FD3D12BackBufferReferenceTexture2D@@QEAAPEAVFRHITexture@@anonymous_user_9674a66c) referenced in function public: virtual void __cdecl FNGXD3D12RHI::ExecuteDLSS(class FRHICommandList &,struct FRHIDLSSArguments const &,class TSharedPtr<struct FDLSSState,1>) (?ExecuteDLSS@FNGXD3D12RHI@@UEAAXAEAVFRHICommandList@@AEBUFRHIDLSSArguments@@anonymous_user_e71e0d8a1?$TSharedPtr@UFDLSSState@@$00@@@Z) Compile51 C:\Users\Administrator\Documents\Unreal Projects\Compile51\Intermediate\ProjectFiles\NGXD3D12RHI.cpp.obj 1
Error LNK2019 unresolved external symbol public: void __cdecl FD3D12DescriptorCache::SetCurrentCommandList(class FD3D12CommandListHandle const &) (?SetCurrentCommandList@FD3D12DescriptorCache@@QEAAXAEBVFD3D12CommandListHandle@@@Z) referenced in function public: virtual void __cdecl FNGXD3D12RHI::ExecuteDLSS(class FRHICommandList &,struct FRHIDLSSArguments const &,class TSharedPtr<struct FDLSSState,1>) (?ExecuteDLSS@FNGXD3D12RHI@@UEAAXAEAVFRHICommandList@@AEBUFRHIDLSSArguments@@anonymous_user_e71e0d8a1?$TSharedPtr@UFDLSSState@@$00@@@Z) Compile51 C:\Users\Administrator\Documents\Unreal Projects\Compile51\Intermediate\ProjectFiles\NGXD3D12RHI.cpp.obj 1