Comments (7)
Stacktrace:
WARNING: Stack unwind information not available. Following frames may be wrong.
MSVCR90!strstr+0x1e
vtkRendering!vtkOpenGLRenderWindow::CreateHardwareOffScreenWindow+0x97
OPENGL32!wglSwapMultipleBuffers+0x51c
Errors output:
*** WARNING: Unable to verify checksum for vtkRendering.dll
*** ERROR: Symbol file could not be found. Defaulted to export symbols for vtkRendering.dll -
*** ERROR: Symbol file could not be found. Defaulted to export symbols for C:\WINDOWS\system32\OPENGL32.dll -
0:000> g
(6cc.af8): Access violation - code c0000005 (!!! second chance !!!)
eax=00000000 ebx=0f1926d8 ecx=0da35bcc edx=0016654d esi=00000000 edi=00000000
eip=7855bece esp=0012bcec ebp=0000010a iopl=0 nv up ei pl nz na pe nc
cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00200206
from mayavi.
I found this thread with the same error (well, It looks similar): http://enthought-dev.117412.n3.nabble.com/Mayavi-offscreen-rendering-td681775.html
But seems like there is no fix for this case so far(
from mayavi.
Update: if offscreen rendering is OFF it doesn't crash, but:
-
On machine with OpenGL problems the resulted image has black lines on it. Seems like this lines are the borders between the small shots (as I understand it takes a number of 'screenshots' and bundle them together to get the entire image).
-
On machine with fully operational OpenGL the resulted image is corrupted, like it was bundled together erroneously. Small screenshots are placed on wrong places.
Both of the images can be found here: http://www.dropmocks.com/mVe6h
from mayavi.
So, I'll try to summarize:
- Machine without OpenGL (software rendering case): crash in vtk dll if offscreen is ON and black lines on the image if offscreen is OFF
- Machine with 'good' OpenGL: everything is OK if offscreen is ON and corrupted image if offscreen is OFF
Update: on another machine (with the Intel Card and 'bad' OpenGL) the image is corrupted and has black lines simultaneously.
from mayavi.
Update: It crashes only if the rendered scene size (image size) is not equal to the current scene size.
from mayavi.
Okay, I managed to get it working on 'bad' OpenGL machines with offscreen = ON by replacing savefig's size parameter with magnification, but black lines are still here.
from mayavi.
Still relevant for more recent versions of VTK and mayavi?
from mayavi.
Related Issues (20)
- mlab.savefig saves wrong resolution (for first two images in loop)
- Potential issue with upcoming changes in VTK
- itkwidgets error in Jupyter Notebook
- Update a mayavi plot programmatically
- Release? HOT 6
- Warnings reported in the Mayavi testsuite
- Warnings and errors reported by the tvtk testsuite
- ImportError: Could not import backend for traitsui.
- Moving the cursor into a mayavi window causes a crash
- pip install not working HOT 2
- [regression in 4.8.2] TVTK not built properly. HOT 1
- Mayavi example protein.py not working, plus the solution
- Scalar filed is not volume rendered with a colormap HOT 1
- GUI stutters when running an animation
- Problem getting started with Mayavi HOT 1
- When use mlab.figure, got error "AttributeError: type object 'Unimplemented' has no attribute 'process_events'" HOT 3
- wxPython not supported
- Mayavi Compatibility with Numpy2.0 HOT 1
- wglMakeCurrent failed in MakeCurrent() on Windows machine HOT 1
- Unable to change the color of points3D HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mayavi.