Community
Arnold for Houdini Forum
Rendering with Arnold in Houdini and Solaris using the HtoA plug-in.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Optix denoiser broken in HtoA

25 REPLIES 25
SOLVED
Reply
Message 1 of 26
schwungsau
1050 Views, 25 Replies

Optix denoiser broken in HtoA

Optix denoiser works only partime... after the first or second denoise it freezes and shuts down arnold GPU. it happens across all scenes.

Labels (4)
25 REPLIES 25
Message 2 of 26
thiago.ize
in reply to: schwungsau

So by "shut down" do you mean your arnold crashed?

Can you post a complete debug arnold log (https://docs.arnoldrenderer.com/display/A5AFHUG/Log) of a simple scene with this problem so we can maybe see what might be going on?

Message 3 of 26
schwungsau
in reply to: schwungsau

it works only on arnold GPU is does not work for arnold CPU renders.

Message 4 of 26
Stephen.Blair
in reply to: schwungsau

@

It's working for me with CPU renders (Windows, Houdini 18.0.566, HtoA 5.4)
Is there anything in the Arnold log?



// Stephen Blair
// Arnold Renderer Support
Message 5 of 26
schwungsau
in reply to: Stephen.Blair

log tells nothing.... no warnning etc... its on RTX5000 quadro

Message 6 of 26
Stephen.Blair
in reply to: schwungsau

version of Arnold? driver version? do you see the optix filter in the list of objects? Is the denoiser AOV listed?



// Stephen Blair
// Arnold Renderer Support
Message 7 of 26
schwungsau
in reply to: Stephen.Blair

it actually working in cpu mode its to see if whats arnold and whats optix.
on arnoldGPU, optix just on after 47 seconds.
10k polygons, glass shader, same scene supersmooth with optix in maya or gaffer.

Message 8 of 26
thiago.ize
in reply to: schwungsau

The info level log should contain the stats which might explain the time differences between htoa and mtoa. If you could post both versions of that log we can take a look and hopefully see why there's a difference. If that fails, the next step is to post the profile json files.

Message 9 of 26
schwungsau
in reply to: thiago.ize

i will collect it the logs... but first i will give the new version a try 🙂

Message 10 of 26
schwungsau
in reply to: thiago.ize

i dont know, if crashed, no logs or feedback... it apply the first optix pass (after 40 seconds) and then image does not change, even if i let it run for 20 minutes. i can cancel the render and restart....

Message 11 of 26
schwungsau
in reply to: thiago.ize

the jason file
https://www.dropbox.com/s/uf33oa3zlsjisj6/arnold_stats.json?dl=0
it does not work with cpu either.... only sometimes...

Message 12 of 26
thiago.ize
in reply to: schwungsau

The log file would have more info and is a bit easier to read, but from what I can see from the json stats, it looks like the render took 141s because it was doing ray tracing work, not denoising. Is that roughly how long you waited to see the denoised image? If so, then this would indicate it's not denoising time but regular render time that is taking so long.

Message 13 of 26
schwungsau
in reply to: thiago.ize

i made some video
https://www.youtube.com/watch?v=jzKehB4qp04

thats scene from the jason file :
https://www.youtube.com/watch?v=UKKA9pmDo-g

it should denoise at one point, arnold keeps updated pixel but denoiser shows nothing.

first i though maybe the machine messed up, but redshift and octane runs like a dream without issues on this machine.

Intel(R) Xeon(R) E-2276M CPU @ 2.80GHz (6 cores, 12 logical) with 130846MB

NVIDIA driver version 452.6 (Optix 60600)

GPU 0: Quadro RTX 5000 @ 1455MHz (compute 7.5) with 16384MB (15514MB available) (NVLink:0)

Message 14 of 26
thiago.ize
in reply to: schwungsau

If I saw right in the first video, you are at the AA=-2 pass before the video stopped. You need to just be patient for rendering to continue going until you get to AA=1 and above stages before denoising even kicks in. We currently do not perform denoising for negative AA.

Let's make this simpler, instead of a 2000x2560 render, make it 200x256 so rendering is 100x faster. Now observe how arnold will report AA=-2, -1, 1, 6 and at the 1 (I think) and 6 (for sure) you'll get the denoising.

Message 15 of 26
schwungsau
in reply to: thiago.ize

i set thumbnail resolution and aa sample to 1 . i don;t get any denoising.

denoising thumbnail sized image does not make sense, also a denoiser should denoising at sample 1 or 2, that's the whole point of denoising.
if i get denoising after reaching the final samples, i have a clean image anyway. it works in renderman and redshift pretty good.

in any case i can not get any denoising from arnold.
2 logs :

https://www.dropbox.com/s/4ffxzp8nttuava8/arnold_cubicSceneCPU.txt?dl=0

Message 16 of 26
thiago.ize
in reply to: schwungsau

It looks like you never let it finish rendering. The end of the log is:

00:00:12   475MB  | starting 12 bucket workers of size 64x64 ...
00:00:12   475MB  |    0% done (0/324 sample iterations)

It never got to 100% or printed out a message about finishing the render. You had AA_max=18. Try a AA_max=1 (or turn off adaptive sampling) so that it finishes quicker. This could potentially make it finish 18*18=324x faster. Considering your AA=-1 render took 1s, this suggest your AA=1 should take about 4s with AA_max=1 and up to 1296s with AA_max=18...

Message 17 of 26
thiago.ize
in reply to: thiago.ize

Oh and from the logs:

00:00:12   477MB WARNING | [aov] all output filters not optimized for progressive -- expect worse performance and memory consumption

So try turning off progressive and see if that also helps speed things up. We have plans to improve that, but until then progressive can introduce some performance and/or memory regressions.

Message 18 of 26
thiago.ize
in reply to: thiago.ize

I tested in kick and for both CPU and GPU with progressive and adaptive sampling enabled, denoising will happen after every pass. This suggests you should have seen it denoised after maybe 4s if htoa uses the same logic as kick. I do not have houdini so cannot verify.

As mentioned before, a test without progressive and adaptive, at low res, and with AA=1 or 2 will help to identify if the denoising is slow or if the problem is something else -- for instance one possibility if denoising is not slow could be that htoa is not running the denoiser until the very end of the render...

Message 19 of 26
julian.hodgson
in reply to: schwungsau

This should work, can you confirm your OS version, Houdini, HtoA version and Nvidia driver version please so we can look into this?

Message 20 of 26
schwungsau
in reply to: thiago.ize

optix denoiser is supposed denoise during each sample-run like in MtoA etc..
buy i found the issue.

there are 3 denoise botton's. i have to turn "denoise" and "display Denoised AOVs" plus i have turn on "progressive rendering" then its works.
it show live rendering and the denoise kicks in after each "sample-run" overriding the beauty pass. no AOV are setup and no AOV's displayed or rendered.
very confunsing, the "display denoised AOV's" should display denoise images.


Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums