Blender 2.77+ AMD GPU OpenCL error #49986

Closed
opened 2016-11-10 15:42:50 +01:00 by Tom Grod · 11 comments

I can't render in Cycles with my AMD GPU since Blender 2.77.
Blenders latest build render only the background in a solid color without any objects.
Blender 2.78a shows me only this error:

Read new prefs: C:\Users\Lennard\AppData\Roaming\Blender Foundation\Blender\2.78\config\userpref.blend
AL lib: (EE) UpdateDeviceParams: Failed to set 48000hz, got 44100hz instead
found bundled python: C:\Program Files\Blender Foundation\Blender\2.78\python
Device init success
Compiling base_kernel OpenCL kernel ...
Build flags: -D__NODES_MAX_GROUP__=0 -D__NODES_FEATURES__=0 -D__MAX_CLOSURE__=1 -D__NO_HAIR__ -D__NO_OBJECT_MOTION__ -D__NO_CAMERA_MOTION__ -D__NO_BAKING__ -D__NO_VOLUME__ -D__NO_SUBSURFACE__ -D__NO_BRANCHED_PATH__ -D__NO_PATCH_EVAL__
OpenCL kernel build output:
"C:\Program Files\Blender Foundation\Blender\2.78\scripts\addons\cycles\kernel\kernels/opencl../../kernel_projection.h", line 238: error:

        expression must have pointer-to-struct-or-union type
              float altitude = fabsf(safe_asinf(D->z));
                               ^

1 error detected in the compilation of "C:\Users\Lennard\AppData\Local\Temp\OCL9500T1.cl".
Frontend phase failed compilation.

OpenCL build failed: errors in console
Build error: CL_BUILD_PROGRAM_FAILURE

In both versions, I used the default Szene and Settings.

  • open blender
  • switch to cycles
  • activate GPU
  • render

CPU works fine.
Blender 2.76b works perfekt (CPU and GPU)

My System:

Windows 10 x64
Amd Radeon HD 7700 GPU (1024 mb)
AMD Phenom(tm) II x4 965 processor
Raden Software: Crimson 16.11.3

I can't render in Cycles with my AMD GPU since Blender 2.77. Blenders latest build render only the background in a solid color without any objects. Blender 2.78a shows me only this error: Read new prefs: C:\Users\Lennard\AppData\Roaming\Blender Foundation\Blender\2.78\config\userpref.blend AL lib: (EE) UpdateDeviceParams: Failed to set 48000hz, got 44100hz instead found bundled python: C:\Program Files\Blender Foundation\Blender\2.78\python Device init success Compiling base_kernel OpenCL kernel ... Build flags: -D__NODES_MAX_GROUP__=0 -D__NODES_FEATURES__=0 -D__MAX_CLOSURE__=1 -D__NO_HAIR__ -D__NO_OBJECT_MOTION__ -D__NO_CAMERA_MOTION__ -D__NO_BAKING__ -D__NO_VOLUME__ -D__NO_SUBSURFACE__ -D__NO_BRANCHED_PATH__ -D__NO_PATCH_EVAL__ OpenCL kernel build output: "C:\Program Files\Blender Foundation\Blender\2.78\scripts\addons\cycles\kernel\kernels/opencl\../../kernel_projection.h", line 238: error: ``` expression must have pointer-to-struct-or-union type float altitude = fabsf(safe_asinf(D->z)); ^ ``` 1 error detected in the compilation of "C:\Users\Lennard\AppData\Local\Temp\OCL9500T1.cl". Frontend phase failed compilation. OpenCL build failed: errors in console Build error: CL_BUILD_PROGRAM_FAILURE In both versions, I used the default Szene and Settings. - open blender - switch to cycles - activate GPU - render CPU works fine. Blender 2.76b works perfekt (CPU and GPU) My System: Windows 10 x64 Amd Radeon HD 7700 GPU (1024 mb) AMD Phenom(tm) II x4 965 processor Raden Software: Crimson 16.11.3
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @SmartySmart702

Added subscriber: @SmartySmart702

Added subscriber: @VukGardasevic

Added subscriber: @VukGardasevic

Please, don't assign priority by yourself should be done by the developers after triage.

The first error you've mentioned :

expression must have pointer-to-struct-or-union type
      float altitude = fabsf(safe_asinf(D->z));

was already reported in #49846 and should be fixed.

The error with the latest build is reported in :

Blenders latest build render only the background in a solid color without any objects.

is reported in #49929. That task awaits to be triaged.

Please, don't assign priority by yourself should be done by the developers after triage. The first error you've mentioned : ``` expression must have pointer-to-struct-or-union type float altitude = fabsf(safe_asinf(D->z)); ``` was already reported in #49846 and should be fixed. The error with the latest build is reported in : ``` Blenders latest build render only the background in a solid color without any objects. ``` is reported in #49929. That task awaits to be triaged.
Author

This comment was removed by @SmartySmart702

*This comment was removed by @SmartySmart702*
Author

Ok, thaks for the fast answer.
Sorry that i changed the priority.

Ok, thaks for the fast answer. Sorry that i changed the priority.

Added subscriber: @Almisuifre

Added subscriber: @Almisuifre

Added subscriber: @mont29

Added subscriber: @mont29

OK then, no need to keep that one open, will merge it with #49929.

OK then, no need to keep that one open, will merge it with #49929.

Closed as duplicate of #49929

Closed as duplicate of #49929

Closed as duplicate of #49874

Closed as duplicate of #49874
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
5 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#49986
No description provided.