Blender crashes hard with new nvidia drivers #49113
Closed
opened 2016-08-19 05:47:07 +02:00 by Meino Cramer
·
31 comments
No Branch/Tag Specified
main
blender-v3.3-release
blender-v3.6-release
asset-browser-frontend-split
universal-scene-description
temp-sculpt-dyntopo
brush-assets-project
asset-shelf
anim/armature-drawing-refactor-3
temp-sculpt-dyntopo-hive-alloc
tmp-usd-python-mtl
tmp-usd-3.6
blender-v3.5-release
blender-projects-basics
blender-v2.93-release
temp-sculpt-attr-api
realtime-clock
sculpt-dev
gpencil-next
bevelv2
microfacet_hair
xr-dev
principled-v2
v3.6.3
v3.3.11
v3.6.2
v3.3.10
v3.6.1
v3.3.9
v3.6.0
v3.3.8
v3.3.7
v2.93.18
v3.5.1
v3.3.6
v2.93.17
v3.5.0
v2.93.16
v3.3.5
v3.3.4
v2.93.15
v2.93.14
v3.3.3
v2.93.13
v2.93.12
v3.4.1
v3.3.2
v3.4.0
v3.3.1
v2.93.11
v3.3.0
v3.2.2
v2.93.10
v3.2.1
v3.2.0
v2.83.20
v2.93.9
v3.1.2
v3.1.1
v3.1.0
v2.83.19
v2.93.8
v3.0.1
v2.93.7
v3.0.0
v2.93.6
v2.93.5
v2.83.18
v2.93.4
v2.93.3
v2.83.17
v2.93.2
v2.93.1
v2.83.16
v2.93.0
v2.83.15
v2.83.14
v2.83.13
v2.92.0
v2.83.12
v2.91.2
v2.83.10
v2.91.0
v2.83.9
v2.83.8
v2.83.7
v2.90.1
v2.83.6.1
v2.83.6
v2.90.0
v2.83.5
v2.83.4
v2.83.3
v2.83.2
v2.83.1
v2.83
v2.82a
v2.82
v2.81a
v2.81
v2.80
v2.80-rc3
v2.80-rc2
v2.80-rc1
v2.79b
v2.79a
v2.79
v2.79-rc2
v2.79-rc1
v2.78c
v2.78b
v2.78a
v2.78
v2.78-rc2
v2.78-rc1
v2.77a
v2.77
v2.77-rc2
v2.77-rc1
v2.76b
v2.76a
v2.76
v2.76-rc3
v2.76-rc2
v2.76-rc1
v2.75a
v2.75
v2.75-rc2
v2.75-rc1
v2.74
v2.74-rc4
v2.74-rc3
v2.74-rc2
v2.74-rc1
v2.73a
v2.73
v2.73-rc1
v2.72b
2.72b
v2.72a
v2.72
v2.72-rc1
v2.71
v2.71-rc2
v2.71-rc1
v2.70a
v2.70
v2.70-rc2
v2.70-rc
v2.69
v2.68a
v2.68
v2.67b
v2.67a
v2.67
v2.66a
v2.66
v2.65a
v2.65
v2.64a
v2.64
v2.63a
v2.63
v2.61
v2.60a
v2.60
v2.59
v2.58a
v2.58
v2.57b
v2.57a
v2.57
v2.56a
v2.56
v2.55
v2.54
v2.53
v2.52
v2.51
v2.50
v2.49b
v2.49a
v2.49
v2.48a
v2.48
v2.47
v2.46
v2.45
v2.44
v2.43
v2.42a
v2.42
v2.41
v2.40
v2.37a
v2.37
v2.36
v2.35a
v2.35
v2.34
v2.33a
v2.33
v2.32
v2.31a
v2.31
v2.30
v2.28c
v2.28a
v2.28
v2.27
v2.26
v2.25
Labels
Clear labels
This issue affects/is about backward or forward compatibility
Issues relating to security: https://wiki.blender.org/wiki/Process/Vulnerability_Reports
Apply labels
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
This issue affects/is about backward or forward compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
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
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
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
Issues relating to security: https://wiki.blender.org/wiki/Process/Vulnerability_Reports
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 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 & 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
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
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
Milestone
Set milestone
Clear milestone
No items
No Milestone
Projects
Set Project
Clear projects
No project
Assignees
Assign users
Clear assignees
No Assignees
7 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#49113
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
System Information
GENTOO Linux (daily updated) Linux kernel 4.7.1 / 4.7.0 (tested both)
x11-drivers/nvidia-drivers-370.23
Blender Version
Broken: blender-2.77-2016-08-19-4d8ac1e-linux-glibc219-x86_64.tar.bz
also blender-2.77-2016-08-17-294eac2-linux-glibc219-x86_64.tar.bz2
Worked: with x11-drivers/nvidia-drivers-367.35-r1
Short description of error
As soon F12 is hit, Blender crashes. "Works" with any scene.
Crashdump:
Blender 2.77 (sub 3), Commit date: 2016-08-18 23:20, Hash
4d8ac1e
bpy.ops.mesh.primitive_cube_add(radius=1, view_align=False, enter_editmode=False, location=(0, 0, 0), layers=(True, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False)) # Operator
bpy.ops.object.camera_add(view_align=True, enter_editmode=False, location=(0, 0, 0), rotation=(1.5708, -0, -0), layers=(True, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False)) # Operator
bpy.ops.transform.translate(value=(5.04661e-16, -4.83379, 2.27279), constraint_axis=(False, False, False), constraint_orientation='NORMAL', mirror=False, proportional='DISABLED', proportional_edit_falloff='SMOOTH', proportional_size=1) # Operator
bpy.ops.transform.rotate(value=0.615146, axis=(-1, -2.22045e-16, -4.93038e-32), constraint_axis=(False, False, False), constraint_orientation='NORMAL', mirror=False, proportional='DISABLED', proportional_edit_falloff='SMOOTH', proportional_size=1) # Operator
bpy.ops.object.lamp_add(type='POINT', radius=1, view_align=False, location=(0, 0, 0), layers=(True, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False)) # Operator
bpy.ops.transform.translate(value=(0, 0, 2.94804), constraint_axis=(False, False, True), constraint_orientation='GLOBAL', mirror=False, proportional='DISABLED', proportional_edit_falloff='SMOOTH', proportional_size=1) # Operator
bpy.ops.view3d.object_as_camera() # Operator
backtrace
/home/user/data/pools/pool05/blender/blender(BLI_system_backtrace+0x1d) [0x198470d]
/home/user/data/pools/pool05/blender/blender() [0x1030b59]
/lib64/libc.so.6(+0x33770) [0x7efc77c2c770]
/lib64/libpthread.so.0(pthread_mutex_lock+0x4) [0x7efc79225da4]
/usr/lib64/libnvidia-opencl.so.1(+0x1d9d98) [0x7efc4c7aed98]
/usr/lib64/libnvidia-opencl.so.1(+0x28fc41) [0x7efc4c864c41]
/usr/lib64/libnvidia-opencl.so.1(+0x28fdb5) [0x7efc4c864db5]
/usr/lib64/libnvidia-opencl.so.1(+0x1dfad4) [0x7efc4c7b4ad4]
/usr/lib64/libnvidia-opencl.so.1(+0x1e1327) [0x7efc4c7b6327]
/usr/lib64/libnvidia-opencl.so.1(+0x1b54f6) [0x7efc4c78a4f6]
/usr/lib64/libnvidia-opencl.so.1(+0xb4d7d) [0x7efc4c689d7d]
/usr/lib64/libnvidia-opencl.so.1(+0xb4d18) [0x7efc4c689d18]
/usr/lib64/libOpenCL.so(+0x21f2) [0x7efc4fe2a1f2]
/usr/lib64/libOpenCL.so(+0x3e82) [0x7efc4fe2be82]
/usr/lib64/libOpenCL.so(clGetPlatformIDs+0x11) [0x7efc4fe2a6c1]
/home/user/data/pools/pool05/blender/blender() [0x1fb0f3d]
/home/user/data/pools/pool05/blender/blender(_ZN3ccl18device_opencl_infoERNS_6vectorINS_10DeviceInfoENS_16GuardedAllocatorIS1_EEEE+0x44) [0x1fb4174]
/home/user/data/pools/pool05/blender/blender(_ZN3ccl6Device17available_devicesEv+0x180) [0x1f92370]
/home/user/data/pools/pool05/blender/blender(_ZN3ccl11BlenderSync18get_session_paramsERN2BL12RenderEngineERNS1_15UserPreferencesERNS1_5SceneEb+0x157) [0x1ea1167]
/home/user/data/pools/pool05/blender/blender(_ZN3ccl14BlenderSession14create_sessionEv+0x42) [0x1e97f82]
/home/user/data/pools/pool05/blender/blender(_ZN3ccl14BlenderSession6createEv+0x9) [0x1e99309]
/home/user/data/pools/pool05/blender/blender() [0x1e90174]
/home/user/data/pools/pool05/blender/blender(PyCFunction_Call+0xb9) [0x296d6c9]
/home/user/data/pools/pool05/blender/blender(PyEval_EvalFrameEx+0x8766) [0x29e6a76]
/home/user/data/pools/pool05/blender/blender() [0x29e7b4e]
/home/user/data/pools/pool05/blender/blender(PyEval_EvalFrameEx+0x6d13) [0x29e5023]
/home/user/data/pools/pool05/blender/blender() [0x29e7b4e]
/home/user/data/pools/pool05/blender/blender(PyEval_EvalCodeEx+0x23) [0x29e7c23]
/home/user/data/pools/pool05/blender/blender() [0x2949cc4]
/home/user/data/pools/pool05/blender/blender(PyObject_Call+0x5c) [0x291f4ec]
/home/user/data/pools/pool05/blender/blender() [0x1415bbe]
/home/user/data/pools/pool05/blender/blender() [0x18c2157]
/home/user/data/pools/pool05/blender/blender(RE_engine_render+0x313) [0x13964d3]
/home/user/data/pools/pool05/blender/blender() [0x13a8cb9]
/home/user/data/pools/pool05/blender/blender() [0x13a92f8]
/home/user/data/pools/pool05/blender/blender() [0x13ac007]
/home/user/data/pools/pool05/blender/blender(RE_BlenderFrame+0xfd) [0x13acbbd]
/home/user/data/pools/pool05/blender/blender() [0x12efe81]
/home/user/data/pools/pool05/blender/blender() [0x104058a]
/lib64/libpthread.so.0(+0x75e6) [0x7efc792235e6]
/lib64/libc.so.6(clone+0x6d) [0x7efc77ce49ad]
Exact steps for others to reproduce the error
Based on a (as simple as possible) attached .blend file with minimum amount of steps
Crash can bi triggered by any scene.
Install Kernel 4.7.0/4.7.1
Install above mentioned nvidia-drivers (previous version will NOT compile with that kernel!)
Start blender.
Render.
KABOOM!
Why urged to update kernel:
http://www.heise.de/security/meldung/Sicherheitsforscher-kapern-HTTP-Verbindungen-von-Linux-3292257.html
Fixed with Kernel >= Linux 4.7.0
Changed status to: 'Open'
Added subscriber: @mcq
#49295 was marked as duplicate of this issue
#49207 was marked as duplicate of this issue
#49178 was marked as duplicate of this issue
#49152 was marked as duplicate of this issue
Added subscriber: @brecht
It's crashing in the NVidia driver when querying the available OpenCL devices.
Does running
clinfo
in the terminal crash as well? If not, can you attach its output?Hi Brecht,
Hmmmm...not really knowing what you want me to do, but happy if I can be of help....;)
computer:/home/user>clinfo
zsh: command not found: clinfo
In the Python console of blender:
PYTHON INTERACTIVE CONSOLE 3.5.1 (default, Apr 12 2016, 13:42:55) [GCC 5.3.1 20160121]
Command History: Up/Down Arrow
Cursor: Left/Right Home/End
Remove: Backspace/Delete
Execute: Enter
Autocomplete: Ctrl-Space
Zoom: Ctrl +/-, Ctrl-Wheel
Builtin Modules: bpy, bpy.data, bpy.ops, bpy.props, bpy.types, bpy.context, bpy.utils, bgl, blf, mathutils
Convenience Imports: from mathutils import *; from math import *
Convenience Variables: C = bpy.context, D = bpy.data
Traceback (most recent call last):
NameError: name 'clinfo' is not defined
Both seem not to be regnized as command...
Dont hesitate to ask for more! I am happy if I could be of help!
Best
mcc
clinfo
is a command line utility similar toglxinfo
. It's available as a package in most Linux distributions, but it seems not in Gentoo.Basically what I would like you to test is if your OpenCL installation is somehow broken and crashing everywhere, or if there's a Blender specific issue. You could try running LuxMark instead of
clinfo
.You could also try uninstalling everything OpenCL and NVidia related and reinstalling, in case that somehow fixes things.
Added subscriber: @YAFU
I can confirm this. Kubuntu 16.04 - GTX 960 - nvidia 370.23 (beta driver acording nvidia home site). Blender from buildbot:
d41dfe3
To reproduce:
Open Blender > choose 'Cycles Render' >> Blender crash
clinfo.txt
blender.crash.txt
from terminal.txt
By the way, luxmark 3.1 is working well
I can confirm the crash with this 370.23 driver version on Linux.
It seems to be crashing when using clew, while working fine when linking directly against the OpenCL library.
Actually, the problem is not with clew, but with initializing both CUDA and OpenCL. The order doesn't matter, it either crashes in
clGetPlatformIDs()
orcuInit()
.I'll report a bug with repro to NVidia, hopefully they can solve it for the final driver version. Makefile test_cl_cuda.c. Their bug tracker is down until sunday though.
Hi Brecht, hi YAFU,
can I do anything helpful more here for this case or do we have simply to waot for NVidia to fix
the problem?
No, we just wait for NVidia now.
The NVidia bug I reported changed status from "Open - pending review" to "Open - Fix being tested", so there's progress.
Added subscriber: @EjnerFergo
Sorry I didn't look hard enough for a similar report...
Ok, so it is in Nvidia's hands now. Thanks for the info @brecht
Added subscriber: @Sergey
Changed status from 'Open' to: 'Archived'
Closing as this is not a Blender bug, meaning we can't do anything about it anyway. NVidia is informaed about the problem anyway.
Thanks for the report and investigation anyway!
Added subscriber: @brothermechanic
Same for me
nvidia-drivers-370,23
kernel-4.7.2
all blender versions was crashed
blender.crash.txt
From NVidia:
So, now we just wait for NVidia to release a new driver version.
Thanks for reporting to nvidia and for update here what nvidia says.
Added subscribers: @sbrown, @mib2berlin
Added subscriber: @sn0w75-4
Added subscribers: @jeancf, @ObozYury
Hi all. Arch Linux just updated to Nvidia driver 370.28 and it doesn't cause Blender/Cycles to crash anymore.
Yesterday GENTOO-Linux updated to x11-drivers/nvidia-drivers-370.28 also.
Blender works fine now.
A big THANK YOU to the GENTOO-developers to include the new dirver
quickly.