Page 1 of 1

Anatomist crash when viewing a nifti or a mesh image

Posted: Wed Nov 07, 2012 4:26 pm
by François Leroy
Hi,

When running Anatomist 4.4.0 on linux Ubuntu, it crashes as soon as I want to load a nifti image or a mesh within an Anatomist window (in order to see it).
I guess my Nvidia card has not the proper set up. What should I change within this set up?

Here is the full error log:

QGLContext::makeCurrent(): Cannot make invalid context current.
warning: window geometry too small (dimx : 256)
warning: window geometry too small (dimy : 256)
warning: window geometry too small (dimz : 256)
QGLTempContext: No GL capable X visuals available.
Unrecognised OpenGL version
QGLContext::makeCurrent(): Cannot make invalid context current.
warning: window geometry too small (dimx : 256)
warning: window geometry too small (dimy : 256)
warning: window geometry too small (dimz : 256)
QGLContext::makeCurrent(): Cannot make invalid context current.
QGLContext::makeCurrent(): Cannot make invalid context current.
GLList::generate() could not allocate OpenGL display list: no error
cleaning and trying again...
OpenGL lists cleanup...
GLList::generate() could definitely not allocate OpenGL display list: no error
-----------------------------------------------------------
##### ANATOMIST WARNING
AWindow3D::Refresh: OpenGL error.
-----------------------------------------------------------
-----------------------------------------------------------
##### ANATOMIST WARNING
AWindow3D::Refresh: OpenGL error.
-----------------------------------------------------------
No OpenGL extensions found
Number of texture units: 1
QGLContext::makeCurrent(): Cannot make invalid context current.
QGLContext::makeCurrent(): Cannot make invalid context current.
GLList::generate() could not allocate OpenGL display list: no error
cleaning and trying again...
OpenGL lists cleanup...
GLList::generate() could definitely not allocate OpenGL display list: no error
QGLContext::makeCurrent(): Cannot make invalid context current.
GLList::generate() could not allocate OpenGL display list: no error
cleaning and trying again...
OpenGL lists cleanup...
GLList::generate() could definitely not allocate OpenGL display list: no error
QGLContext::makeCurrent(): Cannot make invalid context current.
QGLContext::makeCurrent(): Cannot make invalid context current.
GLList::generate() could not allocate OpenGL display list: no error
cleaning and trying again...
OpenGL lists cleanup...
QGLContext::makeCurrent(): Cannot make invalid context current.
~GLList : Bad GL list - 0
QGLContext::makeCurrent(): Cannot make invalid context current.
~GLTexture - Bad GL texture - 28012532
GLList::generate() could definitely not allocate OpenGL display list: no error
QGLContext::makeCurrent(): Cannot make invalid context current.
GLList::generate() could not allocate OpenGL display list: no error
cleaning and trying again...
OpenGL lists cleanup...
QGLContext::makeCurrent(): Cannot make invalid context current.
~GLList : Bad GL list - 0
GLList::generate() could definitely not allocate OpenGL display list: no error
QGLContext::makeCurrent(): Cannot make invalid context current.
GLList::generate() could not allocate OpenGL display list: no error
cleaning and trying again...
OpenGL lists cleanup...
GLList::generate() could definitely not allocate OpenGL display list: no error
QGLContext::makeCurrent(): Cannot make invalid context current.
GLList::generate() could not allocate OpenGL display list: no error
cleaning and trying again...
OpenGL lists cleanup...
GLList::generate() could definitely not allocate OpenGL display list: no error
QGLContext::makeCurrent(): Cannot make invalid context current.
GLList::generate() could not allocate OpenGL display list: no error
cleaning and trying again...
OpenGL lists cleanup...
GLList::generate() could definitely not allocate OpenGL display list: no error
QGLContext::makeCurrent(): Cannot make invalid context current.
GLList::generate() could not allocate OpenGL display list: no error
cleaning and trying again...
OpenGL lists cleanup...
GLList::generate() could definitely not allocate OpenGL display list: no error
QGLContext::makeCurrent(): Cannot make invalid context current.
GLList::generate() could not allocate OpenGL display list: no error
cleaning and trying again...
OpenGL lists cleanup...
GLList::generate() could definitely not allocate OpenGL display list: no error
QGLContext::makeCurrent(): Cannot make invalid context current.
GLList::generate() could not allocate OpenGL display list: no error
cleaning and trying again...
OpenGL lists cleanup...
GLList::generate() could definitely not allocate OpenGL display list: no error
-----------------------------------------------------------
##### ANATOMIST ERROR
Light::RefreshGLList : OpenGL error in glGenLists.
-----------------------------------------------------------
QGLContext::makeCurrent(): Cannot make invalid context current.
~GLList : Bad GL list - 0

Re: Anatomist crash when viewing a nifti or a mesh image

Posted: Wed Nov 07, 2012 4:47 pm
by riviere
Hi François,
Obviously, your OpenGL seems not to be working properly.
Try first to reboot the system (sometimes it helps). Then if it still doesn't work, you will have to reinstall the 3D drivers.
Denis