[Interest] The state of running Qt Quick application without screen

Tomasz Olszak olszak.tomasz at gmail.com
Fri Apr 10 12:50:42 CEST 2020


Hi Laszlo,

Thanks for clearing things out. What about Wayland? I know that some kind
of dummy screen is possible with X11 but I wonder if someone tried it with
Wayland?

pt., 10 kwi 2020, 11:47 użytkownik Laszlo Agocs <laszlo.agocs at qt.io>
napisał:

> Hi Tomasz,
>
> I assume this is about eglfs with the eglfs_kms (meaning drm+gbm) backend.
> (because multi-screen is pretty limited / hopeless with the other,
> vendor-specific, legacy fbdev-style backends)
>
> Somewhat related, but likely won't help your case: since 5.11 there is
> support for running headless with render nodes (like /dev/dri/renderDnnn),
> but that means the application will be doing offscreen graphics or compute
> for its entire lifetime.
>
> Dynamic handling of screens added/removed after application startup is not
> currenly in place, so the situation has not changed much recently.
>
> Best regards,
> Laszlo
>
> ------------------------------
> *From:* Interest <interest-bounces at qt-project.org> on behalf of Tomasz
> Olszak <olszak.tomasz at gmail.com>
> *Sent:* Thursday, April 9, 2020 6:11 PM
> *To:* Qt Interest <interest at qt-project.org>
> *Subject:* [Interest] The state of running Qt Quick application without
> screen
>
> Hello,
>
> I remember struggling with it a few years ago and it was not possible. Has
> anything changed?
> I would like to start GUI application with input handling even when no
> screen is attached. Once it is attached app will show on screen. Currently
> I used eglfs platform plugin but. Has something changed for the past years
> that will make it work. Ideally I would like to create window that renders
> to offscreen surface and once screen is connected show window on the screen.
>
> Also - refactoring and proper separation so that app can run like a
> service and service with GUI is out of scope unfortunately :(
>
> I would be thankful for any hints...
>
> Thanks,
> Tomek
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20200410/397c3df6/attachment.html>


More information about the Interest mailing list