Black screen in mayavi on mountain lion os x

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Black screen in mayavi on mountain lion os x

hsuominen
Hello,

Trying to plot anything on mayavi (via ipython using multiple different backends, the mayavi2 interactive console) results in a black canvas that is largely unresponsive. However I know mayavi is working correctly as it has no issue saving figures off screen. Any help would be much appreciated. I don't know what information to supply as it doesn't throw any errors, I am on OS X Mountain Lion running 32-bit EPD 8-beta.

Thanks,

Henri
Reply | Threaded
Open this post in threaded view
|

Re: Black screen in mayavi on mountain lion os x

Gael Varoquaux
Hi,

You most likely are dealing with bugs in your accelerated graphics
driver. There is nothing to be done that I know of other than trying to
play with the version of the driver.

Cheers,

Gaƫl

On Wed, Nov 28, 2012 at 04:54:29PM -0800, hsuominen wrote:
> Hello,

> Trying to plot anything on mayavi (via ipython using multiple different
> backends, the mayavi2 interactive console) results in a black canvas that is
> largely unresponsive. However I know mayavi is working correctly as it has
> no issue saving figures off screen. Any help would be much appreciated. I
> don't know what information to supply as it doesn't throw any errors, I am
> on OS X Mountain Lion running 32-bit EPD 8-beta.

> Thanks,

> Henri

_______________________________________________
Enthought-Dev mailing list
[hidden email]
https://mail.enthought.com/mailman/listinfo/enthought-dev
Reply | Threaded
Open this post in threaded view
|

Re: Black screen in mayavi on mountain lion os x

hsuominen
Ok with some more playing around I now get this error message when trying to run pretty much any example of yours:

Traceback (most recent call last):
  File "/Users/hsuominen/Library/EPD/7.3-i386/lib/python2.7/site-packages/pyface/ui/wx/action/action_item.py", line 491, in _on_tool
    action.perform(action_event)
  File "/Users/hsuominen/Library/EPD/7.3-i386/lib/python2.7/site-packages/pyface/action/action.py", line 100, in perform
    self.on_perform()
  File "/Users/hsuominen/Library/EPD/7.3-i386/lib/python2.7/site-packages/tvtk/pyface/ui/wx/decorated_scene.py", line 182, in _configure_scene
    self.edit_traits()
  File "/Users/hsuominen/Library/EPD/7.3-i386/lib/python2.7/site-packages/traits/has_traits.py", line 2266, in edit_traits
    handler, id, scrollable, args )
  File "/Users/hsuominen/Library/EPD/7.3-i386/lib/python2.7/site-packages/traitsui/view.py", line 433, in ui
    ui.ui( parent, kind )
  File "/Users/hsuominen/Library/EPD/7.3-i386/lib/python2.7/site-packages/traitsui/ui.py", line 218, in ui
    self.rebuild( self, parent )
  File "/Users/hsuominen/Library/EPD/7.3-i386/lib/python2.7/site-packages/traitsui/wx/toolkit.py", line 140, in ui_live
    ui_live.ui_live( ui, parent )
  File "/Users/hsuominen/Library/EPD/7.3-i386/lib/python2.7/site-packages/traitsui/wx/ui_live.py", line 68, in ui_live
    ui_dialog( ui, parent, NONMODAL )
  File "/Users/hsuominen/Library/EPD/7.3-i386/lib/python2.7/site-packages/traitsui/wx/ui_live.py", line 99, in ui_dialog
    ui.owner.init( ui, parent, style )
  File "/Users/hsuominen/Library/EPD/7.3-i386/lib/python2.7/site-packages/traitsui/wx/ui_live.py", line 223, in init
    sw = panel( ui, window )
  File "/Users/hsuominen/Library/EPD/7.3-i386/lib/python2.7/site-packages/traitsui/wx/ui_panel.py", line 361, in panel
    nb    = create_notebook_for_items( content, ui, parent, None )
  File "/Users/hsuominen/Library/EPD/7.3-i386/lib/python2.7/site-packages/traitsui/wx/ui_panel.py", line 402, in create_notebook_for_items
    is_dock_window = True )
  File "/Users/hsuominen/Library/EPD/7.3-i386/lib/python2.7/site-packages/traitsui/wx/ui_panel.py", line 523, in fill_panel_for_group
    create_panel )
  File "/Users/hsuominen/Library/EPD/7.3-i386/lib/python2.7/site-packages/traitsui/wx/ui_panel.py", line 670, in __init__
    self.add_groups( content, panel )
  File "/Users/hsuominen/Library/EPD/7.3-i386/lib/python2.7/site-packages/traitsui/wx/ui_panel.py", line 822, in add_groups
    fill_panel_for_group( panel, subgroup, self.ui )
  File "/Users/hsuominen/Library/EPD/7.3-i386/lib/python2.7/site-packages/traitsui/wx/ui_panel.py", line 523, in fill_panel_for_group
    create_panel )
  File "/Users/hsuominen/Library/EPD/7.3-i386/lib/python2.7/site-packages/traitsui/wx/ui_panel.py", line 672, in __init__
    self.add_items(content, panel, self.sizer)
  File "/Users/hsuominen/Library/EPD/7.3-i386/lib/python2.7/site-packages/traitsui/wx/ui_panel.py", line 1031, in add_items
    editor.prepare( item_panel )
  File "/Users/hsuominen/Library/EPD/7.3-i386/lib/python2.7/site-packages/traitsui/editor.py", line 157, in prepare
    self.update_editor()
  File "/Users/hsuominen/Library/EPD/7.3-i386/lib/python2.7/site-packages/traitsui/wx/instance_editor.py", line 373, in update_editor
    self.resynch_editor()
  File "/Users/hsuominen/Library/EPD/7.3-i386/lib/python2.7/site-packages/traitsui/wx/instance_editor.py", line 432, in resynch_editor
    self.factory.id )
  File "/Users/hsuominen/Library/EPD/7.3-i386/lib/python2.7/site-packages/traitsui/view.py", line 433, in ui
    ui.ui( parent, kind )
  File "/Users/hsuominen/Library/EPD/7.3-i386/lib/python2.7/site-packages/traitsui/ui.py", line 218, in ui
    self.rebuild( self, parent )
  File "/Users/hsuominen/Library/EPD/7.3-i386/lib/python2.7/site-packages/traitsui/wx/toolkit.py", line 126, in ui_subpanel
    ui_panel.ui_subpanel( ui, parent )
  File "/Users/hsuominen/Library/EPD/7.3-i386/lib/python2.7/site-packages/traitsui/wx/ui_panel.py", line 100, in ui_subpanel
    ui_panel_for( ui, parent, False )
  File "/Users/hsuominen/Library/EPD/7.3-i386/lib/python2.7/site-packages/traitsui/wx/ui_panel.py", line 113, in ui_panel_for
    ui.control = control = Panel( ui, parent, buttons ).control
  File "/Users/hsuominen/Library/EPD/7.3-i386/lib/python2.7/site-packages/traitsui/wx/ui_panel.py", line 190, in __init__
    bg_color = wx.Color(224, 224, 224, 0)
