Blender 2.8 crashes upon creating material in OpenGL mode #56239
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
6 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#56239
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
Pisi Linux 2.0 (x86_64) with AMD Radeon HD 833 with xorg-video-radeon driver
Error is also reproducible on Windows 10 Pro x86_64/AMD Radeon RX580 4GB with Radeon Software 18.8.1
Blender Version
Broken: 2.8 Alpha
Short description of error
Blender 2.8 crashes in OpenGL model whenever a new material slot is added and a new material is created in the slot.
Exact steps for others to reproduce the error
Load a .blend (the default cube will do it, too)
Set rendering to OpenGL
Unlink a material from an object
Add new material to the same object
blendrun.txt
test.blend
system-info.txt
test.crash.txt
EDIT:
It looks like my system installed Nouveau by default. Will run experiment again with official drivers.Pisi Linux seems to pre-install Nouveau by default, regardless of GPU type.
Added subscriber: @MiceAreVeryNice
Added subscriber: @mont29
Cannot confirm any crash here, Please:
--factory-startup
commandline option) (this will ensure whether this is a userpref or addon issue or not).--debug-gpu
option and attach as text file here any error printed out in the console (do not paste it directly in comment).blender-softwaregl
distributed with official blender, will be slow, but will show whether this is a driver issue or not).Added subscriber: @s12a
I could reproduce on Blender 2.80 (sub 21), Commit date: 2018-08-06 19:55, Hash
faf43ff9ad
with:I have provided .blend file already setup to OpenGL render engine and output from a debug build.
unlink.blend
console-output.txt
unlink.crash.txt
Click X (unlink), then click the large "New" button. The program ends with a runtime error afterwards, or crashes.
This error can be reproduced by adding and creating any new material in OpenGL mode. I retested this with today's build (hash
6fbd210b91
, x64)system-info.txt
test.crash.txt
test.blend
blendrun.txt
Blender 2.8 crashes upon changing materialto Blender 2.8 crashes upon creating material in OpenGL modeAdded subscriber: @JKVargas
Hey guys, I am new to blender development.
But I found out that when in opengl rendering mode, while inside the external_engine.c's RE_engine_render(...) the render->result is not being set because the render->scemode has R_BUTS_PREVIEW;
Now if someone can explain to me what scemode does and what's its purpose, or some englighment would be nice.
)
Is OpenGL mode an external renderer? I doubt it. The issue stands, no matter whether Rendered mode is on or not.
Please file a different bug report instead of offing in this thread.
This issue was referenced by
0de50a98e3
@JKVargas is right about the cause of this bug, external_engine.c is a bit of a confusing name now that all renderers go through this system.
The OpenGL render engine does not currently support preview renders, so there is no render result. The solution is to avoid doing the preview render if the engine does not support it.
Changed status from 'Open' to: 'Resolved'
I am sorry if I did something wrong hehe.
Like I say, I am new to this stuff... But I really want to help.
I found out that stuff because I was debugging.
I am going to check what was the solution.
But still, if you guys don't mind, can you explain me what render->scemode does? =)
Thanks and good job Brecht =)