Use CloudComPy over cluster without GUI
Hi,
I am trying to set up CloudComPy over our clusters where we would like to submit jobs to run codes with CloudComPy. I am running into an qt error because we do not have a display port. See below.
QSocketNotifier: Can only be used with threads started with QThread
qt.qpa.xcb: could not connect to display
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: eglfs, minimal, minimalegl, offscreen, vnc, webgl, xcb.
Is there a workaround to use CloudComPy without GUI?
THanks!
In addition, all tests work if I ssh the cluster with a graphical session. But job submission is handled by slurm on the cluster and does not come with graphical session I believe....
Hi, I know this problem of running code with a Qt Gui on a cluster, I've already faced it on another project. I'll have to retrieve the exact solution, but I guess it's possible to configure a virtual screen. Paul
The cleanest solution would be to have a working CloudComPy completely independent of the CloudCompare GUI, but many interesting algorithms are in the CloudCompare GUI layer. If I want to build CloudComPy without using any GUI related code, I have to duplicate and adapt a lot of code. I have already done this for some algorithms, but not all.
I see. We are going to test some work-around with some dummy DISPLAY configuration. Hopefully it will work
@xiangtaoxu Hi, just wondering if you were able to find a work-around? We're trying to accomplish the same thing with our Linux AWS instances
We have not worked on this project for a while and have not tested a dummy display. We will come back to this in the next few weeks and will post any progress we had
Xiangtao
@xiangtaoxu any update on a dummy display? Would really to get this working as our current workaround is ugly haha. (Setup cluster for VNC, connect via VNC, manuallly run code from GUI)
Not sure where to start with setting up the dummy display, would you be able to share what path/progress you have already taken?
Thanks in advance!
We are doing the same thing.... and haven't got a chance to explore dummy display yet