Go to file
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
build_files Fix error when getting the commit time fails 2015-07-19 09:51:49 +10:00
doc Docs; Py API gotcha's section 2015-07-12 20:50:44 +10:00
extern CMake: Disable Werror in extern/libmv for now 2015-07-18 11:16:25 +02:00
intern Fix T45218: Crash when trying to open System in the User preferences 2015-07-20 12:46:56 +02:00
release Fix T45495: Armatures using the iTaSC IK solver causes UI truncation in bone constraints panel. 2015-07-19 16:25:48 +02:00
scons@625d446ae8 Fixed border extension for the sunbeams node. 2014-09-23 11:42:11 +02:00
source Dyntopo should be supported on systems without VBOs now. 2015-07-20 12:18:39 +02:00
tests BLI_math 'compare' cleanup & enhancements. 2015-07-10 15:02:43 +02:00
.arcconfig Use HTTPS protocol for arc 2013-12-24 22:57:27 +06:00
.gitignore Revert "ignore conflict files" 2014-08-08 06:00:49 +10:00
.gitmodules Initialize git submodules for addons, locales and scons 2013-11-15 12:19:08 +06:00
CMakeLists.txt CMake: Add option to enable -Werror cflag in some areas 2015-07-18 10:49:51 +02:00
COPYING == docs == 2010-10-13 14:44:22 +00:00
GNUmakefile CMake: use functions instead of macros 2015-06-17 09:38:24 +10:00
SConstruct Fix T44968: Python executable crashes due to missing .DLL 2015-06-10 13:41:06 +05:00