Hello,
I have just downloaded Salome 9.14 for my Ubuntu 24.04 laptop and it launchs when I run ./salome, so not so bad ! Unfortunately, when I go in the Mesh module I have an error message which makes impossible to use the software :
Any idea how can I fix that ?
Thank you for your help,
Pierre
Could you please check if running mesa_salome
helps resolve the issue?
If it does not work, please provide the following informations such that we can investigate further on our end:
list of installed packages
output of env
output of cat /etc/os-release
Additionally, could you tell if your Ubuntu 24.04 installation is running on a virtual machine?
Regards.
Dear NabilG,
Thank you for your reply, that’s very nice to help me !
I have tried to run mesa_salome but I face to the same error message when I go to the mesh module…
For the installed packages, do you mean the list of every packages installed on my computer ? Indeed, i have listed it but it is very (very !) long. What I can say is that all salome dependencies are satisfied.
For env :
SHELL=/bin/bash
SESSION_MANAGER=local/pierre-Vostro-3580:@/tmp/.ICE-unix/2037,unix/pierre-Vostro-3580:/tmp/.ICE-unix/2037
WM_COMPILER=Gcc
FOAM_SETTINGS=
QT_ACCESSIBILITY=1
COLORTERM=truecolor
XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/etc/xdg
ParaView_INCLUDE_DIR=/usr/include/paraview-5.11
XDG_MENU_PREFIX=gnome-
GNOME_DESKTOP_SESSION_ID=this-is-deprecated
FOAM_MPI=openmpi-system
GNOME_SHELL_SESSION_MODE=ubuntu
SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
WM_PRECISION_OPTION=DP
WM_PROJECT_USER_DIR=/home/pierre/OpenFOAM/pierre-12
MEMORY_PRESSURE_WRITE=c29tZSAyMDAwMDAgMjAwMDAwMAA=
WM_MPLIB=SYSTEMOPENMPI
XMODIFIERS=@im=ibus
DESKTOP_SESSION=ubuntu
FOAM_RUN=/home/pierre/OpenFOAM/pierre-12/run
FOAM_EXT_LIBBIN=/opt/openfoam12/thirdparty/platforms/linux64GccDPInt32/lib
GTK_MODULES=gail:atk-bridge
PWD=/home/pierre
LOGNAME=pierre
XDG_SESSION_DESKTOP=ubuntu
XDG_SESSION_TYPE=wayland
WM_OPTIONS=linux64GccDPInt32Opt
WM_ARCH=linux64
SYSTEMD_EXEC_PID=2076
WM_THIRD_PARTY=ThirdParty
PARMETIS_TYPE=none
ParaView_LIB_DIR=/usr/bin/…/lib/x86_64-linux-gnu
ParaView_MAJOR=5.11
XAUTHORITY=/run/user/1000/.mutter-Xwaylandauth.J1QC62
FOAM_TUTORIALS=/opt/openfoam12/tutorials
WM_LABEL_SIZE=32
WM_PROJECT=OpenFOAM
FOAM_APPBIN=/opt/openfoam12/platforms/linux64GccDPInt32Opt/bin
WM_THIRD_PARTY_DIR=/opt/openfoam12/thirdparty
HOME=/home/pierre
USERNAME=pierre
IM_CONFIG_PHASE=1
LANG=fr_FR.UTF-8
WM_LABEL_OPTION=Int32
WM_CC=gcc
LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=00:tw=30;42:ow=34;42:st=37;44:ex=01;32:.tar=01;31: .tgz=01;31:.arc=01;31: .arj=01;31:.taz=01;31: .lha=01;31:.lz4=01;31: .lzh=01;31:.lzma=01;31: .tlz=01;31:.txz=01;31: .tzo=01;31:.t7z=01;31: .zip=01;31:.z=01;31: .dz=01;31:.gz=01;31: .lrz=01;31:.lz=01;31: .lzo=01;31:.xz=01;31: .zst=01;31:.tzst=01;31: .bz2=01;31:.bz=01;31: .tbz=01;31:.tbz2=01;31: .tz=01;31:.deb=01;31: .rpm=01;31:.jar=01;31: .war=01;31:.ear=01;31: .sar=01;31:.rar=01;31: .alz=01;31:.ace=01;31: .zoo=01;31:.cpio=01;31: .7z=01;31:.rz=01;31: .cab=01;31:.wim=01;31: .swm=01;31:.dwm=01;31: .esd=01;31:.avif=01;35: .jpg=01;35:.jpeg=01;35: .mjpg=01;35:.mjpeg=01;35: .gif=01;35:.bmp=01;35: .pbm=01;35:.pgm=01;35: .ppm=01;35:.tga=01;35: .xbm=01;35:.xpm=01;35: .tif=01;35:.tiff=01;35: .png=01;35:.svg=01;35: .svgz=01;35:.mng=01;35: .pcx=01;35:.mov=01;35: .mpg=01;35:.mpeg=01;35: .m2v=01;35:.mkv=01;35: .webm=01;35:.webp=01;35: .ogm=01;35:.mp4=01;35: .m4v=01;35:.mp4v=01;35: .vob=01;35:.qt=01;35: .nuv=01;35:.wmv=01;35: .asf=01;35:.rm=01;35: .rmvb=01;35:.flc=01;35: .avi=01;35:.fli=01;35: .flv=01;35:.gl=01;35: .dl=01;35:.xcf=01;35: .xwd=01;35:.yuv=01;35: .cgm=01;35:.emf=01;35: .ogv=01;35:.ogx=01;35: .aac=00;36:.au=00;36: .flac=00;36:.m4a=00;36: .mid=00;36:.midi=00;36: .mka=00;36:.mp3=00;36: .mpc=00;36:.ogg=00;36: .ra=00;36:.wav=00;36: .oga=00;36:.opus=00;36: .spx=00;36:.xspf=00;36: ~=00;90:#=00;90: .bak=00;90:.crdownload=00;90: .dpkg-dist=00;90:.dpkg-new=00;90: .dpkg-old=00;90:.dpkg-tmp=00;90: .old=00;90:.orig=00;90: .part=00;90:.rej=00;90: .rpmnew=00;90:.rpmorig=00;90: .rpmsave=00;90:.swp=00;90: .tmp=00;90:.ucf-dist=00;90: .ucf-new=00;90:*.ucf-old=00;90:
XDG_CURRENT_DESKTOP=ubuntu:GNOME
WM_CFLAGS=-m64 -fPIC
FOAM_JOB_DIR=/opt/jobControl
MEMORY_PRESSURE_WATCH=/sys/fs/cgroup/user.slice/user-1000.slice/user@1000.service/session.slice/org.gnome.Shell@wayland.service/memory.pressure
FOAM_LIBBIN=/opt/openfoam12/platforms/linux64GccDPInt32Opt/lib
VTE_VERSION=7600
WM_LINK_LANGUAGE=c++
WAYLAND_DISPLAY=wayland-0
ParaView_VERSION=5.11.2
ParaView_DIR=/usr
SCOTCH_TYPE=ThirdParty
GNOME_TERMINAL_SCREEN=/org/gnome/Terminal/screen/51c04f03_3165_49a7_81e0_1dbec5268b7c
FOAM_ETC=/opt/openfoam12/etc
QTWEBENGINE_DICTIONARIES_PATH=/usr/share/hunspell-bdic/
FOAM_UTILITIES=/opt/openfoam12/applications/utilities
FOAM_SITE_LIBBIN=/opt/site/12/platforms/linux64GccDPInt32Opt/lib
WM_OSTYPE=POSIX
GNOME_SETUP_DISPLAY=:1
WM_PROJECT_VERSION=12
LESSCLOSE=/usr/bin/lesspipe %s %s
XDG_SESSION_CLASS=user
WM_DIR=/opt/openfoam12/wmake
TERM=xterm-256color
FOAM_SITE_APPBIN=/opt/site/12/platforms/linux64GccDPInt32Opt/bin
WM_ARCH_OPTION=64
LESSOPEN=| /usr/bin/lesspipe %s
USER=pierre
WM_CXXFLAGS=-m64 -fPIC -std=c++0x
MPI_ARCH_PATH=/usr/lib/x86_64-linux-gnu/openmpi
WM_PROJECT_INST_DIR=/opt
GNOME_TERMINAL_SERVICE=:1.109
CLUTTER_DISABLE_MIPMAPPED_TEXT=1
FOAM_SRC=/opt/openfoam12/src
DISPLAY=:0
SHLVL=1
GSM_SKIP_SSH_AGENT_WORKAROUND=true
FOAM_USER_LIBBIN=/home/pierre/OpenFOAM/pierre-12/platforms/linux64GccDPInt32Opt/lib
QT_IM_MODULE=ibus
METIS_TYPE=none
FOAM_APP=/opt/openfoam12/applications
WM_LDFLAGS=-m64
WM_CXX=g++
LD_LIBRARY_PATH=/opt/openfoam12/thirdparty/platforms/linux64Gcc/gperftools-svn/lib:/usr/lib/x86_64-linux-gnu:/opt/openfoam12/platforms/linux64GccDPInt32Opt/lib/paraview-5.11:/opt/openfoam12/platforms/linux64GccDPInt32Opt/lib/openmpi-system:/opt/openfoam12/thirdparty/platforms/linux64GccDPInt32/lib/openmpi-system:/usr/lib/x86_64-linux-gnu/openmpi/lib:/home/pierre/OpenFOAM/pierre-12/platforms/linux64GccDPInt32Opt/lib:/opt/site/12/platforms/linux64GccDPInt32Opt/lib:/opt/openfoam12/platforms/linux64GccDPInt32Opt/lib:/opt/openfoam12/thirdparty/platforms/linux64GccDPInt32/lib:/opt/openfoam12/platforms/linux64GccDPInt32Opt/lib/dummy
XDG_RUNTIME_DIR=/run/user/1000
WM_COMPILE_OPTION=Opt
FOAM_INST_DIR=/opt
DEBUGINFOD_URLS=https://debuginfod.ubuntu.com
MPI_BUFFER_SIZE=20000000
ParaView_TYPE=system
FOAM_SOLVERS=/opt/openfoam12/applications/solvers
WM_PROJECT_DIR=/opt/openfoam12
XDG_DATA_DIRS=/usr/share/ubuntu:/usr/share/gnome:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop
FOAM_USER_APPBIN=/home/pierre/OpenFOAM/pierre-12/platforms/linux64GccDPInt32Opt/bin
PATH=/opt/openfoam12/thirdparty/platforms/linux64Gcc/gperftools-svn/bin:/opt/openfoam12/bin:/opt/openfoam12/wmake:/home/pierre/OpenFOAM/pierre-12/platforms/linux64GccDPInt32Opt/bin:/opt/site/12/platforms/linux64GccDPInt32Opt/bin:/opt/openfoam12/platforms/linux64GccDPInt32Opt/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
FOAM_MODULES=/opt/openfoam12/applications/modules
PV_PLUGIN_PATH=/opt/openfoam12/platforms/linux64GccDPInt32Opt/lib/paraview-5.11
GDMSESSION=ubuntu
WM_COMPILER_LIB_ARCH=64
ZOLTAN_TYPE=ThirdParty
FOAM_SIGFPE=
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
_=/usr/bin/env
For cat /etc/os-release :
PRETTY_NAME=“Ubuntu 24.04.2 LTS”
NAME=“Ubuntu”
VERSION_ID=“24.04”
VERSION=“24.04.2 LTS (Noble Numbat)”
VERSION_CODENAME=noble
ID=ubuntu
ID_LIKE=debian
HOME_URL=“https://www.ubuntu.com/ ”
SUPPORT_URL=“https://help.ubuntu.com/ ”
BUG_REPORT_URL=“Bugs : Ubuntu ”
PRIVACY_POLICY_URL=“Data privacy | Ubuntu and Canonical Legal | Ubuntu ”
UBUNTU_CODENAME=noble
LOGO=ubuntu-logo
And no this is not a virtual machine
Thank you once again,
Pierre
Form the env output, you seem to be running wayland as display server.
XDG_SESSION_TYPE=wayland
As it is discussed in other threads, either use the universal binary or change from wayland to X11.
See this thread.
Hi Nabil.
I took a look at the thread you referenced.
Indeed, if I switch to a x11 session Salome runs fine and all the GUI buttons appear to be working.
So, the problem is apparently wayland. I am quite surprised to be the only one having this problem, as wayland is now the standard with debian 12.
However, thank you very much for the suggestions, you helped me a lot.
Andrea
P.S.: for reference,
here it is explained how to switch to x11 from wayland in a reversible way.
Dear Nabil,
THANK YOU, I have changed from wayland to X11 and it works, so great
Problem fixed !
Pierre
1 Like