Page MenuHome

GPU Render Using AMD FirePro W5000 Crashes
Closed, ArchivedPublic

Description

System Information
Win 7 64bit
AMD FirePro W5000

Blender Version
Broken: 2.75a c27589e

Short description of error
Blender crashes after trying to load render kernals using GPU render. No advances cycles setups used. Basic cube and emission lights only. RAM slowly increases as Blender attempts (guessing) to load the kernels, and then disappears without a peep

Exact steps for others to reproduce the error
Make sure User Settings have GPU as an option. Go to Scene setting and select GPU Compute and hit F12......... Crash

Event Timeline

Aaron Carlisle (Blendify) lowered the priority of this task from 90 to 30.Aug 25 2015, 3:15 AM

Using the Gooseberry version (Hash e96e452) it tried to load the kernels but instantly reports an error: OpenCL build failed: errors in console.

The official version (Hash 7dc75ea) starts to load the kernel, but with different characteristics to the standard release. The standard 2.75a slowly increases in RAM (maybe up to a GB), and then flattens out for a moment before crashing. This official nightly gives a small increase (~0.3GB) that comes back down and then two small increases and comes back down again, and then crashes. On reloading the application and trying again it crashes as soon as you hit F12.

Going back to the standard 2.75a reproduces the same slow GB increase and crash on loading kernels. Can't get the Gooseberry version to try before it crashes by running the other versions.

Neil

Another thing you can try is these drivers AMD helped with the code and made some fix in there drivers to afaik other then that http://support.amd.com/en-us/kb-articles/Pages/latest-catalyst-windows-beta.aspx# turn @Sergey Sharybin (sergey)

Please make sure you're using latest AMD driver.

If that doesn't help please run blender from the command line with --debug-cycles argument and paste full report here.

Bastien Montagne (mont29) changed the task status from Unknown Status to Unknown Status.Sep 3 2015, 11:39 AM
Bastien Montagne (mont29) claimed this task.

No news since one week…

I just installed the latest driver; I believe I went from Catalyst 14.12 to 15.7.1. The problem still exists.

Here is the command line cut'n'paste:

C:\Program Files\Blender Foundation\Blender>blender.exe --debug-cycles
Read new prefs: C:\Users\nellypledge\AppData\Roaming\Blender Foundation\Blender\
2.75\config\userpref.blend
AL lib: (EE) UpdateDeviceParams: Failed to set 44100hz, got 48000hz instead
found bundled python: C:\Program Files\Blender Foundation\Blender\2.75\python
I0903 22:06:55.791864 5620 device_cuda.cpp:1092] CUEW initialization failed: Er
ror opening the library
I0903 22:07:05.132877 8940 device_opencl.cpp:3370] Using split kernel.
Device init success
Compiling OpenCL kernel ...
Build flags:
Error: EXCEPTION_STACK_OVERFLOW

Please let me know if there's a file output from the above that I missed

Also, here's the report from the latest Gooseberry build:

R:\SetupInstall 2015\gooseberry-blender-2.75-e96e452-win64\Blender-2.75.0-git.e9
6e452-AMD64>blender.exe --debug-cycles
Read new prefs: C:\Users\nellypledge\AppData\Roaming\Blender Foundation\Blender\
2.75\config\userpref.blend
AL lib: (EE) UpdateDeviceParams: Failed to set 44100hz, got 48000hz instead
found bundled python: R:\SetupInstall 2015\gooseberry-blender-2.75-e96e452-win64
\Blender-2.75.0-git.e96e452-AMD64\2.75\python
I0903 22:16:04.106652 7280 device_cuda.cpp:1092] CUEW initialization failed: Er
ror opening the library
I0903 22:16:21.008677 5332 device_opencl.cpp:3394] Using split kernel.
Device init success
Compiling OpenCL kernel ...
Build flags:
OpenCL kernel build output:
"C:\Users\NELLYP~1\AppData\Local\Temp\OCLD4DC.tmp.cl", line 56115: error:

function "volume_normalized_position" declared implicitly
      co = volume_normalized_position(kg, sd, co);
           ^

"C:\Users\NELLYP~1\AppData\Local\Temp\OCLD4DC.tmp.cl", line 56110: warning:

  variable "id" was declared but never referenced
int id = node.y;
    ^

1 error detected in the compilation of "C:\Users\NELLYP~1\AppData\Local\Temp\OCL
D4DC.tmp.cl".

Internal error: clc compiler invocation failed.

