[Bf-blender-cvs] [622d8b77a6a] master: Cycles: improve communication of supported GPUs in preferences
Brecht Van Lommel
noreply at git.blender.org
Fri Oct 22 08:56:44 CEST 2021
Commit: 622d8b77a6ae4f66d652207c1d1de633baf0a7ee
Author: Brecht Van Lommel
Date: Fri Oct 22 08:24:24 2021 +0200
Branches: master
https://developer.blender.org/rB622d8b77a6ae4f66d652207c1d1de633baf0a7ee
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.
===================================================================
M intern/cycles/blender/addon/properties.py
===================================================================
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:
More information about the Bf-blender-cvs
mailing list