boberfly / GafferCycles

Cycles for Gaffer
BSD 3-Clause "New" or "Revised" License
85 stars 10 forks source link

GafferCycles 0.20.0 crashing #49

Closed pavelsiska closed 4 years ago

pavelsiska commented 4 years ago

Hi Alex, When I create any cycles node (in the latest build of Gaffer 0.57 and GafferCycles 0.20) that requires rendered preview Gaffer crashes immediately on my workstation (Ubuntu 19.10) Leaving only "Segmentation fault (core dumped)" in the terminal. Could it be something on my end?

kubo-von commented 4 years ago

The same is happening for me too. Creating any shader even in empty scene crashes when it tries to render it in the viewer. Fedora 31 here

boberfly commented 4 years ago

Hmm funky, this was stable for me here but you're not the only ones to report that. Possibly something changed in the Cycles codebase that I need to change, I'll take a look tonight.

boberfly commented 4 years ago

I'm on Ubuntu 18.04 here, but I am building and releasing in a docker container against CentOS7. I open a new scene against this build in Gaffer 0.57.0.0 and create a principled_bsdf, no crash.

Is regular Gaffer 0.57.0.0 working without crashes? Might be caused by something else...? What GPU/driver are you using? I pulled the RTX 2070 out of this machine so I am using a Vega FE with a bleeding edge open source Mesa driver.

pavelsiska commented 4 years ago

Thanks for looking into it. Regular Gaffer 0.57 gives me shader previews in both Appleseed and Arnold with no crash. I'm using GeForce GTX TITAN X, Nvidia-driver-435.

kubo-von commented 4 years ago

Same here, Appleseed works any cycles render crashes. RTX 2070, 440.82

boberfly commented 4 years ago

So it crashed instantly on my laptop but my workstation was fine with it, very weird. I was able to debug on that machine and see the problem instantly. Anyways making a build now.

boberfly commented 4 years ago

Please try this release and verify: https://github.com/boberfly/GafferCycles/releases/tag/0.20.1

pavelsiska commented 4 years ago

Thanks, Alex. I can confirm the problem has been resolved. On my workstation, the latest release 0.20.1 runs without any problem.

kubo-von commented 4 years ago

0.20.1 works for me me too. Thanks a lot for the lightning-quick fix!

boberfly commented 4 years ago

Cheers, yeah a weird one for sure I'm always a bit worried with bugs like this which differ on the dev platform...