OpenCL build failed: errors in console
I0903 22:16:22.449678 5332 blender_session.cpp:510] Total render time: 1.46421
I0903 22:16:22.449678 5332 blender_session.cpp:511] Render time (without synchr
onization): 862885
Error: OpenCL build failed: errors in console

Downloading the latest standard build now...

Using the latest standard build, 5fe9b36 gives lots of hopeful text before it crashes:

R:\SetupInstall 2015\blender-2.75-5fe9b36-win64\Blender-2.75.0-git.5fe9b36-AMD64

blender.exe --debug-cycles

Read new prefs: C:\Users\nellypledge\AppData\Roaming\Blender Foundation\Blender\
2.75\config\userpref.blend
AL lib: (EE) UpdateDeviceParams: Failed to set 44100hz, got 48000hz instead
found bundled python: R:\SetupInstall 2015\blender-2.75-5fe9b36-win64\Blender-2.
75.0-git.5fe9b36-AMD64\2.75\python
I0903 22:24:30.945690 4964 device_cuda.cpp:1101] CUEW initialization failed: Er
ror opening the library
I0903 22:24:30.945690 4964 device_opencl.cpp:3617] CLEW initialization succeede
d.
I0903 22:24:31.165690 4964 device_opencl.cpp:274] Enumerating devices for platf
orm AMD Accelerated Parallel Processing.
I0903 22:24:31.165690 4964 device_opencl.cpp:334] Adding new device Pitcairn.
I0903 22:24:31.165690 4964 device_opencl.cpp:342] Ignoting device Intel(
R) Xeon(R) CPU E5-1620 0 @ 3.60GHz, not officially supported yet.
I0903 22:24:38.876701 8388 device_opencl.cpp:3596] Using split kernel.
I0903 22:24:38.876701 8388 device_opencl.cpp:727] Creating new Cycles device fo
r OpenCL platform AMD Accelerated Parallel Processing, device Pitcairn.
Device init success
I0903 22:24:38.996701 808 session.cpp:655] Requested features:
Experimental features: Off
Max closure count: 1
Max nodes group: 0
Nodes features: 0
Use hair: False
Use object motion: False
Use camera motion: False
Use Baking: False
I0903 22:24:38.996701 808 device_opencl.cpp:954] No cached OpenCL kernel.
I0903 22:24:39.026701 808 device_opencl.cpp:998] Kernel file C:\Users\nellyple
dge\AppData\Roaming\Blender Foundation\Blender\2.75\cache\cycles_kernel_2F888C6F
2A068B2E58792D3D5C588AE1_D618B5C4E6650063DBDDE83059648371.clbin either doesn't e
xist or failed to be loaded by driver.
Compiling OpenCL kernel ...
Build flags: -DNODES_MAX_GROUP=0 -DNODES_FEATURES=0 -DMAX_CLOSURE=1
-DNO_HAIR -DNO_OBJECT_MOTION -DNO_CAMERA_MOTION -DNO_BAKING
Kernel compilation finished in 3.51s.
I0903 22:24:42.616706 808 device_opencl.cpp:3576] Skip storing kernel in cache
, not supported by split kernel.
Compiling OpenCL kernel ...
Build flags: -DSPLIT_KERNEL -DWORK_STEALING -DNODES_MAX_GROUP=0 -D__
NODES_FEATURES=0 -DMAX_CLOSURE=1 -DNO_HAIR__ -DNO_OBJECT_MOTION -D__
NO_CAMERA_MOTION__ -DNO_BAKING -DCOMPUTE_DEVICE_GPU
Kernel compilation finished in 0.78s.
Compiling OpenCL kernel ...
Build flags: -DSPLIT_KERNEL -DWORK_STEALING -DNODES_MAX_GROUP=0 -D__
NODES_FEATURES=0 -DMAX_CLOSURE=1 -DNO_HAIR__ -DNO_OBJECT_MOTION -D__
NO_CAMERA_MOTION__ -DNO_BAKING -DCOMPUTE_DEVICE_GPU
Kernel compilation finished in 0.50s.
Compiling OpenCL kernel ...
Build flags: -DSPLIT_KERNEL -DWORK_STEALING -DNODES_MAX_GROUP=0 -D__
NODES_FEATURES=0 -DMAX_CLOSURE=1 -DNO_HAIR__ -DNO_OBJECT_MOTION -D__
NO_CAMERA_MOTION__ -DNO_BAKING -DCOMPUTE_DEVICE_GPU
Kernel compilation finished in 4.40s.
Compiling OpenCL kernel ...
Build flags: -DSPLIT_KERNEL -DWORK_STEALING -DNODES_MAX_GROUP=0 -D__
NODES_FEATURES=0 -DMAX_CLOSURE=1 -DNO_HAIR__ -DNO_OBJECT_MOTION -D__
NO_CAMERA_MOTION__ -DNO_BAKING -DCOMPUTE_DEVICE_GPU
Kernel compilation finished in 0.12s.
Compiling OpenCL kernel ...
Build flags: -DSPLIT_KERNEL -DWORK_STEALING -DNODES_MAX_GROUP=0 -D__
NODES_FEATURES=0 -DMAX_CLOSURE=1 -DNO_HAIR__ -DNO_OBJECT_MOTION -D__
NO_CAMERA_MOTION__ -DNO_BAKING -DCOMPUTE_DEVICE_GPU
Kernel compilation finished in 3.13s.
Compiling OpenCL kernel ...
Build flags: -DSPLIT_KERNEL -DWORK_STEALING -DNODES_MAX_GROUP=0 -D__
NODES_FEATURES=0 -DMAX_CLOSURE=1 -DNO_HAIR__ -DNO_OBJECT_MOTION -D__
NO_CAMERA_MOTION__ -DNO_BAKING -DCOMPUTE_DEVICE_GPU
Kernel compilation finished in 2.15s.
Compiling OpenCL kernel ...
Build flags: -DSPLIT_KERNEL -DWORK_STEALING -DNODES_MAX_GROUP=0 -D__
NODES_FEATURES=0 -DMAX_CLOSURE=1 -DNO_HAIR__ -DNO_OBJECT_MOTION -D__
NO_CAMERA_MOTION__ -DNO_BAKING -DCOMPUTE_DEVICE_GPU
Kernel compilation finished in 0.89s.
Compiling OpenCL kernel ...
Build flags: -DSPLIT_KERNEL -DWORK_STEALING -DNODES_MAX_GROUP=0 -D__
NODES_FEATURES=0 -DMAX_CLOSURE=1 -DNO_HAIR__ -DNO_OBJECT_MOTION -D__
NO_CAMERA_MOTION__ -DNO_BAKING -DCOMPUTE_DEVICE_GPU
Kernel compilation finished in 7.56s.
Compiling OpenCL kernel ...
Build flags: -DSPLIT_KERNEL -DWORK_STEALING -DNODES_MAX_GROUP=0 -D__
NODES_FEATURES=0 -DMAX_CLOSURE=1 -DNO_HAIR__ -DNO_OBJECT_MOTION -D__
NO_CAMERA_MOTION__ -DNO_BAKING -DCOMPUTE_DEVICE_GPU
Kernel compilation finished in 0.50s.
Compiling OpenCL kernel ...
Build flags: -DSPLIT_KERNEL -DWORK_STEALING -DNODES_MAX_GROUP=0 -D__
NODES_FEATURES=0 -DMAX_CLOSURE=1 -DNO_HAIR__ -DNO_OBJECT_MOTION -D__
NO_CAMERA_MOTION__ -DNO_BAKING -DCOMPUTE_DEVICE_GPU
Kernel compilation finished in 1.57s.
Compiling OpenCL kernel ...
Build flags: -DSPLIT_KERNEL -DWORK_STEALING -DNODES_MAX_GROUP=0 -D__
NODES_FEATURES=0 -DMAX_CLOSURE=1 -DNO_HAIR__ -DNO_OBJECT_MOTION -D__
NO_CAMERA_MOTION__ -DNO_BAKING -DCOMPUTE_DEVICE_GPU
Kernel compilation finished in 0.12s.
I0903 22:25:04.918738 808 svm.cpp:49] Total 6 shaders.
I0903 22:25:04.918738 808 device_opencl.cpp:1185] Texture allocate: svm_node
s, 704 bytes.
I0903 22:25:04.918738 808 device_opencl.cpp:1185] Texture allocate:
shader_f
lag, 96 bytes.
I0903 22:25:04.958739 808 object.cpp:383] Total 5 objects.
I0903 22:25:04.958739 808 device_opencl.cpp:1185] Texture allocate: objects,
880 bytes.
I0903 22:25:04.958739 808 mesh.cpp:1208] Total 5 meshes.
I0903 22:25:04.958739 808 device_opencl.cpp:1185] Texture allocate:
tri_shad
er, 80 bytes.
I0903 22:25:04.958739 808 device_opencl.cpp:1185] Texture allocate: tri_vnor
mal, 384 bytes.
I0903 22:25:04.958739 808 device_opencl.cpp:1185] Texture allocate:
tri_vert
s, 384 bytes.
I0903 22:25:04.958739 808 device_opencl.cpp:1185] Texture allocate: tri_vind
ex, 320 bytes.
I0903 22:25:04.958739 808 device_opencl.cpp:1185] Texture allocate:
attribut
es_map, 160 bytes.
I0903 22:25:04.958739 808 mesh.cpp:1080] Using regular BVH optimization struct
ure
I0903 22:25:04.958739 808 bvh_build.cpp:287] BVH build statistics:

