I have a question regarding DLSS in Unreal Engine 5.1 in VR
It seems like its not supported (yet?)
Changing the r.screenpercentage does not do anything or results in a crash:
[2022.12.22-10.29.18:859]LogWindows: Error: appError called: Assertion failed: InVelocityTexture->Desc.Extent == FIntPoint(1, 1) || InVelocityTexture->Desc.Extent == InSceneDepthTexture->Desc.Extent [File:D:\Experiments\VR_DLSS\Plugins\DLSS\Source\DLSSUtility\Private\VelocityCombinePass.cpp]
I tried it in DX12 and DX11 in deferred Rendering mode.
I’m seeing this as well in 5.1, engine crash at VelocityCombinePass.cpp:98
@penneydude to the NVIDIA developer forums!
Are you two using out the newest release of DLSS for Unreal Engine 5.1?
See my post on a different thread in this forum.
If yes, did your apps work on previous versions?
If that is another yes, then please attach a complete log of DLSS debug logs here and I will pass it on to the engineers.
Happy new year to you all!
Yes I’m using the newest version of DLSS (20221220).
I’m not using an old project, but used DLSS in 4.27 and 5.0 projects and looking into porting the 5.0 project to 5.1.
As we have also issue with DLSS and VR in 5.0 (see https://forums.developer.nvidia.com/t/dlss-unreal-engine-5-0-3-spamming-log-message-collectgarbageincrementframe-when-running-in-vr/232605/2?u=fabian.troxler)
I’m aware of the new way of enabling and changing the DLSS settings and the crash happens as soon as you want to change the r.screenpercentage (which is enabling DLSS)
Unfortunately I somehow cannot figure out how to enable the NGX logging, the folders in the /saved/logs/NGX are empty:
I tried to follow the instructions in the DLSS_Quick_Start_Guid.pdf
Setting the registry has no effect
setting the r.NGX.EnableOtherLoggingSinks is not possible, as it is read only
but i’ve attached the log file and a zipped project file if it helps:
VRTest.log (160.7 KB)
VRTest.zip (57.9 MB)
In the project you can press ‘1’ on the keyboard to enable DLSS (changing r.screenpercentage to 50) or disbale it again. In non VR it works perfectly, but in VR it crashes instantly.
Hope this helps, we are really looking forward to use DLSS in unreal 5.0+, but are stuck for now with 4.27 in VR
For complete information the Hardware and Software I’m using:
Unreal 5.1.0 (launcher version)
nvidia 3090 with newest Studio Drivers
Valve Index with OpenXR
Deferred DX12 SM6 render pipeline (tried others without any difference)
January 9, 2023, 3:51pm
Hello, happy new years!
I am currently experiencing the same issues as well. Changing screen percentage outside of VR works, applying DLSS to that works as well. Changing screen percentage in VR works but crashes the moment I apply DLSS to it.
I’ve attached my crash log and dump:
VR_DLSS_ScreenPercentageCrash.zip (207.8 KB)
Here are my set-up details
Unreal Editor 5.1.0
nvidia 3090 driver version 18.104.22.1684 (I really should get around to updating that)
HTC Vive Pro with OpenXR
Default UE5 VR Template project
@haryo1 to the NVIDIA developer forums!
Thanks both of you for the added details!
I am not sure right now what the issue with the logs might be Fabian, but I think for the time being I have enough information to pass on to some of the engineers who might be able to help.
No promises on how fast I can get back to you though.
January 14, 2023, 12:45am
I am also experiencing the same issue. Hope there is a solution soon. Thank you in advance!
Welcome to the thread and to the NVIDIA developer forums
I created an internal issue for this, so for now we need to wait.
We are experimenting the exat issue as well. Just to give further information, it seems to work fine with Oculus Quest 2 through Quest link/Air link using Oculus app as OpenXR Runtime. But as soon as we try to use HP Reverb it starts crashing. Using Nvidia CloudXR and SteamVR to stream to Quest 2 also crashes.
Also using an HP Reverb 2 here, with OpenXR (not SteamVR). Wonder if it’s resolution related, I know the Reverb pushes ~130% more pixels than a Quest 2.
February 21, 2023, 11:21am
Hi, just chiming in with a brief question whether this issue was fixed in the version of this plugin for UE5.1.1. I can’t immediately find a changelog.
Sorry haryo1, the 5.1.1 update was a minimal re-build to address UE specific changes, but no functional fixes or additions.
Still waiting for the bug resolution.
March 14, 2023, 12:03am
In 5.1.1 vr.pixeldensity command seems to work for changing the internal resolution, but the image seems softer than expected with DLSS, so the upscaling is not applied?