Error at the start of ImFusion

Hello,

When I launch the ImFusionSuite, I get the following error:

$ ImFusionSuite 
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
[GL.ContextManager] Using OpenGL core context since IMFUSION_USE_OPENGL_COMPATIBILITY environment variable is not defined.
[ImFusion Suite] Caught exception during initialization: Could not make OpenGL context current on offscreen surface.

I am using Ubuntu 22.04 with CUDA 12.0 Driver Version: 525.125.06.

Output of glxinfo | grep "OpenGL version":

OpenGL version string: 4.6.0 NVIDIA 545.23.06

Do you have any idea how to fix this?

Thank you!
Regards,
Reuben

Hi Reubendo,

we currently don’t have full support for the Wayland display manager yet. One option is to switch back to X11, however, this seems to have become more complicated on Ubuntu 22.04 (see here for details). You can also try to set the QT_QPA_PLATFORM before starting the ImFusionSuite, e.g.

export QT_QPA_PLATFORM=wayland
ImFusionSuite

Hope that helps.