Open gioxyer opened 3 months ago
I think that's not a Zluda problem, bcz GPU denoise is available ONLY on nvidia. Blender developers said that AMD GPU denoise will be available in version 4.2. LTS
Thank you for clarification, I close the issue, because it depends from Blender Foundation
I'm reopening because I want to take a look into it at some point (I don't check closed issues)
I think that's not a Zluda problem, bcz GPU denoise is available ONLY on nvidia. Blender developers said that AMD GPU denoise will be available in version 4.2. LTS
It's available on nVidia (and Intel, and Apple Silicon) but not on Radeons that may suggest that implementation for nVidia is based on CUDA. If so then that is ZLUDA's problem.
I just tested with both Blender 4.1 and Blender 4.2, here is what I discover. Versions tested are Blender 4.1 (official release) and Blender 4.2 Alpha (main 56c78a923626), version of today in daily section.
Blender 4.1 Viewport
Blender 4.1 Viewport (CUDA enabled)
Blender 4.1 Render (I tested with one frame to see how it behave : CUTLASS error)
Then I test with Blender 4.2 with 1024 samples to see if something change, here are the results
Blender 4.1 Viewport
Blender 4.1 Render (seems starts correctly, but on cmd first error appear)
Then when render finish, CUTLASS show a black screen
denoiser_gpu.cpp_377
CUTLASS error (info log)
In this case, there are three options here. 1) Release Blender 4.2. 2) Zluda update 3) Improved compatibility with Optix. We are waiting for something to happen for sure.
Do you think by implementing CUTLASS CUDA C++ library will fix it?
Do you think by implementing CUTLASS CUDA C++ library will fix it?
I think yes, it will fix it. It’s not a fact, of course, that it will work as we would like.
I notice Blender Foundation start adding Denoiser for AMD, at the moment there isn't pull request and it seems not available at the moment, but they add it on release notes compare to before
@gioxyer OpenImageDenoising on AMD GPUs was supported in Blender 4.1 with HIP, but was disabled by default unless an environment variable was set. This was done to avoid a AMD GPU driver bug that would ultimately cause Blender to crash for many people while Intel implemented a work around in OIDN.
In 4.2, the need to use the environment variable was removed, and Intel has implemented a work around. So it should just work, and has been working in 4.2 for months now.
The main issue is that OIDN supports a very limited selection number of AMD GPUs.
AMD GPUs with RDNA2 (Navi 21 only) and RDNA3 (Navi 3x) architectures From https://github.com/RenderKit/oidn?tab=readme-ov-file#overview
@vosen Now they start implemented with OpenImageDenoiser the possibility to use GPU, it gives some problem with final render, because it doesn't render lights, but now it is rendering.
Without denoiser enabled:
With denoiser enabled:
On CMD gives "error guiding passes": E0607 15:48:40.010277 13432 denoiser_gpu.cpp:362] Error running denoiser. E0607 15:48:40.190094 13432 denoiser_gpu.cpp:104] Error preprocessing guiding passes.
Render Result with denoiser enabled:
Release Notes about Blender 4.2 Beta:
Blender 4.2 denoiser with ZLUDA: E0717 07:45:50.473544 10552 denoiser_gpu.cpp:121] GPU denoiser creation has failed. E0717 07:48:23.571324 9964 denoiser_oidn_gpu.cpp:209] OIDN error: operation not supported
Viewport
Display error: Microsoft Windows [Versione 10.0.22631.3880] (c) Microsoft Corporation. Tutti i diritti riservati.
C:\Windows\System32>C:\Users\giorg\Downloads\zluda_blender_4.1 "C:\Users\giorg\Downloads\zluda_blender_4.1" non è riconosciuto come comando interno o esterno, un programma eseguibile o un file batch.
C:\Windows\System32>cd C:\Users\giorg\Downloads\zluda_blender_4.1
C:\Users\giorg\Downloads\zluda_blender_4.1>zluda.exe C:\Program Files\Blender Foundation\Blender 4.2\blender.exe E0717 07:45:41.159132 4656 denoiser_oidn_gpu.cpp:209] OIDN error: operation not supported operation not supported
Refer to the Cycles GPU rendering documentation for possible solutions: https://docs.blender.org/manual/en/latest/render/cycles/gpu_rendering.html
E0717 07:45:41.160460 4656 denoiser_gpu.cpp:121] GPU denoiser creation has failed. E0717 07:45:45.344898 19972 denoiser_oidn_gpu.cpp:209] OIDN error: operation not supported operation not supported
Refer to the Cycles GPU rendering documentation for possible solutions: https://docs.blender.org/manual/en/latest/render/cycles/gpu_rendering.html
E0717 07:45:45.344898 19972 denoiser_gpu.cpp:121] GPU denoiser creation has failed. E0717 07:45:50.471769 10552 denoiser_oidn_gpu.cpp:209] OIDN error: operation not supported operation not supported
Refer to the Cycles GPU rendering documentation for possible solutions: https://docs.blender.org/manual/en/latest/render/cycles/gpu_rendering.html
E0717 07:45:50.473544 10552 denoiser_gpu.cpp:121] GPU denoiser creation has failed. E0717 07:48:23.571324 9964 denoiser_oidn_gpu.cpp:209] OIDN error: operation not supported operation not supported
Refer to the Cycles GPU rendering documentation for possible solutions: https://docs.blender.org/manual/en/latest/render/cycles/gpu_rendering.html
E0717 07:48:23.574398 9964 denoiser_gpu.cpp:121] GPU denoiser creation has failed. E0717 07:49:04.087518 19316 denoiser_oidn_gpu.cpp:209] OIDN error: operation not supported operation not supported
Refer to the Cycles GPU rendering documentation for possible solutions: https://docs.blender.org/manual/en/latest/render/cycles/gpu_rendering.html
E0717 07:49:04.089242 19316 denoiser_gpu.cpp:121] GPU denoiser creation has failed.
When testing ZLUDA on GPU Denoising in real time fail to load
![Screenshot (798)](https://github.com/vosen/ZLUDA/assets/161426313/31f9bccf-3f46-49bf-92da-9707dea8a055)
Read prefs: "C:\Users\giorg\AppData\Roaming\Blender Foundation\Blender\4.1\config\userpref.blend" E0329 16:17:24.973414 21856 denoiser_oidn_gpu.cpp:193] OIDN error: CUTLASS error CUTLASS error
Refer to the Cycles GPU rendering documentation for possible solutions: https://docs.blender.org/manual/en/latest/render/cycles/gpu_rendering.html
E0329 16:17:24.973414 21856 denoiser_gpu.cpp:377] Error running denoiser.