Cycles troubles with opencl #50752

Closed
opened 2017-02-22 09:32:42 +01:00 by Pavel · 7 comments

System Information
OS: Ubuntu 16.04
Kernel: 4.7.0-040700-generic x86_64
GPU: AMD R9 280x
Driver: fglrx 15.302 x86_64

Blender Version
Broken: blender-2.78b-linux-glibc219-x86_64

Cycles render over OpenCL does not work. Errors in console:

metallikus@metasystem:~/src/blender-2.78b-linux-glibc219-x86_64$ ./blender --debug-cycles
Read new prefs: /home/metallikus/.config/blender/2.78/config/userpref.blend
found bundled python: /home/metallikus/src/blender-2.78b-linux-glibc219-x86_64/2.78/python
I0222 12:23:09.481317  1494 blender_python.cpp:182] Debug flags initialized to:
CPU flags:
  AVX2   : True
  AVX    : True
  SSE4.1 : True
  SSE3   : True
  SSE2   : True
CUDA flags:
 Adaptive Compile: False
OpenCL flags:
  Device type : ALL
  Kernel type : DEFAULT
  Debug       : False
I0222 12:23:12.552913  1494 device_cuda.cpp:1363] CUEW initialization failed: Error opening the library
I0222 12:23:12.553135  1494 device_opencl.cpp:58] CLEW initialization succeeded.
I0222 12:23:12.757063  1494 opencl_util.cpp:741] Enumerating devices for platform AMD Accelerated Parallel Processing.
I0222 12:23:12.757098  1494 opencl_util.cpp:802] Adding new device Tahiti.
I0222 12:23:12.757109  1494 opencl_util.cpp:812] Ignoring device Intel(R) Core(TM) i5-3330 CPU @ 3.00GHz, not officially supported yet.
I0222 12:23:16.976251  1654 util_system.cpp:77] Detected 1 CPU groups.
I0222 12:23:16.976311  1654 util_system.cpp:80] Group 0 has 4 threads.
I0222 12:23:16.976320  1654 util_task.cpp:203] Creating pool of 4 threads.
I0222 12:23:16.976429  1654 device_opencl.cpp:37] Using split kernel.
I0222 12:23:16.976464  1654 opencl_base.cpp:85] Creating new Cycles device for OpenCL platform AMD Accelerated Parallel Processing, device Tahiti.
Device init success
I0222 12:23:16.982939  1661 session.cpp:654] 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
Use Subsurface: False
Use Volume: False
Use Branched Integrator: False
Use Patch Evaluation: False
Use Transparent Shadows: False
I0222 12:23:16.983088  1661 opencl_util.cpp:285] OpenCL program base not found in cache.
I0222 12:23:17.067782  1661 opencl_util.cpp:285] Kernel file /home/metallikus/.cache/cycles/kernels/cycles_kernel_base_B38F1535B6CB89AF876C1FAC70B76631_5B41E1D3412A877EDCC232715187C0D8.clbin either doesn't exist or failed to be loaded by driver.
Compiling OpenCL program base
I0222 12:23:17.389184  1661 opencl_util.cpp:285] 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__ -D__NO_TRANSPARENT__
OpenCL build failed with error CL_INVALID_BUILD_OPTIONS, errors in console.
I0222 12:23:17.389560  1654 blender_session.cpp:562] Total render time: 0.413318
I0222 12:23:17.389581  1654 blender_session.cpp:563] Render time (without synchronization): 0.413318
Error: Failed loading render kernel, see console for errors

file /home/metallikus/.cache/cycles/kernels/cycles_kernel_base_B38F1535B6CB89AF876C1FAC70B76631_5B41E1D3412A877EDCC232715187C0D8.clbin realy does not exists
Exact steps for others to reproduce the error

  1. Run blender
  2. Configure it to use OpenCL for cycles render
  3. Press F12

Attachments
clinfo output: clinfo.txt
system info: system-info.txt

