From ae28d90578be516bf81f3532846c29f9985f1085 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Thu, 6 Jan 2022 16:41:44 +0100 Subject: Fix T93350: Cycles renders shows black during rendering huge resolutions The root of the issue is caused by Cycles ignoring OpenGL limitation on the maximum resolution of textures: Cycles was allocating texture of the final render resolution. It was exceeding limitation on certain GPUs and driver. The idea is simple: use multiple textures for the display, each of which will fit into OpenGL limitations. There is some code which allows the display driver to know when to start the new tile. Also added some code to allow force graphics interop to be re-created. The latter one ended up not used in the final version of the patch, but it might be helpful for other drivers implementation. The tile size is limited to 8K now as it is the safest size for textures on many GPUs and OpenGL drivers. This is an updated fix with a workaround for freezing with the NVIDIA driver on Linux. Differential Revision: https://developer.blender.org/D13385 --- intern/cycles/blender/addon/properties.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'intern/cycles/blender/addon/properties.py') diff --git a/intern/cycles/blender/addon/properties.py b/intern/cycles/blender/addon/properties.py index a7deae2c05d..f669adb9f37 100644 --- a/intern/cycles/blender/addon/properties.py +++ b/intern/cycles/blender/addon/properties.py @@ -802,7 +802,7 @@ class CyclesRenderSettings(bpy.types.PropertyGroup): name="Tile Size", default=2048, description="", - min=8, max=16384, + min=8, max=8192, ) # Various fine-tuning debug flags -- cgit v1.2.3