[AMDGPU-pro] Cycles troubles with opencl (CL_OUT_OF_HOST_MEMORY) #50761
Labels
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
12 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#50761
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
OS: Ubuntu 16.04
Kernel: 4.10 x86_64
GPU: Radeon R9 280x
Driver: amdgpu-pro-16.60-379184 x86_64
Blender Version
Broken: blender-2.78-7359cc1060-linux-glibc219-x86_64
Short description of error
Cycles render over gpu return OpenCL error (-6): CL_OUT_OF_HOST_MEMORY
Exact steps for others to reproduce the error
Attachments
System-info: system-info.txt
Clinfo: clinfo.txt
Blender --gedug-cycles: blender.txt
Changed status to: 'Open'
Added subscriber: @Metallikus
Added subscriber: @MaiLavelle
Changed status from 'Open' to: 'Archived'
Out of host memory means your computer ran out of memory, theres no bug here.
Changed status from 'Archived' to: 'Open'
This is a bug.
Added subscriber: @LukasStockner
Considering that the same build of Blender works on a different driver, I'm pretty sure that AMDGPU is to blame here, not Blender.
Changed status from 'Open' to: 'Archived'
Host memory is system memory, not GPU memory. Either your system ran out of memory or there's a driver bug.
Unless there's some other info you've left out there's nothing we can do, this isn't a bug we can fix in Blender.
Changed status from 'Archived' to: 'Open'
Under fglrx the holders of such cards get another error: https://developer.blender.org/T49465
System has 2Gb free RAM and 4Gb swap memory.
Why the default scene uses more than 6Gb memory to render it over amdgpu-pro OpenCL api? Why cycles render over CPU work fine? It is realy not memory leak in cycles engine?
Top output: top.txt
Added subscriber: @TomG
This comment was removed by @TomG
@TomG that is interesting and might point to something we can fix. Its a different issue than the one in this report tho.
Could either of you test the split kernel branch and see if thats any better?
Added subscribers: @tom-37, @mont29
@TomG also, since it’s different issue might be better to report it in different task, better to strictly keep one issue per task. ;)
Removed subscriber: @tom-37
Ok, I have deleted this comment and open here https://developer.blender.org/T50773
No, I haven't tested split kernel branch. I don't know how.
This comment was removed by @Metallikus
Builded from src blender work fine on fglrx: #49465
Added subscriber: @Banditka06
Same here. Blender 2.77 on Ubuntu 16.10 + AMDGPU-PRO OpenCL driver (hybrid installation with Padoka:ppa Mesa display driver).
After starting rendering on GPU it throws CL_OUT_OF_HOST_MEMORY. Try again and blender crashes.
Host Memory: 16GB
GPU: AMD Radeon HD7870, 2GB
Added subscriber: @Sergey
This could actually be related to #50968? Sounds somewhat similar at least, @Sergey?
Added subscriber: @nathan-osman
I'm seeing this as well with a Radeon R9 270X (2 GB vRAM), 16 GB of system RAM, and amdgpu 16.60-379184 on Ubuntu 16.04.
Added subscriber: @Blendify
Please try again with a build from https://builder.blender.org/download/
Added subscriber: @capnm
I can confirm the same error message with Ubuntu LTS 16.04 + proprietary AMDGPU-PRO Driver 16.6 :
Additionally Blender then later crashes with a segmentation fault:
Crash report: blender.crash.txt
This could be a driver issue with GCN 1 cards as all cards mentioned in this report are that generation. I cant reproduce this with the cards I have available, and if it is a driver bug there's nothing that we can do anyways. There is a new version of the drivers released recently you guys could try, but we may have to drop support for these cards.
Please see here for more info regarding supported cards: https://wiki.blender.org/index.php/Dev:Source/Render/Cycles/OpenCL
Unfortunately you are right, GCN1 arch ;-(
Even after upgrade to the latest AMD driver still the same issue.
clinfo 2.1.16.01.12 (mesa), this seems to be a related bug/error:
clinfo.txt
Added subscriber: @fablefox
Changed status from 'Open' to: 'Archived'
Archived for now.
Added subscriber: @FaresTP
Added subscriber: @Tooniis
Changed status from 'Archived' to: 'Resolved'
This is it. Setting some environment variables fixes it: https://community.amd.com/thread/233040
This is a bug in the driver not in Blender.
Changed status from 'Resolved' to: 'Archived'