Hair particle system and OpenCL issue on AMD Rx 480 and/or AMD Rx 470 #51755

Closed
opened 2017-06-09 00:50:41 +02:00 by Renato Meneses · 22 comments

I'm getting this issue when I try to render hair in 3D view, but it render well in final render:

OpenCL error (-61): CL_INVALID_BUFFER_SIZE in clCreateBuffer

My system: Rx 480 + Rx 470 in Blender 2.78c

It happens in each one alone and with both together with or without Crossfire.

I'm getting this issue when I try to render hair in 3D view, but it render well in final render: ``` OpenCL error (-61): CL_INVALID_BUFFER_SIZE in clCreateBuffer ``` My system: Rx 480 + Rx 470 in Blender 2.78c It happens in each one alone and with both together with or without Crossfire.
Renato Meneses self-assigned this 2017-06-09 00:50:41 +02:00
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @RenatoMeneses

Added subscriber: @RenatoMeneses
Renato Meneses was unassigned by Aaron Carlisle 2017-06-09 04:17:28 +02:00
Mai Lavelle was assigned by Aaron Carlisle 2017-06-09 04:17:28 +02:00

Added subscriber: @Sergey

Added subscriber: @Sergey

Please follow bug report guidelines and provide:

  • Exact operation system you're using.
  • Simple .blend file which demonstrates the issue.

Additionally please make sure you're using latest drivers available and test builds from builder.blender.org since there were lots of fixes since 2.78c.

Please follow bug report guidelines and provide: - Exact operation system you're using. - Simple .blend file which demonstrates the issue. Additionally please make sure you're using latest drivers available and test builds from builder.blender.org since there were lots of fixes since 2.78c.
Author

Exact Operation System:
Windows 10 Pro x64
i5-7400
16 GB DDR 4{F626319}
AMD Rx 480 + AMD Rx 470
Blender 2.78c stable (Sorry, I can't try building version. I've lose two 3D cards with it).

