blender/intern
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
..
atomic atomic_ops: Fix MSVC versions of add/sub returning original value instead of result of operation. 2015-07-01 12:25:32 +02:00
audaspace Cleanup: checks for unsupported MSVC versions 2015-06-20 15:17:32 +10:00
container Rework carve integration into boolean modifier 2014-02-13 17:16:53 +06:00
cycles Fix T45218: Crash when trying to open System in the User preferences 2015-07-20 12:46:56 +02:00
dualcon Replace MFace use by MLoopTri w/ remash modifier 2015-07-20 14:42:35 +10:00
elbeem CMake: correct include dirs 2014-07-01 09:36:28 +10:00
ffmpeg Fix video FFmpeg nt being able to produce video files due to usage of deprecated settings 2014-04-15 00:15:09 +06:00
ghost Fix broken GLEW initialization. Initialize GLEW twice, once to get GLX 2015-07-20 12:35:58 +02:00
glew-mx CMake: error making get_blender_version a function 2015-02-25 18:15:54 +11:00
guardedalloc Support for platforms /wo malloc_usable_size 2015-06-21 12:33:55 +10:00
iksolver doxygen: corrections/updates 2015-05-20 14:12:22 +10:00
itasc CMake: unbundle eigen3 2015-03-19 15:41:41 +11:00
locale Fix T45154: Translation binary file(blender.mo) for Japanese is too small 2015-06-29 12:27:59 +02:00
memutil doxygen: corrections/updates 2015-05-20 14:12:22 +10:00
mikktspace Style Cleanup: remove preprocessor indentation (updated wiki style guide too) 2013-12-22 14:12:19 +11:00
moto BGE: TrackTo actuator: increasing up & track axis options 2014-07-14 18:30:27 -07:00
opencolorio OpenColorIO: Code cleanup, prepare for strict C++ flags 2015-03-27 18:23:31 +05:00
opennl Fix limit check before accessing array in opennl 2015-01-21 17:19:39 +05:00
raskter code cleanup: use NULL rather then 0 for pointers, and make vars static where possible. 2013-03-22 05:34:10 +00:00
rigidbody Code cleanup 2014-07-18 11:55:59 +10:00
smoke CMake: only quiet warnings for generated rna files 2015-02-08 15:08:31 +11:00
string fix for buffer out-of-bounds reading for STR_String comparisons with char arrays. 2013-03-22 21:26:59 +00:00
utfconv Warning cleanup: 2014-03-22 14:41:38 +02:00
CMakeLists.txt Ghost Context Refactor 2014-10-07 15:47:32 -05:00
SConscript Ghost Context Refactor 2014-10-07 15:47:32 -05:00