Welcome to the forums. Please post in English or French.

You are not logged in.

#1 2018-07-20 04:21:57

eiz3333
Member
Registered: 2018-07-20
Posts: 1

OpenGL Problem Salome Meca 2018

I was using the 2017 version, everything worked ok. After installed the 2018 version I tried to open the mesh module and the prob software crash. I tried to searched on the forums an this problem dates back to 2012. I have an intel gpu(integrated on the CPU). Can somebody help me?


Attachments:
Screenshot_20180718_181802.png, Size: 96.77 KiB, Downloads: 262

Offline

#2 2018-07-23 16:57:03

Thomas DE SOZA
Guru
From: EDF
Registered: 2007-11-23
Posts: 3,066

Re: OpenGL Problem Salome Meca 2018

Hello,

Are you using Linux inside a virtual machine?

TdS

Offline

#3 2018-07-31 18:24:22

konyaro
Member
From: Genève
Registered: 2016-04-02
Posts: 187

Re: OpenGL Problem Salome Meca 2018

Hello,
I had exactly the same problem on Mint 18.1, with an old computer without graphics card. I added a cheap graphics card and it's working perfectly now.

Salome Meca 2017 was running fine without graphics card.

Konyaro


失敗は成功のもと (L'échec est la base de la réussite)

Offline

#4 2018-08-04 15:44:31

linctus
Member
Registered: 2011-11-02
Posts: 4

Re: OpenGL Problem Salome Meca 2018

Hi there,

I can confirm this. When using Intel integrated graphic card it leads to same problem in my laptop. Change to Nvidia graphic card solve the problem.

regards,
linctus

Offline

#5 2019-09-05 20:57:08

P929
Member
From: Bogotá, CO
Registered: 2015-07-31
Posts: 101

Re: OpenGL Problem Salome Meca 2018

Thomas DE SOZA wrote:

Hello,

Are you using Linux inside a virtual machine?

TdS

Yes, I'm facing this very same problem when attempting to run SalomeMeca within ubuntu 19.04 under Parallels. I guess it's related to the lack of support for OpenGL 3.3, but I wonder if it's possible to workaround this

Offline

#6 2019-09-11 18:38:00

cbourcier
Member
Registered: 2007-11-20
Posts: 61

Re: OpenGL Problem Salome Meca 2018

Hi,

A workaround is available in latest version of Salome by using mesa3d to provide libGL.so with software rendering.

Download Salome from salome-platform.org/downloads/current-version

Choose the version specific to your OS (not the universal binary which does not contain mesa3d).

Launch salome with ./mesa_salome

If it works, you can use env_launch.sh with only llvm and mesa sections to append llvm and mesa to LD_LIBRARY_PATH before launching salome_meca.

Christophe

Offline

#7 2019-09-19 22:45:38

rmspring
Member
Registered: 2019-09-19
Posts: 3

Re: OpenGL Problem Salome Meca 2018

cbourcier wrote:

Launch salome with ./mesa_salome

If it works, you can use env_launch.sh with only llvm and mesa sections to append llvm and mesa to LD_LIBRARY_PATH before launching salome_meca.

Christophe

Christophe, can you elaborate on the solution you are suggesting? 

I have SALOME-9.3.0-UB18.04-SRC running in my virtual machine using the mesa_salome start command.  All the modules load and I can create geometry and meshes.

I do not understand how to use the BASH script env_launch.sh from the Salome install to modify the salome_meca V2018.0.1 installation.  All I see in the salome_meca folder is python scripts.  If this is documented somewhere and I missed it please point me to it!

Thank you very much!

Last edited by rmspring (2019-09-19 22:47:30)

Offline

#8 2019-09-20 18:19:41

cbourcier
Member
Registered: 2007-11-20
Posts: 61

Re: OpenGL Problem Salome Meca 2018

You can create a file env_mesa.sh with these lines (adapt the first one to your path):

SALOME_BINARIES=/opt/salome/SALOME-9.3.0-DB08-SRC/BINARIES-DB08
export LD_LIBRARY_PATH=$SALOME_BINARIES/llvm/lib:$SALOME_BINARIES/mesa/lib:$LD_LIBRARY_PATH
export XLIB_SKIP_ARGB_VISUALS=1

Then:

source env_mesa.sh

And launch salome_meca (adapt to your path):

/opt/salome/appli_V2018.0.1_public/salome

Offline

#9 2019-09-21 06:14:53

rmspring
Member
Registered: 2019-09-19
Posts: 3

Re: OpenGL Problem Salome Meca 2018

cbourcier wrote:

You can create a file env_mesa.sh with these lines (adapt the first one to your path):

SALOME_BINARIES=/opt/salome/SALOME-9.3.0-DB08-SRC/BINARIES-DB08
export LD_LIBRARY_PATH=$SALOME_BINARIES/llvm/lib:$SALOME_BINARIES/mesa/lib:$LD_LIBRARY_PATH
export XLIB_SKIP_ARGB_VISUALS=1

Then:

source env_mesa.sh

And launch salome_meca (adapt to your path):

/opt/salome/appli_V2018.0.1_public/salome

Christophe, Thank you so much!  Salome_Meca is running!!  I ran a test model with a beam element and all the modules seem to be running.

I still have a couple of warning messages, but I've seen those addressed on a forum elsewhere so I will try to resolve those.

Again Thank you!

Offline

#10 2019-09-23 16:03:19

cbourcier
Member
Registered: 2007-11-20
Posts: 61

Re: OpenGL Problem Salome Meca 2018

Glad it helped! Thank you for the feedback.

Christophe

Offline