This is the file: https://www.dropbox.com/s/6rqflvp0i7i7f25/test.blend?dl=0
(I tryed to send from here, but I can't)

I'm getting this issue when I try to render hair in 3D view, but it render well in final render:

OpenCL error (-61): CL_INVALID_BUFFER_SIZE in clCreateBuffer

It happens in each one alone and with both together with or without Crossfire.

Image Reference of the error in the 3D view:
https://gyazo.com/ed7c8e4584aa7bcf6aa76db058877dd5

Thanks

Exact Operation System: Windows 10 Pro x64 i5-7400 16 GB DDR 4{[F626319](https://archive.blender.org/developer/F626319/test.blend)} AMD Rx 480 + AMD Rx 470 Blender 2.78c stable (Sorry, I can't try building version. I've lose two 3D cards with it). This is the file: https://www.dropbox.com/s/6rqflvp0i7i7f25/test.blend?dl=0 (I tryed to send from here, but I can't) I'm getting this issue when I try to render hair in 3D view, but it render well in final render: ``` OpenCL error (-61): CL_INVALID_BUFFER_SIZE in clCreateBuffer ``` It happens in each one alone and with both together with or without Crossfire. Image Reference of the error in the 3D view: https://gyazo.com/ed7c8e4584aa7bcf6aa76db058877dd5 Thanks

Added subscriber: @mont29

Added subscriber: @mont29

@RenatoMeneses what do you mean, you cannot try testbuilds??? “I’ve lose two 3D cards with it”????

In any case, we have to know whether issue is reproducible with current master before doing any investigation, no point on losing time on some months old release ;)

@RenatoMeneses what do you mean, you cannot try testbuilds??? “I’ve lose two 3D cards with it”???? In any case, we have to know whether issue is reproducible with current master before doing any investigation, no point on losing time on some months old release ;)
Author

I have burned my PC twice when I have used Blender building version. I'm not sure if it was really the Blender that have caused PC burning, but within 15 years I have lost 2 computers only when I was using test building versions.
Is it possible when website says "do it with your risk" ?

I have burned my PC twice when I have used Blender building version. I'm not sure if it was really the Blender that have caused PC burning, but within 15 years I have lost 2 computers only when I was using test building versions. Is it possible when website says "do it with your risk" ?

That is very, very unlikely to be related - and definitively not to be expected. Odds some code might lead to burning hardware are really low, thermal protection is supposed to be hardware-managed (or at worst, driver managed), i.e. totally out of scope of regular software influence…

That is very, very unlikely to be related - and definitively *not* to be expected. Odds some code might lead to burning hardware are really low, thermal protection is supposed to be hardware-managed (or at worst, driver managed), i.e. totally out of scope of regular software influence…

The warning message on our builderbot website refers to possible .blend file data corruption due to a bug or some compatibility issues. While we are fixing such issues quite quickly it could still have negative effect on your production.

The warning message on our builderbot website refers to possible .blend file data corruption due to a bug or some compatibility issues. While we are fixing such issues quite quickly it could still have negative effect on your production.

Added subscriber: @bliblubli

Added subscriber: @bliblubli

@RenatoMeneses it is indeed very unlikely to happen. In very intensive rendering scene, cycles uses max 85W on my RX480, while the card draws 160W (above the 150W of PCIE specs) while rendering real time benchmark scenes like furmark. Cycles heavily underuse the GPUs (on both CUDA and OpenCL) compared to real time 3D apps, especially benchmarks. So the only thing that could burn it while rendering would be if your fans are defects, but even then, the hardware should just shut your PC down to protect it.
Whatever happened, it's not the software job to monitor temperature. Also note that overclocking, changing voltage and all other modification leading to warranty void are allowed by drivers from all vendors, but are risky and thus not supported. So I would recommand you to use latest build, which is much faster for your configuration anyway, but leave all driver options at defaults.
2.78c is not supported anymore. But I'll let @MaiLavelle and @Sergey decide here.

@RenatoMeneses it is indeed very unlikely to happen. In very intensive rendering scene, cycles uses max 85W on my RX480, while the card draws 160W (above the 150W of PCIE specs) while rendering real time benchmark scenes like furmark. Cycles heavily underuse the GPUs (on both CUDA and OpenCL) compared to real time 3D apps, especially benchmarks. So the only thing that could burn it while rendering would be if your fans are defects, but even then, the hardware should just shut your PC down to protect it. Whatever happened, it's not the software job to monitor temperature. Also note that overclocking, changing voltage and all other modification leading to warranty void are allowed by drivers from all vendors, but are risky and thus not supported. So I would recommand you to use latest build, which is much faster for your configuration anyway, but leave all driver options at defaults. 2.78c is not supported anymore. But I'll let @MaiLavelle and @Sergey decide here.
Author

Thank you so much guys! It's working pretty well in the building version!

Many thanks!

Great work!

Thank you so much guys! It's working pretty well in the building version! Many thanks! Great work!
Author

Now I have noticed that this new building version (2.785 Render Time: 09:03.70) is rendering this file very slowly than stable version (2.78c Render Time: 01:08.78) this file: https://www.dropbox.com/s/6rqflvp0i7i7f25/test.blend?dl=0

:('

Now I have noticed that this new building version (2.785 Render Time: 09:03.70) is rendering this file very slowly than stable version (2.78c Render Time: 01:08.78) this file: https://www.dropbox.com/s/6rqflvp0i7i7f25/test.blend?dl=0 :('

with 256x256 tiles (recommended size in the manual), using latest master and latest drivers from AMD on win7 x64, your file render in 1min46 with one RX480. So it would be 53s on 2 cards, which is faster than the time you report with 2.78c using 2 cards.
Second thing is that BPT wasn't available for the split kernel in 2.78c, so the file couldn't render.
Setting as incomplete until more informations are provided.

with 256x256 tiles (recommended size in the manual), using latest master and latest drivers from AMD on win7 x64, your file render in 1min46 with one RX480. So it would be 53s on 2 cards, which is faster than the time you report with 2.78c using 2 cards. Second thing is that BPT wasn't available for the split kernel in 2.78c, so the file couldn't render. Setting as incomplete until more informations are provided.
Author

OMG!!!
What should be happening here???
I think new version of Blender works better in Windows 7.
I have putted 256x256 now, but anyway 07:05, see:
https://gyazo.com/61b885b48d3a0efa2a5cbe1076a5dc3f

:('

OMG!!! What should be happening here??? I think new version of Blender works better in Windows 7. I have putted 256x256 now, but anyway 07:05, see: https://gyazo.com/61b885b48d3a0efa2a5cbe1076a5dc3f :('
Author

hhmm.... very weird.. I think it's solved...
The first time/frame takes more time to render.
https://gyazo.com/763f94ac2c79d5445f9f2ac348d3b128

Many thanks guys!

hhmm.... very weird.. I think it's solved... The first time/frame takes more time to render. https://gyazo.com/763f94ac2c79d5445f9f2ac348d3b128 Many thanks guys!
Author

Anyway it's going better with Official version (time: 01:02 in v2.78c):
https://gyazo.com/8a85217e075d6ebfe766d7896fa7747d

(time: 01:25 in v2.78.5):
https://gyazo.com/763f94ac2c79d5445f9f2ac348d3b128

Anyway it's going better with Official version (time: 01:02 in v2.78c): https://gyazo.com/8a85217e075d6ebfe766d7896fa7747d (time: 01:25 in v2.78.5): https://gyazo.com/763f94ac2c79d5445f9f2ac348d3b128

Added subscriber: @matali23

Added subscriber: @matali23

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'

read the docs, read the text writen in the UI (it writes kernel is compiling when you render for the first time), read the answers the devs write (there is no BPT in 2,78c = it uses normal PT = it is faster. Use normal PT in 2.79 and it will be much faster. You will help make Blender better by doing your part of the job correclty!

read the docs, read the text writen in the UI (it writes kernel is compiling when you render for the first time), read the answers the devs write (there is no BPT in 2,78c = it uses normal PT = it is faster. Use normal PT in 2.79 and it will be much faster. You will help make Blender better by doing your part of the job correclty!
Author

really, thanks.

really, thanks.
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#51755
No description provided.