tile property contents

Daniel Vetter daniel at ffwll.ch
Thu Oct 23 00:58:40 PDT 2014


On Wed, Oct 22, 2014 at 04:03:21PM -0700, Andy Ritger wrote:
> On Wed, Oct 22, 2014 at 11:20:09PM +0200, Daniel Vetter wrote:
> > On Wed, Oct 22, 2014 at 8:34 AM, Andy Ritger <aritger at nvidia.com> wrote:
> > > I assume the TILE property described below would be per-connector?
> > >
> > > It looks like this would handle the DP MST tiled display case.
> > >
> > > At the risk of trying to solve too much at once:
> > >
> > > There are also configurations where users configure multiple heads to
> > > drive power walls that they want to be treated as one logical monitor,
> > > similar to the DP MST tiled display case.  Normally, those powerwall
> > > configurations don't have any layout information from the monitors
> > > themselves, and the layout is configured by the user.
> > >
> > > Would it be appropriate for users to be able to set the TILE property
> > > in that sort of scenario?
> > >
> > > For the sake of generality, I wonder if max[hv]tiles and [hv]_tile_loc
> > > should be expressed in pixels rather than tiles?  Sometimes, the tiles
> > > in those powerwalls may not all have the same resolution, or may be
> > > configured with overlap.  I suppose that would make the TILE configuration
> > > specific to the current modetimings on each tile...
> > 
> > Why can't users just set that mode?
> 
> Sure, users can set the mode, but:
> 
> * Part of what the TILE property conveys is how monitors should be grouped
>   for purposes of window maximization.  Users don't have a great way to
>   express that today, that I'm aware of.

My understanding for why we want the TILE property is to avoid to
duplicate displayId parsing over every bit of userspace (and the fbcon
stuff in the kernel) interested in it. Imo the proper way for userspace is
to always just inherit whatever modeset config is already there.

> * Users might configure the mode they want, but then gnome-settings-daemon
>   may come along later and decide it knows better than the user how things
>   should be configured.  One scenario where this comes up is:
>     (a) user meticulously configures his power wall
>     (b) user hotplugs another monitor
>   I've definitely seen cases where window managers will try to be clever
>   in response to a hotplug, and clobber the user's current configuration.
>   If the TILE property conveyed how some set of monitors was supposed
>   to be grouped, that would hopefully give window managers additional
>   information, such that they would know to keep that group intact.

Well, imnsho gnome display control center is a bit too opiniated about
automatic modeset changes. If their assumption is that they always know
perfectly what the user wants upon hotplug I really don't want to work
around this in the kernel. Since for everything else than a laptop +
beamer gnome panel always pisses me off ;-)

I think gnome should just ask the user what it wants if there's more than
2 physical displays (treating a tiled 4k screen as one ofc), since there's
really no way at all to tell.
-Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch


More information about the xorg-devel mailing list