brainvisa on virtual box

Questions about BrainVisa usage and installation

Moderators: denghien, riviere

Post Reply
pdeman
Posts: 39
Joined: Thu Sep 17, 2015 4:09 pm
Location: moving sometimes

brainvisa on virtual box

Post by pdeman »

Hi,

I am trying to install brainvisa on a linux virtual machine, using virtual box.
I have generated the virtual machine, ubuntu 16.05, activated the 3d acceleration, I have installed the guest additions.
now I can run for example glxgears on the virtual machine.
if I type glxinfo everything seems ok.
glxinfo | grep -i direct
direct rendering: Yes

glx version 1.3
OpengGL version string: 2.1 Chromium 1.9
OpenGL shading version string : 1.2
etc ...

but if I try to open a volume on anatomist, I have this error:
"Vertex shader for simpleShaderProg (MainVertexShader & PositionOnlyVertexShader) failed to compile
Fragment shader for simpleShaderProg (MainFragmentShader & ShockingPinkSrcFragmentShader) failed to compile
QGLShaderProgram: shader programs are not supported
Segmentation fault (core dumped)".

Do you have any idea ?

regards
User avatar
riviere
Site Admin
Posts: 1361
Joined: Tue Jan 06, 2004 12:21 pm
Location: CEA NeuroSpin, Saint Aubin, France
Contact:

Re: brainvisa on virtual box

Post by riviere »

Hi,
It's a bit strange for several reasons:
* shaders are not used by default in Anatomist thus shader code should not run. I don't know exactly where it is called from, in this case, the message is in the Qt library itself, not in Anatomist, but it is certainly triggered from somewhere within Anatomist...
* Your GLX info seem to claim it supports shaders, so there's no obvious reason why it fails

I cannot reproduce the problem until I setup a virtualbox machine with the same system (I don't have one already setup), so I need to find some time to do it. It may take a while.

To make everything clear:
* Which host system is running Virtualbox ?
* The VM machine is an Ubuntu 16.04, right ?
* Which variant of brainvisa/anatomist are you running ? The Mandriva 2008 one, or the Ubuntu 12.04 one ?

Denis
pdeman
Posts: 39
Joined: Thu Sep 17, 2015 4:09 pm
Location: moving sometimes

Re: brainvisa on virtual box

Post by pdeman »

Hi,

thanks for the reply.
for now I am running virtual box on a mac.
but I'll need to run it on windows as well after, I just don't have access to a windows computer for now.

yes the VM Machine is a ubuntu 16.04.
I am running the ubuntu 12.04 variant.

Pierre
Post Reply