AttributeError: 'module' object has no attribute 'Color'
2013-01-16 14:51:17.174 Python[37552:f07] -_continuousScroll is deprecated for NSScrollWheel. Please use -hasPreciseScrollingDeltas.
2013-01-16 14:51:17.175 Python[37552:f07] -deviceDeltaX is deprecated for NSScrollWheel. Please use -scrollingDeltaX.
2013-01-16 14:51:17.176 Python[37552:f07] -deviceDeltaY is deprecated for NSScrollWheel. Please use -scrollingDeltaY.
ERROR: In /Users/builder/pisi-32bit/tmp/VTK-5.6.0-3/work/VTK/Rendering/vtkOpenGLTexture.cxx, line 197
vtkOpenGLTexture (0xf2d9570): No scalar values found for texture input!

ERROR: In /Users/builder/pisi-32bit/tmp/VTK-5.6.0-3/work/VTK/Rendering/vtkOpenGLTexture.cxx, line 197
vtkOpenGLTexture (0xf2e3670): No scalar values found for texture input!

...repeating hunderds of times

ERROR: In /Users/builder/pisi-32bit/tmp/VTK-5.6.0-3/work/VTK/Rendering/vtkOpenGLTexture.cxx, line 197
vtkOpenGLTexture (0xf2ed770): No scalar values found for texture input!

Traceback (most recent call last):
  File "/Users/hsuominen/Library/EPD/7.3-i386/lib/python2.7/site-packages/traitsui/wx/ui_live.py", line 333, in _on_close_page
    self._on_ok( event )
  File "/Users/hsuominen/Library/EPD/7.3-i386/lib/python2.7/site-packages/traitsui/wx/ui_live.py", line 360, in _on_ok
    self.close( wx.ID_OK )
  File "/Users/hsuominen/Library/EPD/7.3-i386/lib/python2.7/site-packages/traitsui/wx/ui_live.py", line 316, in close
    save_window( ui )
  File "/Users/hsuominen/Library/EPD/7.3-i386/lib/python2.7/site-packages/traitsui/wx/helper.py", line 141, in save_window
    ui.save_prefs( control.GetPositionTuple() + control.GetSizeTuple() )
AttributeError: 'NoneType' object has no attribute 'GetPositionTuple'
Traceback (most recent call last):
  File "/Users/hsuominen/Library/EPD/7.3-i386/lib/python2.7/site-packages/traitsui/wx/ui_live.py", line 333, in _on_close_page
    self._on_ok( event )
  File "/Users/hsuominen/Library/EPD/7.3-i386/lib/python2.7/site-packages/traitsui/wx/ui_live.py", line 360, in _on_ok
    self.close( wx.ID_OK )
  File "/Users/hsuominen/Library/EPD/7.3-i386/lib/python2.7/site-packages/traitsui/wx/ui_live.py", line 316, in close
    save_window( ui )
  File "/Users/hsuominen/Library/EPD/7.3-i386/lib/python2.7/site-packages/traitsui/wx/helper.py", line 141, in save_window
    ui.save_prefs( control.GetPositionTuple() + control.GetSizeTuple() )
AttributeError: 'NoneType' object has no attribute 'GetPositionTuple'

I'm not quite familiar enough to debug from this and a quick search didn't seem to yield anything useful. Let me know if this says anything to you