Giter Club home page Giter Club logo

Comments (7)

itohnobue avatar itohnobue commented on July 21, 2024

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.

itohnobue avatar itohnobue commented on July 21, 2024

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.

itohnobue avatar itohnobue commented on July 21, 2024

Update: if offscreen rendering is OFF it doesn't crash, but:

  1. 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).

  2. 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.

itohnobue avatar itohnobue commented on July 21, 2024

So, I'll try to summarize:

  1. Machine without OpenGL (software rendering case): crash in vtk dll if offscreen is ON and black lines on the image if offscreen is OFF
  2. 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.

itohnobue avatar itohnobue commented on July 21, 2024

Update: It crashes only if the rendered scene size (image size) is not equal to the current scene size.

from mayavi.

itohnobue avatar itohnobue commented on July 21, 2024

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.

stefanoborini avatar stefanoborini commented on July 21, 2024

Still relevant for more recent versions of VTK and mayavi?

from mayavi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.