IGCIT / Intel-GPU-Community-Issue-Tracker-IGCIT

IGCIT is a Community-driven issue tracker for Intel GPUs.
GNU General Public License v3.0
114 stars 3 forks source link

Blender rendering with Cycles freezes/crashes when multiple instances are rendering at once #360

Open a-One-Fan opened 1 year ago

a-One-Fan commented 1 year ago

Checklist [README]

Application [Required]

Blender 3.5.1

Processor / Processor Number [Required]

Ryzen 7 3700x

Graphic Card [Required]

Arc A770 LE 16GB

GPU Driver Version [Required]

Rendering API [Required]

Windows Build Number [Required]

Other Windows build number

No response

Intel System Support Utility report

igcit_ssu_4502.txt

Description and steps to reproduce [Required]

Blender is free. The issue also happens on a recent 3.6 beta, so likely any recent Blender version will also work. It has portable versions as well, so no need to even install. Grab one, run it, edit > preferences > system, switch to OneAPI and untick the CPU if it's ticked:

image

Save the preferences from the hamburger menu on the bottom left. Close Blender?

Open two instances of Blender. Any file should work, you can keep using the startup file. In the render properties (on the right side, the first icon, the back of camera / front of microwave icon), use the Cycles render engine with the GPU Compute device. Below that, under sampling > render, disable noise threshold and set the samples to something high so it can keep rendering for a while (e.g. type in 2**20). image

Make each start rendering (Render > Image, or press F12). One or both instances might rapidly slow down, after a while both will halt completely, artifacts might have shown up, one instance might crash (crashes seem to be rare), and if no crash happens, you will get the following error on one of the instances:

Error: oneAPI kernel "integrator_terminated_paths_array" execution error: got runtime exception "Provided range is out of integer limits. Pass `-fno-sycl-id-queries-fit-in-int' to disable range check. -30 (PI_ERROR_INVALID_VALUE)"

(You can do window > toggle system console to be able to copy it more easily)

Rendering with multiple instances like this is mainly useful to have one instance do CPU work like calculating modifiers as the other does GPU work, beyond other possible things like working as a render is going on.

Device / Platform

No response

Crash dumps [Required, if applicable]

No response

Application / Windows logs

Error: oneAPI kernel "integrator_terminated_paths_array" execution error: got runtime exception "Provided range is out of integer limits. Pass `-fno-sycl-id-queries-fit-in-int' to disable range check. -30 (PI_ERROR_INVALID_VALUE)"

Log file generated by running debug_log.cmd: blender_debug_output.txt

Karen-Intel commented 1 year ago

Hey @a-One-Fan thank you for your submission!

I was able to repro the same behavior which pretty much -summarizing- the error message shows up after rendering 2 objects at a time and one of the screens freezes so it appears in the other window that is still active. I am reporting it internally ASAP, check also in another systems to confirm reproduction rate and will update this thread once we have any updates. In the meantime, let's keep this post open. Question: Have you reported this issue in another forum?

Thanks

Karen

a-One-Fan commented 1 year ago

Hello!

Question: Have you reported this issue in another forum?

I have not reported this elsewhere. Someone else might have reported this issue elsewhere but I can't know that for certain. I contemplated making an issue on Blender's issue tracker, however I decided that this is most likely an issue I should report here instead.

Karen-Intel commented 11 months ago

Hey all, just leaving here an internal number for tracking purposes: 14019614873 Waiting for updates, we will post them as soon as we get them, ty

Karen