* Exposing monitor layout to desktop managers
@ 2014-12-11 10:58 Thomas Hellstrom
2014-12-11 11:57 ` Dave Airlie
0 siblings, 1 reply; 4+ messages in thread
From: Thomas Hellstrom @ 2014-12-11 10:58 UTC (permalink / raw)
To: dri-devel@lists.freedesktop.org, linux-graphics-maintainer,
Dave Airlie
Hi!
I'd like to have a standard / generic way of exposing virtual monitor
layout to desktop managers. This would then serve as a *hint* to those
managers to set the desktop up accordingly.
Of course, this is mostly for virtual hardware, since without
accelerometers, gyros and gps positioners on monitors, the kernel
wouldn't be able to know where the user put his monitors.
One could argue that this is purely user-space policy, but since those
managers monitor the kms interface anyway it would be a convenient place
to expose this information.
One idea would to place the x,y location in an output property.
Another idea would be to send new layout for all connected output as a
drm event.
Any ideas, comments etc. would be appreciated.
Thanks,
Thomas
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Exposing monitor layout to desktop managers
2014-12-11 10:58 Exposing monitor layout to desktop managers Thomas Hellstrom
@ 2014-12-11 11:57 ` Dave Airlie
2014-12-11 12:09 ` Thomas Hellstrom
2014-12-15 19:03 ` Thomas Hellstrom
0 siblings, 2 replies; 4+ messages in thread
From: Dave Airlie @ 2014-12-11 11:57 UTC (permalink / raw)
To: Thomas Hellstrom
Cc: Dave Airlie, linux-graphics-maintainer,
dri-devel@lists.freedesktop.org
On 11 December 2014 at 20:58, Thomas Hellstrom <thomas@shipmail.org> wrote:
> Hi!
>
> I'd like to have a standard / generic way of exposing virtual monitor
> layout to desktop managers. This would then serve as a *hint* to those
> managers to set the desktop up accordingly.
>
> Of course, this is mostly for virtual hardware, since without
> accelerometers, gyros and gps positioners on monitors, the kernel
> wouldn't be able to know where the user put his monitors.
>
> One could argue that this is purely user-space policy, but since those
> managers monitor the kms interface anyway it would be a convenient place
> to expose this information.
>
> One idea would to place the x,y location in an output property.
>
> Another idea would be to send new layout for all connected output as a
> drm event.
>
Have a look at drm-next, we added a suggested x/y property to connectors,
and qxl support for it.
I think the spice guys added mutter support for it as well and qxl
X.org driver passes through the property.
Dave.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Exposing monitor layout to desktop managers
2014-12-11 11:57 ` Dave Airlie
@ 2014-12-11 12:09 ` Thomas Hellstrom
2014-12-15 19:03 ` Thomas Hellstrom
1 sibling, 0 replies; 4+ messages in thread
From: Thomas Hellstrom @ 2014-12-11 12:09 UTC (permalink / raw)
To: Dave Airlie
Cc: Dave Airlie, linux-graphics-maintainer,
dri-devel@lists.freedesktop.org
On 12/11/2014 12:57 PM, Dave Airlie wrote:
> On 11 December 2014 at 20:58, Thomas Hellstrom <thomas@shipmail.org> wrote:
>> Hi!
>>
>> I'd like to have a standard / generic way of exposing virtual monitor
>> layout to desktop managers. This would then serve as a *hint* to those
>> managers to set the desktop up accordingly.
>>
>> Of course, this is mostly for virtual hardware, since without
>> accelerometers, gyros and gps positioners on monitors, the kernel
>> wouldn't be able to know where the user put his monitors.
>>
>> One could argue that this is purely user-space policy, but since those
>> managers monitor the kms interface anyway it would be a convenient place
>> to expose this information.
>>
>> One idea would to place the x,y location in an output property.
>>
>> Another idea would be to send new layout for all connected output as a
>> drm event.
>>
> Have a look at drm-next, we added a suggested x/y property to connectors,
> and qxl support for it.
>
> I think the spice guys added mutter support for it as well and qxl
> X.org driver passes through the property.
>
> Dave.
Cool, I'll take a look.
Thanks,
Thomas
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Exposing monitor layout to desktop managers
2014-12-11 11:57 ` Dave Airlie
2014-12-11 12:09 ` Thomas Hellstrom
@ 2014-12-15 19:03 ` Thomas Hellstrom
1 sibling, 0 replies; 4+ messages in thread
From: Thomas Hellstrom @ 2014-12-15 19:03 UTC (permalink / raw)
To: Dave Airlie
Cc: Dave Airlie, linux-graphics-maintainer,
dri-devel@lists.freedesktop.org
On 12/11/2014 12:57 PM, Dave Airlie wrote:
> On 11 December 2014 at 20:58, Thomas Hellstrom <thomas@shipmail.org> wrote:
>> Hi!
>>
>> I'd like to have a standard / generic way of exposing virtual monitor
>> layout to desktop managers. This would then serve as a *hint* to those
>> managers to set the desktop up accordingly.
>>
>> Of course, this is mostly for virtual hardware, since without
>> accelerometers, gyros and gps positioners on monitors, the kernel
>> wouldn't be able to know where the user put his monitors.
>>
>> One could argue that this is purely user-space policy, but since those
>> managers monitor the kms interface anyway it would be a convenient place
>> to expose this information.
>>
>> One idea would to place the x,y location in an output property.
>>
>> Another idea would be to send new layout for all connected output as a
>> drm event.
>>
> Have a look at drm-next, we added a suggested x/y property to connectors,
> and qxl support for it.
>
> I think the spice guys added mutter support for it as well and qxl
> X.org driver passes through the property.
>
> Dave.
Dave,
Did the hotplug_mode_update_property end up being used by user-space? In
that case, should we move it to drm_device::mode_config?
Thanks,
Thomas
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-12-15 19:04 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-11 10:58 Exposing monitor layout to desktop managers Thomas Hellstrom
2014-12-11 11:57 ` Dave Airlie
2014-12-11 12:09 ` Thomas Hellstrom
2014-12-15 19:03 ` Thomas Hellstrom
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.