Cycles : CUDA Rendering : Environment with MIS uses double memory usage #40379

Closed
opened 2014-05-27 01:05:54 +02:00 by Carlo Andreacchio · 20 comments

System Information
Windows 7, x64, gtx580

Blender Version
Broken: b33d83b
Worked: 2.70a

Short description of error
Blender uses approximately double RAM usage on the GPU when using MIS with environment light

Please find attached example blend file,
Ram usage under 2.70a : 689mb
Ram usage under b33d83b : 1405mb

envBug.blend

**System Information** Windows 7, x64, gtx580 **Blender Version** Broken: b33d83b Worked: 2.70a **Short description of error** Blender uses approximately double RAM usage on the GPU when using MIS with environment light Please find attached example blend file, Ram usage under 2.70a : 689mb Ram usage under b33d83b : 1405mb [envBug.blend](https://archive.blender.org/developer/F91308/envBug.blend)

Changed status to: 'Open'

Changed status to: 'Open'

Added subscriber: @candreacchio

Added subscriber: @candreacchio

Added subscriber: @ThomasDinges

Added subscriber: @ThomasDinges

By the way this was tested via the utility GPU-Z

By the way this was tested via the utility GPU-Z

from further testing, there was quite a big increase between between builds 685316b and 362b25b3 (~500mb) and about another 100mb or so between c08c931 and ba1acec

from further testing, there was quite a big increase between between builds 685316b and 362b25b3 (~500mb) and about another 100mb or so between c08c931 and ba1acec

Please double check these hash values! If the hash is valid, it will become grey and you can click on it, like the last one. Best to get the hash from the Splash Screen.. Would save us some time figuring out the correct range. :)

Please double check these hash values! If the hash is valid, it will become grey and you can click on it, like the last one. Best to get the hash from the Splash Screen.. Would save us some time figuring out the correct range. :)
685316b -- http://lists.blender.org/pipermail/bf-blender-cvs/2014-May/064081.html 362b25b3 -- http://lists.blender.org/pipermail/bf-blender-cvs/2014-May/064147.html c08c931 -- http://lists.blender.org/pipermail/bf-blender-cvs/2014-May/064311.html ba1acec -- http://lists.blender.org/pipermail/bf-blender-cvs/2014-May/064530.html The hashes still arent coming up, I dont know how to submit bug reports for the bug reports sorry.

Added subscriber: @kopias

Added subscriber: @kopias

confirmed win7x64 gtx660m

confirmed win7x64 gtx660m

The first increase of memory (2-5 May) could be caused by the baking commit: https://developer.blender.org/rBeec3eaba084725a978f4aefb773a16ae9c0420db

The first increase of memory (2-5 May) could be caused by the baking commit: https://developer.blender.org/rBeec3eaba084725a978f4aefb773a16ae9c0420db

Just clarify... it really is only effecting the MIS option... without MIS, the increase between 2.70a and b33d83b is about 14 mb... which isnt too bad...

Also, that the Map Resolution doesnt really matter...

Just clarify... it really is only effecting the MIS option... without MIS, the increase between 2.70a and b33d83b is about 14 mb... which isnt too bad... Also, that the Map Resolution doesnt really matter...

Added subscriber: @brecht

Added subscriber: @brecht

@brecht: Blind guess, maybe related to the added Baking function call in kernel_shader_evaluate()? Maybe kernel_bake_evaluate() gets inlined here.

@brecht: Blind guess, maybe related to the added Baking function call in kernel_shader_evaluate()? Maybe kernel_bake_evaluate() gets inlined here.

Yes, I suppose it keeps the memory reserved after using the bake kernel. Probably it can be split up to avoid that.

Yes, I suppose it keeps the memory reserved after using the bake kernel. Probably it can be split up to avoid that.

Added subscriber: @mont29

Added subscriber: @mont29

Added subscriber: @dfelinto

Added subscriber: @dfelinto

Since we have another Baking related issue here, it might be best to disable GPU baking for 2.71.
https://developer.blender.org/T40370

@dfelinto

Since we have another Baking related issue here, it might be best to disable GPU baking for 2.71. https://developer.blender.org/T40370 @dfelinto

This issue was referenced by 69c7522b24

This issue was referenced by 69c7522b2463245ef16ebcf2806645c78e83b4df

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'

Closed by commit 69c7522b24.

Closed by commit 69c7522b24.
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
6 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#40379
No description provided.