Closed hokutonanto closed 2 years ago
hey @karlisup, my blender 3.0.0 28-06-2021 is also crashing with 1.4.1 on macOS 11.4
exact same issue as @hokutonanto, so i assume it is not related to blender or OS
thanks ;-)
Log:
`UNSUPPORTED (log once): POSSIBLE ISSUE: unit 0 GLD_TEXTURE_INDEX_2D_ARRAY is unloadable and bound to sampler type (Float) - using zero texture because texture unloadable Traceback (most recent call last): File "/Users/NAME/Library/Application Support/Blender/3.0/scripts/addons/physical-starlight-atmosphere/properties.py", line 1165, in align_defaults_with_preset bpy.ops.script.execute_preset( File "/Applications/Blender.app/Contents/Resources/3.0/scripts/modules/bpy/ops.py", line 126, in call _BPyOpsSubModOp._view_layer_update(context) File "/Applications/Blender.app/Contents/Resources/3.0/scripts/modules/bpy/ops.py", line 90, in _view_layer_update view_layer.update() RuntimeError: Error: Dependency graph update requested during evaluation
Blender(1086,0x170933000) malloc: error for object 0x133381e00: pointer being freed was not allocated Blender(1086,0x170933000) malloc: set a breakpoint in malloc_error_break to debug Blender(1086,0x171d6f000) malloc: error for object 0x129ff8000: pointer being freed was not allocated Blender(1086,0x171d6f000) malloc: set a breakpoint in malloc_error_break to debug Blender(1086,0x171963000) malloc: error for object 0x1398a0000: pointer being freed was not allocated Blender(1086,0x171963000) malloc: set a breakpoint in malloc_error_break to debug Blender(1086,0x171557000) malloc: error for object 0x161070000: pointer being freed was not allocated Blender(1086,0x171557000) malloc: set a breakpoint in malloc_error_break to debug zsh: abort /Applications/Blender.app/Contents/MacOS/Blender`
OS Windows 10 x64 Blender 2.93.1 official release
When I try to render this scene, Blender crashes, though the view port preview works fine. Log and scene attached.
B3D scene https://we.tl/t-PcbYJmS8xQ
Please, let me know if you got the scene, the link is about to expire.
Having the same problem. 1.3.1 works without any issues. 1.4.1 consistently crashes right after pressing F12 to render. Happens with both Cycles and Eevee. Viewport rendering works fine.
I've noticed that when I create a new scene and activate the addon, rendering works without issues. When I save that scene and reopen it, the problem occurs and Blender immediately crashes after trying to render it. I've managed to replicate this many times.
I'll attach logs from two different scenes.
Experiencing the same issue: doesn't seem to be tied to any particular setting of clouds/no clouds, stars/no stars, etc.
Blender 2.93.2 LTS, Windows 10, two RTX 2080 Ti cards, rendering in OPTIX mode.
Hi everyone, Thank you for your patience! Could you, please try the new beta version (v1.4.2) and report if this issue persists? We had issues reproducing it. We relied on complete refactoring of shader node setup to fix it, but from the reports it seems that it has not been fixed.
Please, let me know if you got the scene, the link is about to expire.
I am sorry @hokutonanto, I didn't make in time, but crash and error logs gathered here gives a good insight of what could be the reason. Hypothesis is that it is related somehow with presets and preset execution. The problem now is that we cannot yet test if we fix the issue or not as we cannot reproduce it.
It would help a bunch if you could try this and report the results:
Does it crash?
If not:
Does it crash?
Successful render in both cases. Plus clouds work in Cycles. :-)
Succesful render indeed! And also yes the clouds working in Cycles..nice!
I leave the ticket open just to see if there are no more reports regarding this issue. Thank you @bischofftep and @Flameseeker006 for reporting the results. Much appreciated!
Hi, I just bought this plugin and have been getting extremely frequent crashes whenever I render with atmosphere on. I've even tried resorting to CPU rendering just to make sure it's not a driver issue. The crash only happens during render. Rendered preview in viewport works perfectly fine.
This is the debug log from Blender. I couldn't get a crash log for some reasons :/
I0918 12:48:27.079037 16940 blender_python.cpp:195] Debug flags initialized to:
CPU flags:
AVX2 : True
AVX : True
SSE4.1 : True
SSE3 : True
SSE2 : True
BVH layout : EMBREE
Split : False
CUDA flags:
Adaptive Compile : False
OptiX flags:
CUDA streams : 1
OpenCL flags:
Device type : ALL
Debug : False
Memory limit : 0
I0918 12:48:27.847040 16940 device_opencl.cpp:48] CLEW initialization succeeded.
I0918 12:48:27.933547 16940 device_cuda.cpp:41] CUEW initialization succeeded
I0918 12:48:27.933547 16940 device_cuda.cpp:43] Found precompiled kernels
ERROR (bke.fcurve): C:\Users\blender\git\blender-v293\blender.git\source\blender\blenkernel\intern\fcurve_driver.c:138 dtar_get_prop_val: Driver Evaluation Error: cannot resolve target for SCScene.001 -> node_tree.nodes["Transform"].inputs[4].default_value
ERROR (bke.fcurve): C:\Users\blender\git\blender-v293\blender.git\source\blender\blenkernel\intern\fcurve_driver.c:138 dtar_get_prop_val: Driver Evaluation Error: cannot resolve target for SCScene.001 -> node_tree.nodes["Transform"].inputs[2].default_value
ERROR (bke.fcurve): C:\Users\blender\git\blender-v293\blender.git\source\blender\blenkernel\intern\fcurve_driver.c:138 dtar_get_prop_val: Driver Evaluation Error: cannot resolve target for SCScene.001 -> node_tree.nodes["Transform"].inputs[1].default_value
ERROR (bke.fcurve): C:\Users\blender\git\blender-v293\blender.git\source\blender\blenkernel\intern\fcurve_driver.c:138 dtar_get_prop_val: Driver Evaluation Error: cannot resolve target for SCScene.001 -> node_tree.nodes["Transform"].inputs[3].default_value
I0918 12:48:32.658418 16940 device_cuda.cpp:177] Device has compute preemption or is not used for display.
I0918 12:48:32.658418 16940 device_cuda.cpp:180] Added device "NVIDIA GeForce RTX 2080 Ti" with id "CUDA_NVIDIA GeForce RTX 2080 Ti_0000:0b:00".
Memoryblock MORE THAN 1 MEMORYBLOCK CORRUPT: error in header
Memoryblock MORE THAN 1 MEMORYBLOCK CORRUPT: error in header
Memoryblock dupli_alloc: double free
Memoryblock dupli_alloc: double free
Memoryblock dupli_alloc: double free
Memoryblock MORE THAN 1 MEMORYBLOCK CORRUPT: error in header
lmk if I should open a new issue
I'm also seeing this pattern of problem - in blender 2.9.3, with PSA 1.4.2 - render preview works but if I try to render it crashes. What information can I share to help get this fixed?
Thank you @ontogenic for the feedback! Which graphics card are you using? Could you give your hardware specs, please?
I can give you more info a little later when back home. One thing I found is that this appears to happen in CPU rendering on cycles more than it does on GPU.
On Sat, Oct 16, 2021, 8:58 AM Karlis Upitis @.***> wrote:
Thank you @ontogenic https://github.com/ontogenic for the feedback! Which graphics card are you using? Could you give your hardware specs, please?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/PhysicalAddons/physical-starlight-and-atmosphere/issues/43#issuecomment-944940407, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOY6RMFEEQP6M7GYYXDOOF3UHGOKTANCNFSM47MZEE7Q . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
GPU: RTX 2060; most recent driver from Nvidia as of 10/16/2021; Intel UHD Graphics 630 CPU: Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz 2.60 GHz
I see the crashes both on GPU and CPU mode. I've had to revert to 1.3 as the crashes are pretty consistent now. Let me know what I can do to help debug and resolve the issue.
Rlguy has a promising blender crash troubleshooting guide. This is an excerpt from it:
@ontogenic did you / could you try rendering animation beforehand Locking interface, just to confirm if this affects the outcome?
Hi Everyone, I've been having the 1.4x, F12 crashing problem for quite a while, running blender on Linux, all 2.9 versions and after finding the "Lock Interface" suggestion by Karlisup above the problem has disappeared, ta very much for this comment Karlisup:)
Hi,
I'm also having the F12 crashing problem. I've tried with "Lock Interface" turned on and off and it makes no apparent difference. I've also noticed that when loading a scene that uses the add-on, then turning viewport rending on, that the sun light colour temperature is no-longer adjusting for the elevation. Turning atmosphere off then on fixes the colour temp issues in the viewport but does not fix the crashing issue.
I noticed that 1.4.3beta was available for download. Sadly, this issue still happens. Really disappointing when working on a scene to find that it you can no longer continue due to this issue. The plugin is great when / if it works, but is far too buggy to rely on. I can't share my blend file with you, but anything I can do to get this resolved?
Even with the newest 1.4.4 the F12 bug is still existing. Constantly in Blender 3 (Win & Linux) - B 2.93 also has the problem.
@karlisup any chance you could provide an update or ETA for a fix? While I love this add on, it is too disappointing to deal with this issue and so I'll probably need to look elsewhere for a solution if you can't resolve the problem.
In Discord #help chat willr8 pointed out another workaround that could work out for you:
Indeed @hnoerenberg, v1.4.4beta just fixed some minor issues with physical values and implemented the aces feature. We have found a version of PSA that doesn't crash by:
For the release, we are adding the support for an asset browser as a replacement for the presets. Also moving stored variables to World scope just breaks some other features that have to be prioritized. Doing our best with our resources to have this done.
UPDATE: Success! The solution appears to be top menu bar > Render > Lock Interface. Working for me. :)
Same issue here. Physical Starlight And Atmosphere v1.4.4, Blender 3.0, Windows 11.
For some reason, Physical Starlight And Atmosphere seems to become corrupt in a Blender file with the result that when I attempt to render an animation (Ctrl+F12) or a single image (F12), Blender immediately crashes. Crash report attached.
What's weird is that leading up to the consistent crashes, Atmosphere becomes inconsistently unstable, sometimes crashing, sometimes not, without any obvious cause.
As an attempted solution, I uninstalled Atmosphere, including the data stored in \AppData\Roaming\Blender Foundation\Blender\3.0\scripts\presets\physical-addons\psa, then reinstalled it, but that made no difference.
Looking forward to the next update. Thanks.
System Information Operating system: Windows-10-10.0.22000-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 3060 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 511.23
Blender Version
Broken: version: 3.0.1 Release Candidate, branch: K-CyclesX2, commit date: 2022-01-16 20:48, hash: rB75dde0af07ed
Worked: (newest version of Blender that worked as expected)
I opened up another ticket before seeing this, sorry for the redundancy. Same issue
PS&A v1.4.4, both Blender 3.0.0 & 3.0.1, macOS Monterey 12.1
update: "Lock Interface" fixed the issue. Thanks @karlisup !
Any chance the developers could publish a timeline for fixing this issue? I think there were some improvements in the latest version, but I have scenes now that are back to crashing. I'd prefer to have a committed timeline so I can consider alternatives (to crossing my fingers ;-) Given the price of this addon, I would expect more urgency around fixing such a critical flaw.
@ontogenic there are some bugs remaining and it does not feel like there would be some development be going on at that time. Yes it's a "beta" but since all values are changing the moment you hit enter right now there seems a lot going on in the scripts. There is also no update on possible solution to render on a farm without missing frames or wrong lighting in some frames. I still don't get it. I went over to use nishita and sun position again. at least it gives consistent results. a reply from the devs would be wonderful.
@hnoerenberg Regarding render farms, while I have not used a render farm before, I do have a separate PC dedicated to rendering and I have experienced situations where a PSA Blender animation renders fine on my primary PC, but when I send it to my dedicated rendering PC the sun position changes or disappears entirely; I haven't been able to figure out why.
@SongCast this is exactly the issue. You have to disable the Sun Position Addon (what is totally ok). But generally there is python code executed before and after a frame and this seems to be working not all the time which leads to some frames that are losing information/sun/bounce. The same case if you start blender activate PSA and have a look at the viewport and all the settings, hit render - different images and values have been changed inside the panel (or have been party overwritten or are differently calculated). I can happily sit down with one of the devs and to some beta testing from my side but especially the distributed issues are a complete no-go in a production. TBH there is zero chance to render previs on one machine and manually selecting frames or frame ranges that have been rendered incorrectly is a) time consuming and b) killing deadlines.
Hi @ontogenic @SongCast and @hnoerenberg, I do really apologize that it took so long to get back to you. I became a dad 6 days ago and it has been a rollercoaster. But that's no reason at all for cutting the communications. The short answer is that we are out of hands and we do try our best to increase our resources, but at the same time keep our tiny company afloat.
Crash fix We managed to produce a version that works. In our discord channel I got 5 people to test the new version out and it gave good results. The downside - it is not stable yet:
Sun position addon
I can happily sit down with one of the devs and to some beta testing from my side
Thank you @hnoerenberg! We do always appreciate help from contributors. We have identified this issue and it has to be tackled, but we have to do this after the major crash bug is addressed.
Render farm bug We need to implement pre / post frame change and look at the location and rotation of the sun in order to create keyframes. It's an extra complex because we allow rotating sun via azimuth/elevation parameters and sun object and Also, this issue will be addressed right after the crash bug is fixed. Here is a dedicated GitHub issue.
Communication I understand that promises don't help with hard deadlines. We'll do better in the future. Meantime, for the latest information and help, I do suggest going to our Discord channel where @adriansnetlis is doing his best to get back to everyone ASAP as unfortunately, information is scattered around too many platforms (GitHub, BlenderArtists, Discord, private 1 on 1s in BlenderMarket, Twitter).
Also in the future, could you keep discussions about other issues under corresponding threads, please? That would help a lot with the organization part. Thank you in advance!
Karlis
Hi Karlis - congrats on becoming a father!
"Render > Lock interface" seems to do the trick for now. 👍
Hi everyone, PSA version 1.5.0 has been released. Thank you all for your patience! It should fix all Blender crash-related issues. Would like if someone could confirm it before I close this issue.
Thanks Karlis. I'll take a look tonight and let you know.
Matt
On Thu, Mar 3, 2022, 3:15 PM Karlis Upitis @.***> wrote:
Hi everyone, PSA version 1.5.0 has been released. Thank you all for your patience! It should fix all Blender crash-related issues. Would like if someone could confirm it before I close this issue.
— Reply to this email directly, view it on GitHub https://github.com/PhysicalAddons/physical-starlight-and-atmosphere/issues/43#issuecomment-1058637865, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOY6RMA77KGJLEMAZHIEHRTU6FBZ7ANCNFSM47MZEE7Q . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID: <PhysicalAddons/physical-starlight-and-atmosphere/issues/43/1058637865@ github.com>
I tested out 1.5 on a scene that previously was crashing - it worked.
https://blenderartists.org/t/steam-locomotive-london/1364221/6?u=ontogenic
I'll continue to test.
On Thu, Mar 3, 2022 at 3:15 PM Karlis Upitis @.***> wrote:
Hi everyone, PSA version 1.5.0 has been released. Thank you all for your patience! It should fix all Blender crash-related issues. Would like if someone could confirm it before I close this issue.
— Reply to this email directly, view it on GitHub https://github.com/PhysicalAddons/physical-starlight-and-atmosphere/issues/43#issuecomment-1058637865, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOY6RMA77KGJLEMAZHIEHRTU6FBZ7ANCNFSM47MZEE7Q . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID: <PhysicalAddons/physical-starlight-and-atmosphere/issues/43/1058637865@ github.com>
Ok - so I've not experienced any crashes; so far so good. However, I'm now seeing another very frustrating bug - the world / background texture no longer gets updated. I can move the sun around using the plugin controls, but the state of the world is fixed. I've tried uninstalling and reinstalling, but no luck. I also note that the 'reset' button below the sun controls has no effect - I hit reset but all the values stay the same. Finally, I note that when I look at the world material in the node editor, there is one node group which is not connected to anything (called . PSA_sRGBtoAP1).
Still one of my favorite addons, but also the most frustrating! I'm leaving this comment here as these new bugs may have been introduced by the most recent update. Let me know if you want me to create a new issue.
I'm seeing now that if I move the sun and then hit reset the world material will catch up to the sun position. The expected behaviours are a) that the world material will stay in synch with the sun and b) that hitting reset will reset the sun information (both the sun light and the world material) to some default setting.
Hi @ontogenic,
- I've not experienced any crashes;
I am glad to hear that!
- The world / background texture no longer gets updated. I can move the sun around using the plugin controls, but the state of the world is fixed. I've tried uninstalling and reinstalling, but no luck.
- I also note that the 'reset' button below the sun controls has no effect - I hit reset but all the values stay the same.
Do you see any errors in the error console? A restart of The Blender instance should do the trick for both of the issues. If any error occurs, it prevents from rendering the preview. Regarding the restart - we'll consider adding a notice somewhere (in a README or somewhere in the user interface) like discussed in this issue.
- I note that when I look at the world material in the node editor, there is one node group which is not connected to anything (called . PSA_sRGBtoAP1).
Yes indeed, there are 3 node groups that are not connected to others and one of them is called . PSA_sRGBtoAP1
and that's Ok. This particular node group will be connected to the output if use ACES color space
has been enabled in the addon preferences.
- Let me know if you want me to create a new issue.
Yes, if the issues still persist, please do so as this issue is dedicated to the Blender crash issue.
After multiple reports, I can finally close this issue. Thank you everyone for taking part and helping to debug it! <3
OS Windows 10 x64 Blender 2.93.1 official release
When I try to render this scene, Blender crashes, though the view port preview works fine. Log and scene attached.
room-WFSP.crash.txt
B3D scene https://we.tl/t-PcbYJmS8xQ