Solved : Cant Enable RayTracing in UE5 (gtx 1060)(Nvidia Pascal)

Thank you!

Sorry didn’t check the forum for a while, glad you got the file from @JohnDow.

I’m wondering how we compile that library in the first place. (In case of updates in the future)

Do we need the full unreal engine source code and compile all the files (then copy that specific dll) ? or can we compile just a single file or folder and get a new dll file?

Okay, just compiled 5.1.0, did these same changes, put the thing into the config and now I still don’t have pathtracing. Anyone could help me out?

Did they add more obstacles to enabling pathtracing on older cards? Still can’t figure this out, going crazy lol.

Okay, the issue:
Ray tracing is disabled because D3D12 ray tracing tier 1.1 is required but only tier 1.0 is supported.
bruh

OKAY I FIXED IT: new dll for 5.1 development build (latest commits merged from yesterday). I replaced the tier checking code from 5.0 and it’s working still!
I tried just using all the tier 1.1 features, but I get a D3D device crash, probably because those are features that are actually turned off in the driver itself.

mega link for dll

1 Like

Download link broken, I have UE 5.0.3 and having same issue with 3090 win 11 and 5900x

What do you mean? A RTX 3090 wouldn’t need this fix! Just turn on direct X12 and run like the wind.

2 Likes

Yes exactly! Also this is strictly for the yet unreleased 5.1! Do NOT mismatch engine and dll versions.

1 Like

Has anyone compiled the dll for 5.0.3 ? Please share the file if yes.

You could try and download the 5.1 preview dll I compiled from here – I don’t see any reason why it shouldn’t work, even though I just said not to mismatch dlls between versions, but in theory if they haven’t changed anything in that source file between the versions, it should work. Be sure to back up your cureent DLL though!!!

I also compiled a new, 5.2 version of that DLL. They’ve added yet another lock on raytracing, but it really only matters if you have a ray tracing tier 1.1 GPU. Here’s the change I made.

1 Like

You sir are a legend. I’ve been trying to get this working for 3 days straight!

You have my eternal gratitude!!!

1 Like

i have just downloaded and compiled 5.1 source code as of today, did the previous “allow emulated raytracing” thing and downloaded your github d3d12rhi.dll, but it seems like it no longer works, when booting up the engine theres a message in the output log: “LogRHI: D3D12 is not supported, falling back to D3D11 with Feature Level SM5”, i have a gtx 1070

also, what kind of raytracing features are limited to tier 1.1?

alright i managed to get raytracing to work again in 5.1:

pathtracing with fog seems to work fine, although i still would like to know what raytracing features are locked behind “tier 1.1 raytracing”

would you be able to provide the already compiled project or pass on more information on how to make the change?

i edited my post above so its abit clearer what u need to do to make this work

Hi, does this mean that changing and compiling/sharing the D3DRHI12 DLL is not enough anymore?

I would really appreciate it if you could please share the compiled DLL needed for us GTX users without enough knowledge on recompiling the full source code.

P.S: Tried as well the recompiled DLL from github for 5.1 but it seems that it’s outdated that’s why it throws the error and goes back to D3D 11.

Thanks :slight_smile:

at first i thought that replacing a single .dll won’t work after such changes in the engine since the last .dll provided by kotn3l, but turns out that it works fine, just replace it in Engine\Binaries\Win64 as usual and it should work with the latest 5.1 preview from epic launcher

2 Likes

Thank you! It works great :slight_smile:

1 Like

@KrasheRXD Thank for that. In Windows 11 download you must right click and select “Keep” and then scroll down to error message and select “Continue” and select. “I accept risks download anyway”. If you forget to do this you get a file called
“Unconfirmed 930408.crdownload” and have to download again using right click “Keep” function

could you provide the file “D3D12Adapter.cpp” already modified? only the file “Unreal Editor-D3D 12RHI.dll” doesn’t work for me

thats strange, it was working fine for me on the 5.1 preview build from the launcher

as for the D3D12Adapter.cpp i already mentioned its a matter of replacing the lines of code as in kotn3l’s commit, but here you go

Hi, could you write detailed walkthrough in one post how to switch on ray and path tracing on UE 5.1? I tried few times but seems I miss something…