**System Information** OS: Ubuntu 16.04 Kernel: 4.7.0-040700-generic x86_64 GPU: AMD R9 280x Driver: fglrx 15.302 x86_64 **Blender Version** Broken: blender-2.78b-linux-glibc219-x86_64 Cycles render over OpenCL does not work. Errors in console: ``` metallikus@metasystem:~/src/blender-2.78b-linux-glibc219-x86_64$ ./blender --debug-cycles Read new prefs: /home/metallikus/.config/blender/2.78/config/userpref.blend found bundled python: /home/metallikus/src/blender-2.78b-linux-glibc219-x86_64/2.78/python I0222 12:23:09.481317 1494 blender_python.cpp:182] Debug flags initialized to: CPU flags: AVX2 : True AVX : True SSE4.1 : True SSE3 : True SSE2 : True CUDA flags: Adaptive Compile: False OpenCL flags: Device type : ALL Kernel type : DEFAULT Debug : False I0222 12:23:12.552913 1494 device_cuda.cpp:1363] CUEW initialization failed: Error opening the library I0222 12:23:12.553135 1494 device_opencl.cpp:58] CLEW initialization succeeded. I0222 12:23:12.757063 1494 opencl_util.cpp:741] Enumerating devices for platform AMD Accelerated Parallel Processing. I0222 12:23:12.757098 1494 opencl_util.cpp:802] Adding new device Tahiti. I0222 12:23:12.757109 1494 opencl_util.cpp:812] Ignoring device Intel(R) Core(TM) i5-3330 CPU @ 3.00GHz, not officially supported yet. I0222 12:23:16.976251 1654 util_system.cpp:77] Detected 1 CPU groups. I0222 12:23:16.976311 1654 util_system.cpp:80] Group 0 has 4 threads. I0222 12:23:16.976320 1654 util_task.cpp:203] Creating pool of 4 threads. I0222 12:23:16.976429 1654 device_opencl.cpp:37] Using split kernel. I0222 12:23:16.976464 1654 opencl_base.cpp:85] Creating new Cycles device for OpenCL platform AMD Accelerated Parallel Processing, device Tahiti. Device init success I0222 12:23:16.982939 1661 session.cpp:654] 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 Use Subsurface: False Use Volume: False Use Branched Integrator: False Use Patch Evaluation: False Use Transparent Shadows: False I0222 12:23:16.983088 1661 opencl_util.cpp:285] OpenCL program base not found in cache. I0222 12:23:17.067782 1661 opencl_util.cpp:285] Kernel file /home/metallikus/.cache/cycles/kernels/cycles_kernel_base_B38F1535B6CB89AF876C1FAC70B76631_5B41E1D3412A877EDCC232715187C0D8.clbin either doesn't exist or failed to be loaded by driver. Compiling OpenCL program base I0222 12:23:17.389184 1661 opencl_util.cpp:285] 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__ -D__NO_TRANSPARENT__ OpenCL build failed with error CL_INVALID_BUILD_OPTIONS, errors in console. I0222 12:23:17.389560 1654 blender_session.cpp:562] Total render time: 0.413318 I0222 12:23:17.389581 1654 blender_session.cpp:563] Render time (without synchronization): 0.413318 Error: Failed loading render kernel, see console for errors ``` file /home/metallikus/.cache/cycles/kernels/cycles_kernel_base_B38F1535B6CB89AF876C1FAC70B76631_5B41E1D3412A877EDCC232715187C0D8.clbin realy does not exists **Exact steps for others to reproduce the error** 1) Run blender 2) Configure it to use OpenCL for cycles render 3) Press F12 **Attachments** clinfo output: [clinfo.txt](https://archive.blender.org/developer/F493606/clinfo.txt) system info: [system-info.txt](https://archive.blender.org/developer/F493605/system-info.txt)
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @Metallikus

Added subscriber: @Metallikus

Added subscriber: @Sergey

Added subscriber: @Sergey

Uh, fglrx was discontinued..

Please grab latest build from builder.blender.org and run it with --debug-cycles command line argument. Attach the output as a file here.

Would also be interesting to see if using amd-gpu driver works for you (this driver is recommended by AMD nowadays).

Uh, fglrx was discontinued.. Please grab latest build from builder.blender.org and run it with --debug-cycles command line argument. Attach the output as a file here. Would also be interesting to see if using amd-gpu driver works for you (this driver is recommended by AMD nowadays).
Author

In #50752#418758, @Sergey wrote:
Uh, fglrx was discontinued..

Yes, but it's only way to use opencl 1.2 on r9 280x. For several years amdgpu-pro is not support GCN 1.0 cards.

My last blender-2.78-36c4fc1ea9-linux-glibc219-x86_64 run: debug-cycles.txt

> In #50752#418758, @Sergey wrote: > Uh, fglrx was discontinued.. > Yes, but it's only way to use opencl 1.2 on r9 280x. For several years amdgpu-pro is not support GCN 1.0 cards. My last blender-2.78-36c4fc1ea9-linux-glibc219-x86_64 run: [debug-cycles.txt](https://archive.blender.org/developer/F493737/debug-cycles.txt)

Closed as duplicate of #49465

Closed as duplicate of #49465

It's same as the other report I'll merge it to that one. Please follow the discussion in #49465.

It's same as the other report I'll merge it to that one. Please follow the discussion in #49465.
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
2 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#50752
No description provided.