Build time: 5.53147e-005
Total number of nodes: 11
Number of inner nodes: 5
Number of leaf nodes: 6

I0903 22:25:04.958739 808 device_opencl.cpp:1185] Texture allocate: bvh_node
s, 320 bytes.
I0903 22:25:04.958739 808 device_opencl.cpp:1185] Texture allocate:
bvh_leaf
_nodes, 96 bytes.
I0903 22:25:04.968739 808 device_opencl.cpp:1185] Texture allocate: object_n
ode, 20 bytes.
I0903 22:25:04.968739 808 device_opencl.cpp:1185] Texture allocate:
tri_woop
, 960 bytes.
I0903 22:25:04.968739 808 device_opencl.cpp:1185] Texture allocate: prim_typ
e, 80 bytes.
I0903 22:25:04.968739 808 device_opencl.cpp:1185] Texture allocate:
prim_vis
ibility, 80 bytes.
I0903 22:25:04.968739 808 device_opencl.cpp:1185] Texture allocate: prim_ind
ex, 80 bytes.
I0903 22:25:04.968739 808 device_opencl.cpp:1185] Texture allocate:
prim_obj
ect, 80 bytes.
I0903 22:25:04.968739 808 device_opencl.cpp:1185] Texture allocate: object_f
lag, 20 bytes.
I0903 22:25:04.968739 808 tables.cpp:40] Total 1 lookup tables.
I0903 22:25:04.968739 808 device_opencl.cpp:1185] Texture allocate:
lookup_t
able, 262144 bytes.
I0903 22:25:04.968739 808 light.cpp:743] Total 0 lights.
I0903 22:25:04.968739 808 device_opencl.cpp:1185] Texture allocate: light_di
stribution, 112 bytes.
I0903 22:25:04.968739 808 particles.cpp:96] Total 0 particle systems.
I0903 22:25:04.968739 808 device_opencl.cpp:1185] Texture allocate:
particle
s, 80 bytes.
I0903 22:25:04.968739 808 device_opencl.cpp:1185] Texture allocate: sobol_di
rections, 17920 bytes.
I0903 22:25:04.968739 808 tables.cpp:40] Total 2 lookup tables.
I0903 22:25:04.968739 808 device_opencl.cpp:1185] Texture allocate:
lookup_t
able, 263168 bytes.
Error: EXCEPTION_ACCESS_VIOLATION

Bastien Montagne (mont29) changed the task status from Unknown Status to Unknown Status.Sep 4 2015, 8:08 AM

Arg! Please do not paste walls of text like that directly in reports/comments, such reports must be attached as text files instead.

2.75 and Gooseberry builds are old, so only last test is really relevant. Not sure we can learn much from that log though, we probably would need to have that GPU to be able to reproduce the issue. Also, 2GBi is rather small for a rendering GPU, could simply be running out of memory. Will let @Sergey Sharybin (sergey) handle this.

Bastien Montagne (mont29) raised the priority of this task from 30 to Normal.
Sergey Sharybin (sergey) changed the task status from Unknown Status to Unknown Status.Sep 4 2015, 9:55 AM

@Bastien Montagne (mont29), it's not a gooseberry build as far as i concerned. It is a build from Sept 2.

But indeed as Bastien mentioned we need to be able to reproduce the issue before we can try working it around and so far i wasn't able to reproduce the issue. We are communicating with AMD trying to help finishing their patch and meanwhile collecting all buggy setups there http://wiki.blender.org/index.php/Dev:2.6/Source/Render/Cycles/OpenCL#GPU I've linked this report from there.

So thanks for the report, but at this point we can't really solve the crash.