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:
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
Windows 11
Deferred DX12 SM6 render pipeline (tried others without any difference)
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.
Here are my set-up details
Unreal Editor 5.1.0
nvidia 3090 driver version 31.0.15.1694 (I really should get around to updating that)
HTC Vive Pro with OpenXR
Windows 11
Default UE5 VR Template project
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.
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.
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.
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?
From what I can tell in the Console Log, DLSS is not applied when using the VR.PixelDensity command. Only when using the R.ScreenPercentage command, which crashes when used with VR.
I am using the OpenXR plugin playing in SteamVR, and with DLSS disabled if I set the screen percentage to 52% I get this weird result, with one of the eyes in the hmd seeing this picture, and the other eye doesn’t have the black goggle shape on the top.
Quick update, I did a test in UE5.1.1 and opened a brand new default VR project. I enabled DLSS and the SteamVR (deprecated) plugin. DLSS then worked perfectly in VR, but I had to roll back to DX11, as I believe the SteamVR plugin doesn’t support DX12 and I was having crashes when running in VR.
So this is a possible temp fix, if you don’t need DX12 enabled in your project. (Sadly I have to use Nanite so I’m still restricted) Hopefully this can help give a lead to the problem.
Also in the new blank SteamVR project I didn’t have any of the visual issues that I described above. So it’s possibly a different issue within my project unrelated to the bug fyi.
This worked for me as well! I could however run it using DX12 (albeit with much worse performance).
But yeah, this is really not ideal for me either as this breaks all of my inputs as SteamVR seems to be reliant on the old input mapping system. I can still force it to at least have most actions mapped accordingly, but the animations seems like an utter chore to set up and I’ve got no real idea where to begin.
However, I’d still like to give massive thanks for finding this workaround! At the very least I can use this as a test project to show the potential benefits of using DLSS in VR!
If you don’t mind me asking, did you happen to have to change any settings to get DX12 to work as well? If I could find someway to get it working for me that would be a lifesaver. Currently when I run preview in VR, the whole project just freezes and I have to force end task to do anything.