Poor performance with AMD GPUs on macOS #53795

Closed
opened 2018-01-15 18:09:14 +01:00 by nicolo comerlati · 31 comments

Hi,
I'm using a external GPU

  • sonnet box
  • ati vega 64

on Mac OS x

Blender read the card but don't work

System Information
Operating system and graphics card

Blender Version
Broken: (example: 2.69.7 4b206af, see splash screen)
Worked: (optional)

Short description of error

Exact steps for others to reproduce the error
Based on a (as simple as possible) attached .blend file with minimum amount of steps

Hi, I'm using a external GPU - sonnet box - ati vega 64 on Mac OS x Blender read the card but don't work **System Information** Operating system and graphics card **Blender Version** Broken: (example: 2.69.7 4b206af, see splash screen) Worked: (optional) **Short description of error** **Exact steps for others to reproduce the error** Based on a (as simple as possible) attached .blend file with minimum amount of steps

Added subscriber: @nicolocomerlati-4

Added subscriber: @nicolocomerlati-4

#55085 was marked as duplicate of this issue

#55085 was marked as duplicate of this issue

#54193 was marked as duplicate of this issue

#54193 was marked as duplicate of this issue

Added subscriber: @ArtoKitula

Added subscriber: @ArtoKitula

Which macOS version and are drivers up to date? Could you also give some debug information (start blender from terminal and add --debug-gpu parameter. Which blender version do you have?

Marking as "Incomplete" until the requested information/data is provided.

Which macOS version and are drivers up to date? Could you also give some debug information (start blender from terminal and add --debug-gpu parameter. Which blender version do you have? Marking as "Incomplete" until the requested information/data is provided.

Mac OS X 10.13.2 (17C88)
Blender Version 2.79 (2.79 2017-09-11, Blender Foundation)

Mac OS X 10.13.2 (17C88) Blender Version 2.79 (2.79 2017-09-11, Blender Foundation)

On Sonnet site:

macOS High Sierra has only beta support for connection of GPU cards over Thunderbolt and GPU card drivers are not yet officially Thunderbolt compatible for macOS.

On Sonnet site: macOS High Sierra has only beta support for connection of GPU cards over Thunderbolt and GPU card drivers are not yet officially Thunderbolt compatible for macOS.

Added subscriber: @brecht

Added subscriber: @brecht

It is not clear to if you are trying to use this card for OpenGL, or for Cycles OpenCL rendering. Either way we need more info:

  • If this is for Cycles rendering, you could try another OpenCL software like http://www.luxmark.info/ to verify if it's a problem in Blender, or an issue with the hardware or operating system.
  • How does it fail exactly? Is the card not detected? Does it crash, and if so when exactly? Is there an error message, and if so what? Does it fail for all .blend files, or only a specific one that you can attach here?
  • As mentioned above, please run Blender from the terminal with --debug-cycles --debug-gpu and attach any output from the terminal here.
It is not clear to if you are trying to use this card for OpenGL, or for Cycles OpenCL rendering. Either way we need more info: * If this is for Cycles rendering, you could try another OpenCL software like http://www.luxmark.info/ to verify if it's a problem in Blender, or an issue with the hardware or operating system. * How does it fail exactly? Is the card not detected? Does it crash, and if so when exactly? Is there an error message, and if so what? Does it fail for all .blend files, or only a specific one that you can attach here? * As mentioned above, please [run Blender from the terminal ](https://docs.blender.org/manual/en/dev/render/workflows/command_line.html#macos) with `--debug-cycles --debug-gpu` and attach any output from the terminal here.

ok thx for help

here the answers of you points:

• no issue

• render time is really long

 here http://download.blender.org/institute/benchmark/latest_snapshot.html the render time for BMW is 1:41:20, mine is 45:15:34

• OpenGL version 2.1
Renderer: AMD Radeon HD Vega10 XT Prototype OpenGL Engine
Failed to hook OpenGL debug callback.
found bundled python: /Applications/blender/blender.app/Contents/Resources/2.79/python
I0116 18:34:16.381789 2854654784 blender_python.cpp:188] Debug flags initialized to:
CPU flags:

AVX2   : True
AVX    : True
SSE4.1 : True
SSE3   : True
SSE2   : True
QBVH   : True
Split  : False

CUDA flags:
Adaptive Compile: False
OpenCL flags:

Device type    : ALL
Kernel type    : DEFAULT
Debug          : False
Single program : True
Memory limit   : 0
ok thx for help here the answers of you points: • no issue • render time is really long ``` here http://download.blender.org/institute/benchmark/latest_snapshot.html the render time for BMW is 1:41:20, mine is 45:15:34 ``` • OpenGL version 2.1 Renderer: AMD Radeon HD Vega10 XT Prototype OpenGL Engine Failed to hook OpenGL debug callback. found bundled python: /Applications/blender/blender.app/Contents/Resources/2.79/python I0116 18:34:16.381789 2854654784 blender_python.cpp:188] Debug flags initialized to: CPU flags: ``` AVX2 : True AVX : True SSE4.1 : True SSE3 : True SSE2 : True QBVH : True Split : False ``` CUDA flags: Adaptive Compile: False OpenCL flags: ``` Device type : ALL Kernel type : DEFAULT Debug : False Single program : True Memory limit : 0

Was that all output of the --debug-cycles --debug-gpu ?

Was that all output of the --debug-cycles --debug-gpu ?

yep

i will try to repeat debug test

yep i will try to repeat debug test

Nicolo:~ nicolo$ /Applications/blender/blender.app/Contents/MacOS/blender --debug-gpu
Read prefs: /Users/nicolo/Library/Application Support/Blender/2.79/config/userpref.blend
OpenGL version 2.1
Renderer: AMD Radeon HD Vega10 XT Prototype OpenGL Engine
Failed to hook OpenGL debug callback.
found bundled python: /Applications/blender/blender.app/Contents/Resources/2.79/python
real_camera_addon updater verbose is enabled
Read in json settings from file
drop file /Users/nicolo/Downloads/bmw27/bmw27_gpu.blend
Read blend: /Users/nicolo/Downloads/bmw27/bmw27_gpu.blend
skipping driver '-100power', automatic scripts are disabled
skipping driver '-90
brake', automatic scripts are disabled
skipping driver '90brake', automatic scripts are disabled
skipping driver '100
power', automatic scripts are disabled
Read blend: /Users/nicolo/Downloads/bmw27/bmw27_gpu.blend
Device init success

Nicolo:~ nicolo$ /Applications/blender/blender.app/Contents/MacOS/blender --debug-gpu Read prefs: /Users/nicolo/Library/Application Support/Blender/2.79/config/userpref.blend OpenGL version 2.1 Renderer: AMD Radeon HD Vega10 XT Prototype OpenGL Engine Failed to hook OpenGL debug callback. found bundled python: /Applications/blender/blender.app/Contents/Resources/2.79/python real_camera_addon updater verbose is enabled Read in json settings from file drop file /Users/nicolo/Downloads/bmw27/bmw27_gpu.blend Read blend: /Users/nicolo/Downloads/bmw27/bmw27_gpu.blend skipping driver '-100*power', automatic scripts are disabled skipping driver '-90*brake', automatic scripts are disabled skipping driver '90*brake', automatic scripts are disabled skipping driver '100*power', automatic scripts are disabled Read blend: /Users/nicolo/Downloads/bmw27/bmw27_gpu.blend Device init success

Radeon Vega10 XT ? Go to user settings, system, and check what OpenCL compute devices you have available.

Radeon Vega10 XT ? Go to user settings, system, and check what OpenCL compute devices you have available.

Schermata 2018-01-18 alle 22.01.11.png

![Schermata 2018-01-18 alle 22.01.11.png](https://archive.blender.org/developer/F1883076/Schermata_2018-01-18_alle_22.01.11.png)

Consulting all knowing internet, I'd suspect this to be driver issue.
Drivers for eGPU are coming this spring. It does already work on some degree with High Sierra but not fully.

Consulting all knowing internet, I'd suspect this to be driver issue. Drivers for eGPU are coming this spring. It does already work on some degree with High Sierra but not fully.

It wouldn't surprise me if the OpenCL driver was not (yet?) optimized for this. Either way it is really difficult for us to investigate this issue without having similar hardware ourselves.

Getting a full log from a render like this could give clues, ideally using the latest build from https://builder.blender.org/download/.

./blender.app/Contents/MacOS/blender --debug-cycles -b bmw27_gpu.blend -f 1 &> bmw27.log
It wouldn't surprise me if the OpenCL driver was not (yet?) optimized for this. Either way it is really difficult for us to investigate this issue without having similar hardware ourselves. Getting a full log from a render like this could give clues, ideally using the latest build from https://builder.blender.org/download/. ``` ./blender.app/Contents/MacOS/blender --debug-cycles -b bmw27_gpu.blend -f 1 &> bmw27.log ```

I0124 17:11:44.674460 2885309248 blender_python.cpp:189] Debug flags initialized to:
CPU flags:

AVX2       : True
AVX        : True
SSE4.1     : True
SSE3       : True
SSE2       : True
BVH layout : BVH4
Split      : False

CUDA flags:
Adaptive Compile: False
OpenCL flags:

Device type    : ALL
Kernel type    : DEFAULT
Debug          : False
Single program : True
Memory limit   : 0

Read prefs: /Users/nicolo/Library/Application Support/Blender/2.79/config/userpref.blend
found bundled python: /Applications/blender/blender.app/Contents/Resources/2.79/python
Warning: 'RealCameraPanel' doesn't contain 'PT' with prefix & suffix
Warning: 'VIEW_3D_camera_calibration' doesn't contain 'PT' with prefix & suffix
Warning: 'VIEW_3D_camera_calibration' doesn't contain 'PT' with prefix & suffix
I0124 17:11:44.876302 2885309248 device_opencl.cpp:59] CLEW initialization succeeded.
I0124 17:11:44.876350 2885309248 opencl_util.cpp:779] Enumerating devices for platform Apple.
I0124 17:11:44.888988 2885309248 opencl_util.cpp:843] Ignoring device Intel(R) Core(TM) i7-6920HQ CPU @ 2.90GHz, not officially supported yet.
I0124 17:11:44.889402 2885309248 opencl_util.cpp:831] Adding new device Intel(R) HD Graphics 530.
I0124 17:11:44.889443 2885309248 opencl_util.cpp:831] Adding new device AMD Radeon HD Vega10 XT Prototype Compute Engine.
I0124 17:11:44.889467 2885309248 opencl_util.cpp:831] Adding new device AMD Radeon Pro 460 Compute Engine.
I0124 17:11:44.890103 2885309248 device_cuda.cpp:2474] CUEW initialization failed: Error opening the library
I0124 17:11:44.890177 2885309248 util_system.cpp:76] Detected 1 CPU groups.
I0124 17:11:44.890192 2885309248 util_system.cpp:79] Group 0 has 8 threads.
I0124 17:11:44.890202 2885309248 util_task.cpp:202] Creating pool of 8 threads.
I0124 17:11:44.890323 2885309248 device_opencl.cpp:41] Using mega kernel.
I0124 17:11:44.890399 2885309248 opencl_base.cpp:100] Creating new Cycles device for OpenCL platform Apple, device AMD Radeon HD Vega10 XT Prototype Compute Engine.
Device init success
I0124 17:11:44.891350 263962624 nodes.cpp:1969] Using sharp glossy BSDF.
I0124 17:11:44.891690 265035776 nodes.cpp:2064] Using sharp glass BSDF.
I0124 17:11:44.891746 264499200 nodes.cpp:2064] Using sharp glass BSDF.
I0124 17:11:44.891758 264499200 nodes.cpp:1969] Using sharp glossy BSDF.
I0124 17:11:44.891917 263426048 nodes.cpp:1969] Using sharp glossy BSDF.
I0124 17:11:44.891944 265035776 nodes.cpp:1969] Using sharp glossy BSDF.
I0124 17:11:44.891954 263426048 graph.cpp:616] Deduplicated 2 nodes.
Read blend: /Users/nicolo/bmw27_gpu.blend
skipping driver '100power', automatic scripts are disabled
skipping driver '-90
brake', automatic scripts are disabled
skipping driver '90brake', automatic scripts are disabled
skipping driver '-100
power', automatic scripts are disabled
skipping driver '100power', automatic scripts are disabled
skipping driver '-90
brake', automatic scripts are disabled
skipping driver '90brake', automatic scripts are disabled
skipping driver '-100
power', automatic scripts are disabled
Fra:1 Mem:45.54M (0.00M, Peak 45.54M) | Time:00:00.01 | Mem:0.00M, Peak:0.00M | Scene, RenderLayer | Synchronizing object | carController
Fra:1 Mem:45.54M (0.00M, Peak 45.54M) | Time:00:00.01 | Mem:0.00M, Peak:0.00M | Scene, RenderLayer | Synchronizing object | carShell
Fra:1 Mem:59.91M (0.00M, Peak 70.29M) | Time:00:00.26 | Mem:0.00M, Peak:0.00M | Scene, RenderLayer | Synchronizing object | plate
Fra:1 Mem:59.93M (0.00M, Peak 70.29M) | Time:00:00.26 | Mem:0.00M, Peak:0.00M | Scene, RenderLayer | Synchronizing object | carShell.001
Fra:1 Mem:59.95M (0.00M, Peak 70.29M) | Time:00:00.26 | Mem:0.00M, Peak:0.00M | Scene, RenderLayer | Synchronizing object | RoundelBack
Fra:1 Mem:60.36M (0.00M, Peak 70.29M) | Time:00:00.26 | Mem:0.00M, Peak:0.00M | Scene, RenderLayer | Synchronizing object | RoundelFront
Fra:1 Mem:60.77M (0.00M, Peak 70.29M) | Time:00:00.27 | Mem:0.00M, Peak:0.00M | Scene, RenderLayer | Synchronizing object | taillight
Fra:1 Mem:61.36M (0.00M, Peak 70.29M) | Time:00:00.27 | Mem:0.00M, Peak:0.00M | Scene, RenderLayer | Synchronizing object | MStreak
Fra:1 Mem:61.62M (0.00M, Peak 70.29M) | Time:00:00.27 | Mem:0.00M, Peak:0.00M | Scene, RenderLayer | Synchronizing object | Window
Fra:1 Mem:61.96M (0.00M, Peak 70.29M) | Time:00:00.28 | Mem:0.00M, Peak:0.00M | Scene, RenderLayer | Synchronizing object | exhaust
Fra:1 Mem:62.17M (0.00M, Peak 70.29M) | Time:00:00.28 | Mem:0.00M, Peak:0.00M | Scene, RenderLayer | Synchronizing object | rearDiffuser
Fra:1 Mem:62.59M (0.00M, Peak 70.29M) | Time:00:00.28 | Mem:0.00M, Peak:0.00M | Scene, RenderLayer | Synchronizing object | lightsLid
Fra:1 Mem:62.66M (0.00M, Peak 70.29M) | Time:00:00.28 | Mem:0.00M, Peak:0.00M | Scene, RenderLayer | Synchronizing object | Platform
Fra:1 Mem:62.68M (0.00M, Peak 70.29M) | Time:00:00.28 | Mem:0.00M, Peak:0.00M | Scene, RenderLayer | Synchronizing object | lightsGlass
Fra:1 Mem:62.84M (0.00M, Peak 70.29M) | Time:00:00.28 | Mem:0.00M, Peak:0.00M | Scene, RenderLayer | Synchronizing object | LowerIntake
Fra:1 Mem:63.30M (0.00M, Peak 70.29M) | Time:00:00.28 | Mem:0.00M, Peak:0.00M | Scene, RenderLayer | Synchronizing object | lightsOutline
Fra:1 Mem:63.71M (0.00M, Peak 70.29M) | Time:00:00.29 | Mem:0.00M, Peak:0.00M | Scene, RenderLayer | Synchronizing object | lowerIntake
Fra:1 Mem:63.95M (0.00M, Peak 70.29M) | Time:00:00.29 | Mem:0.00M, Peak:0.00M | Scene, RenderLayer | Synchronizing object | kidneyBars
Fra:1 Mem:64.51M (0.00M, Peak 70.29M) | Time:00:00.29 | Mem:0.00M, Peak:0.00M | Scene, RenderLayer | Synchronizing object | kidneyChrome
Fra:1 Mem:64.63M (0.00M, Peak 70.29M) | Time:00:00.29 | Mem:0.00M, Peak:0.00M | Scene, RenderLayer | Synchronizing object | Interior
Fra:1 Mem:65.27M (0.00M, Peak 70.29M) | Time:00:00.30 | Mem:0.00M, Peak:0.00M | Scene, RenderLayer | Synchronizing object | trimming
Fra:1 Mem:65.62M (0.00M, Peak 70.29M) | Time:00:00.30 | Mem:0.00M, Peak:0.00M | Scene, RenderLayer | Synchronizing object | lightsAngelEyes
Fra:1 Mem:66.14M (0.00M, Peak 70.29M) | Time:00:00.30 | Mem:0.00M, Peak:0.00M | Scene, RenderLayer | Synchronizing object | lightsReflector
Fra:1 Mem:66.99M (0.00M, Peak 70.29M) | Time:00:00.31 | Mem:0.00M, Peak:0.00M | Scene, RenderLayer | Synchronizing object | lightsInterior2
Fra:1 Mem:68.67M (0.00M, Peak 79.53M) | Time:00:00.33 | Mem:0.00M, Peak:0.00M | Scene, RenderLayer | Synchronizing object | lightsBulb
Fra:1 Mem:68.69M (0.00M, Peak 79.53M) | Time:00:00.33 | Mem:0.00M, Peak:0.00M | Scene, RenderLayer | Synchronizing object | lightsSeparator
Fra:1 Mem:68.83M (0.00M, Peak 79.53M) | Time:00:00.34 | Mem:0.00M, Peak:0.00M | Scene, RenderLayer | Synchronizing object | lightsInterior
Fra:1 Mem:69.38M (0.00M, Peak 79.53M) | Time:00:00.34 | Mem:0.00M, Peak:0.00M | Scene, RenderLayer | Synchronizing object | SideMirror
Fra:1 Mem:69.40M (0.00M, Peak 79.53M) | Time:00:00.34 | Mem:0.00M, Peak:0.00M | Scene, RenderLayer | Synchronizing object | Camera.005
Fra:1 Mem:69.40M (0.00M, Peak 79.53M) | Time:00:00.34 | Mem:0.00M, Peak:0.00M | Scene, RenderLayer | Synchronizing object | Camera.004
Fra:1 Mem:69.40M (0.00M, Peak 79.53M) | Time:00:00.34 | Mem:0.00M, Peak:0.00M | Scene, RenderLayer | Synchronizing object | Camera.003
Fra:1 Mem:69.40M (0.00M, Peak 79.53M) | Time:00:00.34 | Mem:0.00M, Peak:0.00M | Scene, RenderLayer | Synchronizing object | Camera.002
Fra:1 Mem:69.40M (0.00M, Peak 79.53M) | Time:00:00.34 | Mem:0.00M, Peak:0.00M | Scene, RenderLayer | Synchronizing object | Camera.001
Fra:1 Mem:69.40M (0.00M, Peak 79.53M) | Time:00:00.34 | Mem:0.00M, Peak:0.00M | Scene, RenderLayer | Synchronizing object | Light
Fra:1 Mem:69.40M (0.00M, Peak 79.53M) | Time:00:00.34 | Mem:0.00M, Peak:0.00M | Scene, RenderLayer | Synchronizing object | Floor
Fra:1 Mem:69.40M (0.00M, Peak 79.53M) | Time:00:00.34 | Mem:0.00M, Peak:0.00M | Scene, RenderLayer | Synchronizing object | Brake2
Fra:1 Mem:69.44M (0.00M, Peak 79.53M) | Time:00:00.34 | Mem:0.00M, Peak:0.00M | Scene, RenderLayer | Synchronizing object | Brake1
Fra:1 Mem:69.44M (0.00M, Peak 79.53M) | Time:00:00.34 | Mem:0.00M, Peak:0.00M | Scene, RenderLayer | Synchronizing object | Brake4
Fra:1 Mem:69.44M (0.00M, Peak 79.53M) | Time:00:00.34 | Mem:0.00M, Peak:0.00M | Scene, RenderLayer | Synchronizing object | Brake3
Fra:1 Mem:69.44M (0.00M, Peak 79.53M) | Time:00:00.34 | Mem:0.00M, Peak:0.00M | Scene, RenderLayer | Synchronizing object | Tire4
Fra:1 Mem:78.38M (0.00M, Peak 94.74M) | Time:00:00.41 | Mem:0.00M, Peak:0.00M | Scene, RenderLayer | Synchronizing object | Tire2
Fra:1 Mem:78.38M (0.00M, Peak 94.74M) | Time:00:00.41 | Mem:0.00M, Peak:0.00M | Scene, RenderLayer | Synchronizing object | Tire1
Fra:1 Mem:78.38M (0.00M, Peak 94.74M) | Time:00:00.41 | Mem:0.00M, Peak:0.00M | Scene, RenderLayer | Synchronizing object | Tire3
Fra:1 Mem:78.38M (0.00M, Peak 94.74M) | Time:00:00.41 | Mem:0.00M, Peak:0.00M | Scene, RenderLayer | Synchronizing object | 1M
Fra:1 Mem:78.38M (0.00M, Peak 94.74M) | Time:00:00.41 | Mem:0.00M, Peak:0.00M | Scene, RenderLayer | Synchronizing object | Camera
Fra:1 Mem:78.38M (0.00M, Peak 94.74M) | Time:00:00.41 | Mem:0.00M, Peak:0.00M | Scene, RenderLayer | Initializing
Fra:1 Mem:78.38M (0.00M, Peak 94.74M) | Time:00:00.41 | Mem:0.00M, Peak:0.00M | Scene, RenderLayer | Loading render kernels (may take a few minutes the first time)
I0124 17:11:45.292325 268255232 session.cpp:699] Requested features:
Experimental features: On
Max nodes group: 3
Nodes features: 4
Use Hair: False
Use Object Motion: False
Use Camera Motion: False
Use Baking: False
Use Subsurface: False
Use Volume: False
Use Branched Integrator: False
Use Patch Evaluation: False
Use Transparent Shadows: True
Use Principled BSDF: False
Use Denoising: False
I0124 17:11:45.292356 268255232 opencl_base.cpp:216] Loading kernels for platform Apple, device AMD Radeon HD Vega10 XT Prototype Compute Engine.
I0124 17:11:45.292446 268255232 opencl_util.cpp:288] OpenCL program base not found in cache.
I0124 17:11:45.332798 268255232 opencl_util.cpp:288] Kernel file /Users/nicolo/.cache/cycles/kernels/cycles_kernel_base_3936FD202EC462913960BA0966DAC5BC_6B43855A37F02FF5460AC09DC538D65B.clbin either doesn't exist or failed to be loaded by driver.
Compiling OpenCL program base
I0124 17:11:45.369364 268255232 opencl_util.cpp:288] Build flags: -D__NO_BAKING__
I0124 17:11:45.369390 268255232 opencl_util.cpp:315] Build options passed to clBuildProgram: '-cl-no-signed-zeros -cl-mad-enable -D__KERNEL_OPENCL_APPLE__ -D__NO_BAKING__'.

I0124 17:11:44.674460 2885309248 blender_python.cpp:189] Debug flags initialized to: CPU flags: ``` AVX2 : True AVX : True SSE4.1 : True SSE3 : True SSE2 : True BVH layout : BVH4 Split : False ``` CUDA flags: Adaptive Compile: False OpenCL flags: ``` Device type : ALL Kernel type : DEFAULT Debug : False Single program : True Memory limit : 0 ``` Read prefs: /Users/nicolo/Library/Application Support/Blender/2.79/config/userpref.blend found bundled python: /Applications/blender/blender.app/Contents/Resources/2.79/python Warning: 'RealCameraPanel' doesn't contain '_PT_' with prefix & suffix Warning: 'VIEW_3D_camera_calibration' doesn't contain '_PT_' with prefix & suffix Warning: 'VIEW_3D_camera_calibration' doesn't contain '_PT_' with prefix & suffix I0124 17:11:44.876302 2885309248 device_opencl.cpp:59] CLEW initialization succeeded. I0124 17:11:44.876350 2885309248 opencl_util.cpp:779] Enumerating devices for platform Apple. I0124 17:11:44.888988 2885309248 opencl_util.cpp:843] Ignoring device Intel(R) Core(TM) i7-6920HQ CPU @ 2.90GHz, not officially supported yet. I0124 17:11:44.889402 2885309248 opencl_util.cpp:831] Adding new device Intel(R) HD Graphics 530. I0124 17:11:44.889443 2885309248 opencl_util.cpp:831] Adding new device AMD Radeon HD Vega10 XT Prototype Compute Engine. I0124 17:11:44.889467 2885309248 opencl_util.cpp:831] Adding new device AMD Radeon Pro 460 Compute Engine. I0124 17:11:44.890103 2885309248 device_cuda.cpp:2474] CUEW initialization failed: Error opening the library I0124 17:11:44.890177 2885309248 util_system.cpp:76] Detected 1 CPU groups. I0124 17:11:44.890192 2885309248 util_system.cpp:79] Group 0 has 8 threads. I0124 17:11:44.890202 2885309248 util_task.cpp:202] Creating pool of 8 threads. I0124 17:11:44.890323 2885309248 device_opencl.cpp:41] Using mega kernel. I0124 17:11:44.890399 2885309248 opencl_base.cpp:100] Creating new Cycles device for OpenCL platform Apple, device AMD Radeon HD Vega10 XT Prototype Compute Engine. Device init success I0124 17:11:44.891350 263962624 nodes.cpp:1969] Using sharp glossy BSDF. I0124 17:11:44.891690 265035776 nodes.cpp:2064] Using sharp glass BSDF. I0124 17:11:44.891746 264499200 nodes.cpp:2064] Using sharp glass BSDF. I0124 17:11:44.891758 264499200 nodes.cpp:1969] Using sharp glossy BSDF. I0124 17:11:44.891917 263426048 nodes.cpp:1969] Using sharp glossy BSDF. I0124 17:11:44.891944 265035776 nodes.cpp:1969] Using sharp glossy BSDF. I0124 17:11:44.891954 263426048 graph.cpp:616] Deduplicated 2 nodes. Read blend: /Users/nicolo/bmw27_gpu.blend skipping driver '100*power', automatic scripts are disabled skipping driver '-90*brake', automatic scripts are disabled skipping driver '90*brake', automatic scripts are disabled skipping driver '-100*power', automatic scripts are disabled skipping driver '100*power', automatic scripts are disabled skipping driver '-90*brake', automatic scripts are disabled skipping driver '90*brake', automatic scripts are disabled skipping driver '-100*power', automatic scripts are disabled Fra:1 Mem:45.54M (0.00M, Peak 45.54M) | Time:00:00.01 | Mem:0.00M, Peak:0.00M | Scene, RenderLayer | Synchronizing object | carController Fra:1 Mem:45.54M (0.00M, Peak 45.54M) | Time:00:00.01 | Mem:0.00M, Peak:0.00M | Scene, RenderLayer | Synchronizing object | carShell Fra:1 Mem:59.91M (0.00M, Peak 70.29M) | Time:00:00.26 | Mem:0.00M, Peak:0.00M | Scene, RenderLayer | Synchronizing object | plate Fra:1 Mem:59.93M (0.00M, Peak 70.29M) | Time:00:00.26 | Mem:0.00M, Peak:0.00M | Scene, RenderLayer | Synchronizing object | carShell.001 Fra:1 Mem:59.95M (0.00M, Peak 70.29M) | Time:00:00.26 | Mem:0.00M, Peak:0.00M | Scene, RenderLayer | Synchronizing object | RoundelBack Fra:1 Mem:60.36M (0.00M, Peak 70.29M) | Time:00:00.26 | Mem:0.00M, Peak:0.00M | Scene, RenderLayer | Synchronizing object | RoundelFront Fra:1 Mem:60.77M (0.00M, Peak 70.29M) | Time:00:00.27 | Mem:0.00M, Peak:0.00M | Scene, RenderLayer | Synchronizing object | taillight Fra:1 Mem:61.36M (0.00M, Peak 70.29M) | Time:00:00.27 | Mem:0.00M, Peak:0.00M | Scene, RenderLayer | Synchronizing object | MStreak Fra:1 Mem:61.62M (0.00M, Peak 70.29M) | Time:00:00.27 | Mem:0.00M, Peak:0.00M | Scene, RenderLayer | Synchronizing object | Window Fra:1 Mem:61.96M (0.00M, Peak 70.29M) | Time:00:00.28 | Mem:0.00M, Peak:0.00M | Scene, RenderLayer | Synchronizing object | exhaust Fra:1 Mem:62.17M (0.00M, Peak 70.29M) | Time:00:00.28 | Mem:0.00M, Peak:0.00M | Scene, RenderLayer | Synchronizing object | rearDiffuser Fra:1 Mem:62.59M (0.00M, Peak 70.29M) | Time:00:00.28 | Mem:0.00M, Peak:0.00M | Scene, RenderLayer | Synchronizing object | lightsLid Fra:1 Mem:62.66M (0.00M, Peak 70.29M) | Time:00:00.28 | Mem:0.00M, Peak:0.00M | Scene, RenderLayer | Synchronizing object | Platform Fra:1 Mem:62.68M (0.00M, Peak 70.29M) | Time:00:00.28 | Mem:0.00M, Peak:0.00M | Scene, RenderLayer | Synchronizing object | lightsGlass Fra:1 Mem:62.84M (0.00M, Peak 70.29M) | Time:00:00.28 | Mem:0.00M, Peak:0.00M | Scene, RenderLayer | Synchronizing object | LowerIntake Fra:1 Mem:63.30M (0.00M, Peak 70.29M) | Time:00:00.28 | Mem:0.00M, Peak:0.00M | Scene, RenderLayer | Synchronizing object | lightsOutline Fra:1 Mem:63.71M (0.00M, Peak 70.29M) | Time:00:00.29 | Mem:0.00M, Peak:0.00M | Scene, RenderLayer | Synchronizing object | lowerIntake Fra:1 Mem:63.95M (0.00M, Peak 70.29M) | Time:00:00.29 | Mem:0.00M, Peak:0.00M | Scene, RenderLayer | Synchronizing object | kidneyBars Fra:1 Mem:64.51M (0.00M, Peak 70.29M) | Time:00:00.29 | Mem:0.00M, Peak:0.00M | Scene, RenderLayer | Synchronizing object | kidneyChrome Fra:1 Mem:64.63M (0.00M, Peak 70.29M) | Time:00:00.29 | Mem:0.00M, Peak:0.00M | Scene, RenderLayer | Synchronizing object | Interior Fra:1 Mem:65.27M (0.00M, Peak 70.29M) | Time:00:00.30 | Mem:0.00M, Peak:0.00M | Scene, RenderLayer | Synchronizing object | trimming Fra:1 Mem:65.62M (0.00M, Peak 70.29M) | Time:00:00.30 | Mem:0.00M, Peak:0.00M | Scene, RenderLayer | Synchronizing object | lightsAngelEyes Fra:1 Mem:66.14M (0.00M, Peak 70.29M) | Time:00:00.30 | Mem:0.00M, Peak:0.00M | Scene, RenderLayer | Synchronizing object | lightsReflector Fra:1 Mem:66.99M (0.00M, Peak 70.29M) | Time:00:00.31 | Mem:0.00M, Peak:0.00M | Scene, RenderLayer | Synchronizing object | lightsInterior2 Fra:1 Mem:68.67M (0.00M, Peak 79.53M) | Time:00:00.33 | Mem:0.00M, Peak:0.00M | Scene, RenderLayer | Synchronizing object | lightsBulb Fra:1 Mem:68.69M (0.00M, Peak 79.53M) | Time:00:00.33 | Mem:0.00M, Peak:0.00M | Scene, RenderLayer | Synchronizing object | lightsSeparator Fra:1 Mem:68.83M (0.00M, Peak 79.53M) | Time:00:00.34 | Mem:0.00M, Peak:0.00M | Scene, RenderLayer | Synchronizing object | lightsInterior Fra:1 Mem:69.38M (0.00M, Peak 79.53M) | Time:00:00.34 | Mem:0.00M, Peak:0.00M | Scene, RenderLayer | Synchronizing object | SideMirror Fra:1 Mem:69.40M (0.00M, Peak 79.53M) | Time:00:00.34 | Mem:0.00M, Peak:0.00M | Scene, RenderLayer | Synchronizing object | Camera.005 Fra:1 Mem:69.40M (0.00M, Peak 79.53M) | Time:00:00.34 | Mem:0.00M, Peak:0.00M | Scene, RenderLayer | Synchronizing object | Camera.004 Fra:1 Mem:69.40M (0.00M, Peak 79.53M) | Time:00:00.34 | Mem:0.00M, Peak:0.00M | Scene, RenderLayer | Synchronizing object | Camera.003 Fra:1 Mem:69.40M (0.00M, Peak 79.53M) | Time:00:00.34 | Mem:0.00M, Peak:0.00M | Scene, RenderLayer | Synchronizing object | Camera.002 Fra:1 Mem:69.40M (0.00M, Peak 79.53M) | Time:00:00.34 | Mem:0.00M, Peak:0.00M | Scene, RenderLayer | Synchronizing object | Camera.001 Fra:1 Mem:69.40M (0.00M, Peak 79.53M) | Time:00:00.34 | Mem:0.00M, Peak:0.00M | Scene, RenderLayer | Synchronizing object | Light Fra:1 Mem:69.40M (0.00M, Peak 79.53M) | Time:00:00.34 | Mem:0.00M, Peak:0.00M | Scene, RenderLayer | Synchronizing object | Floor Fra:1 Mem:69.40M (0.00M, Peak 79.53M) | Time:00:00.34 | Mem:0.00M, Peak:0.00M | Scene, RenderLayer | Synchronizing object | Brake2 Fra:1 Mem:69.44M (0.00M, Peak 79.53M) | Time:00:00.34 | Mem:0.00M, Peak:0.00M | Scene, RenderLayer | Synchronizing object | Brake1 Fra:1 Mem:69.44M (0.00M, Peak 79.53M) | Time:00:00.34 | Mem:0.00M, Peak:0.00M | Scene, RenderLayer | Synchronizing object | Brake4 Fra:1 Mem:69.44M (0.00M, Peak 79.53M) | Time:00:00.34 | Mem:0.00M, Peak:0.00M | Scene, RenderLayer | Synchronizing object | Brake3 Fra:1 Mem:69.44M (0.00M, Peak 79.53M) | Time:00:00.34 | Mem:0.00M, Peak:0.00M | Scene, RenderLayer | Synchronizing object | Tire4 Fra:1 Mem:78.38M (0.00M, Peak 94.74M) | Time:00:00.41 | Mem:0.00M, Peak:0.00M | Scene, RenderLayer | Synchronizing object | Tire2 Fra:1 Mem:78.38M (0.00M, Peak 94.74M) | Time:00:00.41 | Mem:0.00M, Peak:0.00M | Scene, RenderLayer | Synchronizing object | Tire1 Fra:1 Mem:78.38M (0.00M, Peak 94.74M) | Time:00:00.41 | Mem:0.00M, Peak:0.00M | Scene, RenderLayer | Synchronizing object | Tire3 Fra:1 Mem:78.38M (0.00M, Peak 94.74M) | Time:00:00.41 | Mem:0.00M, Peak:0.00M | Scene, RenderLayer | Synchronizing object | 1M Fra:1 Mem:78.38M (0.00M, Peak 94.74M) | Time:00:00.41 | Mem:0.00M, Peak:0.00M | Scene, RenderLayer | Synchronizing object | Camera Fra:1 Mem:78.38M (0.00M, Peak 94.74M) | Time:00:00.41 | Mem:0.00M, Peak:0.00M | Scene, RenderLayer | Initializing Fra:1 Mem:78.38M (0.00M, Peak 94.74M) | Time:00:00.41 | Mem:0.00M, Peak:0.00M | Scene, RenderLayer | Loading render kernels (may take a few minutes the first time) I0124 17:11:45.292325 268255232 session.cpp:699] Requested features: Experimental features: On Max nodes group: 3 Nodes features: 4 Use Hair: False Use Object Motion: False Use Camera Motion: False Use Baking: False Use Subsurface: False Use Volume: False Use Branched Integrator: False Use Patch Evaluation: False Use Transparent Shadows: True Use Principled BSDF: False Use Denoising: False I0124 17:11:45.292356 268255232 opencl_base.cpp:216] Loading kernels for platform Apple, device AMD Radeon HD Vega10 XT Prototype Compute Engine. I0124 17:11:45.292446 268255232 opencl_util.cpp:288] OpenCL program base not found in cache. I0124 17:11:45.332798 268255232 opencl_util.cpp:288] Kernel file /Users/nicolo/.cache/cycles/kernels/cycles_kernel_base_3936FD202EC462913960BA0966DAC5BC_6B43855A37F02FF5460AC09DC538D65B.clbin either doesn't exist or failed to be loaded by driver. Compiling OpenCL program base I0124 17:11:45.369364 268255232 opencl_util.cpp:288] Build flags: -D__NO_BAKING__ I0124 17:11:45.369390 268255232 opencl_util.cpp:315] Build options passed to clBuildProgram: '-cl-no-signed-zeros -cl-mad-enable -D__KERNEL_OPENCL_APPLE__ -D__NO_BAKING__'.
Brecht Van Lommel changed title from eGPU can't work to Poor performance with AMD GPUs on macOS 2018-03-02 21:43:26 +01:00

Added subscriber: @GENRUNNER

Added subscriber: @GENRUNNER

Added subscriber: @okapi

Added subscriber: @okapi
Member

Added subscriber: @Stefan_Werner

Added subscriber: @Stefan_Werner

Added subscriber: @rbfigueira

Added subscriber: @rbfigueira

Hi,

I am using the Sonnet Radeon RX 570 eGFX Breakaway Puck and I get very poor performance. Very very low cycles render.

To have the idea, I have used the bmw27_gpu.blend file and get this renders time:

I1117 10:39:45.686028 11853824 opencl_base.cpp:273] Buffer allocate: rng_state, 262,144 bytes. (256.00K)
Fra:1 Mem:337.52M (0.00M, Peak 400.92M) | Time:00:18.35 | Remaining:04:02:25.21 | Mem:142.73M, Peak:142.73M | Scene, RenderLayer | Path Tracing Tile 0/12, Sample 3/1225
Fra:1 Mem:337.52M (0.00M, Peak 400.92M) | Time:00:18.58 | Remaining:03:10:50.85 | Mem:142.73M, Peak:142.73M | Scene, RenderLayer | Path Tracing Tile 0/12, Sample 4/1225
Fra:1 Mem:337.52M (0.00M, Peak 400.92M) | Time:00:22.29 | Remaining:03:14:32.98 | Mem:142.73M, Peak:142.73M | Scene, RenderLayer | Path Tracing Tile 0/12, Sample 7/1225
Fra:1 Mem:337.52M (0.00M, Peak 400.92M) | Time:00:22.37 | Remaining:02:51:51.28 | Mem:142.73M, Peak:142.73M | Scene, RenderLayer | Path Tracing Tile 0/12, Sample 8/1225
Fra:1 Mem:337.52M (0.00M, Peak 400.92M) | Time:00:26.17 | Remaining:03:00:45.33 | Mem:142.73M, Peak:142.73M | Scene, RenderLayer | Path Tracing Tile 0/12, Sample 11/1225
Fra:1 Mem:337.52M (0.00M, Peak 400.92M) | Time:00:26.25 | Remaining:02:46:43.63 | Mem:142.73M, Peak:142.73M | Scene, RenderLayer | Path Tracing Tile 0/12, Sample 12/1225
Fra:1 Mem:337.52M (0.00M, Peak 400.92M) | Time:00:30.06 | Remaining:02:54:18.57 | Mem:142.73M, Peak:142.73M | Scene, RenderLayer | Path Tracing Tile 0/12, Sample 15/1225
Fra:1 Mem:337.52M (0.00M, Peak 400.92M) | Time:00:30.14 | Remaining:02:44:11.36 | Mem:142.73M, Peak:142.73M | Scene, RenderLayer | Path Tracing Tile 0/12, Sample 16/1225

...

I found on the log some problems:
- Exception in module register(): '/Applications/Blender/blender.app/Contents/Resources/2.79/scripts/addons/object_boolean_tools.py'
archimesh: Imported multifiles

  • I1117 10:39:31.867377 2518606720 device_cuda.cpp:2113] CUEW initialization failed: Error opening the library

The first part of the log file:

I1117 10:39:29.931403 2518606720 blender_python.cpp:186] Debug flags initialized to:
CPU flags:

AVX2   : True
AVX    : True
SSE4.1 : True
SSE3   : True
SSE2   : True
QBVH   : True
Split  : False

CUDA flags:
Adaptive Compile: False
OpenCL flags:

Device type    : ALL
Kernel type    : DEFAULT
Debug          : False
Single program : True
Memory limit   : 0

Exception in module register(): '/Applications/Blender/blender.app/Contents/Resources/2.79/scripts/addons/object_boolean_tools.py'
archimesh: Imported multifiles

2018-11-17 10:39:30,434 INFO rpr.default [140735711994752]: Loading RPR addon (1, 7, 250)
2018-11-17 10:39:30,438 INFO rpr.default [140735711994752]: rpr.register
2018-11-17 10:39:30,438 INFO rpr.default [140735711994752]: Blender version: (2, 79, 0)
2018-11-17 10:39:30,462 INFO rpr.render.pyrpr [140735711994752]: pyrpr_init: bindings_path=/Users/rbfigueira/Library/Application Support/Blender/2.79/scripts/addons/rprblender, rpr_bin_path=/Users/rbfigueira/Library/Application Support/Blender/2.79/scripts/addons/rprblender
2018-11-17 10:39:30,958 INFO rpr.render.pyrpr [140735711994752]: RPR Core version 0x10032101
2018-11-17 10:39:31,049 INFO rpr.render.pyrpr [140735711994752]: RPRX Support version 0x2
2018-11-17 10:39:31,059 INFO rpr.render.pyrpr [140735711994752]: Image Filters version 0x1
2018-11-17 10:39:31,088 INFO rpr.default [140735711994752]: rprsdk_bin_path: /Users/rbfigueira/Library/Application Support/Blender/2.79/scripts/addons/rprblender
2018-11-17 10:39:31,322 INFO rpr.default [140735711994752]: helpers.register()
2018-11-17 10:39:31,322 INFO rpr.default [140735711994752]: Renderer DLL Path: /Users/rbfigueira/Library/Application Support/Blender/2.79/scripts/addons/rprblender/libTahoe64.dylib
2018-11-17 10:39:31,322 INFO rpr.default [140735711994752]: Init lib...
2018-11-17 10:39:31,323 INFO rpr.default [140735711994752]: trying to load /Users/rbfigueira/Library/Application Support/Blender/2.79/scripts/addons/rprblender/libRPRBlenderHelper.dylib
2018-11-17 10:39:31,340 INFO rpr.default [140735711994752]: addon_path: b'/Users/rbfigueira/Library/Application Support/Blender/2.79/scripts/addons/rprblender'
(...)

I1117 10:39:31.839948 2518606720 device_opencl.cpp:59] CLEW initialization succeeded.
I1117 10:39:31.840106 2518606720 opencl_util.cpp:778] Enumerating devices for platform Apple.
I1117 10:39:31.864439 2518606720 opencl_util.cpp:842] Ignoring device Intel(R) Core(TM) i5-4250U CPU @ 1.30GHz, not officially supported yet.
I1117 10:39:31.865289 2518606720 opencl_util.cpp:830] Adding new device AMD Radeon RX 570 Compute Engine.
I1117 10:39:31.867377 2518606720 device_cuda.cpp:2113] CUEW initialization failed: Error opening the library
I1117 10:39:31.868849 2518606720 util_system.cpp:77] Detected 1 CPU groups.
I1117 10:39:31.868899 2518606720 util_system.cpp:80] Group 0 has 4 threads.
I1117 10:39:31.868919 2518606720 util_task.cpp:203] Creating pool of 4 threads.
I1117 10:39:31.869266 2518606720 device_opencl.cpp:41] Using mega kernel.
I1117 10:39:31.869443 2518606720 opencl_base.cpp:87] Creating new Cycles device for OpenCL platform Apple, device AMD Radeon RX 570 Compute Engine.
Device init success
I1117 10:39:31.878937 9707520 nodes.cpp:1961] Using sharp glossy BSDF.
I1117 10:39:31.881649 10780672 nodes.cpp:2056] Using sharp glass BSDF.
I1117 10:39:31.882227 10780672 nodes.cpp:2056] Using sharp glass BSDF.
I1117 10:39:31.882314 10780672 nodes.cpp:1961] Using sharp glossy BSDF.
I1117 10:39:31.882797 10244096 nodes.cpp:1961] Using sharp glossy BSDF.
I1117 10:39:31.882865 10244096 graph.cpp:639] Deduplicated 2 nodes.
I1117 10:39:31.882900 10780672 nodes.cpp:1961] Using sharp glossy BSDF.
Read prefs: /Users/rbfigueira/Library/Application Support/Blender/2.79/config/userpref.blend
found bundled python: /Applications/Blender/blender.app/Contents/Resources/2.79/python
trying to save userpref at /Users/rbfigueira/Library/Application Support/Blender/2.79/config/userpref.blend ok
Read blend: /Users/rbfigueira/bmw27_gpu.blend
trying to save userpref at /Users/rbfigueira/Library/Application Support/Blender/2.79/config/userpref.blend ok
Fra:1 Mem:45.91M (0.00M, Peak 45.92M) | Time:00:00.05 | Mem:0.00M, Peak:0.00M | Scene, RenderLayer | Synchronizing object | carController
Fra:1 Mem:45.91M (0.00M, Peak 45.92M) | Time:00:00.05 | Mem:0.00M, Peak:0.00M | Scene, RenderLayer | Synchronizing

Can you guys see if anything we can do? I have bought the Sonnet Radeon RX 570 eGFX Breakaway Puck to use with blender !! :(

Thanks

Hi, I am using the **Sonnet Radeon RX 570 eGFX Breakaway Puck** and I get very poor performance. Very very low cycles render. To have the idea, I have used the bmw27_gpu.blend file and get this renders time: I1117 10:39:45.686028 11853824 opencl_base.cpp:273] Buffer allocate: rng_state, 262,144 bytes. (256.00K) Fra:1 Mem:337.52M (0.00M, Peak 400.92M) | Time:00:18.35 | Remaining:04:02:25.21 | Mem:142.73M, Peak:142.73M | Scene, RenderLayer | Path Tracing Tile 0/12, Sample 3/1225 Fra:1 Mem:337.52M (0.00M, Peak 400.92M) | Time:00:18.58 | Remaining:03:10:50.85 | Mem:142.73M, Peak:142.73M | Scene, RenderLayer | Path Tracing Tile 0/12, Sample 4/1225 Fra:1 Mem:337.52M (0.00M, Peak 400.92M) | Time:00:22.29 | Remaining:03:14:32.98 | Mem:142.73M, Peak:142.73M | Scene, RenderLayer | Path Tracing Tile 0/12, Sample 7/1225 Fra:1 Mem:337.52M (0.00M, Peak 400.92M) | Time:00:22.37 | Remaining:02:51:51.28 | Mem:142.73M, Peak:142.73M | Scene, RenderLayer | Path Tracing Tile 0/12, Sample 8/1225 Fra:1 Mem:337.52M (0.00M, Peak 400.92M) | Time:00:26.17 | Remaining:03:00:45.33 | Mem:142.73M, Peak:142.73M | Scene, RenderLayer | Path Tracing Tile 0/12, Sample 11/1225 Fra:1 Mem:337.52M (0.00M, Peak 400.92M) | Time:00:26.25 | Remaining:02:46:43.63 | Mem:142.73M, Peak:142.73M | Scene, RenderLayer | Path Tracing Tile 0/12, Sample 12/1225 Fra:1 Mem:337.52M (0.00M, Peak 400.92M) | Time:00:30.06 | Remaining:02:54:18.57 | Mem:142.73M, Peak:142.73M | Scene, RenderLayer | Path Tracing Tile 0/12, Sample 15/1225 Fra:1 Mem:337.52M (0.00M, Peak 400.92M) | Time:00:30.14 | Remaining:02:44:11.36 | Mem:142.73M, Peak:142.73M | Scene, RenderLayer | Path Tracing Tile 0/12, Sample 16/1225 ... I found on the log some problems: **- **Exception in module register(): '/Applications/Blender/blender.app/Contents/Resources/2.79/scripts/addons/object_boolean_tools.py' archimesh: Imported multifiles**** - **I1117 10:39:31.867377 2518606720 device_cuda.cpp:2113] CUEW initialization failed: Error opening the library** The first part of the log file: I1117 10:39:29.931403 2518606720 blender_python.cpp:186] Debug flags initialized to: CPU flags: ``` AVX2 : True AVX : True SSE4.1 : True SSE3 : True SSE2 : True QBVH : True Split : False ``` CUDA flags: Adaptive Compile: False OpenCL flags: ``` Device type : ALL Kernel type : DEFAULT Debug : False Single program : True Memory limit : 0 ``` **Exception in module register(): '/Applications/Blender/blender.app/Contents/Resources/2.79/scripts/addons/object_boolean_tools.py' archimesh: Imported multifiles** 2018-11-17 10:39:30,434 INFO rpr.default [140735711994752]: Loading RPR addon (1, 7, 250) 2018-11-17 10:39:30,438 INFO rpr.default [140735711994752]: rpr.register 2018-11-17 10:39:30,438 INFO rpr.default [140735711994752]: Blender version: (2, 79, 0) 2018-11-17 10:39:30,462 INFO rpr.render.pyrpr [140735711994752]: pyrpr_init: bindings_path=/Users/rbfigueira/Library/Application Support/Blender/2.79/scripts/addons/rprblender, rpr_bin_path=/Users/rbfigueira/Library/Application Support/Blender/2.79/scripts/addons/rprblender 2018-11-17 10:39:30,958 INFO rpr.render.pyrpr [140735711994752]: RPR Core version 0x10032101 2018-11-17 10:39:31,049 INFO rpr.render.pyrpr [140735711994752]: RPRX Support version 0x2 2018-11-17 10:39:31,059 INFO rpr.render.pyrpr [140735711994752]: Image Filters version 0x1 2018-11-17 10:39:31,088 INFO rpr.default [140735711994752]: rprsdk_bin_path: /Users/rbfigueira/Library/Application Support/Blender/2.79/scripts/addons/rprblender 2018-11-17 10:39:31,322 INFO rpr.default [140735711994752]: helpers.register() 2018-11-17 10:39:31,322 INFO rpr.default [140735711994752]: Renderer DLL Path: /Users/rbfigueira/Library/Application Support/Blender/2.79/scripts/addons/rprblender/libTahoe64.dylib 2018-11-17 10:39:31,322 INFO rpr.default [140735711994752]: Init lib... 2018-11-17 10:39:31,323 INFO rpr.default [140735711994752]: trying to load /Users/rbfigueira/Library/Application Support/Blender/2.79/scripts/addons/rprblender/libRPRBlenderHelper.dylib 2018-11-17 10:39:31,340 INFO rpr.default [140735711994752]: addon_path: b'/Users/rbfigueira/Library/Application Support/Blender/2.79/scripts/addons/rprblender' (...) I1117 10:39:31.839948 2518606720 device_opencl.cpp:59] CLEW initialization succeeded. I1117 10:39:31.840106 2518606720 opencl_util.cpp:778] Enumerating devices for platform Apple. I1117 10:39:31.864439 2518606720 opencl_util.cpp:842] Ignoring device Intel(R) Core(TM) i5-4250U CPU @ 1.30GHz, not officially supported yet. I1117 10:39:31.865289 2518606720 opencl_util.cpp:830] **Adding new device AMD Radeon RX 570 Compute Engine.** **I1117 10:39:31.867377 2518606720 device_cuda.cpp:2113] CUEW initialization failed: Error opening the library** I1117 10:39:31.868849 2518606720 util_system.cpp:77] **Detected 1 CPU groups.** I1117 10:39:31.868899 2518606720 util_system.cpp:80] Group 0 has 4 threads. I1117 10:39:31.868919 2518606720 util_task.cpp:203] Creating pool of 4 threads. I1117 10:39:31.869266 2518606720 device_opencl.cpp:41] Using mega kernel. I1117 10:39:31.869443 2518606720 opencl_base.cpp:87] C**reating new Cycles device for OpenCL platform Apple, device AMD Radeon RX 570 Compute Engine.** Device init success I1117 10:39:31.878937 9707520 nodes.cpp:1961] Using sharp glossy BSDF. I1117 10:39:31.881649 10780672 nodes.cpp:2056] Using sharp glass BSDF. I1117 10:39:31.882227 10780672 nodes.cpp:2056] Using sharp glass BSDF. I1117 10:39:31.882314 10780672 nodes.cpp:1961] Using sharp glossy BSDF. I1117 10:39:31.882797 10244096 nodes.cpp:1961] Using sharp glossy BSDF. I1117 10:39:31.882865 10244096 graph.cpp:639] Deduplicated 2 nodes. I1117 10:39:31.882900 10780672 nodes.cpp:1961] Using sharp glossy BSDF. Read prefs: /Users/rbfigueira/Library/Application Support/Blender/2.79/config/userpref.blend found bundled python: /Applications/Blender/blender.app/Contents/Resources/2.79/python trying to save userpref at /Users/rbfigueira/Library/Application Support/Blender/2.79/config/userpref.blend ok Read blend: /Users/rbfigueira/bmw27_gpu.blend trying to save userpref at /Users/rbfigueira/Library/Application Support/Blender/2.79/config/userpref.blend ok Fra:1 Mem:45.91M (0.00M, Peak 45.92M) | Time:00:00.05 | Mem:0.00M, Peak:0.00M | Scene, RenderLayer | Synchronizing object | carController Fra:1 Mem:45.91M (0.00M, Peak 45.92M) | Time:00:00.05 | Mem:0.00M, Peak:0.00M | Scene, RenderLayer | Synchronizing Can you guys see if anything we can do? I have bought the **Sonnet Radeon RX 570 eGFX Breakaway Puck** to use with blender !! :( Thanks

I don't know if I install the Windows 10 on Bootcamp if it will work.... don't know if this is an OSX driver issue or blender issue.

I don't know if I install the Windows 10 on Bootcamp if it will work.... don't know if this is an OSX driver issue or blender issue.

Added subscriber: @vinegarshots

Added subscriber: @vinegarshots

Im using an 8 core iMac Pro with Vega 56 and latest version of Blender.

Cycles GPU rendering is totally unusable. BMW benchmark takes almost 2 hours to complete. However, using AMD ProRender engine, Blender GPU rendering is very fast.

Also, running Blender from Bootcamp gets ~6 minute BMW GPU benchmark Cycles render times. So it appears to be an issue between Cycles and MacOS.

Im using an 8 core iMac Pro with Vega 56 and latest version of Blender. Cycles GPU rendering is totally unusable. BMW benchmark takes almost 2 hours to complete. However, using AMD ProRender engine, Blender GPU rendering is very fast. Also, running Blender from Bootcamp gets ~6 minute BMW GPU benchmark Cycles render times. So it appears to be an issue between Cycles and MacOS.

Added subscriber: @winnertakesteve-1

Added subscriber: @winnertakesteve-1

Same issue here with a Vega 64 + Razer Core X on macOS Mojave.

One observation: I found that turning on progressive rendering partially mitigates the poor performance, bringing gpu render time for the bmw scene from 45 min down to 7 min. Unfortunately this is still slower than just using the CPU.

Only other note is that LuxMark which is also OpenCL seems to perform well on the same hardware and OS.

Same issue here with a Vega 64 + Razer Core X on macOS Mojave. One observation: I found that turning on progressive rendering partially mitigates the poor performance, bringing gpu render time for the bmw scene from 45 min down to 7 min. Unfortunately this is still slower than just using the CPU. Only other note is that LuxMark which is also OpenCL seems to perform well on the same hardware and OS.

In #53795#561866, @winnertakesteve-1 wrote:
Same issue here with a Vega 64 + Razer Core X on macOS Mojave.

One observation: I found that turning on progressive rendering partially mitigates the poor performance, bringing gpu render time for the bmw scene from 45 min down to 7 min. Unfortunately this is still slower than just using the CPU.

Only other note is that LuxMark which is also OpenCL seems to perform well on the same hardware and OS.

That is weird, I Just tried progressive rendering and it has the same effect on my Mac too— about 7 minutes to complete. Not sure why that would make such a big difference , but you’re right— still slower than CPU only.

> In #53795#561866, @winnertakesteve-1 wrote: > Same issue here with a Vega 64 + Razer Core X on macOS Mojave. > > One observation: I found that turning on progressive rendering partially mitigates the poor performance, bringing gpu render time for the bmw scene from 45 min down to 7 min. Unfortunately this is still slower than just using the CPU. > > Only other note is that LuxMark which is also OpenCL seems to perform well on the same hardware and OS. That is weird, I Just tried progressive rendering and it has the same effect on my Mac too— about 7 minutes to complete. Not sure why that would make such a big difference , but you’re right— still slower than CPU only.

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Brecht Van Lommel self-assigned this 2018-12-11 21:04:38 +01:00

Cycles: OpenCL on macOS has been disabled

There was a growing payload of bugs in Cycles related on OpenCL on macOS
platform, and those issues were caused by a compiler bug, which we have no
control over.

Surely, it is sometimes possible to work compiler bugs around from a
source, but we are facing some of the issues which are not solvable in this
way. Also, such solutions are usually short-living,. since adding more
features are often kicking compiler to provide buggy binary again.

In this case compiler will not get fixed since Apple decided to discontinue
OpenCL on its platform.

So the decision was made to drop support of OpenCL, keep official features
of Blender stable and predictable, and focus on things we have control over.

P.S. Older Blender releases are always available. Surely, this sounds like
using an ancient software without neat features. But we can't push Cycles
OpenCL on macOS measurably beyond that anyway.

https://lists.blender.org/pipermail/bf-committers/2018-December/049695.html

> Cycles: OpenCL on macOS has been disabled > > There was a growing payload of bugs in Cycles related on OpenCL on macOS > platform, and those issues were caused by a compiler bug, which we have no > control over. > > Surely, it is sometimes possible to work compiler bugs around from a > source, but we are facing some of the issues which are not solvable in this > way. Also, such solutions are usually short-living,. since adding more > features are often kicking compiler to provide buggy binary again. > > In this case compiler will not get fixed since Apple decided to discontinue > OpenCL on its platform. > > So the decision was made to drop support of OpenCL, keep official features > of Blender stable and predictable, and focus on things we have control over. > > P.S. Older Blender releases are always available. Surely, this sounds like > using an ancient software without neat features. But we can't push Cycles > OpenCL on macOS measurably beyond that anyway. https://lists.blender.org/pipermail/bf-committers/2018-December/049695.html
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
8 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#53795
No description provided.