Hi Shawn!

On Tue, 23 May 2023 at 18:21, Shawn Rutledge via Interest
<interest@qt-project.org> wrote:
>
>
> > On 19 May 2023, at 16:02, Lisandro Damián Nicanor Pérez Meyer 
> > <perezme...@gmail.com> wrote:
> >
> > Hi!
> >
> > Is there any example of QtWayland's compositor handling one or two monitors 
> > like Weston does?
> >
> > To be more precise: my hardware, iMX8M-PLUS based, has an LVDS display and 
> > an HDMI output.
> >
> > The LVDS display is always connected, and if weston is started it will set 
> > the shell to be as big as the LVDS display itself.
> >
> > Now if an HDMI monitor gets attached Weston will expand the shell to the 
> > right with the new display's size...
>
> As far as I know, we have not yet implemented display hotplugging.  The main 
> use case so far for QtWayland compositors is embedded: you might have 
> multiple screens on one GPU in your car, but they are fixed and configured at 
> the factory.  I would also like to have hotplugging in eglfs though, because 
> it’s one of the obstacles in the way of using QtWayland on laptops and such 
> (don’t want to have to restart the compositor if I connect a second monitor); 
> but I think this involves more work with libdrm to achieve.  (I've spoken to 
> colleagues about it a few years ago, so I’m just remembering what was said at 
> the time, but didn’t get around to trying to implement it.)

Thanks for the reply! Well, turns out this is for an embedded device:
a device in which a user could plug a monitor and get either the
screen mirrored or a new window with some more content :-/

So basically I should try to make the Weston IVI shell work, at least
for the moment. I'm talking about IVI here because one can position
the window programmatically, not because of cars :-)

If you ever get to try to implement it, ping me and I'll test it ;-)


-- 
Lisandro Damián Nicanor Pérez Meyer
https://perezmeyer.com.ar/
_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest

Reply via email to