[FieldTrip] ft_plot_topo3d crash

Julian Keil julian.keil at gmail.com
Mon Nov 7 18:24:16 CET 2011


Hi,

thanks for your reply, unfortunately this did not help.
However, setting all the bug-workarounds in opengl to '1' did the trick.

If anyone else has this problem, here's how it worked for me:
* use "opengl info" to see if the workarounds are enabled
* set the workarounds to '1':
opengl('OpenGLBitmapZbufferBug',1)
opengl('OpenGLWobbleTesselatorBug',1)
opengl('OpenGLLineSmoothingBug',1)
opengl('OpenGLClippedImageBug',1)

Best,

Julian
Am 07.11.2011 um 17:41 schrieb Belluscio, Beth (NIH/NINDS) [E]:

> I ran into this problem a couple of months ago using a VNC connection on a PC platform.  I used the following command:   opengl neverselect    at the prompt to force Matlab to use a different function.  It hasn't crashed since.  I assume this would work for a mac platform as well. 
> 
> good luck!
> Beth.
> 
> ________________________________________
> From: Julian Keil [julian.keil at gmail.com]
> Sent: Monday, November 07, 2011 10:12 AM
> To: Email discussion list for the FieldTrip project
> Subject: Re: [FieldTrip] ft_plot_topo3d crash
> 
> Hi,
> 
> I just ran into the same problem on my 64bit OSX Lion using the "triplot"-function.
> The problem is, that switching to software-openGL is not supported:
> 
>>> opengl software
> Warning: Switching to software OpenGL rendering is not supported on the MAC platform
> 
> Does anyone have a hint how to change the renderer?
> 
> Best,
> Julian
> 
> 
> Am 06.11.2011 um 11:04 schrieb Gio Piantoni:
> 
>> Hi Karl,
>> 
>> To me, it sounds like a problem with the OpenGL drivers.
>> There was a discussion on that about VNC crashing on Linux, but maybe
>> it applies to your Mac configuration as well. See:
>> http://mailman.science.ru.nl/pipermail/fieldtrip/2011-May/003850.html
>> http://mailman.science.ru.nl/pipermail/fieldtrip/2011-May/003852.html
>> 
>> Please, report back if you find a solution.
>> 
>> Best,
>> 
>> Gio
>> 
>> On Sat, Nov 5, 2011 at 17:55, Karl Doron <karl.doron at gmail.com> wrote:
>>> Hello,
>>> I'm trying to use a 3d plot function and experiencing matlab crashes. As
>>> arguments, I'm passing ft_plot_topo3d a 246x3 matrix from grad.pnt and a
>>> vector of t values for each sensor.
>>> The plot appears correctly on the first attempt; however, any second
>>> attempts to use the function, i.e., to plot a different time point, cause
>>> the entire matlab session to crash. Since the whole session crashes, I don't
>>> have any error message to report.
>>> I'm using Matlab R2009B and Mac OSx Lion.
>>> Thanks for any feedback.
>>> karl
>>> 
>>> 
>>> 
>>> Karl Doron, Ph.D.
>>> Department of Psychological and Brain Sciences
>>> University of California, Santa Barbara
>>> 
>>> 
>>> 
>>> _______________________________________________
>>> fieldtrip mailing list
>>> fieldtrip at donders.ru.nl
>>> http://mailman.science.ru.nl/mailman/listinfo/fieldtrip
>>> 
>> 
>> _______________________________________________
>> fieldtrip mailing list
>> fieldtrip at donders.ru.nl
>> http://mailman.science.ru.nl/mailman/listinfo/fieldtrip
> 
> 
> _______________________________________________
> fieldtrip mailing list
> fieldtrip at donders.ru.nl
> http://mailman.science.ru.nl/mailman/listinfo/fieldtrip
> _______________________________________________
> fieldtrip mailing list
> fieldtrip at donders.ru.nl
> http://mailman.science.ru.nl/mailman/listinfo/fieldtrip





More information about the fieldtrip mailing list