[Interest] Running Qt application on Linux without screen

Tomasz Olszak olszak.tomasz at gmail.com
Tue Jun 19 08:49:22 CEST 2018


It needs OpenGL and 60fps from camera.

Anyway I got some hints from QtWayland maintainer and hopefully small patch
will allow me to use wayland without screen and show application on real
screen once it is available.

Will let you know once I finish and test it.


2018-06-19 3:39 GMT+02:00 Christian Gagneraud <chgans at gmail.com>:

> On 18 June 2018 at 23:26, Tomasz Olszak <olszak.tomasz at gmail.com> wrote:
> > Hello,
> >
> > Has anyone of you needed to handle following use case?
> >
> >
> > 1. Linux
> > 2. Full screen GUI app -  fast as much as possible so no X, considered
> eglfs
> > over drm and wayland
> > 3. It starts as a service without screen
> > 4. Screen can be connected at any time - app should be visible on screen
> >
> > 3 seems currently impossible with Qt 5.10 (is there a point updating it
> to
> > 5.11).
> >
> > What I tried so far:
> > 1. Eglfs app works ok with screen connected
> > 2. Eglfs crashes when no screen connected in egl qpa
> > 3. Eglfs work ok when I add in eglfs configuration file
> > (QT_QPA_EGLFS_KMS_CONFIG) certain modeline string as mode. However when
> > screen is connected there is no QGuiApplication::screenAdded signal so I
> > can't show application on different screen.
> > 4. on Qt Wayland app exits with "Running on a compositor with no screens
> is
> > not supported". It comes from QWaylandIntegration::initialize() and
> > compositor is weston
>
> I use Xvfb + VNC server + noVNC, this allows me to run on headless
> servers and remotely interact/monitor the UI within a web browser.
>
> https://github.com/novnc/noVNC
>
> No sure about OpenGL
>
> Chris
>
> >
> > Any ideas how to approach such case?
> >
> >
> >
> >
> >
> >
> > _______________________________________________
> > Interest mailing list
> > Interest at qt-project.org
> > http://lists.qt-project.org/mailman/listinfo/interest
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20180619/5198993d/attachment.html>


More information about the Interest mailing list