From: Michael Giacomelli on
Hi.

Whenever I try to do image or surf, there is about a 1 in 10 chance that matlab will simply close with the standard windows "this program has encountered an error" dialog. I suspect opengl problems based on google results, but no suggested fixes work for me.

I am running matlab 2009a and 2009b on a Windows 2008R2 64 bit work station with an Nvidia GTS250 GPU. Both have the same problem. I've the latest drivers (195.62_desktop_win7_winvista_64bit_english_whql), but my problems occur with all driver versions I have tested. The system is otherwise completely stable (runs my fortran code for weeks at a time and all GPU intensive programs I use report no trouble).

Is there some way to debug this? I can't locate any error logs, and that mathworks support docs don't turn up anything at all on my problem.

Mike
From: Andrew Stevens on
"Michael Giacomelli" <giac2000(a)hotmail.com> wrote in message <hj2ou3$amf$1(a)fred.mathworks.com>...
> Hi.
>
> Whenever I try to do image or surf, there is about a 1 in 10 chance that matlab will simply close with the standard windows "this program has encountered an error" dialog. I suspect opengl problems based on google results, but no suggested fixes work for me.
>
> I am running matlab 2009a and 2009b on a Windows 2008R2 64 bit work station with an Nvidia GTS250 GPU. Both have the same problem. I've the latest drivers (195.62_desktop_win7_winvista_64bit_english_whql), but my problems occur with all driver versions I have tested. The system is otherwise completely stable (runs my fortran code for weeks at a time and all GPU intensive programs I use report no trouble).
>
> Is there some way to debug this? I can't locate any error logs, and that mathworks support docs don't turn up anything at all on my problem.
>
> Mike

If you suspect OpenGL, maybe try another renderer before your SURF or IMAGE command:

figure
set(gcf,'renderer','zbuffer')
surf(x,y,z)

and see if the problem persists...Just curious, how big is the matrix you are trying to visualize?

-Andrew
From: Michael Giacomelli on

> If you suspect OpenGL, maybe try another renderer before your SURF or IMAGE command:
>
> figure
> set(gcf,'renderer','zbuffer')
> surf(x,y,z)
>
> and see if the problem persists

No improvement. It still readily crashes after a few imagesc calls.


>...Just curious, how big is the matrix you are trying to visualize?


100x100 pixels.
From: Michael Giacomelli on
Hmm so no one has any idea?

Should I contact mathworks and file a bug report?
From: Jan Simon on
Dear Michael!

> > If you suspect OpenGL, maybe try another renderer before your SURF or IMAGE command:
> > figure
> > set(gcf,'renderer','zbuffer')
> > surf(x,y,z)
> > and see if the problem persists
>
> No improvement. It still readily crashes after a few imagesc calls.

Fine! Then it is not the OpenGL part - which is subject to a pile of scary problems.

Can you post your program?

Jan
 |  Next  |  Last
Pages: 1 2
Prev: Linear Span
Next: changing files using a for loop