Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/intern
diff options
context:
space:
mode:
authorBrecht Van Lommel <brecht@blender.org>2021-10-22 09:24:24 +0300
committerBrecht Van Lommel <brecht@blender.org>2021-10-22 09:56:13 +0300
commit622d8b77a6ae4f66d652207c1d1de633baf0a7ee (patch)
tree81c758dbf9eaa679ca240d04c86eb9d65b8a2248 /intern
parentfa688fbf060069f4d77fc6200b3ac5d1423ff41d (diff)
Cycles: improve communication of supported GPUs in preferences
Mention required CUDA and OptiX compute capability and minimum driver version. For HIP there is a placeholder until we know the supported architectures.
Diffstat (limited to 'intern')
-rw-r--r--intern/cycles/blender/addon/properties.py14
1 files changed, 12 insertions, 2 deletions
diff --git a/intern/cycles/blender/addon/properties.py b/intern/cycles/blender/addon/properties.py
index 7ac59cf563e..1d8ebe94694 100644
--- a/intern/cycles/blender/addon/properties.py
+++ b/intern/cycles/blender/addon/properties.py
@@ -1373,8 +1373,18 @@ class CyclesPreferences(bpy.types.AddonPreferences):
if not found_device:
col = box.column(align=True)
- col.label(text="No compatible GPUs found for path tracing", icon='INFO')
- col.label(text="Cycles will render on the CPU", icon='BLANK1')
+ col.label(text="No compatible GPUs found for Cycles", icon='INFO')
+
+ if device_type == 'CUDA':
+ col.label(text="Requires NVIDIA GPU with compute capability 3.0", icon='BLANK1')
+ elif device_type == 'OPTIX':
+ col.label(text="Requires NVIDIA GPU with compute capability 5.0", icon='BLANK1')
+ col.label(text="and NVIDIA driver version 470 or newer", icon='BLANK1')
+ elif device_type == 'HIP':
+ import sys
+ col.label(text="Requires discrete AMD GPU with ??? architecture", icon='BLANK1')
+ if sys.platform[:3] == "win":
+ col.label(text="and AMD driver version ??? or newer", icon='BLANK1')
return
for device in devices: