Skip to content

[question] #3089

@gioargyr

Description

@gioargyr

Describe the problem
I am trying to run the latest version of Meshroom on a Ubuntu 24.04 docker container (that has access to GPU).

When I try to run ./Meshroom I get this error:

qt.qpa.plugin: From 6.5.0, xcb-cursor0 or libxcb-cursor0 is needed to load the Qt xcb platform plugin.
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: offscreen, wayland-egl, eglfs, vkkhrdisplay, wayland, minimalegl, vnc, minimal, linuxfb, xcb.
Aborted (core dumped)

I tried to install several packages that are proposed online for fixing this issue (some of them: libxcb-cursor-dev, libxcb-cursor0, libgl1-mesa-dev, and libglu1-mesa), but I always get the same result.
As I discovered the file libqxcb.so exists in this path: Meshroom-2025.1.0/lib/PySide6/Qt/plugins/platforms/libqxcb.so, I defined this environment variable QT_QPA_PLATFORM_PLUGIN_PATH=Meshroom-2025.1.0/lib/PySide6/Qt/plugins/platforms/libqxcb.so, and now it reports this filepath in the error, but again it says it could not find xcb

Do you have any ideas what else should I do?
Is it possible that this error is related with the fact that I try to run Meshroom in a docker container?

Desktop (please complete the following and other pertinent information):

  • OS: ubuntu:24.04
  • Python version: 3.12
  • Qt/PySide version [e.g. 6.8.2]
  • Meshroom version: The official build Meshroom-2025.0.1.0-Linux

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions