Blender Git Commit Log

Git Commits -> Revision 7009806

Revision 7009806 by Sergey Sharybin (cycles-x)
June 25, 2021, 14:25 (GMT)
Fix Cycles X interop on non-OpenGL device

Graphics interop for non-display GPU got broken with the CUDA streams
addition.

Now we create interop object via the queue, so its possible to use
proper CUDA stream for mapping/unmapping.

Not sure why adding extra context synchronization did not resolve the
issue, but this change seems to make sense anyway.

Here its only reproducible with non-display GPU (for which it was
needed to tweak `should_use_graphics_interop()`). But some time ago
there reports about missing image in the viewport, so could be related.

Differential Revision: https://developer.blender.org/D11705

Commit Details:

Full Hash: 700980612fe47621f1acf2f1e7382875ca0bf9a8
Parent Commit: 9c31750
Lines Changed: +34, -24

9 Modified Paths:

/intern/cycles/device/cuda/device_impl.cpp (+0, -6) (Diff)
/intern/cycles/device/cuda/device_impl.h (+0, -2) (Diff)
/intern/cycles/device/cuda/graphics_interop.cpp (+5, -3) (Diff)
/intern/cycles/device/cuda/graphics_interop.h (+3, -1) (Diff)
/intern/cycles/device/cuda/queue.cpp (+7, -0) (Diff)
/intern/cycles/device/cuda/queue.h (+2, -0) (Diff)
/intern/cycles/device/device.h (+0, -9) (Diff)
/intern/cycles/device/device_queue.h (+16, -0) (Diff)
/intern/cycles/integrator/path_trace_work_gpu.cpp (+1, -3) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021