Image based displacement (when set to true) closes blender on CPU and refuses to render on GPU #49266

Closed
opened 2016-09-06 02:24:30 +02:00 by Pratyaksh Gaur · 9 comments

System Information
Windows 7 SP1
I7 4700MQ
Nvidia geforce GT 755m
16 GB Memory, with 40GB dedicated to swap on disk

Blender Version
Broken: 2.78 RC (blender-2.78.0-git.0e5089c-windows64)
Worked: Don't know, it's my first try

Short description of error

When using external image file to drive displacement in the material, blender closes without warning when I set displacement to true in "settings" section in material tab (viewport must be set to render for that to happen instantly, otherwise it crashes when you set viewport to render, after you set displacement to true). This is when rendering is set to CPU. On GPU, it gives a cuda error on render or viewport render.

Exact steps for others to reproduce the error

  1. Open the attached blend file
  2. Set viewport to "Rendered"
  3. In the materials tab, go to settings section and set displacement to "True"
  4. After blender crashes, open again and repeat steps with renderer set to GPU, for finding GPU bug

Misc info

Displacement map is in TIFF 16bit format. Textures are both 8k in resolution. I didn't have time to reduce the size for another test file, but I have tested it with 2k textures as well, same results. Didn't save that file. If you guys want heightmap in lower resolution, please let me know.

Please note
Setting displacement to "Both" option works for now, but somehow doesn't look right. I'll get back to it tomorrow.

I know this bug has been reported before, but just in case there wasn't enough info before.
Displacement issue blender2.78rc test.zip

**System Information** Windows 7 SP1 I7 4700MQ Nvidia geforce GT 755m 16 GB Memory, with 40GB dedicated to swap on disk **Blender Version** Broken: 2.78 RC (blender-2.78.0-git.0e5089c-windows64) Worked: Don't know, it's my first try **Short description of error** When using external image file to drive displacement in the material, blender closes without warning when I set displacement to true in "settings" section in material tab *(viewport must be set to render for that to happen instantly, otherwise it crashes when you set viewport to render, after you set displacement to true)*. This is when rendering is set to CPU. On GPU, it gives a cuda error on render or viewport render. **Exact steps for others to reproduce the error** 1. Open the attached blend file 2. Set viewport to "Rendered" 3. In the materials tab, go to settings section and set displacement to "True" 4. After blender crashes, open again and repeat steps with renderer set to GPU, for finding GPU bug **Misc info** Displacement map is in TIFF 16bit format. Textures are both 8k in resolution. I didn't have time to reduce the size for another test file, but I have tested it with 2k textures as well, same results. Didn't save that file. If you guys want heightmap in lower resolution, please let me know. **Please note** Setting displacement to "Both" option works for now, but somehow doesn't look right. I'll get back to it tomorrow. I know this bug has been reported before, but just in case there wasn't enough info before. [Displacement issue blender2.78rc test.zip](https://archive.blender.org/developer/F353798/Displacement_issue_blender2.78rc_test.zip)
Mai Lavelle was assigned by Pratyaksh Gaur 2016-09-06 02:24:30 +02:00
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @PratyakshGaur

Added subscriber: @PratyakshGaur

Added subscriber: @Sergey

Added subscriber: @Sergey

@MaiLavelle, mind having a look? Thanks! :)

@MaiLavelle, mind having a look? Thanks! :)

Closed as duplicate of #49252

Closed as duplicate of #49252

Added subscriber: @brecht

Added subscriber: @brecht

Closing as a duplicate, the latest build from https://builder.blender.org/download/ should have the fix.

Closing as a duplicate, the latest build from https://builder.blender.org/download/ should have the fix.
Author

@brecht : Thanks for the info! I'll test the build and report later.

@brecht : Thanks for the info! I'll test the build and report later.
Author

Works flawlessly on CPU so far. Can't test on GPU until I build out some low res textures. Thanks @MaiLavelle @brecht @Sergey

Works flawlessly on CPU so far. Can't test on GPU until I build out some low res textures. Thanks @MaiLavelle @brecht @Sergey
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
3 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#49266
No description provided.