sudden close of SV2019-08.09 on Ubuntu18.04

Provides a system for patient-specific cardiovascular modeling and simulation.
POST REPLY
User avatar
Surabhi Rathore
Posts: 22
Joined: Tue Nov 12, 2019 11:38 pm

sudden close of SV2019-08.09 on Ubuntu18.04

Post by Surabhi Rathore » Fri Nov 29, 2019 10:56 pm

Hi,

I installed the SV "SimVascular-linux-x64-2019-08.09.deb" for Ubuntu 18.04 on VirtualBox. When, I am launching the SV the window open.
After that, when I was trying to open the projects (tutorials of SimVascular itself: Demojob project) the window closed suddenly.Also, it is not opening the .svproj file. Although, I want to open any files other than project file like mesh or any other, the window closed automatically.
I have no idea about it. I want to do some practice on the existing projects of SV.

Please give let me know why such problem is occurring.

Output of this command $ glxinfo | grep -i opengl:
*************
OpenGL vendor string: VMware, Inc.
OpenGL renderer string: SVGA3D; build: RELEASE; LLVM;
OpenGL version string: 2.1 Mesa 19.2.1
OpenGL shading language version string: 1.20
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 2.0 Mesa 19.2.1
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 1.0.16
OpenGL ES profile extensions:
******************

I also run this command
sudo apt-get install libgstreamer-plugins-base0.10-dev

*********************
sudo apt-get install libgstreamer-plugins-base0.10-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libgstreamer-plugins-base0.10-dev
E: Couldn't find any package by glob 'libgstreamer-plugins-base0.10-dev'
E: Couldn't find any package by regex 'libgstreamer-plugins-base0.10-dev'
******************************
At the time of launch of SV such kind of error is occuring

******************************
#2.567# [VtkError] ERROR: ERROR: In /usr/local/sv/ext/2019.06/release/gl2/src/vtk-8.1.1/Rendering/OpenGL2/vtkShaderProgram.cxx, line 431
vtkShaderProgram (0x1adb5e0):
#2.567# [VtkError] ERROR: ERROR: In /usr/local/sv/ext/2019.06/release/gl2/src/vtk-8.1.1/Rendering/OpenGL2/vtkShaderProgram.cxx, line 430
vtkShaderProgram (0x20488c0): 1: #version 120
#2.567# [VtkError] ERROR: ERROR: In /usr/local/sv/ext/2019.06/release/gl2/src/vtk-8.1.1/Rendering/OpenGL2/vtkShaderProgram.cxx, line 431
vtkShaderProgram (0x20488c0):
*****************************

Please give me your suggestion. Please help me out because, I am not even reach on one step.

Best,
Surabhi

User avatar
Nathan Wilson
Posts: 46
Joined: Tue Jun 20, 2006 9:19 am

Re: sudden close of SV2019-08.09 on Ubuntu18.04

Post by Nathan Wilson » Sat Nov 30, 2019 1:14 am

Dear Surabhi,

This is not a problem in SimVascular. The problem is in your guest OS. Your graphics card and OS must support OpenGL 3.2+. See the SV Wiki for a discussion on running using VirtualBox:

https://github.com/SimVascular/SimVascu ... l_machines

You should be running the absolute latest version of VirtualBox (6.0.14) and guest additions. This will likely fix the problem.

Nathan
SimVascular Support Team

User avatar
Surabhi Rathore
Posts: 22
Joined: Tue Nov 12, 2019 11:38 pm

Re: sudden close of SV2019-08.09 on Ubuntu18.04

Post by Surabhi Rathore » Sat Nov 30, 2019 11:07 pm

Dear Nathan,

Thank you very much for the reply.
However, I am not able to resolve the issues.

I tried many ways to update the OpenGL version.

I used the following the commands:
1) sudo apt install mesa-utils

2) sudo add-apt-repository ppa:ubuntu-x-swat/updates
sudo apt-get update
sudo apt-get dist-upgrade

3) glxinfo | grep -i opengl

Still, I have such information,

OpenGL version string: 2.1 Mesa 19.0.8
OpenGL shading language version string: 1.20
OpenGL ES profile version string: OpenGL ES 2.0 Mesa 19.0.8
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 1.0.16

Please let me know how to update the OpenGL version from 2.1 to 3.2+.
Looking forward a reply.

Best,
Surabhi

User avatar
David Parker
Posts: 1635
Joined: Tue Aug 23, 2005 2:43 pm

Re: sudden close of SV2019-08.09 on Ubuntu18.04

Post by David Parker » Mon Dec 02, 2019 2:37 pm

Hi Surabhi,

It seems that VirtualBox only supports OpenGL 2.0 with its VMSVGA graphics controller. If you create a VM with a VBoxVGA controller without 3D acceleration you get OpenGL 3.0 and SV works fine, performance is not too bad.

Another option is to use VMWare.

Cheers,
Dave

User avatar
Surabhi Rathore
Posts: 22
Joined: Tue Nov 12, 2019 11:38 pm

Re: sudden close of SV2019-08.09 on Ubuntu18.04

Post by Surabhi Rathore » Tue Dec 03, 2019 12:11 am

Dear David,

Thank you very much. Now, SV starts working properly. I am will come to you if I will have questions in simulation.

Best,
Surabhi

POST REPLY