Some scenes render transparent with big tiles and OpenCL rendering #49124

Closed
opened 2016-08-20 11:13:56 +02:00 by mathieu menuet · 11 comments

System Information
Linux with GPU Pro 16.3 and Windows with 16.8.1 on RX480

Blender Version
Broken: cf53389

Short description of error
Some scene (most of the time big ones) will render only transparent if tiles are set too big. Problem is that AMD cards don't like small tiles and it let the user fiddle with tile size or worse, start a video render and only get full transparent images.

Exact steps for others to reproduce the error

  1. Render the victor scene from the cycles benchmark pack (https://download.blender.org/demo/test/cycles_benchmark_20160228.zip) with latest AMD drivers. Set the tile to 384384 or 512512: it renders correctly.
  2. Set the tile so that it fills the whole image: it renders transparent.
**System Information** Linux with GPU Pro 16.3 and Windows with 16.8.1 on RX480 **Blender Version** Broken: cf53389 **Short description of error** Some scene (most of the time big ones) will render only transparent if tiles are set too big. Problem is that AMD cards don't like small tiles and it let the user fiddle with tile size or worse, start a video render and only get full transparent images. **Exact steps for others to reproduce the error** 1) Render the victor scene from the cycles benchmark pack (https://download.blender.org/demo/test/cycles_benchmark_20160228.zip) with latest AMD drivers. Set the tile to 384*384 or 512*512: it renders correctly. 2) Set the tile so that it fills the whole image: it renders transparent.
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @bliblubli

Added subscriber: @bliblubli

Added subscriber: @brecht

Added subscriber: @brecht

Are there any error messages, or something printed with --debug-cycles?

Are there any error messages, or something printed with `--debug-cycles`?
Author

first test made a system lock. Only mouse was moving. Had to hard reboot. Will try again.

first test made a system lock. Only mouse was moving. Had to hard reboot. Will try again.
Author

On the original scene giving the problem, it works without hard locking. But no error in log. Only 2 lines more to give render times (from about ~3600 lines of logging). Comparing a good render log and a bad render log quickly, I see no difference. No error, no fail, same line numbers in log...
Only image is black, transparent or computer locks when tile size is above a certain limit.

Common point between those files failing to render at higher tile size is that they are already pretty heavy. So it seems some allocation is not working well. But the last lines in log are about device_opencl.cpp allocating for textures and co. and there is no error. So not sure what happens.

I guess you could reproduce the error on cards with less memory by adding a highly subdivided mesh with some hires HDRs to fill the memory.

From memory, in 2.76b with R9 280X, if a scene was not fitting, it would nicely give an error message like "OpenCL device out of memory".

On the original scene giving the problem, it works without hard locking. But no error in log. Only 2 lines more to give render times (from about ~3600 lines of logging). Comparing a good render log and a bad render log quickly, I see no difference. No error, no fail, same line numbers in log... Only image is black, transparent or computer locks when tile size is above a certain limit. Common point between those files failing to render at higher tile size is that they are already pretty heavy. So it seems some allocation is not working well. But the last lines in log are about device_opencl.cpp allocating for textures and co. and there is no error. So not sure what happens. I guess you could reproduce the error on cards with less memory by adding a highly subdivided mesh with some hires HDRs to fill the memory. From memory, in 2.76b with R9 280X, if a scene was not fitting, it would nicely give an error message like "OpenCL device out of memory".

Added subscriber: @Sergey

Added subscriber: @Sergey

It might be out of memory, or might be something else.

Please provide a render log of --debug-cycles output.

It _might_ be out of memory, or might be something else. Please provide a render log of `--debug-cycles` output.
Author

As I said, there is no error in log, but here it is:
fail2.log

As I said, there is no error in log, but here it is: [fail2.log](https://archive.blender.org/developer/F341959/fail2.log)
Mai Lavelle was assigned by Aaron Carlisle 2017-01-31 03:56:19 +01:00
Member

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Member

This is a known driver problem, AMD is working on a fix. You'll have to use smaller tile sizes for now.

This is a known driver problem, AMD is working on a fix. You'll have to use smaller tile sizes for now.
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
4 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#49124
No description provided.