# \[SOLVED\] Can't launch Salome in GPU mode - Ubuntu 22.04

**URL:** <https://code-aster.org/forum/t/solved-cant-launch-salome-in-gpu-mode-ubuntu-22-04/11412>\
**Category:** Salome-Meca installation\
**Created:** [January 21, 2023, 9:55am UTC](https://code-aster.org/forum/t/solved-cant-launch-salome-in-gpu-mode-ubuntu-22-04/11412 "2023-01-21T09:55:07Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![lucaf](https://code-aster.org/forum/letter_avatar_proxy/v4/letter/l/278dde/32.png) [@lucaf](https://code-aster.org/forum/u/lucaf)\
**Post date:** [January 21, 2023, 9:55am UTC](https://code-aster.org/forum/t/solved-cant-launch-salome-in-gpu-mode-ubuntu-22-04/11412/1 "2023-01-21T09:55:07Z")

</div>

Hi everyone,

I get the following error trying to run Salome in GPU mode:

$ /home/luca/salome\_meca-lgpl-2022.1.0-1-20221225-scibian-9  
not exist: /etc/krb5.conf  
/usr/bin/nvidia-smi

* * *

INFO : Running salome\_meca in GPU mode

* * *

runSalome running on luca-Precision-7520  
Searching for a free port for naming service: 2810 - OK  
Searching Naming Service + found in 0.1 seconds  
Searching /Kernel/Session in Naming Service +++SALOME\_Session\_Server: /lib/x86\_64-linux-gnu/libc.so.6: version `GLIBC\_2.34’ not found (required by /.singularity.d/libs/libGLX.so.0)  
Traceback (most recent call last):  
File “/opt/salome\_meca/V2022.1.0\_scibian\_univ/modules/KERNEL\_V9\_8\_0/bin/salome/orbmodule.py”, line 181, in waitNSPID  
os.kill(thePID,0)  
ProcessLookupError: [Errno 3] No such process

During handling of the above exception, another exception occurred:

Traceback (most recent call last):  
File “/opt/salome\_meca/appli\_V2022.1.0\_scibian\_univ/bin/salome/runSalome.py”, line 694, in useSalome  
clt = startSalome(args, modules\_list, modules\_root\_dir)  
File “/opt/salome\_meca/appli\_V2022.1.0\_scibian\_univ/bin/salome/runSalome.py”, line 639, in startSalome  
session=clt.waitNSPID(“/Kernel/Session”,mySessionServ.PID,SALOME.Session)  
File “/opt/salome\_meca/V2022.1.0\_scibian\_univ/modules/KERNEL\_V9\_8\_0/bin/salome/orbmodule.py”, line 183, in waitNSPID  
raise RuntimeError(“Process %d for %s not found” % (thePID,theName))  
RuntimeError: Process 14762 for /Kernel/Session not found

— Error during Salome launch —

I’m on Ubuntu 22.04 LTS

Runs fine on --soft mode

The GLIBC version installed is 2.35, not 2.34:

$ ldd --version  
ldd (Ubuntu GLIBC 2.35-0ubuntu3.1) 2.35  
Copyright (C) 2022 Free Software Foundation, Inc.  
Questo è software libero; si veda il sorgente per le condizioni di copiatura.  
NON c’è alcuna garanzia; neppure di COMMERCIABILITÀ o IDONEITÀ AD UN  
PARTICOLARE SCOPO.  
Scritto da Roland McGrath e Ulrich Drepper.

I’ve also installed Nvidia Container toolkit:  
$ nvidia-container-cli info  
NVRM version: 525.60.13  
CUDA version: 12.0

Device Index: 0  
Device Minor: 0  
Model: Quadro M2200  
Brand: Quadro  
GPU UUID: GPU-88ece61b-9d86-8830-1b8b-bef5d20fa27e  
Bus Location: 00000000.0  
Architecture: 5.2

Nvidia driver works correctly:

$ nvidia-smi  
Fri Jan 20 18 2023  
±----------------------------------------------------------------------------+  
| NVIDIA-SMI 525.60.13 Driver Version: 525.60.13 CUDA Version: 12.0 |  
|-------------------------------±---------------------±---------------------+  
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |  
| Fan Temp Perf Pwr/Cap| Memory-Usage | GPU-Util Compute M. |  
| | | MIG M. |  
|===============================+======================+======================|  
| 0 Quadro M2200 On | 00000000.0 Off | N/A |  
| N/A 32C P8 N/A / N/A | 126MiB / 4096MiB | 0% Default |  
| | | N/A |  
±------------------------------±---------------------±---------------------+

±----------------------------------------------------------------------------+  
| Processes: |  
| GPU GI CI PID Type Process name GPU Memory |  
| ID ID Usage |  
|=============================================================================|  
| 0 N/A N/A 2249 G /usr/lib/xorg/Xorg 35MiB |  
| 0 N/A N/A 5119 C+G …613623068333722871,131072 83MiB |  
±----------------------------------------------------------------------------+

Can someone point to a solution to this?  
Thanks.

---

<div class="post-metadata">

**Author:** ![kaengo](https://code-aster.org/forum/letter_avatar_proxy/v4/letter/k/958977/32.png) [@kaengo](https://code-aster.org/forum/u/kaengo)\
**Post date:** [January 24, 2023, 1:32am UTC](https://code-aster.org/forum/t/solved-cant-launch-salome-in-gpu-mode-ubuntu-22-04/11412/2 "2023-01-24T01:32:06Z")

</div>

Exact the same problem!

---

<div class="post-metadata">

**Author:** ![mf1](https://code-aster.org/forum/letter_avatar_proxy/v4/letter/m/f4b2a3/32.png) [@mf1](https://code-aster.org/forum/u/mf1)\
**Post date:** [January 26, 2023, 3:29pm UTC](https://code-aster.org/forum/t/solved-cant-launch-salome-in-gpu-mode-ubuntu-22-04/11412/3 "2023-01-26T15:29:17Z")

</div>

Hello,

I am having the same problem. I tried everything on an older workstation, there installing the nvidia toolkit solved the problem.

Therefore, I tried the same on my main workstation, and now it does NOT work! aaaaaaaaaaah!

Does anybody have a solution? I assume, many of us are seeing this error, as U22.04LTS would probably the first choice of most users,

thank you in advance,

Mario.

Here is my output, it is almost exactly the same:

> mario@mario-HP-Z8-G4:~$ ./salome\_meca-lgpl-2021.1.0-2-20220817-scibian-9  
> not exist: /etc/krb5.conf  
> /usr/bin/nvidia-smi

* * *

INFO : Running salome\_meca in GPU mode

* * *

runSalome running on mario-HP-Z8-G4  
Searching for a free port for naming service: 2817 - OK  
Searching Naming Service + found in 0.1 seconds  
Searching /Kernel/Session in Naming Service ++++SALOME\_Session\_Server: /lib/x86\_64-linux-gnu/libc.so.6: version `GLIBC\_2.34’ not found (required by /.singularity.d/libs/libGLX.so.0)  
Traceback (most recent call last):  
File “/opt/salome\_meca/Salome-V2021-s9/modules/KERNEL\_V9\_7\_0/bin/salome/orbmodule.py”, line 181, in waitNSPID  
os.kill(thePID,0)  
ProcessLookupError: [Errno 3] No such process

During handling of the above exception, another exception occurred:

Traceback (most recent call last):  
File “/opt/salome\_meca/appli\_V2021/bin/salome/runSalome.py”, line 694, in useSalome  
clt = startSalome(args, modules\_list, modules\_root\_dir)  
File “/opt/salome\_meca/appli\_V2021/bin/salome/runSalome.py”, line 639, in startSalome  
session=clt.waitNSPID(“/Kernel/Session”,mySessionServ.PID,SALOME.Session)  
File “/opt/salome\_meca/Salome-V2021-s9/modules/KERNEL\_V9\_7\_0/bin/salome/orbmodule.py”, line 183, in waitNSPID  
raise RuntimeError(“Process %d for %s not found” % (thePID,theName))  
RuntimeError: Process 50614 for /Kernel/Session not found

— Error during Salome launch —

---

<div class="post-metadata">

**Author:** ![mf1](https://code-aster.org/forum/letter_avatar_proxy/v4/letter/m/f4b2a3/32.png) [@mf1](https://code-aster.org/forum/u/mf1)\
**Post date:** [January 26, 2023, 5:00pm UTC](https://code-aster.org/forum/t/solved-cant-launch-salome-in-gpu-mode-ubuntu-22-04/11412/4 "2023-01-26T17:00:54Z")

</div>

Ok, I tried the following:

I edited the singularity.conf in /etc/singularity to:

> 

use nvidia-container-cli = yes

and the path

nvidia-container-cli path = /usr/bin/nvidia-container-cli

The GUI starts in GPU mode, but I am getting a lot of SIGSEVs, so this unusable. But somehow I might be on the right track. Output from CLI:

> 

mario@mario-HP-Z8-G4:~$ ./salome\_meca-lgpl-2021.1.0-2-20220817-scibian-9  
not exist: /etc/krb5.conf  
INFO: Setting ‘NVIDIA\_VISIBLE\_DEVICES=all’ to emulate legacy GPU binding.  
INFO: Setting --writable-tmpfs (required by nvidia-container-cli)  
/usr/bin/nvidia-smi

* * *

INFO : Running salome\_meca in GPU mode

* * *

runSalome running on mario-HP-Z8-G4  
Searching for a free port for naming service: 2818 - OK  
Searching Naming Service + found in 0.1 seconds  
Searching /Kernel/Session in Naming Service ++++++++libGL error: No matching fbConfigs or visuals found  
libGL error: failed to load driver: swrast  
+\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
Warning: module HexoticPLUGIN is improperly configured!  
Module HexoticPLUGIN will not be available in GUI mode!

* * *

* * *

```
 Warning: module GHS3DPLUGIN is improperly configured!
 Module GHS3DPLUGIN will not be available in GUI mode!

```

* * *

* * *

```
 Warning: module GHS3DPRLPLUGIN is improperly configured!
 Module GHS3DPRLPLUGIN will not be available in GUI mode!

```

* * *

* * *

```
 Warning: module BLSURFPLUGIN is improperly configured!
 Module BLSURFPLUGIN will not be available in GUI mode!

```

* * *

* * *

```
 Warning: module NETGENPLUGIN is improperly configured!
 Module NETGENPLUGIN will not be available in GUI mode!

```

* * *

* * *

```
 Warning: module HYBRIDPLUGIN is improperly configured!
 Module HYBRIDPLUGIN will not be available in GUI mode!

```

* * *

* * *

```
 Warning: module GMSHPLUGIN is improperly configured!
 Module GMSHPLUGIN will not be available in GUI mode!

```

* * *

found in 4.5 seconds  
Start SALOME, elapsed time : 4.9 seconds  
libGL error: No matching fbConfigs or visuals found  
libGL error: failed to load driver: swrast  
TKOpenGl.WinSystem | Type: Error | ID: 0 | Severity: High | Message:  
glXMakeCurrent() has failed!  
TKOpenGl.WinSystem | Type: Error | ID: 0 | Severity: High | Message:  
glXMakeCurrent() has failed!  
TKOpenGl.WinSystem | Type: Error | ID: 0 | Severity: High | Message:  
glXMakeCurrent() has failed!  
TKOpenGl.WinSystem | Type: Error | ID: 0 | Severity: High | Message:  
glXMakeCurrent() has failed!

Could anybody provide help with this please?

Thank you,

Mario

---

<div class="post-metadata">

**Author:** ![mf1](https://code-aster.org/forum/letter_avatar_proxy/v4/letter/m/f4b2a3/32.png) [@mf1](https://code-aster.org/forum/u/mf1)\
**Post date:** [January 26, 2023, 5:02pm UTC](https://code-aster.org/forum/t/solved-cant-launch-salome-in-gpu-mode-ubuntu-22-04/11412/5 "2023-01-26T17:02:31Z")

</div>

screenshot…

**Attached file:**

 ![Bildschirmfoto_vom_2023-01-26_17-01-45.png](https://code-aster.org/forum/uploads/default/original/2X/c/c0033df09b7cf0002d92a0cb0fce32d057c992ce.png)

---

<div class="post-metadata">

**Author:** ![mf1](https://code-aster.org/forum/letter_avatar_proxy/v4/letter/m/f4b2a3/32.png) [@mf1](https://code-aster.org/forum/u/mf1)\
**Post date:** [January 26, 2023, 6:49pm UTC](https://code-aster.org/forum/t/solved-cant-launch-salome-in-gpu-mode-ubuntu-22-04/11412/6 "2023-01-26T18:49:19Z")

</div>

Is there a possibility within the container to incorporate GLIBC\_2.34 instead of GLIBC\_2.35 that is provided by Ubuntu 22.04LTS?

---

<div class="post-metadata">

**Author:** ![honestguvnor](https://code-aster.org/forum/letter_avatar_proxy/v4/letter/h/ce7236/32.png) [@honestguvnor](https://code-aster.org/forum/u/honestguvnor)\
**Post date:** [January 27, 2023, 9:25pm UTC](https://code-aster.org/forum/t/solved-cant-launch-salome-in-gpu-mode-ubuntu-22-04/11412/7 "2023-01-27T21:25:58Z")

</div>

The problem seems to be related to libGLX.so being checked when libGLX\_nvidia.so is (presumably) going to be used. Don’t know enough about what is going on to be more precise. The check can be avoid it would seem by removing the libGLX.so entry in the /usr/local/etc/singularity/nvliblist.conf file. This file might be named/stored somewhere else depending on how singularity/apptainer was installed. For me this allowed salome to run in GPU mode and create a box geometry from a python script. Not checked anything further.

Using:

- Ubuntu 22.04.1 LTS
- singularity-ce version 3.10.5
- nvidia-drivers
- nvidia-container-toolkit
- salome\_meca-lgpl-2022.1.0-1-20221225-scibian-9

---

<div class="post-metadata">

**Author:** ![mf1](https://code-aster.org/forum/letter_avatar_proxy/v4/letter/m/f4b2a3/32.png) [@mf1](https://code-aster.org/forum/u/mf1)\
**Post date:** [January 28, 2023, 1:55pm UTC](https://code-aster.org/forum/t/solved-cant-launch-salome-in-gpu-mode-ubuntu-22-04/11412/8 "2023-01-28T13:55:07Z")

</div>

Hello,

when I remove libGLX.so, the GUI boots, but when I press the geometry button, I get a fatal error (see image).

When I directly go to Asterstudy, the GUI crashes, sometimes with a segmentation fault.

I also tried commenting other GLX-related entries in nvliblist.conf with no success,

Mario.

**Attached file:**

 ![Bildschirmfoto_vom_2023-01-28_13-49-21.png](https://code-aster.org/forum/uploads/default/original/2X/1/1295e02c56f5b9d13803942c4b355b9b6b565ccc.png)

---

<div class="post-metadata">

**Author:** ![mf1](https://code-aster.org/forum/letter_avatar_proxy/v4/letter/m/f4b2a3/32.png) [@mf1](https://code-aster.org/forum/u/mf1)\
**Post date:** [January 28, 2023, 3:03pm UTC](https://code-aster.org/forum/t/solved-cant-launch-salome-in-gpu-mode-ubuntu-22-04/11412/9 "2023-01-28T15:03:36Z")

</div>

Hello again!

Great news: after removing Wayland (Nvidia users know: Wayland is basically complete garbage) above solution seems to work! Great!  
I tested all relevant modules (GEO, MESH, AsterStudy,..)  
Currently running an old simulation on an older workstation and will apply above changes + removing Wayland on my main workstation also.

Removing Wayland is easy:

> sudo nano /etc/gdm3/custom.conf

There edit the file to:

> WaylandEnable=false

basically uncommenting the line. There must be reason why this line exists, some smart person left it on purpose.

Reboot.

And for completeness, editing

> sudo nano /etc/singularity/nvliblist.conf

to

> 

…  
libglx.so  
#libGLX.so  
libnvcuvid.so  
…

Hopefully, this will also solve thread ID=26348 and similar threads. Now it’s clear, why my headless system worked with installing Nvidia-container-cli right from the start: no Wayland there! (see thread ID=26341, which for some reason I cannot open anymore)

Bye for now, thanks honestguvnor,

Mario.

---

<div class="post-metadata">

**Author:** ![k\_zurawski](https://code-aster.org/forum/letter_avatar_proxy/v4/letter/k/9fc29f/32.png) [@k\_zurawski](https://code-aster.org/forum/u/k_zurawski)\
**Post date:** [January 29, 2023, 8:10am UTC](https://code-aster.org/forum/t/solved-cant-launch-salome-in-gpu-mode-ubuntu-22-04/11412/10 "2023-01-29T08:10:25Z")

</div>

Wasn’t singularity supposed to be a solution to previous installation problems on different systems? I can’t see any benefits in this matter.

---

<div class="post-metadata">

**Author:** ![honestguvnor](https://code-aster.org/forum/letter_avatar_proxy/v4/letter/h/ce7236/32.png) [@honestguvnor](https://code-aster.org/forum/u/honestguvnor)\
**Post date:** [January 29, 2023, 12:20pm UTC](https://code-aster.org/forum/t/solved-cant-launch-salome-in-gpu-mode-ubuntu-22-04/11412/11 "2023-01-29T12:20:46Z")

</div>

:\>Wasn’t singularity supposed to be a solution to previous installation problems on different systems? I can’t see any benefits in this matter.

The main benefit to users is a higher quality salome/aster distribution. This follows from the developers only have to work with a single stable environment rather than a range of gratuitously different ones. That environment is presumably derived from a more stable one than Ubuntu. To get an appreciation for some of the issues being avoided try building the aster source code on Ubuntu 22.04. Ubuntu names libraries and modules differently requiring data to be changed (and then to break on other distributions without messing about writing scripts), the C++ compiler is newer requiring the replacement of the TFEL package by a newer one (which may not be compatible…), libc is newer which shouldn’t break anything but has, plus no doubt many other fixes required to get it running on a particular gratuitously different linux distribution. I abandoned the task when it became clear that this traditional way of developing software was clearly not being supported (or at least not on anything other than whatever the salome/aster “distribution” is derived from).

Adopting a container based approach has made life easier for the high value salome/aster people (the developers) by transferring most of the tasks of dealing with distribution differences to the singularity/apptainer software, it’s dependencies like nvidia driver and container software and ubuntu software,… Our problems here seem to be mainly issues with the interaction between those projects although there might still be an issue with how salome/aster has setup singularity/apptainer. I don’t know because all this container stuff is new to me but I understand why it has been done. I will take a bit more messing about as a user as the price to get more reliable and faster developed simulation software.

---

<div class="post-metadata">

**Author:** ![lucaf](https://code-aster.org/forum/letter_avatar_proxy/v4/letter/l/278dde/32.png) [@lucaf](https://code-aster.org/forum/u/lucaf)\
**Post date:** [February 3, 2023, 8:18pm UTC](https://code-aster.org/forum/t/solved-cant-launch-salome-in-gpu-mode-ubuntu-22-04/11412/12 "2023-02-03T20:18:15Z")

</div>

:\>The problem seems to be related to libGLX.so being checked when libGLX\_nvidia.so is (presumably) going to be used. Don’t know enough about what is going on to be more precise. The check can be avoid it would seem by removing the libGLX.so entry in the /usr/local/etc/singularity/nvliblist.conf file. This file might be named/stored somewhere else depending on how singularity/apptainer was installed. For me this allowed salome to run in GPU mode and create a box geometry from a python script. Not checked anything further.

Using:

- Ubuntu 22.04.1 LTS
- singularity-ce version 3.10.5
- nvidia-drivers
- nvidia-container-toolkit
- salome\_meca-lgpl-2022.1.0-1-20221225-scibian-9

Thanks a lot! It works!

---

<div class="post-metadata">

**Author:** ![jacob](https://code-aster.org/forum/user_avatar/code-aster.org/jacob/32/10409_2.png) [@jacob](https://code-aster.org/forum/u/jacob)\
**Post date:** [February 22, 2023, 8:51am UTC](https://code-aster.org/forum/t/solved-cant-launch-salome-in-gpu-mode-ubuntu-22-04/11412/13 "2023-02-22T08:51:21Z")

</div>

Hello mf,  
may I ask were to find the nvliblist.conf, and change it to

…  
libglx.so  
#libGLX.so  
libnvcuvid.so  
…

I don’t have the directory you specified above.

I am using your container [GitHub - emefff/Code-Aster-MPI-in-Singularity-of-SM2021: How to build the MPI Version of Code Aster 15.4 inside the Singularity Container of Salome-Meca 2021 · GitHub](http://github.com/emefff/Code-Aster-MPI-in-Singularity-of-SM2021) on WSL2.

Doing WaylandEnable=false didn’t help.

---

<div class="post-metadata">

**Author:** ![mf1](https://code-aster.org/forum/letter_avatar_proxy/v4/letter/m/f4b2a3/32.png) [@mf1](https://code-aster.org/forum/u/mf1)\
**Post date:** [February 22, 2023, 9:00am UTC](https://code-aster.org/forum/t/solved-cant-launch-salome-in-gpu-mode-ubuntu-22-04/11412/14 "2023-02-22T09:00:28Z")

</div>

Hello,

I do not know the answer to that. Maybe you have a different installation of singularity (“singularity --version” gives me “singularity-ce version 3.10.3-focal”)?

I’d suggest to further search in /etc or maybe in your ~/

Mario.

---

<div class="post-metadata">

**Author:** ![jacob](https://code-aster.org/forum/user_avatar/code-aster.org/jacob/32/10409_2.png) [@jacob](https://code-aster.org/forum/u/jacob)\
**Post date:** [February 22, 2023, 10:52am UTC](https://code-aster.org/forum/t/solved-cant-launch-salome-in-gpu-mode-ubuntu-22-04/11412/15 "2023-02-22T10:52:19Z")

</div>

Ok, I found that, but it didn’t help.

---

<div class="post-metadata">

**Author:** ![hberro](https://code-aster.org/forum/letter_avatar_proxy/v4/letter/h/a88e4f/32.png) [@hberro](https://code-aster.org/forum/u/hberro)\
**Post date:** [March 31, 2023, 10:20am UTC](https://code-aster.org/forum/t/solved-cant-launch-salome-in-gpu-mode-ubuntu-22-04/11412/16 "2023-03-31T10:20:09Z")

</div>

In some newer/modern workstations, dual graphic cards can be installed for power saving. So even if your system has an nvidia gpu that should be compatible with singularity, it doesn’t necessarily mean it is activated and can be used by salome\_meca.

We suggest that you start by checking :

> 

glxinfo -B

If the command outputs Mesa or Intel graphics as the driver, then nvidia is indeed not active and you can’t use gpu, probably due a system power saving configuration.

In that case search for your nvidia driver app and activate persistent mode (or performance mode).

Check again the command

> 

glxinfo -B

name of display:  
display: screen: 0  
direct rendering: Yes  
OpenGL vendor string: NVIDIA Corporation  
OpenGL renderer string: Quadro P1000/PCIe/SSE2  
OpenGL core profile version string: 4.5.0 NVIDIA 390.144  
OpenGL core profile shading language version string: 4.50 NVIDIA  
OpenGL core profile context flags: (none)  
OpenGL core profile profile mask: core profile

OpenGL version string: 4.6.0 NVIDIA 390.144  
OpenGL shading language version string: 4.60 NVIDIA  
OpenGL context flags: (none)  
OpenGL profile mask: (none)

OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 390.144  
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

If you see Nvidia, then the gpu mode will be available.

Side note: if gpu still fails, you can always use the fallback mode with the flag --soft of the sif launcher.

---

<div class="post-metadata">

**Author:** ![Brigity](https://code-aster.org/forum/letter_avatar_proxy/v4/letter/b/41988e/32.png) [@Brigity](https://code-aster.org/forum/u/Brigity)\
**Post date:** [June 17, 2023, 7:02am UTC](https://code-aster.org/forum/t/solved-cant-launch-salome-in-gpu-mode-ubuntu-22-04/11412/17 "2023-06-17T07:02:49Z")

</div>

sudo nano /etc/singularity/nvliblist.conf and commenting out libGLX.so worked for me.

Thanks for the help!

---

<div class="post-metadata">

**Author:** ![hberro](https://code-aster.org/forum/letter_avatar_proxy/v4/letter/h/a88e4f/32.png) [@hberro](https://code-aster.org/forum/u/hberro)\
**Post date:** [September 3, 2023, 9:39am UTC](https://code-aster.org/forum/t/solved-cant-launch-salome-in-gpu-mode-ubuntu-22-04/11412/18 "2023-09-03T09:39:27Z")

</div>

An alternative solution to modifying the singularity nvidia libs is the following :

[code-aster.org/forum2/viewtopic.php?pid=69607#p69607](http://code-aster.org/forum2/viewtopic.php?pid=69607#p69607)

---

<div class="post-metadata">

**Author:** ![cacciatorino](https://code-aster.org/forum/letter_avatar_proxy/v4/letter/c/d2c977/32.png) [@cacciatorino](https://code-aster.org/forum/u/cacciatorino)\
**Post date:** [September 7, 2023, 10:59am UTC](https://code-aster.org/forum/t/solved-cant-launch-salome-in-gpu-mode-ubuntu-22-04/11412/19 "2023-09-07T10:59:42Z")

</div>

:\>The problem seems to be related to libGLX.so being checked when libGLX\_nvidia.so is (presumably) going to be used. Don’t know enough about what is going on to be more precise. The check can be avoid it would seem by removing the libGLX.so entry in the /usr/local/etc/singularity/nvliblist.conf file. This file might be named/stored somewhere else depending on how singularity/apptainer was installed. For me this allowed salome to run in GPU mode and create a box geometry from a python script. Not checked anything further.

Using:

- Ubuntu 22.04.1 LTS
- singularity-ce version 3.10.5
- nvidia-drivers
- nvidia-container-toolkit
- salome\_meca-lgpl-2022.1.0-1-20221225-scibian-9

it worked for me too. Ubuntu 22.04 fresh install.

---

<div class="post-metadata">

**Author:** ![benico](https://code-aster.org/forum/letter_avatar_proxy/v4/letter/b/4af34b/32.png) [@benico](https://code-aster.org/forum/u/benico)\
**Post date:** [October 29, 2024, 11:41am UTC](https://code-aster.org/forum/t/solved-cant-launch-salome-in-gpu-mode-ubuntu-22-04/11412/20 "2024-10-29T11:41:43Z")

</div>

@jacob

/usr/local/etc/singularity/

[Next page](https://code-aster.org/forum/t/solved-cant-launch-salome-in-gpu-mode-ubuntu-22-04/11412.md?page=2)
