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-boun...@qt-project.org> on behalf of Tomasz Olszak 
<olszak.tom...@gmail.com>
Sent: Thursday, April 9, 2020 6:11 PM
To: Qt Interest <interest@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
_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest

Reply via email to