Maniphest T71005

Blender 2.81 crashes frequently on assigning material
Closed, Resolved

Assigned To
Philipp Oeser (lichtwerk)
Authored By
Jacek Podkanski (bigos)
Oct 21 2019, 10:15 PM
Tags
  • BF Blender
Subscribers
Jacek Podkanski (bigos)
noki paike (amonpaike)
pat (pat)
Philipp Oeser (lichtwerk)
Pinus

Description

System Information
Operating system: Linux
Graphics card: GeForce GT 730/PCIe/SSE2

Blender Version
version: 2.81 (sub 15), branch: master, commit date: 2019-10-20 15:47, hash: 71538eaad66b, type: Release

Short description of error
Blender frequently crashes on assigning materials

Exact steps for others to reproduce the error
I have started from the original cube for the exact steps see the screencast:
https://www.youtube.com/watch?v=pwjvGWfwOSM
crash happens at 4:12

Related Objects

Mentioned In
T71080: Crash on adding material - Linux
Mentioned Here
rB71538eaad66b: Fix T70864: Separate loose parts runs indefinitely

Event Timeline

Jacek Podkanski (bigos) created this task.Oct 21 2019, 10:15 PM
Pinus added a subscriber: Pinus.EditedOct 22 2019, 1:48 AM

Do you render with GPU or CPU?
Does blender crash when you set CPU for render?

It seems like you're "out of memory" on GPU and/or System (PC or Notebook)

try running blender with --debug-gpu-force-workarounds => and start Blender again.

noki paike (amonpaike) added a subscriber: noki paike (amonpaike).EditedOct 22 2019, 1:58 AM

which linux, on mesa or proprietary drivers?

edit the bug report with:

open blender-> menu -> help -> report a bug

blender will tell you about which machine you are and what drivers you use.

Jacek Podkanski (bigos) added a comment.Oct 22 2019, 7:42 AM
In T71005#799457, @noki paike (amonpaike) wrote:

which linux, on mesa or proprietary drivers?

edit the bug report with:

open blender-> menu -> help -> report a bug

blender will tell you about which machine you are and what drivers you use.

System Information
Operating system: Linux-4.15.0-65-generic-x86_64-with-debian-buster-sid 64 Bits
Graphics card: GeForce GT 730/PCIe/SSE2 NVIDIA Corporation 4.4.0 NVIDIA 340.107

Blender Version
Broken: version: 2.81 (sub 15), branch: master, commit date: 2019-10-20 15:47, hash: rB71538eaad66b

Jacek Podkanski (bigos) added a comment.Oct 22 2019, 8:20 AM

try running blender with --debug-gpu-force-workarounds => and start Blender again.

When I was playing with manual retopology and tried to add material to the wrapping object it crashed again with the following log:

jacek@jacek-ixtreme-M5850:~/Downloads/blender-2.81-71538eaad66b-linux-glibc217-x86_64$ ./blender --debug-gpu-force-workarounds 
Read prefs: /home/jacek/.config/blender/2.81/config/userpref.blend
Received X11 Error:
	error code:   8
	request code: 154
	minor code:   34
	error text:   BadMatch (invalid parameter attributes)

GPU: Bypassing workaround detection.
GPU: OpenGL identification strings
GPU: vendor: NVIDIA Corporation
GPU: renderer: GeForce GT 730/PCIe/SSE2
GPU: version: 4.4.0 NVIDIA 340.107

Received X11 Error:
	error code:   8
	request code: 154
	minor code:   34
	error text:   BadMatch (invalid parameter attributes)
found bundled python: /home/jacek/Downloads/blender-2.81-71538eaad66b-linux-glibc217-x86_64/2.81/python
Received X11 Error:
	error code:   8
	request code: 154
	minor code:   34
	error text:   BadMatch (invalid parameter attributes)
Received X11 Error:
	error code:   8
	request code: 154
	minor code:   34
	error text:   BadMatch (invalid parameter attributes)
Received X11 Error:
	error code:   8
	request code: 154
	minor code:   34
	error text:   BadMatch (invalid parameter attributes)
Received X11 Error:
	error code:   8
	request code: 154
	minor code:   34
	error text:   BadMatch (invalid parameter attributes)
Received X11 Error:
	error code:   8
	request code: 154
	minor code:   34
	error text:   BadMatch (invalid parameter attributes)
Received X11 Error:
	error code:   8
	request code: 154
	minor code:   34
	error text:   BadMatch (invalid parameter attributes)
Skipping auto-save, modal operator running, retrying in ten seconds...
Skipping auto-save, modal operator running, retrying in ten seconds...
Skipping auto-save, modal operator running, retrying in ten seconds...
Received X11 Error:
	error code:   8
	request code: 154
	minor code:   34
	error text:   BadMatch (invalid parameter attributes)
Received X11 Error:
	error code:   170
	request code: 154
	minor code:   5
	error text:   GLXBadContext
X Error of failed request:  GLXBadContext
  Major opcode of failed request:  154 (GLX)
  Minor opcode of failed request:  5 (X_GLXMakeCurrent)
  Serial number of failed request:  406081
  Current serial number in output stream:  406081
Jacek Podkanski (bigos) added a comment.Oct 22 2019, 9:29 AM

Trying recommended Nvidia driver for Ubuntu does n't seem to have the problem,
the log:]

$ ./blender  --debug-gpu-force-workarounds 
Read prefs: /home/jacek/.config/blender/2.81/config/userpref.blend

GPU: Bypassing workaround detection.
GPU: OpenGL identification strings
GPU: vendor: NVIDIA Corporation
GPU: renderer: GeForce GT 730/PCIe/SSE2
GPU: version: 4.5.0 NVIDIA 430.26

found bundled python: /home/jacek/Downloads/blender-2.81-71538eaad66b-linux-glibc217-x86_64/2.81/python
Skipping auto-save, modal operator running, retrying in ten seconds...
Saved session recovery to '/tmp/quit.blend'

Blender quit
Philipp Oeser (lichtwerk) changed the task status from Unknown Status to Resolved.Oct 22 2019, 11:02 AM
Philipp Oeser (lichtwerk) claimed this task.
Philipp Oeser (lichtwerk) added a subscriber: Philipp Oeser (lichtwerk).

I guess this can be closed then? [since we have a working driver?]

(feel free to comment again though if issues arise again...)

pat (pat) added a subscriber: pat (pat).Jan 1 2020, 1:49 AM

HI,
I ve got the same config (ubuntu NV 730GT ...) , and passed from 340.107 that crached blender -> to nvidia 390 ... driver and worked fine on every 2.80 2.81 and 2.82 , (in the additional drivers ubuntu directly in software and updates == easiest way to install the nvidia drivers)
used this one because the last driver 435 from nvidia website don't work correctly on my old config (wrong resolution, don't detect my vga screen any more)
if other drivers don't work u can also set rendering to CPU & "supported" features ... and works fine (but without CPU+GPU performance)

the error logfile was looking some thing like segmentation fault... before stoping app and was happening at any time while using blender 3d...

thanks for this topic that helped me to solve my problem.
Bye