blender/intern/cycles
Sergey Sharybin 87328bde47 Fix T45218: Crash when trying to open System in the User preferences
Fix T45381: Crash Blender 2.75 in Win7 x64 AMD card

The issue is basically caused by graphics card driver which crashes when
querying OpenCL platforms. This isn't something we can really solve from
the CLEW side, because opencl.dll does exist in old driver and even has
all the needed symbols, but first ever call to clGetPlatformIDs crashes.

While rest of the blender works fine with those older ATI/AMD cards it's
really needed to solve crashes of OpenCL device enumeration.

Solution here is to force disable OpenCL platforms if we've detected that
display card is using old ATI/AMD driver. It's not really proper solution
so it's done in the python side where it's easy to do tweaks. Reasoning
behind this change is:

- If one uses really old driver it's likely because it's the latest one
  he/she can ever to install (because of discontinued support from AMD).

- If old card is used it's likely to not have dedicated GPUs for rendering.

- Even if there's a dedicated GPU device enumeration is likely to crash
  because of attempt to query OpenCL from the old card.

There are still some tweaks needed likely, but this commit should make
some of the configurations to work.
2015-07-20 12:46:56 +02:00
..
app Cycles standalone: add support for reading UV coordinates to the XML scene reader 2015-06-27 12:05:05 +02:00
blender Fix T45218: Crash when trying to open System in the User preferences 2015-07-20 12:46:56 +02:00
bvh Cycles: Avoid having duplication of BVH arrays during build 2015-06-28 18:15:25 +02:00
cmake Cycles: Post-reintegration tweaks to ensure things do compile 2015-01-01 01:31:08 +05:00
device Fix T45484: Regression OpenCL split: access violation 2015-07-18 23:30:19 +02:00
doc
kernel Cycles: Fix compilation of OpenCL kernel after point density commit 2015-07-18 23:10:46 +02:00
render Cycles: Add voxel texture sampler shader node 2015-07-18 22:09:20 +02:00
subd Cycles: Code cleanup, spaces around keywords 2015-03-28 00:15:15 +05:00
util Cycles: Add assert to an array at() function to be sure we don't have bad memory access 2015-06-28 18:15:25 +02:00
CMakeLists.txt CMake: Add option to enable -Werror cflag in some areas 2015-07-18 10:49:51 +02:00
SConscript Cycles: Restructure kernel files organization 2015-05-22 16:31:34 +05:00