TB not starting after Upgrade

Description

After upgrading Ubuntu 22.04 to 24.04.1 TheocBase doesn’t start anymore.

When starting theocbase.sh it tells:

$ ./theocbase.sh -h
MESA-LOADER: failed to open iris: /usr/lib/dri/iris_dri.so: Kann die Shared-Object-Datei nicht öffnen: Datei oder Verzeichnis nicht gefunden (search paths /usr/lib/x86_64-linux-gnu/dri:$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
failed to load driver: iris
MESA-LOADER: failed to open iris: /usr/lib/dri/iris_dri.so: Kann die Shared-Object-Datei nicht öffnen: Datei oder Verzeichnis nicht gefunden (search paths /usr/lib/x86_64-linux-gnu/dri:$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
failed to load driver: iris
MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: Kann die Shared-Object-Datei nicht öffnen: Datei oder Verzeichnis nicht gefunden (search paths /usr/lib/x86_64-linux-gnu/dri:$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
Unable to create single instance.
“/home/goeldi/.config/theocbase.net/common.conf”
VERSION = “2024.02.0”
Qt Paths:
Prefix: “/opt/TheocBase”
Documentation: “/opt/TheocBase/doc”
Headers: “/opt/TheocBase/include”
Libraries: “/opt/TheocBase/lib”
LibraryExecutables: “/opt/TheocBase/libexec”
BinariesPath: “/opt/TheocBase/bin”
Plugins: “/opt/TheocBase/plugins”
Imports: “/opt/TheocBase/qml”
Qml2Imports: “/opt/TheocBase/qml”
ArchData: “/opt/TheocBase”
Data: “/opt/TheocBase”
Translations: “/opt/TheocBase/translations”
Settings: “/opt/TheocBase”
“/opt/TheocBase/bin/theocbase_de.qm”
“/opt/TheocBase/bin/theocbase_de”
Linux system - locale: “German”

Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlagsQSurfaceFormat::FormatOption(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize 8, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::DoubleBuffer, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile QSurfaceFormat::NoProfile)


Requirements

  • Desktop OS (name and version): Ubuntu 24.04.1
  • TheocBase version: 2024.02.0
  • Language used: German

The solution:
look at the error message, when you run /opt/TheocBase/theocbase.sh from the command line.
In my case the file iris_dri.so could not be found

update your files database: updatedb
locate the file in your system: locate iris_dri.so
it was located in /usr/lib/x86_64-linux-gnu/dri/iris_dri.so

put a LD_PRELOAD before the TB start in the file /opt/TheocBase/theocbase.sh:

replace the line

$dirname/AppRun --no-sandbox $*

with this:

LD_PRELOAD=/usr/lib/x86_64-linux-gnu/dri/iris_dri.so $dirname/AppRun --no-sandbox $*

save the script and TB should now run again.

1 Like

This topic was automatically closed 60 minutes after the last reply. New replies are no longer allowed.