NVIDIAGameWorks / Falcor

Real-Time Rendering Framework
https://developer.nvidia.com/falcor
Other
2.7k stars 491 forks source link

Can't Run On GTX10xx Series GPU #289

Closed StringWeaver closed 2 years ago

StringWeaver commented 2 years ago

I can successfully build Falcor on my GTX 1080 machine and can run projects without DXR for example ShaderToy, but as soon as I run any project related to DXR such as HelloDXR it will pop up an error window says: "Error! The parameter is incorrect". Then I tested it on an RTX machine, everything works. But as far as I know, GTX10xx series GPU supports DXR through software emulation and I can enable DXR in games, so theoretically it should also run without problem despite significantly slower.

TechnikEmpire commented 2 years ago

Nobody can help without knowing your driver version.

StringWeaver commented 2 years ago

Tried both 497.29 GameReady driver and 511.09 Studio Driver with the same issue.

skallweitNV commented 2 years ago

We don't support pre RTX cards. Performance with SW emulation is not good enough for any kind of serious raytracing workloads.

StringWeaver commented 2 years ago

@skallweitNV Considering the amount of Pascal GPUs in universities and it has a driver level DirectX Raytracing support, I think it is reasonable to at least give users an option to use them.

skallweitNV commented 2 years ago

@Cook21 that's probably true. I can't guarantee that it will be fixed, but we can take a look at it. If there is a simple solution, there is no reason not to have it in.

StringWeaver commented 2 years ago

@skallweitNV that's great, thanks for your work.

skallweitNV commented 2 years ago

So I've checked. The emulation layer is only for DXR 1.0 and requires at least 6GB of VRAM on Pascal GPUs (and works on all Volta GPUs). With this you should be able to run HelloDXR, MegakernelPathTracer (deprecated) and MinimalPathTracer as they are DXR 1.0. However, to run the new PathTracer we need DXR 1.1 support, so this definitely won't run on non-RTX GPUs.

Given that you have a GTX 1080 (with assuming 8GB of VRAM) you should be able to run HelloDXR. Can you try running in Debug mode and see if the validation layer outputs anything helpful? I don't have a pre-RTX card here for testing right now.

StringWeaver commented 2 years ago

@skallweitNV Unfortunately I am on winter vacation so I can't check the validation layer output right now, but I'm sure at the time I create this issue GTX 1080 won't run HelloDXR , neither in debug nor release mode.

StringWeaver commented 2 years ago

Closed because I don't have GTX card anymore for now, if anyone is willing to look into it, ask me to reopen this issue.